Mount Parameters
This article will detail the specific purposes and use cases of the available mount parameters.
Mount parameters are an extra field provided to a gamezip to alter how that game is mounted when launching. The parameters detailed should only be used in the cases provided, if your game does not require any of the mount parameters, the field should be left blank.
Parameters
-extract
The extract parameter unpacks the entire gamezip into htdocs upon mounting. This should only be used for plugins that require their files to be in htdocs to run, like Hypercosm or BitPlayer, or when certain server related files need to be in htdocs including .htaccess, SQLite databases, or any other files needed by server side scripts
-server
The server parameter changes which server to use when playing the game. The only instance of this parameter should be –server=apache, and is used when games require the Apache server to run properly
-extracted
The extracted parameter specifies a file or directory that should not be overwritten when extracting to htdocs. This is normally to prevent certain save files stored in htdocs from being overwritten. An example use case is --extracted=awesomehouseparty.com\house\bfahp.sqlite
Example Use Cases
Title | ID | Mount Parameters | Explanation |
---|---|---|---|
Fish! (with bubbles!) | eb9df436-412a-4806-97d6-f16bbdcec7b3 | -extract | Hypercosm reads its files from htdocs, thus the extract param is used |
Bloons Super Monkey 2 | 0ea6fb47-3af9-4cbe-981d-ab47f37d5f79 | -extract --server=apache --extracted=httpsmynk.ninjakiwi.com\database\userdata\data\1.json | This game saves its account data to 1.json. The extract and server params helps the game's server side scripts work properly, and the extracted param prevents the save file from being overwritten |
OmniLudiCon | fb81c1fa-92e8-4446-9e0b-54ddbf887354 | -extract --server=apache | This game has php scripts that requires the apache server to run, and an SQLite database that needs to be in htdocs to work |
Notes
- Mount parameters should be in the order of extract - server - extracted. The order of these being mismatched can cause issues in the mounting process
- Mount parameters are only used when mounting the gamezip, so if your metadata is updated and the gamezip is still mounted, you will need to restart Flashpoint to remount the gamezip
- If a staff member needs to update the mount parameter of a game, they can do so by finding that game in the launcher, right clicking it and selecting Show Game on FPFSS, then clicking Edit Game Data in the Game Data section