MAD4FP: Difference between revisions

From Flashpoint Datahub
Jump to navigation Jump to search
mNo edit summary
(Improved instructions to account for other cases besides using K-Meleon and Basilisk)
Line 14: Line 14:


# In Flashpoint Infinity, click New Game on the bottom-right corner of the launcher. If you do not see a New Game button, switch to the Config tab and check "Enable Editing."
# In Flashpoint Infinity, click New Game on the bottom-right corner of the launcher. If you do not see a New Game button, switch to the Config tab and check "Enable Editing."
# Enter the title and platform of the game, and any other metadata you wish. For the Launch Command, paste the URL of the page where the game is located.
# Enter the title and platform of the game, and any other metadata you wish. For the Launch Command, paste the URL of the page where the game is located. If you plan to use the Flash projector, paste the direct link to the game SWF instead.
# For the Application Path, click the dropdown and choose the path for K-Meleon or Basilisk. K-Meleon is recommended for most plugin-based games, while Basilisk is recommended for HTML5 and Unity games.
# For the Application Path, click the dropdown and choose the appropriate application in Flashpoint for the type of game you are curating.
# Double-click the game to launch it. The game should load in the browser you specified. Watch the Flashpoint Redirector window as you play the game.
# Double-click the game to launch it. The game should load in the application you specified. Watch the Flashpoint Redirector window as you play the game.
# Once all of the assets seem to have loaded, navigate to <code>Flashpoint\Server\htdocs</code> and sort the contents by Date Modified. Determine which files and folders belong to the game you just downloaded.
# Once all of the assets seem to have loaded, navigate to <code>Flashpoint\Server\htdocs</code> and sort the contents by Date Modified. Determine which files and folders belong to the game you just downloaded.
# Copy the files and folders from the htdocs folder to your curation's <code>content</code> folder, retaining the same structure. Refer to [[Instructions for Curating]].
# Copy the files and folders from the htdocs folder to your curation's <code>content</code> folder, retaining the same structure. Refer to [[Instructions for Curating]].

Revision as of 06:59, 1 August 2019

MAD4FP, or Multi-Asset Downloader for Flashpoint, is a new mode of Flashpoint Infinity for easily downloading multi-asset games. This article explains how to set up and use this mode. Please note that MAD4FP only works on HTTP URLs! You will need to use a different method to save games on HTTPS URLs.

Setting Up MAD4FP

If you are using Flashpoint Infinity 6.1 or older, follow these steps first:

  1. Navigate to https://raw.githubusercontent.com/FlashpointProject/Flashpoint-Router/master/router.php.
  2. Save the file to Flashpoint\Server in your Flashpoint Infinity folder. Use the filename router.php. You may back up the old router.php file first.

Regardless of your Flashpoint Infinity version, follow these steps:

  1. Open the router.php file in the Flashpoint\Server folder using a text editor such as Notepad.
  2. Find the line that says const ROUTER_MAD4FP = false; and change the false part to true. Save the file.

Using MAD4FP

  1. In Flashpoint Infinity, click New Game on the bottom-right corner of the launcher. If you do not see a New Game button, switch to the Config tab and check "Enable Editing."
  2. Enter the title and platform of the game, and any other metadata you wish. For the Launch Command, paste the URL of the page where the game is located. If you plan to use the Flash projector, paste the direct link to the game SWF instead.
  3. For the Application Path, click the dropdown and choose the appropriate application in Flashpoint for the type of game you are curating.
  4. Double-click the game to launch it. The game should load in the application you specified. Watch the Flashpoint Redirector window as you play the game.
  5. Once all of the assets seem to have loaded, navigate to Flashpoint\Server\htdocs and sort the contents by Date Modified. Determine which files and folders belong to the game you just downloaded.
  6. Copy the files and folders from the htdocs folder to your curation's content folder, retaining the same structure. Refer to Instructions for Curating.