@_arthur_ Hi! Well, the actual problem I did not solve. It's not solvable the way Recalbox handles devices with Amiberry, I think. (I didn't try it, but probably also not for Dosbox... unless you use some libretro based Dosbox, I guess) They are not read form the Retroarch configs, but passed as runtime arguments when starting the game, probably in the order they were plugged in or detected on system start. From this list and order the Amiberry config is then generated on-the-fly. Device ids, names or anything like that is not taken into account. Just the order, which may be anything. (IIRC)
At least with Recalbox 8 or so this on-the-fly generating was fixed, so that the generate config at least makes sense now and shows proper device names. So at least you can change it now in the Amiberry GUI, everytime you start the game.
You could override it with custom uae files. It should work within the limitations. But again, only based on order. So you could store "device #3" as first controller. And it will be whatever the system figures out as #3. If you are lucky it's stable. If there is no #3, because it's not plugged in, well...
I totally understand that. With the Storage option in Recalbox set to AnyExternal, Recalbox was writing boot profiles to every device I plugged in. Since a fresh boot profile gets written, so do basic Kodi files, and every time I'd inadvertently load a boot profile from a drive I didn't intend to, loading either RecalBox or Kodi resulted in my entire rom/media libraries getting overwritten.
I fussed with that option so much trying to get it to work that I was scared of booting into RecalBox with my external hard drives plugged in at all; which means I never saw the option to set a static individual drive as a Storage option.
## You can override the global configuration here
## Here is the snes example
;snes.videomode=CEA 4 HDMI
## If you do not want recalboxOS to generate the c
onfiguration for the emulator :
I copied the whole set down and tried it all before I started cutting back to just the working stuff from the list. Don't worry I'll work out what it is. I can always just re-torrent down the few roms and retry.