MAD4FP

From Flashpoint Datahub
Jump to navigation Jump to search

MAD4FP, or Multi-Asset Downloader for Flashpoint, is a built in mode from since Flashpoint Core 8.2 for easily downloading multi-asset games. This feature is present in Ultimate as well, but it's recommended to only use Infinity when creating curations for Flashpoint.

Note: using MAD4FP will download everything including unwanted ads, videos and possibly other files not needed for the curation to work. We 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 not please ask any questions in #curators in our Discord.

There are two ways of activating MAD4FP:

Run With MAD4FP

This method requires Windows Admin prompts, but has the most streamlined process;

  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.
  2. Make sure that the Symlink Curation Content Folder checkbox is checked.
  3. Enter the title and platform of the game, and any other metadata you can find. 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.
  4. For the Application Path, click the dropdown and choose the appropriate application in Flashpoint for the type of game you are curating.
  5. 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.
  6. The assets will download directly into the curation's content folder with the correct folder structure.
  7. After getting all assets, run the game again, this time without MAD4FP to test no assets are missing. If they are, copy 404 URLs to download them or run the game with MAD4FP again.

Switching Servers

Dropdown Showing server options.

This method does not require Windows Admin prompts, but is slower to use;

Follow these steps to activate MAD4FP:

  1. Go to the Config tab on the launcher, scroll to Advanced, and on Server switch to MAD4FP Mode.
    • Keep in mind that the defaults for Ultimate are Apache Webserver and for Infinity it's PHP Infinity Router.
    • Note the regular functions of Flashpoint Infinity (playing games regularly) do not work while MAD4FP is enabled.
  2. Press the Save and Restart button at the bottom of the Config page.
  3. After Flashpoint restarts, go to the Curate tab
  4. Enter the title and platform of the game, and any other metadata you can find. 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.
  5. Once all of the assets seem to have loaded, navigate to Flashpoint's Legacy\htdocs\content folder, copy all the files and folders to your curation's content folder, retaining the same structure. Refer to the Curation Tutorial.
    • For Flashpoint 8.2 Infinity or below, go to Server\htdocs folder and sort the contents by Date Modified. Determine which files and folders belong to the game you just downloaded.
  6. After getting all assets, switch back the server from MAD4FP Mode, Save and Restart, and run the curation again to test no assets are missing. If they are, copy 404 URLs to download them or run the game with MAD4FP again.