Hello,
Is there a way via command line to autoload launch games that are associated with a HD file?
thank you
craig
command line to launch games associated with (HD)?
Moderators: SkylineDave, Moderator Team
-
- Atarian
- Posts: 3
- Joined: Sun Jan 18, 2015 4:51 am
-
- Fuji Shaped Bastard
- Posts: 2978
- Joined: Mon Feb 20, 2012 4:42 pm
Re: command line to launch games associated with (HD)?
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.
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.
Famous Schrodinger's cat hypothetical experiment says that cat is dead or alive until we open box and see condition of poor animal, which deserved better logic. Cat is always in some certain state - regardless from is observer able or not to see what the state is.
-
- Administrator
- Posts: 4228
- Joined: Mon Feb 20, 2006 9:00 pm
- Location: Cheltenham, UK
Re: command line to launch games associated with (HD)?
@AtariZoll: OP is referring to GamebaseST.
STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's
-
- Fuji Shaped Bastard
- Posts: 2978
- Joined: Mon Feb 20, 2012 4:42 pm
Re: command line to launch games associated with (HD)?
Ops. Did not notice in which section is this 

Famous Schrodinger's cat hypothetical experiment says that cat is dead or alive until we open box and see condition of poor animal, which deserved better logic. Cat is always in some certain state - regardless from is observer able or not to see what the state is.
-
- Guardian of the PaST
- Posts: 1578
- Joined: Thu Mar 04, 2004 9:38 pm
- Location: Formby, England, UK
Re: command line to launch games associated with (HD)?
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.