OS Software




Naomi flycast / retroarch button mapping

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

Previous topic - Next topic

Gsr94t

***
Full Member
Posts: 58
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: 347
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: 58
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: 347
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: 58
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: 347
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.