forked from n64decomp/perfect_dark
-
Notifications
You must be signed in to change notification settings - Fork 141
Command line parameters
fgsfds edited this page Oct 11, 2023
·
9 revisions
-
--basedir PATH- Override path to the base data directory, i.e. the one where your ROM file is.
-
--savedir PATH- Override path to the save directory, where the game will store its config and EEPROM file.
-
--moddir PATH- Specify mod directory name or path.
Files in the mod directory override files in the base directory and the contents of the ROM. It may or may not contain amodconfig.txtfile.
If you specify just the name (e.g.--moddir mymod), the game will look for it in the working directory, in the executable directory and in the home directory in that order.
- Specify mod directory name or path.
-
--rom-file PATH- Override ROM file name or path.
If you specify just the name (e.g.--rom-file pd.z64), the game will look for it in the base and mod directories.
Defaults topd.ntsc-final.z64for NTSC builds andpd.jpn-final.z64for JPN builds.
- Override ROM file name or path.
-
--eeprom-file PATH- Override EEPROM save file name or path.
If you specify just the name (e.g.--eeprom-file save.bin), the game will read/write it from/to the save directory.
Defaults toeeprom.bin.
- Override EEPROM save file name or path.
-
--portable- Never use any directories other than working directory and executable directory, regardless of OS.
-
--boot-stage NUMBER- Start game on stage with ID
NUMBER, according tostagetable.txt.
NUMBERcan be decimal or hexadecimal, e.g.--boot-stage 0x19.
NOTE: MP stages and some other stages will cause crashes if you start them this way. Player file selection is also skipped.
- Start game on stage with ID
-
--no-sound- Completely disable sound. Not sure if this has any adverse effects.
-
--log- Log information to a file called
pd.loginstead of your terminal.
File will be created in the executable directory if it's writable, or in the home directory otherwise.
If you're trying to reproduce a crash, you should run the game with this flag. The crash report will be saved in the log file.
- Log information to a file called
-
--debug-gl- Create a debug OpenGL context instead of a normal one and turn on OpenGL debug output. Useful for diagnosing GPU-related issues.