VOGONS


First post, by Runar

User metadata
Rank Newbie
Rank
Newbie

Hi. I am buildling quite an extensive batch-menu for my family for loading good old retro gamles. That is, when I start dosbox, I launch a batch-file that displays something like:
Press 1 to load 'this game'
Press 2 to load 'that game'
etc..
(as in the old days, I then have batch-files 1.bat, 2.bat etc to actually load the selected game, and when that game finished, I return to the menu folder and display menu.bat again)
This works very welll, and makes it easy for everyone in the familty to just run dosbox and run their favourite game.
However, as games differ, so does the preferred cpu cycles etc that they should run under.
I therefore would very much like to be able to set cpu cycles as part of my batch-commands, and preferrably other stuff like fullscreen mode=true/false etc. And I guess there is other relevant parameters that would also be nice to change on the fly.
That way I can customize each game as I see fit, without the need of having a lot of dosbox-icons.

Regards, Runar

Reply 1 of 6, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

You already can set most commands.

Ex:

1. Start DOSBox.
2. At CLI type in cycles=4000
3. Type in cycles and it will show your cycles value. (Works the same way as other commands like output, core, etc)

How To Ask Questions The Smart Way
Make your games work offline

Reply 2 of 6, by Runar

User metadata
Rank Newbie
Rank
Newbie

😀
With some trying and error, I actually found out that I can allready change the cpu cycles by just typing cycles=10000
This takes care of the most important parameter that I was looking for in the previous post. 😀
I then checked the ini-file, and checked if everything there could be changed on the fly in the same way, but typing fullscreen=true did not take me into fullscreen mode, so I guess it does not work on all parameters.

-Runar

Reply 3 of 6, by Runar

User metadata
Rank Newbie
Rank
Newbie

Thanks for the reply DosFreak. I just discovered this some minutes after posting my post.
Ah, the good old powerful batch-files. Don't ever underestimate the power of the batch-files 😉

Reply 4 of 6, by robertmo

User metadata
Rank l33t++
Rank
l33t++

why don't you just use frontend?

Reply 5 of 6, by Runar

User metadata
Rank Newbie
Rank
Newbie

And why don't I just write batch-files?
Maybe writing batch-files is some obscure part of the retro-experience for me? 😉