Difference between revisions of "MAD4FP"

From Flashpoint Database
Jump to: navigation, search
(Using in Core 8.2)
m
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
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.  
 
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 right 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]].  
 +
# Make sure that the "Symlink Curation Content Folder" checkbox is checked.
 
# 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.
# The assets will download directly into the curations folder in the correct folder structure.
+
# The assets will download directly into the curation's content folder with the correct folder structure.
  
 
== Setting Up in Infinity ==
 
== Setting Up in Infinity ==
Line 17: 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 in Infinity ==
+
=== 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 26: 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 in Infinity ==
+
=== 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>.

Latest revision as of 11:18, 3 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.
  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 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.
  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.

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.