Forum Replies Created
-
AuthorPosts
-
yorkie
ParticipantI wrote a Python script which basically automates the approach you describe;
In brief, it looks for the adf files you have in a given directory and creates a config file for each one. It copes with games having multiple floppy disks, provided that their file name is exactly the same except the floppy disk number.
Using this script has allowed me to populate the Amiga tab in Retropie with all my amiga games that I can launch directly from the menu. However, I’m still finding myself using the keyboard and mouse. Most of the games in my collection (even those that are legal and approved by the game authors) have “crack” screens that require a mouse-button press to escape. Moreover, to exit a game I have to press Ctrl on the keyboard. Perhaps there is a way to map keys and mouse to the joypad in uae4arm that I’m not aware of? Anyways, I have a mini bluetooth keyboard and mouse that I use for this purpose. It was about £20 from Amazon.
yorkie
ParticipantThe config file looks Ok to me. In your emulators.cfg file, you have an extra default=”uae4arm” at the end of the first line
uae4arm="pushd /opt/retropie/emulators/uae4arm/; ./uae4arm -f %ROM%"default="uae4arm" default="uae4arm"
but it should be
uae4arm="pushd /opt/retropie/emulators/uae4arm/; ./uae4arm -f %ROM%" default="uae4arm"
yorkie
Participant[quote=113587]I just got done running your script. (I haven’t tried the games just yet.) One of my games caused an error. “Indiana Jones and the Fate of Atlantis – The Graphic Adventure” has 11 disks, the number of which seemed to screw up the python script. I got rid of that game and moved on for now.
[/quote]Yeah, sorry about that. I didn’t test on games with that many disks. It doesn’t do a very clever job of working how many disks a game has. Glad to hear it mostly working ok though.
[quote=113914]The trouble is, the emulator seems to be looking elsewhere for it. I’m not at home, so unfortunately I don’t have access to my pi to be able to say for sure where I put kick13.rom. If I remember correctly, I put it in the same folder as the emulator itself.
[/quote]The ROM path in the template file is
kickstart_rom_file=/home/pi/RetroPie/roms/amiga/KICK31.ROM
So, this is probably where it expects to find the file.
If you wish to use a different rom, for the time being you’ll have to edit the file template.uae. At some point soon I’ll change to script so that you can specify the ROM and also chipset.
yorkie
ParticipantYeah, it is possible to load games without going through the via the GUI. You need to make some changes to the way that uae4arm works. The trick I found best is to make use of config files (in much the same way that some people run DOS games?).
https://www.petrockblock.com/forums/topic/launch-amiga-games-from-retropie-menu/
yorkie
ParticipantUpdate as promised;
– Modify /etc/emulationstation/es_systems.cfg so that the uae files are recognised.
<extension>.sh .SH .uae</extension>
– change /opt/retropie/config/amiga/emulators.cfg to use the config parameter.
uae4arm=”pushd /opt/retropie/emulators/uae4arm/; ./uae4arm -f %ROM%”
– Download the following two files and copy to your amiga roms folder (i.e. /home/pi/Retropie/roms/amiga)
adflist2uae.py
https://www.dropbox.com/s/6opn1gehvnjtvox/adflist2uae.py?dl=0template.uae
https://www.dropbox.com/s/be230bhjq86he8l/template.uae?dl=0Now, from the command line run the Python script in the your roms folder
python adflist2uae.py
This script is used to create config files for each of the games in your folder. If a game has only one floppy (one adf file) it will be straightforward
e.g.
StuntCarRacer.adf writes a file called StuntCarRacer.uae, where the first floppy disk is set to StuntCarRacer.adfFor games with multiple floppies, it will expect files in the form GameXXX (Disk 1 of Y).adf, GameXXX (Disk 2 of Y).adf etc
So, if I’ve got
Sensible Soccer (Disk 1 of 2).adf and Sensible Soccer (Disk 2 of 2).df I will get a config file called Sensible Soccer.uae
You have to make sure that the adf files are named exactly the same, except for the floppy disk number.
You should now be able to launch into the games from the Amiga menu in EmulationStation without the GUI. However if you have a keyboard handy, you can return to the menu by pressing CTRL if you need to change the configuration or save state etc.
Unfortunately, I’m not quite sure how to quit the emulator without the keyboard, so maybe we can’t get away with using only the joypad just yet.
yorkie
ParticipantI’ve got a Python script that will do a better job for games with multiple floppies. It has to make some assumptions about the way in which the adf files are named.
I’ll do some testing and post later.
yorkie
ParticipantI managed to do this a while ago by following the instructions here;
yorkie
ParticipantDid anyone manage to make any changes to this magical script?
I just installed Retropie 3.3 and thought I would give it a go. I think I have made the neccesary changes, but when I try and load a game I just get to the uae4arm GUI. I think the answer might be here
[quote=106262]
, you can change use_gui to “no” in the UAE4ARM config file, you can still get to the menu with [Left Ctrl] to change disks and settings and stuff.[/quote]
How and where do I change use_gui?
Thanks,
yorkie
ParticipantMany thanks for posting the BBC micro instructions. I’ve got it running, albeit it without sound. Very distracting when I’m supposed to be working at home today :/
Could be worth posting a message to the Further enhancements page so that it might get considered for future inclusion (well worth it in my book..)
yorkie
ParticipantOk. thanks for the explanation about fs-uae. The new version of uae4all2 sounds promising. You mean this one? I’ll have a play with it and try and get it running
yorkie
ParticipantThat would indeed be cool. However, I think it would need a change to the underlying emulators. It would be possible if they could accept command-line parameters.
On my Ubuntu Desktop machine, I have fs-uae for amiga emulation which you pass a configuration file containing the details of your floppy drives, memory etc. This works a treat on EmulationStation. Sadly, I don’t think fs-uae is available for the Pi :/
yorkie
ParticipantI agree, this would be a very neat addition.
yorkie
ParticipantYes I did see your post, but it didn’t help I’m afraid.
I’m using a small wireless keyboard with reduced set of keys e.g. no numeric keypad. If that helps. Oh, and I have retropie 2.6
yorkie
ParticipantI got one from Poundland and that works ok!
yorkie
ParticipantOk. Thanks for the heads-up. Hopefully support for the emulator will evolve in time. For now, I’m running fairly simple A500 games so just need to insert a different disk each time.
Cheers.
-
AuthorPosts