RK3128-CFW / rk3128-cfw.github.io

Documentation
https://rk3128-cfw.github.io/
MIT License
16 stars 1 forks source link

Controller mapping for RetroArch (PS5000) #2

Open Tonhum opened 2 years ago

Tonhum commented 2 years ago

I'm having some issues with mapping specifically with RetroArch.

When I press either A Button (Right) or Y Button (Left) (the left or right buttons, like square and circle on psx), it registers as both buttons being pressed. Same thing happens with L Button (Shoulder) and B Button (Down) (or like L1 and X on psx).

It only happens specifically with RetroArch, not with the Batocera menus or the non-RetroArch emulators, like Glide64mk2.

I checked the mapping in RetroArch and everything seems fine, and if I try to remap it in Settings > Input > Port 1 Controls, I can't really because it will still recognize as both buttons being pressed.

I don't believe it is a problem with my unit, because this didn't happen with the stock firmware or Ruka CFW.

I have a black PS5000, not sure if it's Rev.A or Rev.B (if it makes any difference).

Thank you all for your hard work for porting Batocera and for your help!

acmeplus commented 2 years ago

There seems to be an issue with keyboard-like mapping in PS5000. Try to add the following to your batocera.conf file:

global.retroarch.input_player1_a = "a"
global.retroarch.input_player1_b = "b"
global.retroarch.input_player1_y = "x"
global.retroarch.input_player1_x = "y"
Tonhum commented 2 years ago

There seems to be an issue with keyboard-like mapping in PS5000. Try to add the following to your batocera.conf file:

global.retroarch.input_player1_a = "a"
global.retroarch.input_player1_b = "b"
global.retroarch.input_player1_y = "x"
global.retroarch.input_player1_x = "y"

It worked! Now every button is distinct! Thank you very much!

DesertFoxNL commented 2 years ago

Is there a need to use the hashtags, like all the text in the Conf file ?

they show like :

Send cec standby command to your first tv/monitor device during shutdown

system.cec.standby=1

EmulationStation menu style

default -> default all options menu

none -> no menu except the game search menu

bartop -> less menu, only needed for bartops

system.es.menu=default

Show or hide kodi in emulationstation (0,1)

kodi.enabled=1

Start kodi at launch (0,1)

kodi.atstartup=0

set x button shortcut (0,1)

kodi.xbutton=1

or just copy without and leave a space and add this ?? thanks

DesertFoxNL commented 2 years ago

There seems to be an issue with keyboard-like mapping in PS5000. Try to add the following to your batocera.conf file:

global.retroarch.input_player1_a = "a"
global.retroarch.input_player1_b = "b"
global.retroarch.input_player1_y = "x"
global.retroarch.input_player1_x = "y"

use the hashtags? Thanks

Tonhum commented 2 years ago

There seems to be an issue with keyboard-like mapping in PS5000. Try to add the following to your batocera.conf file:

global.retroarch.input_player1_a = "a"
global.retroarch.input_player1_b = "b"
global.retroarch.input_player1_y = "x"
global.retroarch.input_player1_x = "y"

use the hashtags? Thanks

No need for the hashtags, just add it as is, right at the end of the file.

DesertFoxNL commented 2 years ago

There seems to be an issue with keyboard-like mapping in PS5000. Try to add the following to your batocera.conf file:

global.retroarch.input_player1_a = "a"
global.retroarch.input_player1_b = "b"
global.retroarch.input_player1_y = "x"
global.retroarch.input_player1_x = "y"

use the hashtags? Thanks

No need for the hashtags, just add it as is, right at the end of the file.

Thanks. I think i have a bigger issue here. I put the roms and bios in correct folders but the Batocera does not see or update the new games. It only has a few emulators. Not even psx etc. Etc.

It has prboom and one nes game freeware and some other freeware. But the rest is not loading. :-) I ised to have Ruka firware on it. And updated the bootloader last year. Maybe someone else has experience in the transition from ruka to this one.

Tonhum commented 2 years ago

Thanks. I think i have a bigger issue here. I put the roms and bios in correct folders but the Batocera does not see or update the new games. It only has a few emulators. Not even psx etc. Etc.

It has prboom and one nes game freeware and some other freeware. But the rest is not loading. :-) I ised to have Ruka firware on it. And updated the bootloader last year. Maybe someone else has experience in the transition from ruka to this one.

Have you tried pressing start, going into game settings, then update gamelists?

I had a similar problem a while ago, where my games were just not being recognized. Before that happened, I turned on the system without any SD card by mistake, and got the RUKA CFW error message, so maybe that did something. I backed up my games, bios and saves, formatted the SD card and re-flashing batocera to the SD card, then putting my backup in the SD card again. It worked, so maybe just, try again?

DesertFoxNL commented 2 years ago

Hi, the problem persisted, I was not able to add any roms, or in the end added GBA roms but new systems/ consoles would not show and load.

I ended up installing https://batocera.org/download / https://mirrors.o2switch.fr/batocera/ps5000/stable/last/batocera-rk3128-ps5000-34-20220523.img.gz

The 20220523 build from the official site works!! loads all roms and consoles thrown in , in the gamelist. Only thing .. I don't know if the emulator settings are different from this overlay and build??? Maybe an idea to adjust the overlay for this version as well? Thanks for the help so far guys, @acmeplus @Tonhum

guaosi commented 2 years ago

There seems to be an issue with keyboard-like mapping in PS5000. Try to add the following to your batocera.conf file:

global.retroarch.input_player1_a = "a"
global.retroarch.input_player1_b = "b"
global.retroarch.input_player1_y = "x"
global.retroarch.input_player1_x = "y"

use the hashtags? Thanks

No need for the hashtags, just add it as is, right at the end of the file.

only batocera-boot.conf file in sdcard,not found batocera.conf.

I try add it as is, right at the end of the file. but not work

SporkyKnob commented 2 years ago

The file is in the system folder.

I've added this into the correct file but it's not working for me. Any tips? I have a Ps7000

DesertFoxNL commented 2 years ago

all the way to the end, then ENTER spacing in between, and then copy paste, each A B X Y is a seperate line, but no empty lines in between them. Save File. close/dismount sd. load in PS5000- *or 7000 should be same..) and worked for me .

SporkyKnob commented 2 years ago

all the way to the end, then ENTER spacing in between, and then copy paste, each A B X Y is a seperate line, but no empty lines in between them. Save File. close/dismount sd. load in PS5000- *or 7000 should be same..) and worked for me .

Thank you for your tip. I will try it when I get a chance!

SporkyKnob commented 2 years ago

all the way to the end, then ENTER spacing in between, and then copy paste, each A B X Y is a seperate line, but no empty lines in between them. Save File. close/dismount sd. load in PS5000- *or 7000 should be same..) and worked for me .

Hello again. Is there a recommended program to use to edit the .config file? I'm using Windows and just used text editor but it editing and saving doesn't seem to fix the issue

SporkyKnob commented 2 years ago

It still doesn't work for me :(

DesertFoxNL commented 2 years ago

It still doesn't work for me :(

You have discord ? (The app/forum)

SporkyKnob commented 2 years ago

It still doesn't work for me :(

You have discord ? (The app/forum)

I don't, sorry :(

thalyy36 commented 1 year ago

Hello, i've recently gotten a Powkiddy A12 and, have installed the latest version of Batocera on it though, I have had some problems that I would like to get some help with, can anyone here help me?

Firstly, I can't seem to change the default config file for RetroArch, since there's doesn't appear to be an option to go into the RetroArch menu from emulation station, I have to enter it by going into a game then, opening the RA menu from there, and so on. My problem is that, if I try to open a game in any emulator then, go to the RetroArch menu, it will be using the default settings for RetroArch every time, I just can't change them, I even tried making a new config file to replace the default one but, the settings won't save, I need to keep reloading my custom config file every time I go into RetroArch. I tried replacing the original config file for my custom one by swapping the files but, keeping the same name though, it didn't work.

Also, I would like to know how can I setup Batocera to start on the RetroArch menu rather than EmulationStation? Is it possible or, do I need to start on ES every time?

At last, I would also like to know how I can deactivate the hotkey on Batocera. I would like to use the back button as a regular hotkey but, it instantly quits RetroArch everytime.

Albert1748 commented 10 months ago

hola a ver si alguien me puede ayudar tengo consola retro ps5000 y la cruceta no me responde bien, izquierda derecha me fallan y joystick izquierdo también ,ha ver si alguien me puede orientar un saludo gracias.