[Solved] Switching Pocketsnes To Pisnes Controller Trouble.
-
Pi Model: Zero
RetroPie Version Used: 3.8.1
Built From: Iso? The download from this site.
USB Devices connected: Bluetooth dongle for PS3 controller powered via USB external powered hub.
Controller PS3
Error messages received: N/A
Emulator: Pocketnes / PisnesI heard that pisnes was better at running the sne, so I swicthed it as the game loaded. The game loaded fine but the controller was dead also the keyboard at the time that was plugged in.
I have read that pisnes needs its own controller config but I do not have any idea how to do this.
-
-
Yes, did I say very new to this? viewing the files over windows I do not have the file "snes9x.cfg" "/opt/retropie/emulators/pisnes"
So no idea how or where to input that script? -
If you were on 3.8.1 those paths should have been correct. if you have updated to 4.0 and reinstalled/updated the location is
/opt/retropie/configs/snes/snes9x.cfg
-
This is all I have,
-
a screengrab on top of forum posts - somewhat confusing!
then the other location is used and you must use ssh to edit it (easier to update retropie-setup though and re-install the emulator to get the config at the new location)
-
@BuZz said in Switching Pocketsnes To Pisnes Controller Trouble.:
a screengrab on top of forum posts - somewhat confusing!
then the other location is used and you must use ssh to edit it (easier to update retropie-setup though and re-install the emulator to get the config at the new location)
Which other location?
Now we are moving on to updating the setup?
How does one re-install the emulator, would I need to uninstall it first?
-
/opt/retropie/emulators/pisnes
to update - https://github.com/retropie/retropie-setup/wiki/updating-retropie
update retropie-setup, then go to packages/optional packages and update pisnes
-
@BuZz Updated to 4.0 beta 2 and restarted, but still no file path to, /opt/retropie/emulators/pisnes
-
Did you go to RetroPie-Setup / Packages / Optional Packages and update pisnes ?
-
also the path will be
/opt/retropie/configs/snes/snes9x.cfg
now - the other path did exist BTW, but you can't access it via windows shares - would need to SSH in. once you have updated you will be able to access it - via the configs share. -
Ok, I have now updated pisnes via RetroPie-Setup / Packages / Optional Packages and update pisnes from source
Using Putty I get this when trying to access the file, my Linux skills are very basic.
pi@retropie:~ $ /opt/retropie/configs/snes/snes9x.cfg
-bash: /opt/retropie/configs/snes/snes9x.cfg: Permission denied -
you can edit it via windows share, or to edit via ssh you can use nano
nano /opt/retropie/configs/snes/snes9x.cfg
-
@BuZz We are getting there, thank you for your help and patience.
The file shows and when opened has. and can't find reference to how to map this to a PS3 controller.
[Keyboard] # Get codes from /usr/include/SDL/SDL_keysym.h A_1=100 B_1=99 X_1=115 Y_1=120 L_1=97 R_1=102 START_1=13 SELECT_1=9 LEFT_1=276 RIGHT_1=275 UP_1=273 DOWN_1=274 QUIT=27 ACCEL=8 [Joystick] # Get codes from "jstest /dev/input/js0" # from package "joystick" # Defaults to XBOX 360 controller A_1=1 B_1=0 X_1=3 Y_1=2 L_1=4 R_1=5 START_1=7 SELECT_1=6 QUIT=99 ACCEL=98 QLOAD=10 QSAVE=9 #Joystick axis JA_LR=0 JA_UD=1 #Joystick DPAD buttons LEFT_1=11 RIGHT_1=12 UP_1=13 DOWN_1=14 #player 2 button configuration A_2=1 B_2=0 X_2=3 Y_2=2 L_2=4 R_2=5 START_2=7 SELECT_2=6 #Joystick axis JA_LR_2=0 JA_UD_2=1 #Joystick DPAD buttons LEFT_2=11 RIGHT_2=12 UP_2=13 DOWN_2=14 [Graphics] DisplaySmoothStretch=1 # Display Effect: 0 none, 1 scanlines, 2 phospher # NOTE Phospher does not run at full speed DisplayEffect=0 MaintainAspectRatio=1 DisplayBorder=0 AutoFrameskip=1 Frameskip=200 Transparency=1 CPUCycles=100 [Sound] APUEnabled=1 # Sound rates below as index, i.e. 7=44100 (some of these produce static) # 0, 8192, 11025, 16000, 22050, 29300, 32000, 44100 SoundPlaybackRate=7 # Enable on RPI2 for clearer sound, disable on RPI1 due to performance impact InterpolatedSound=0
Can't find reference to how to map this to a PS3 controller.
-
When posting config/logs please use markdown to format them or use an external site like pastebin as detailed in https://retropie.org.uk/forum/topic/3/read-this-first
(I will edit your post so it is readable)
-
To map it to a PS3 controller, you need the button IDs which can be found out with a tool like jstest as it mentioned in the config. TBH I think you would be best just to stick with pocketsnes which runs most stuff full speed on a RPI1. I don't have time to go into more detail I'm afraid and I don't think you will gain much from using this emulator.
-
@BuZz I see
test
-
I have run jstest and have mapped out all the buttons and sticks
Can I write a new entry in the config file for the PS3 in the same format of the xbox 360.
-
@TheDutyPaid yep. Should be fine
-
This post is deleted!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.