Difference between revisions of "MAD4FP"

From Flashpoint Database
Jump to: navigation, search
(Added note that the Curate tab can be used with MAD4FP as well)
Line 1: Line 1:
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.
+
MAD4FP, or Multi-Asset Downloader for Flashpoint, is a mode of Flashpoint Infinity for easily downloading multi-asset games. This article explains how to set up and use this mode.
  
 
== Setting Up MAD4FP ==
 
== Setting Up MAD4FP ==
  
If you are using Flashpoint Infinity 6.1 or older, follow these steps first:
+
Follow these steps to activate MAD4FP:
# Navigate to https://raw.githubusercontent.com/FlashpointProject/Flashpoint-Router/master/router.php.
+
# If you are using an old version of Flashpoint Infinity, [[Extended FAQ#UpdateRouter|update Flashpoint Router]].
# Save the file to <code>Flashpoint\Server</code> in your Flashpoint Infinity folder. Use the filename <code>router.php</code>. You may back up the old <code>router.php</code> file first.
+
# Navigate into the <code>Server</code> folder of your Flashpoint Infinity folder.
 
+
# Open the <code>router.php</code> file using a text editor such as Notepad.
Regardless of your Flashpoint Infinity version, follow these steps:
 
# Open the <code>router.php</code> file in the <code>Flashpoint\Server</code> folder using a text editor such as Notepad.
 
 
# Find the line that says <code>const ROUTER_MAD4FP = false;</code> and change the <code>false</code> part to <code>true</code>. Save the file.
 
# Find the line that says <code>const ROUTER_MAD4FP = false;</code> and change the <code>false</code> part to <code>true</code>. Save the file.
  
Line 16: Line 14:
 
#* Alternatively, you can switch to the Curate tab, then click New Curation instead of New Game. For more information about using the Curate tab, see [[Curation Tutorial]].
 
#* Alternatively, you can switch to the Curate tab, then click New Curation instead of New Game. For more information about using the Curate tab, see [[Curation Tutorial]].
 
# 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.
 
# 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.
 +
#* Note that if the original URL uses HTTPS, you will need to replace <code>https</code> with <code>http</code>.
 
# For the Application Path, click the dropdown and choose the appropriate application in Flashpoint for the type of game you are curating.
 
# 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 application 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 the [[Curation Tutorial]].
  
 
== Turning Off MAD4FP ==
 
== Turning Off MAD4FP ==
  
 
After you're done using MAD4FP, you will need to turn it off to use Flashpoint Infinity normally. To do this, follow the steps described in [[#Setting Up MAD4FP|Setting Up MAD4FP]], but change <code>true</code> back to <code>false</code>.
 
After you're done using MAD4FP, you will need to turn it off to use Flashpoint Infinity normally. To do this, follow the steps described in [[#Setting Up MAD4FP|Setting Up MAD4FP]], but change <code>true</code> back to <code>false</code>.

Revision as of 08:18, 18 May 2020

MAD4FP, or Multi-Asset Downloader for Flashpoint, is a mode of Flashpoint Infinity for easily downloading multi-asset games. This article explains how to set up and use this mode.

Setting Up MAD4FP

Follow these steps to activate MAD4FP:

  1. If you are using an old version of Flashpoint Infinity, update Flashpoint Router.
  2. Navigate into the Server folder of your Flashpoint Infinity folder.
  3. Open the router.php file using a text editor such as Notepad.
  4. 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."
    • Alternatively, you can switch to the Curate tab, then click New Curation instead of New Game. For more information about using the Curate tab, see Curation Tutorial.
  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.
    • Note that if the original URL uses HTTPS, you will need to replace https with http.
  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 the Curation Tutorial.

Turning Off MAD4FP

After you're done using MAD4FP, you will need to turn it off to use Flashpoint Infinity normally. To do this, follow the steps described in Setting Up MAD4FP, but change true back to false.