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, Goldrunner, Moderator Team

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

command line to launch games associated with (HD)?

Postby craiganderson » Tue Jan 20, 2015 6:19 am

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
Contact:

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

Postby AtariZoll » Tue Jan 20, 2015 8:55 am

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: 4090
Joined: Tue Jan 18, 2011 12:31 am
Location: Cheltenham, UK
Contact:

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

Postby Dal » Tue Jan 20, 2015 9:24 am

@AtariZoll: OP is referring to GamebaseST.
TT030: 4MB/16MB + Crazy Dots, Mega"SST" 12, MegaSTE, 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
Contact:

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

Postby AtariZoll » Tue Jan 20, 2015 9:46 am

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)?

Postby Goldrunner » Thu Jan 22, 2015 4:59 pm

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.


Social Media

     

Return to “GameBaseST & DemoBaseST”

Who is online

Users browsing this forum: No registered users and 1 guest