VOGONS


First post, by geoslake

User metadata
Rank Newbie
Rank
Newbie

Hi

I need to do that on a per game basis, and anyway I'd like a list of all the available command I can pass to dosbox via batch.
(im talking about a bat that is on each game folder, passing a few commands to dosbox, then running the game with the appropriate game name).
For instance my Vroom batch is :

core=normal
cycles=fixed 4000
vsyncmode=on
vsyncrate=45
VROOM.EXE

I also need the other joystick parameters like "timed" etc

Thanks

Reply 2 of 9, by geoslake

User metadata
Rank Newbie
Rank
Newbie

Because it's cleaner.
Anyway that's not the point.

Reply 4 of 9, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Just test what commands you can use in dosbox. Normally everything in the config can be set in dosbox itself. Except for some stuff, for example output, that needs to be done on starting dosbox. So try
Timed true or timed false and see whether it gets set (just enter timed to see its status) and whether it was actually applied.

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 5 of 9, by rcblanke

User metadata
Rank Oldbie
Rank
Oldbie

...but you cannot set the 'machine' setting from inside DOSBox. You may want to reconsider using conf files, or maybe take a look at the available frontends (that usually also use a conf file per game).

Reply 6 of 9, by geoslake

User metadata
Rank Newbie
Rank
Newbie

I tried joysticktype=... bit it didn't work
I dont want to use multiple conf files, and even the single one i use is very simple (autoexec is empty) and i pass the mounting things via command line, to dosbox.
Reason is, i use ykhwong build and we are often advised to start from a fresh conf file (maybe vanilla dosbox as well ?).
Also, I dont wanna use any frontend.

Reply 7 of 9, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Well, so when stuff like joysticktype doesn't work your only way are config files.
As you can pass multiple config files to dosbox on the commandline you can keep it as simple as the batch files. You only lose the ability to switch during your dosbox session but honestly... with dosbox starting so fast does it matter?
So instead of having batch files you have config files with only the stuff you need for the game, everything else is going to be left at the default, dosbox doesn't need a main config file for keeping the defaults.
So when you start dosbox with the config file with just

[autoexec]
mount blabla
C:
Cd bla bla
Game.exe

That's all you need.
I used to think I need batch files but ended up with a nice array of config files that suit my needs better than batch files (because of the stuff you can't change in a batch)

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 9 of 9, by rcblanke

User metadata
Rank Oldbie
Rank
Oldbie
geoslake wrote:

Because it's cleaner.
Anyway that's not the point.

What about incremental conf files then? Seems pretty 'clean' to me.