OS Software




Naomi flycast / retroarch button mapping

Started by Gsr94t, May 17, 2026, 07:01 AM

Previous topic - Next topic

Gsr94t

***
Full Member
Posts: 59
Logged
Hi all onto the next query

Im running virtua striker 2 version 2000 on naomi flycast emulator
Works well but the default button positioning was mixed up.

In any case, pressed f1 on keyboard

Went into controls, port 1 and port 2 , swapped around the buttons to position buttons 1 2 and 3 to match the games input test menu (e.g. the game itself will show visuals on what button does what feature and wanted to match it).
I then chose the option to save the remap and it shows its saved as something like vs2.rmp or whatever.

Works beautiful... until you exit the game and go back in.

After going back in, its defaulted back again. I press f1 again, check what control mapping its using it says NA. I can then choose to load a remap file which has the previously saved vs2.rmp in there and then works great once again, but it just wont automatically default to it.

In the same f1 menu ive checked the options that save on exit (which were enabled).

Is there a way to have game specific mapping for retroarch/flycast and have it automatically use that remap foe the fame once exiting and re entering the game (in contrast to having a control mapping as uniform to all naomi roms)

Thanks
P.s. if its confusing, i can make a video?

dee2eR

Administrator
*****
Hero Member
Posts: 348
Logged
Offhand I am not sure what is happening there.  I'll have to check it out, it may take me a day or so as one of my kids is sick.

Gsr94t

***
Full Member
Posts: 59
Logged
Quote from: dee2eR on May 17, 2026, 06:36 PMOffhand I am not sure what is happening there.  I'll have to check it out, it may take me a day or so as one of my kids is sick.

Zero urgency, just a hobby , just perfecting everything :)

family and health first ALWAYS!

I consider us all lucky to even have such amazing help at all!

dee2eR

Administrator
*****
Hero Member
Posts: 348
Logged
#3
Sorry it's taken me a while to get to this.

Checking /home/pi/.config/retroarch/flycast_libretro240.cfg shows the setting that is the issue:
Quoteauto_remaps_enable = "false"

I need to dig through the RA menu and find where it is set.  I'll update this post soon.  Alternatly it can prob be done from the command line with the nano text editor.

I didn't see any issue with the button order but player 2 joystick up was also sending a button 8(!) press that showed up in the test menu for VS2v2000, I'm guessing most games have no handling for b8 or I would have noticed that earlier...

EDIT: I couldn't find the setting via the RA menus.  Edit the file from the command line using the command
Quotenano .config/retroarch/flycast_libretro240.cfg
'ctrl+w' to search (search remap), change the line to read:
Quoteauto_remaps_enable = "true"
'ctrl+x' to exit, 'y' to save, 'enter' to overwrite the existing file and one 'sudo reboot' later it should be fixed.

Gsr94t

***
Full Member
Posts: 59
Logged
#4
Thanks for updating on this

So the button order issue can be seen in the games service menu - then going into the virtua striker sub menu then input test

Button 1 will be button 2 on the test, button 2 will be button 3 and button 3 will be button 1

Maybe i should take a video haha

Oddly my other naomi games dont have this problem.


With the edit suggested, i imagine thats not on the boot partition?

I think i really need to get a licensed copy of paragon 😆

Or when you say command line,  are you saying from a computer or somewhere on the arpicade i can enter a command line area?

Once thats edited does that mean it accepts individual game button config saves ?

Thank you again

dee2eR

Administrator
*****
Hero Member
Posts: 348
Logged
yeah after that edit you should be good to modify maping.  Maybe I have a different version of the game, the buttons were not shown as 1, 2 and 3 in the test menu for me, maybe I used a different input test (the NAOMI one instead of game maybe? I'm really not sure).

On the Pi, plug a keyboard in before booting up, once the menu loads press 'f4' to open the service menu then 'f4' again and you'l get to the command line.  It may be a bit hard to read on arcade monitor but should be possible if you're careful (and don't make any typos in the file).

I wouldn't recommend editing this file on a PC anyway (even if you had Paragon or Linux), the Pi gets weird about when the file was saved if it's ahead of it's internal clock and can cause issues saving changes from the RA menu later.  It's the only downside to the Pi not having a realtime clock that I know of, at least for how we use them.

Gsr94t

***
Full Member
Posts: 59
Logged
#6
Thanks
All followed through nicely as instructed in the previous post
After i saved per above it took me back to like a main command line area again (looked like i was back to where i first entered in the command line area). was i supposed to then type sudo reboot and press enter? (wasnt sure what ' one sudo reboot later ' meant)
I did type sudo reboot and pressed enter anyway but since then it wont boot now lol
Dead black screen after the initial red square boot up screen. Tried a few reboots.
Reimaging the card again now with a backup from a month back.
🤷

Edit: reimaged and running again, too scared to try again without checking ive done something wrong with the reboot command first

dee2eR

Administrator
*****
Hero Member
Posts: 348
Logged
weird, nothing you did should have stopped it booting, even if you messed that one file up completely editing it.

sudo reboot (and enter) was the right way to finish.  Did you wait for it to reboot?  If not and you powered down the cab or something maybe that borked the SD card (the power going off during the SD write).  Other wise you may have just been really unlucky... I'm not sure.

I'll include the change in the next update.  Or do a quicky update with just the change in it as I don't have any other updates to share at the moment...