Amiga.org
Amiga computer related discussion => General chat about Amiga topics => Topic started by: haywirepc 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
-
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.
-
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...
-
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....