Skip to content

DBSIM.EXE runtime arguments

Subject9x edited this page Sep 12, 2023 · 2 revisions

Notes

The exe seems to parse a list of arguments passed from the windows task (as spawned by SHELL.exe). Some of these have been documented elsewhere, but what I've seen in the disassembly is a wider list of params that get searched for. I've tried to trigger some of these via cmd-line with moderate success.

0045e73c - MAIN_RUNTIME_ARGS(int param_1, char **param_2)

"-E/-F/-G" : set language global, english, french, german

"-C" : possibly sets herc name?

"-D" : demo mode

"-r" : restore mode? loads up player data from /DATA/ folder.

"-p" : some form of 'play' mode, loads data from /DATA/ folder.

"-e" : eggplant, run dbsim as standalone

"-T" : unknown, converts next 2 chars to int value, and game sets it to -1 somewhere

"-W" : unknown, converts next 2 chars to int value, and game sets it to -1 somewhere

"-V" : unknown, converts next 2 chars to int value, and game sets it to -1 somewhere

"-c" : unknown

"-Z" : prefs.cfg, set fullscreen to TRUE

"-v" : set video mode to something

"-X" : unknown, some integer

Clone this wiki locally