MAD4FP: Difference between revisions

From Flashpoint Datahub
Jump to navigation Jump to search
(Created page with "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 th...")
 
mNo edit summary
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 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 ==
== Setting Up MAD4FP ==
Line 11: Line 10:
# Open the <code>router.php</code> file in the <code>Flashpoint\Server</code> folder using a text editor such as Notepad.
# 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.


== Using MAD4FP ==
== Using MAD4FP ==

Revision as of 06:25, 25 June 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 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.
  3. 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.

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.

  1. 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.
  2. Copy the files and folders from the htdocs folder to your curation's content folder, retaining the same structure. Refer to Instructions for Curating.