retrogame.cfg problem

Having trouble with your GBZ build? Ask your questions here!
Post Reply
User avatar
nexus23k
Posts: 63
Joined: Sat Sep 30, 2017 11:06 am
Has thanked: 24 times
Been thanked: 19 times

retrogame.cfg problem

Post by nexus23k » Wed Jul 10, 2019 7:27 pm

Hi, after retropie update the old retrogame does not work anymore. Now need to edit the retrogame.cfg for my PRS-Tech SNES-Zero.
Use this pinout:
https://www.sudomod.com/forum/viewtopic.php?f=22&t=57
My retrogame.cfg is:

LEFT 16 # Joypad left
RIGHT 27 # Joypad right
UP 15 # Joypad up
DOWN 28 # Joypad down
a 36 # 'A' button
b 31 # 'B' button
x 37 # 'X' button
y 35 # 'Y' button
s 29 # 'Select' button
ENTER 32 # 'Start' button
l 40 # Left shoulder button
r 38 # Right shoulder button
ESC 29 31 # Escape key: hold select + B for a second

But only one button is working. A button is Joypad left and rest, no function. Now need help editing the cfg.
Thanks!

User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: retrogame.cfg problem

Post by rodocop » Wed Jul 10, 2019 9:11 pm

Use the BCM/gpio number not the physical pin number. For 'A' use 16, not 36. Do the same for the rest...it will work. Retrogame NEEDS the BCM/gpio number not the physical location number.

User avatar
nexus23k
Posts: 63
Joined: Sat Sep 30, 2017 11:06 am
Has thanked: 24 times
Been thanked: 19 times

Re: retrogame.cfg problem

Post by nexus23k » Wed Jul 17, 2019 7:26 am

Thanks! After editing the config. most button`s working now. Only Keypad up & right is without funktion. Use Pin 39 as ground. Somthing is wrong with my config?

LEFT 23 # Joypad left
RIGHT 0 # Joypad right
UP 22 # Joypad up
DOWN 1 # Joypad down
a 16 # 'A' button
b 6 # 'B' button
x 26 # 'X' button
y 19 # 'Y' button
s 5 # 'Select' button
ENTER 12 # 'Start' button
ESC 5 6 # Escape key: hold select + B for a second

Only up and right not working. Don't Know Why. Thanks again!

User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: retrogame.cfg problem

Post by rodocop » Wed Jul 17, 2019 8:25 am

nexus23k wrote:
Wed Jul 17, 2019 7:26 am
Thanks! After editing the config. most button`s working now. Only Keypad up & right is without funktion. Use Pin 39 as ground. Somthing is wrong with my config?

LEFT 23 # Joypad left
RIGHT 0 # Joypad right
UP 22 # Joypad up
DOWN 1 # Joypad down
a 16 # 'A' button
b 6 # 'B' button
x 26 # 'X' button
y 19 # 'Y' button
s 5 # 'Select' button
ENTER 12 # 'Start' button
ESC 5 6 # Escape key: hold select + B for a second

Only up and right not working. Don't Know Why. Thanks again!
Hmm, unless you are using another script that might be using those GPIO's? Can you ensure that the soldering to those GPIO's looks good? I assume these buttons worked fine in the past, so it probably isn't an issue with the silicone pads or buttons, but you could always check those.

One other thing to do is to re map the controls in emulation station. See if that helps

User avatar
nexus23k
Posts: 63
Joined: Sat Sep 30, 2017 11:06 am
Has thanked: 24 times
Been thanked: 19 times

Re: retrogame.cfg problem

Post by nexus23k » Thu Jul 18, 2019 7:15 am

Thank you! Got it work.
All tested xxx time. Tested second button Pcb, new silicone rubber, min. 10 different layouts and configs... The problem was. The button PCB was stamp to hard silicone pads. This was the mistake. With lighter pressure all working fine now.
It`s not my snes pi with the problem. My selfmade wooden Gameboy takes me that stress. ;)
Geetings and thanks again!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest