http://www.subcultureproductions.com/dosgames.jpg
This is what my game launcher looks like:
http://gutjahr.free.fr/temp/game_launcher.png
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:
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:
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
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.