MAD4FP: Difference between revisions

From Flashpoint Datahub
Jump to navigation Jump to search
Line 9: Line 9:
# Double-click the game to launch it. The game should load in the application you specified. Watch the Logs tab of Flashpoint Launcher as you play the game.
# Double-click the game to launch it. The game should load in the application you specified. Watch the Logs tab of Flashpoint Launcher as you play the game.
# The assets will download directly into the curations folder in the correct folder structure.
# The assets will download directly into the curations folder in the correct folder structure.
Please note that using MAD4FP will download everything including unwanted ads, videos and possibly other files not needed for the curation to work. And we also do not want these unneeded files in Flashpoint as it will add to the size with no benefits. It is expected that after using MAd4FP you will go to the contents folder and remove these unneeded items. If you are unsure about what might be needed or needed please ask any questions in '''#curator-lounge''' in our [[Discord]]


== Setting Up in Infinity ==
== Setting Up in Infinity ==

Revision as of 17:05, 19 October 2020

MAD4FP, or Multi-Asset Downloader for Flashpoint, is a built in mode for Flashpoint Core 8.2 or higher for easily downloading multi-asset games. This article explains how to set up and use this mode. If for some reason you still need to use in Infinity follow those instructions instead.

Using in Core 8.2

  1. In Flashpoint Core 8.2 or higher, click the Curate tab, then click New Curation. For more information about using the Curate tab, see Curation Tutorial. You need to also check the "Symlink Curation" option at the bottom right of the Curation Sidebar.
  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 Logs tab of Flashpoint Launcher as you play the game.
  5. The assets will download directly into the curations folder in the correct folder structure.

Please note that using MAD4FP will download everything including unwanted ads, videos and possibly other files not needed for the curation to work. And we also do not want these unneeded files in Flashpoint as it will add to the size with no benefits. It is expected that after using MAd4FP you will go to the contents folder and remove these unneeded items. If you are unsure about what might be needed or needed please ask any questions in #curator-lounge in our Discord

Setting Up in Infinity

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 in Infinity

  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 Logs tab of Flashpoint Launcher as you play the game.
  5. Once all of the assets seem to have loaded, navigate to Flashpoint's Server\htdocs folder 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 in Infinity

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.