Start a single player game in full screen from command line
Fri, 2012-05-18 08:16
Hi everyone!
I made a little helper application which starts stereoscopic applications in fullscreen on a click of a button on my 3DTV. It does this by starting the applications with special command line parameters.
Is there a way I can start a single player Hedgewars game in full screen immediately, without needing to browse through the menu first.
Thanks in advance!
Zoltan
Record a save game with settings you want. Abort on first turn. Launch the resulting save file from commandline.
Otherwise you'd have to write a script wrapper to send the appropriate commands or a script that constructs save game files.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Hi! Thanks for the quick answer.
Is the game saved just by quitting? If so, where is the resulting save file?
EDIT: nevermind, found it.
Ok I managed to start the game in full screen, but I can't start it in full screen stereo. Is there any way I can point the hwengine to the hedgewars.ini file? Or any other way of starting in stereo mode?
Unfortunately for you, right now stereo mode is not in the commandline options.
It *is* in the commandline options when invoked by a frontend, but that requires providing an IPC port.
I think the easiest way to get stereo would be to hardcode it and rebuild the engine.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Ok thanks!
I'll probably have some new questions when I attempt to do that
BTW "replay file" is hardly the best nomenclature. When I read the documentation for command line options, I always thought the replay file referred to a recorded video of a game.