Page 1 of 1

command line to launch games associated with (HD)?

Posted: Tue Jan 20, 2015 6:19 am
by craiganderson
Hello,

Is there a way via command line to autoload launch games that are associated with a HD file?

thank you
craig

Re: command line to launch games associated with (HD)?

Posted: Tue Jan 20, 2015 8:55 am
by AtariZoll
Hmm... isn't command line input activated when OS, Desktop is started ?
Or you mean to give command in textual mode to run some game (any SW) instead using mouse ?
Autoload of games from HD is not typical way of running, because it works not in most cases. I made in past SW for selecting what to run, before Desktop activation, but that's pretty obsolete now.

Re: command line to launch games associated with (HD)?

Posted: Tue Jan 20, 2015 9:24 am
by Dal
@AtariZoll: OP is referring to GamebaseST.

Re: command line to launch games associated with (HD)?

Posted: Tue Jan 20, 2015 9:46 am
by AtariZoll
Ops. Did not notice in which section is this :D

Re: command line to launch games associated with (HD)?

Posted: Thu Jan 22, 2015 4:59 pm
by Goldrunner
The code used to setup and launch games in GamebaseST is contained in the GEMUS script, this is run every time you click on play since each game will have different requirements. For example it sets the TOS version, memory requirement, low or high res, border on or off, midi, harddisk, joystick used, auto fire rate, drive b on or off, etc. By using this script each game is run with the best possible configuration without the users having to manually tweak anything within STeem. Harddisks are a bit more complicated because Gamebase does not have the facility to directly run them so we have to work around this limitation. Firstly the command line version of pkunzip was used to unzip the contents of the hardrive to the c drive, this contains a dummy disk image to fool gamebase into thinking this a standard floppy game, however, the floppy has a lower boot priority than the harddisk so Steem launches the harddrive. The code for doing this is still in the current version of GamebaseST, however, pkunzip does not work with 64-bit operating systems so in the current development version it has been replaced by the command line version of 7zip. There is just one line in the script containing the command pkunzip which needs changing to use 7zip instead.