FANDOM


This is a list of all the documented launch arguments and settings for power users. Keep in mind that -dev mode was added during the 2018-03-28 update[1], and more options were added after that, see the official changelog for the authoritative list[2].

Command-line arguments Edit

The PC version of the game supports the following launch parameters:

  • -dev: Enables most of the development functionality and cheats, while also disabling achievements. It always has to be the first parameter in order for it to work. Combine it with Sphinx.ini to unlock most of the options.
    • It mainly unlocks the global right-click menu that contains the level selector and lets you open other windows like the Watcher, and access cheat options.
  • -mod <path>: Same behavior as the PCMod configuration key, but temporary. The folder must contain a BuildData/Filelist.bin. The game will load the original filelist; merging it with the one from the mod, always preferring to load files from the latter when in doubt. So it works as a virtual file system overlay of sorts on top of the assets of the base game. It can be used in a shortcut, so multiple shortcuts will launch multiple mods without having to change any settings. Ensure you quote the path to avoid problems with spaces.
    • Example: During development you can use -mod "X:\Sphinx\Binary\_bin_PC".
  • -level <hashcode>: Same behavior as the PCReplaceFrontEnd configuration key, but temporary. If set to 1 it will use the Level value of [InitialLevel]instead. Requires either -dev or -mod (or both) for it to work.
    • Example: To always load HT_File_urk_4pat you can use -dev -level 0x01000233.
  • viewer: Launches the in-game .EDB asset viewer, same as toggling it via the right-click menu in -dev mode, but temporary. This is the only original argument added by Eurocom that the older versions of the game supported, and it partially works on GameCube via cheat code[3], albeit without mouse support.

Configuration file (Sphinx.ini) Edit

Sphinx.ini is the main configuration file of the game. It is pretty flexible and supports a lot of different keys, especially when combined with -dev mode. The most commonly used keys are listed below as a good start point:

[Debug]
ScanMode=1
AllowGamePause=1

[RenderMode]
PresentMode=Windowed
InputGrabbed=0

[Control]
TutorialPrompts=0

List of documented configuration keys and values Edit

Key Default value

Valid values

Description
BootState
PCBootToViewer 0 0 or 1 Bring ups the in-game .EDB asset viewer mode. Same as toggling it from the right-click menu.
PCMod (empty) folder path Forces the game to launch in mod mode, in this mode the special folder overrides any files from the base game. Same as specifying the -mod <path> command-line parameter, but persistent.
Localization
Language -1 -1 = None

0 = English

1 = English US

2 = French

3 = German

4 = Italian

5 = Spanish

6 = Portuguese

7 = Korean

8 = Japanese

9 = Greek

10 = Dutch

11 = Danish

12 = Norwegian

13 = Swedish

14 = Finnish

15 = Russian

16 = Trad. Chinese

If this configuration key is set to none (-1) then the language set in Steam has priority over the platform language, if everything else fails the game will use the default system language.

The game filters the languages to those available in the compiled version. At the time of writing Sphinx supports English, French, German, Italian, Spanish and Korean.

Debug
ScanMode 0 0 or 1 Scan mode is the equivalent to clip mode in other games. To enable scan mode in-game you press the right analog stick/C keyboard key, the player can then move freely and fly through objects. To move vertically use the Y/A Xbox controller buttons (top and bottom, basically) or Esc/Spacebar if you are using keyboard. Press the enable button again to toggle it back. It only works in -dev mode.
AllowGamePause 0 0 or 1 Allows you to toggle the game pause, frame advance and slow down modes by using the Scroll Lock and Pause keyboard keys; see this Steam thread for more information. It only works in -dev mode.
KeyboardOptions 0 0 or 1 Enables the keyboard debug shortcuts. It only works in -dev mode.
OpenGLContext 0 0 or 1 Enable OpenGL validation, request a debug context and GL_KHR_debug.
LogLev -1 0, any Sets the verbosity of the game log traces, which are sorted by priority. On Windows the game prints to DebugView, while on macOS and Linux it uses stderr. Added by Eurocom.
Control
InvertFirstPersonVertical 0 0 or 1
InvertThirdPersonVertical 1 0 or 1
InvertThirdPersonHorizontal 1 0 or 1
PadRumble 1 0 or 1 Enable force feedback.
TutorialPrompts 1 0 or 1 Has direct gameplay consequences. Disables most of the help tooltips and explanations that can be freely ignored by advanced users. It uses a hardcoded blacklist of hashcodes.
WatcherItems
Display-FOV 64 20, 110 Field of view, in degrees. Limit is only enforced at startup on Nintendo Switch or while using the GUI.
Audio
Reverb 1 0 or 1 Enables the echo effects.
MusicVolume 75 0, 100
SfxVolume 100 0, 100
RenderMode
InputGrabbed 1 0 or 1 Restrict the cursor to the game window area. Enabled by default.
Display 0 0, any Select the index of the screen to use. First screen starts at zero.
PresentMode Borderless Fullscreen

Borderless

Windowed

Setting it to window mode will cause the game to pick a size slightly smaller than the work area rectangle by default.
FBWidth (desktop width) 1, any Force the framebuffer width in pixels. Also useful to force a specific window size.
FBHeight (desktop height) 1, any Force the framebuffer height in pixels. Also useful to force a specific window size.
Graphics
Vsync 2 0 = Off

1 = Adaptive

2 = On

Use adaptive v-sync to reduce screen tearing.
UseFramebuffer 1 0 or 1 By default the game creates its own framebuffer objects to draw the scene and then blits/resolves into the default framebuffer at the end of the frame. When setting this to zero the game will draw directly in the default framebuffer and MSAA won't work unless forced by the graphics card vendor panel.
MSAASamples varies 1, max supported Set the number of samples for multisample antialiasing. Setting it to one is the same as disabling it.
AnisotropyTaps varies 1, max supported Amount of anisotropic filtering.
SoftParticles varies 0 or 1 Masks the borders of flat, translucent elements that cut against solid geometry. Adding a volumetric effect.
LimitParticles varies 0 = unlimited

1 = limited

2 = all, no particles

Reduce the amount of slowdowns when the graphics card is struggling with the huge amount of pixel fill-rate caused by many layers of transparent objects when they cover most of the screen.
UsePlayStationButtonPrompts 0 0 or 1 Show the original PS2 on-screen button prompts instead of the Xbox button layout.
TextHudObjScaling 1.3 0.1, any Scale several HUD elements like dialog text and Ankh markers.
InitialLevel
Level varies hashcode in decimal Persistently stores the last loaded level during normal gameplay. Replaces the value of the front-end .EDB file, in theory. Could be used to launch the game and jump straight to a level when coupled with the option below. Added by Eurocom.
PCReplaceFrontEnd 0 0 or 1 or a hashcode When set to 1 the game will boot with the last loaded level, see above. If a fixed map hashcode is used instead it will load it. Same as specifying -level <hashcode> at launch time.
PCQuickMap1 -1 a level hashcode Storage for the Ctrl + 1 quick-load shortcut. It only works in -dev mode.

References Edit

  1. https://discordapp.com/channels/409322660070424605/409322660070424608/486896366149173258
  2. https://steamcommunity.com/app/606710/discussions/0/1486613649677940682/
  3. http://tutankhammunity.proboards.com/thread/142/discovered-hidden-game-viewer-platforms
Community content is available under CC-BY-SA unless otherwise noted.