Really weird Amiberry/UAE config file behaviour
-
I'm increasingly bewildered by the operation of .UAE game config files, but this one's got me the most stumped.
Mostly Amiberry cleverly auto-recognises when a game comes on multiple disks and switches them over on the fly without the user having to faff around doing it in the menus. An example is Pinball Dreams, which does this seamlessly when you put the two .ADF disks in the ROMS folder - launch either one and the emulator handles them both and takes you right into the game with no further input.
UNLESS, that is, you put a config file in the folder.
I wanted to map the flipper keys to some joystick buttons, which worked fine. I put these lines in a config file and they let me use the "North", "South" and "East" buttons on my joystick (actually A, X and Y) for the flippers and plunger:
joyport1=joy1
joyport1_autofire=none
joyport1_friendlyname=USB Gamepad
joyport1_name=JOY1
joyport1_amiberry_custom_none_north=Left Shift
joyport1_amiberry_custom_none_east=Right Shift
joyport1_amiberry_custom_none_south=Cursor DownThe only problem was, the emulator no longer recognised the second disk drive, and insisted on me manually swapping disks during the load process.
Those are the ONLY lines in the config file. They don't mention disk drives at all. Why are they stopping the emulator using the second drive? If I delete the config, the second drive comes back and works normally (but I've got no flipper buttons).
It's not just those. Other games where I've added configs (eg to adjust the display size) also lose the ability to use multiple disk drives as a result, even though there's nothing in the config about floppy drives. But some others (eg Banshee) keep working.
It doesn't make any difference at all if I include the lines in a full config file, or whether or not the config clearly specifies multiple floppy drives and puts the right disks in them, eg:
; *** Floppy Drives
;
floppy0=/home/pi/RetroPie/roms/amiga/PinDreams1.adf
floppy1=/home/pi/RetroPie/roms/amiga/PinDreams1.adf
floppy2=
floppy3=
nr_floppies=2I still have to change the disks manually if there's any sort of config present, but I don't if there isn't. (And yes, I already tried copying and pasting the entire config from a multiple-floppies-working game and replacing the ADF file addresses with the Pinball Dreams disks. No dice.)
Any insights gratefully received. This isn't making a lick of sense.
-
@spudsmctoole said in Really weird Amiberry/UAE config file behaviour:
ADF f
This behavior is normal for even a real amiga some games supported a second drive and some didnt. If you want swapless games youl need to use whdload games. I use the with fsuae on my linux box never tried them on the pie I do know it supports it though. just search the forums for whdload and get pinball deams for whdload
-
@grant2258 Yes, I know some Amiga games supported multiple floppies and some didn't, but what we've got here is the SAME game both supporting and not supporting extra drives depending on whether there's a line about keymaps or display size in the config file, and that's not right.
-
Well looking at your listed config you have the same adf name for both floppies
-
@grant2258 It makes no difference at all what floppy names are in the config. They can even all be the disks for a totally different game. I suspect that's at the root of the problem.
-
ok not sure what you are doing here where exactly are you putting the config file ? and are how you making amiberry run it. The confs are stored in
/opt/retropie/configs/amiga/amiberry/conf
the default launch script is in
/opt/retropie/configs/amiga/emulators.cfgwhich runs the emulator with
/opt/retropie/emulators/amiberry/amiberry.shin there this code
if [[ -z "$config" || "$config" == "auto" ]]; then
# check for .uae file with the same base name as the adf/zip
if [[ -f "$rom_bn.uae" ]]; then
config="$rom_bn.uae"
checks to see uf you have a file named gamenamecasesensative.uae it will then use that config.copy one of the configs above a500 or 1200 add your lines and name the file the same as the adf or zip file. dont add any floppies information to it
gamenamecasesensative.uae
config_description=RetroPie A500, 68000, OCS, 512KB Chip + 512KB Slow Fast
chipmem_size=1
bogomem_size=2
chipset=ocs
cachesize=0
kickstart_rom_file=$(FILE_PATH)/kick13.rom
#add your commands after this remove this line this is the a500 conf dont add any floppy info the script takes care of that -
@grant2258 Running config files from /opt/retropie/configs/amiga/amiberry/conf doesn't work. That was where I had them initially. They have to be in the ROMS folder or they get ignored. Ones that are in the ROMS folder work. And yes, I always call them the exact case-sensitive name of the first disk.
-
yes i know the config goes in the games dir just put this in the .uae config in the games dir
config_description=RetroPie A500, 68000, OCS, 512KB Chip + 512KB Slow Fast
chipmem_size=1
bogomem_size=2
chipset=ocs
cachesize=0
kickstart_rom_file=$(FILE_PATH)/kick13.romput that in as your config if it doesnt work let me knwo we will take it from there
-
well it worked fine for me with that config I posted above. I had to compile the lastest amiberry because I only have ipf files now got rid of my adf ones. The ipf support works well and is easy enough to add.
roms/amiga/
├── Pinball Dreams (Europe).uae
├── Pinball Dreams (Europe).zip
└── +Start Amiberry.sh -
on more thing you will notice your gane listed twice when you add this config if you want rid of it type this
sudo pico /etc/emulationstation/es_systems.cfg
look for
<system>
<name>amiga</name>
<fullname>Commodore Amiga</fullname>
<path>/home/pi/RetroPie/roms/amiga</path>
<extension>.adf .adz .dms .ipf .uae .zip .sh .ADF .ADZ .DMS .IPF .UAE .ZIP .SH</extension>
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS amiga %ROM%</command>
<platform>amiga</platform>
<theme>amiga</theme>
</system>and remove .UAE and .uae from the list I have no idea why this is there maybe it for the emulator to be used on a different way or another reason I dont know about but for me it has to go if im using it.
hope thats enough info for you it does work as it should just that double list isint good but is a personal preference i guess
-
@grant2258 TBH I'm completely lost now. But I'm going to see if putting the disk files in a single zip helps.
-
@spudsmctoole It did :)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.