MAD4FP: Difference between revisions

From Flashpoint Datahub
Jump to navigation Jump to search
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
MAD4FP, or Multi-Asset Downloader for Flashpoint, is a 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.
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.
 
'''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 '''#curator-lounge''' in our [https://discord.gg/S9uJ794 Discord].


== Using in Core 8.2 ==
== Using in Core 8.2 ==


# 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 of the Curation Sidebar.
# 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.
# 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>.
#* 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 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.
# Once all of the assets seem to have loaded, navigate to Flashpoint's <code>Server\htdocs</code> folder and sort the contents by Date Modified. Determine which files and folders belong to the game you just downloaded.
# The assets will download directly into the curations folder in the correct folder structure.
# 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]].
 
If your some reason you still need to use MAD4FP in Infinity you can follow the below Instructions.


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


Follow these steps to activate MAD4FP:
Follow these steps to activate MAD4FP:
Line 20: Line 20:
# Open the <code>router.php</code> file using a text editor such as Notepad.
# Open the <code>router.php</code> file 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.
Note the regular functions of Flashpoint Infinity (playing games regularly) do not work while MAD4FP is enabled.


== Using MAD4FP ==
=== Using in Infinity ===


# 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."
Line 29: Line 30:
# 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 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.
# Once all of the assets seem to have loaded, navigate to Flashpoint's <code>Server\htdocs</code> folder 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 Flashpoint's <code>Legacy\htdocs</code> folder 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 the [[Curation Tutorial]].
# 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 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|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 18:43, 2 December 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.

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 #curator-lounge in our Discord.

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.

  1. 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.
  2. For the Application Path, click the dropdown and choose the appropriate application in Flashpoint for the type of game you are curating.
  3. 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.
  4. The assets will download directly into the curations folder in the correct folder structure.

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.

Note the regular functions of Flashpoint Infinity (playing games regularly) do not work while MAD4FP is enabled.

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 Legacy\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.