Command line parameters?

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Command line parameters?

Post by Gambit37 »

Are there any command line parameters for instantly loading a dungeon, or changing INI file settings?

I'd love to create some quicker shortcuts for testing my dungeon that bypass the file dialogue screen. (It would also be a nice way of distributing compiled dungeons if we could include a shortcut for launch.)
It would be useful to change INI file settings via command line too: windowed to fullscreen, compile on/off, etc...
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Command line parameters?

Post by Sophia »

You can change from windowed to fullscreen inside of DSB itself, from the "DSB menu" (available when you hit esc to freeze the game) if that helps any.

As for asserting a dungeon, this is based in the INI, but you can set a Dungeon field under [Main] (e.g., "Dungeon=test_dungeon") and this will automatically load that dungeon and skip the file selector.
Post Reply