Welcome, Guest. Please login or register.

Author Topic: Launchers or multiple script files, linux emulation?  (Read 1653 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline haywirepcTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2009
  • Posts: 1331
    • Show only replies by haywirepc
Launchers or multiple script files, linux emulation?
« on: January 19, 2013, 07:48:39 PM »
I've setup a bunch of launchers for my dos games on my linux box. This is so much better than manually starting dosbox, mounting the c drive and starting each game.

http://www.subcultureproductions.com/dosgames.jpg

I would really like to do this for amiga games, demos and apps as well with uae. Does anyone know how to get uae to read a seperate config file, where I could specify seperate adf files for each game?

I've tried to figure this out and had no luck. There has to be a way to integrate launchers for amiga games... As it is now I just load a session of amigaos3.x loaded up with whdload games, but I'd prefer to just load the games from a launcher setup like this dosbox launcher setup.

Any help or thoughts on doing this, would be greatly appreciated. I guess I'm
halfway done setting up this linux box as my main machine.... It has everything I like so far except the amiga games not done.

Steven
 

Offline cgutjahr

  • Hero Member
  • *****
  • Join Date: Feb 2003
  • Posts: 697
  • Country: 00
    • Show only replies by cgutjahr
Re: Launchers or multiple script files, linux emulation?
« Reply #1 on: January 19, 2013, 10:27:58 PM »
Quote from: haywirepc;723221

http://www.subcultureproductions.com/dosgames.jpg

This is what my game launcher looks like:

http://gutjahr.free.fr/temp/game_launcher.png

Quote

I would really like to do this for amiga games, demos and apps as well with uae.

1. Configure UAE (FS-UAE strongly recommended) to emulate the machine of your choice, using a directory on your HD as a harddrive. Install the OS version and the game(s) of your choice.

2. in S:Startup-Sequence, above the "IF EXISTS S:User-Startup" block, add this:

Code: [Select]

IF EXISTS S:user-startup2
  Execute S:user-startup2
EndIF


3. Save the FS-UAE config you're using to disk, e.g. "myconfig.fs-uae"

4. For any Amiga game you want to run from Linux, create a bash script looking like this:

Code: [Select]

echo "vidoff\ncd hd:Games/SomeGameDir\nSomeGameExe" > /path_to/the_amiga_S:_directory/on_your_linux_filesystem/user-startup2
fs-uae /path/to/myconfig.fs-uae --fullscreen=1
rm /path_to/the_amiga_S:_directory/on_your_linux_filesystem/user-startup2

(the "vidoff" command simply turns the screen to black until the game starts, no idea where I got it. just leave out the "vidoff\n" part if you can't locate it on Aminet)

What it does? Generate a custom user startup, run UAE with desired configuration, delete custom user startup once UAE is finished.

If you want to run a WHDLoad game, there's no game executable to start. Use

Code: [Select]

whdload slave=Benefactor.slave PRELOAD


instead.

WIth the above approach, you can run FS-UAE with your config file to boot into Workbench for installing new games, adding required libs or deleting stuff. Or you can run a particular game directly from Linux just by invoking its bash script.
 

Offline haywirepcTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2009
  • Posts: 1331
    • Show only replies by haywirepc
Re: Launchers or multiple script files, linux emulation?
« Reply #2 on: January 20, 2013, 02:01:07 AM »
Seems very complicated... I tried fs-uae can't say I like it. Takes control of the host mouse...

Also, my folders which work in winuae and e-uae don't work with it for some reason?

On linux, I've been using euae. Works for full os3.x session,but I can't figure out how to get it to read different config files. If I could figure that out... I could do what I want to do...
which is just load amiga games, demos or apps straight from the linux desktop with a program launcher in xfce...
 

Offline haywirepcTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2009
  • Posts: 1331
    • Show only replies by haywirepc
Re: Launchers or multiple script files, linux emulation?
« Reply #3 on: January 20, 2013, 02:13:32 AM »
Well I got different config files working with right clicking on them and selecting open with uae... But does anyone know the e-uae command line option for loading a specific config
file? I thought it was e-uae -f /path to config but this does not seem to be working?

Almost! GRRRR....