Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline cgutjahr

  • Hero Member
  • *****
  • Join Date: Feb 2003
  • Posts: 697
  • Country: 00
    • Show all replies
Re: Launchers or multiple script files, linux emulation?
« 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.