command line to launch games associated with (HD)?

Come and chat to the team working on the huge Atari ST emulator frontend projects

Moderators: SkylineDave, Moderator Team

craiganderson
Atarian
Atarian
Posts: 3
Joined: Sun Jan 18, 2015 4:51 am

command line to launch games associated with (HD)?

Post by craiganderson »

Hello,

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

thank you
craig
AtariZoll
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2978
Joined: Mon Feb 20, 2012 4:42 pm

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

Post 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.
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.
Dal
Administrator
Administrator
Posts: 4228
Joined: Mon Feb 20, 2006 9:00 pm
Location: Cheltenham, UK

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

Post by Dal »

@AtariZoll: OP is referring to GamebaseST.
STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's
AtariZoll
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2978
Joined: Mon Feb 20, 2012 4:42 pm

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

Post by AtariZoll »

Ops. Did not notice in which section is this :D
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.
User avatar
Goldrunner
Guardian of the PaST
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)?

Post 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.

Return to “GameBaseST & DemoBaseST”