re4_tweaks icon indicating copy to clipboard operation
re4_tweaks copied to clipboard

Command-line options

Open emoose opened this issue 2 years ago • 4 comments

Describe the feature you'd like to see added

Might be nice if we could add some command-line options to the game, probably wouldn't be too difficult to add options for things like width/height/x/y, and maybe allow overriding some INI settings too. (eg --EnableFastMath=false)

What would be really nice is some way of adding options that interact with the game itself too, like -map r105 to make the game load straight into r105, -scene r100s44 to load up the r100s44 movie, -load 15 to load from slot 15, stuff like that.

That might be pretty far out right now though since we don't really know any methods for doing stuff like that atm... even just adding stuff like SkipIntroLogos was a little difficult because of how the game is programmed too, doubt it'd like us skipping the menu/save+load screens/etc entirely.

(though I think the GC debug might have had something that allowed devs to load straight into maps like that based on a config file, maybe whatever method that used could be transferred over somehow... I could be wrong about that though)

If we do figure out methods for that I imagine it might be possible to use them in-game too, maybe could even extend debug console to start accepting commands...

E: GC does have a ConfigSet func that reads some values from the debug/config.txt file, for room number it seems to just update something in pG with the number, guess it's probably not loading straight into it but just adjusting what the default level selected is (probably in that small menu that debug GC shows when starting new game)

emoose avatar Jun 28 '22 20:06 emoose