Streets of Rage Remake (latest retropie 2019)
-
I know this may not be the right place to ask for help, but I couldn't find any topics on SoRR the HyperPie forums, and was hoping one of you could help. I have the Streets of Rage Remake running on HyperPie 2.5.1, but mapping controllers has been difficult for me. I have an arcade stick from Game Room Solutions (Xin-Mo USB controller, which shows up as two gamepads), and If I configure Streets of Rage Remake to use both gamepads, then the left side of my arcade controller controls Player 2 in the game, and the right side of the controller does nothing. I also have a keyboard connected.
It looks like SoRR is somehow enumerating the controllers in a way that I don't want. It appears that SoRR sees something else (the Keyboard maybe?) as the first plugged in gamepad, the left side of my arcade controller as the second plugged in Gamepad, and the right side of the controller as the third plugged in Gamepad. All of the buttons work properly when the arcade controller is connected to Windows and I look at the Gamepad properties.
Unplugging the keyboard and rebooting the Raspberry Pi does not seem to help.
Also, the arcade controller works fine with MAME and CPS2 games in Emulation Station on HyperPie (both 1P and 2P controls work fine for SSF2T, Alien vs Predator, and other games).
Is there a way I can configure SoRR somehow to enumerate the gamepads the way I expect so both 1P and 2P controls work?
-
@mrbee The script I posted can divide between shell scripts and ROMs. So this would help you to start SorR out of your ES-setup.
You need to edit your command line according the path you save the script.
`<command>/path/to/your/script/helper_script.sh</command>Then make helper_script executable by typing
chmod +x /path/to/your/script/helper_script.sh
That's all. If something goes wrong with the script start then you've likely used a wrong text editor in this case type
unix2dos /path/to/your/script/helper_script.sh
to convert the script in correct file format. You'll make it, don't worry. Maybe you can also just add a second "system" only for shell files? -
@cyperghost thanks for helping me understand. ive never made a shell script before so now is the time to do it! il follow your instruction tomorrow and give it a go!
just wondering though. of all the guides ive seen and people who have got this to work why didnt they have this no config found error and have to create a script for it to run? ive never seen this step.
perhaps it is just my technology curse haha -
@mrbee hate to say it but might be the curse. I have had to redo my build more times then I like to say and once someone help me to get the data in the right place. I have never had a problem.
Very confused on this for you
-
@cyperghost said in Streets of Rage Remake (latest retropie 2019):
#!/bin/bash
extension=${1##*.}case ${extension,,} in
sh) #shell files bash "$1" ;; *) #rest of files /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ ports "$1" ;;
esac
Ok I am still getting the no config found for system ports error :( :( :(
So I went to the commandline and typed in sudo nano helper_script.sh
This opened up the nano editor then I pasted what you have posted above into that. Saved.
Then I ran chmod +x (the nano file was saved in home/pi. So I made a folder in retropie called scripts and moved the helper_script.sh in there.Then i typed chmod +x /home/pi/RetroPie/scripts/helper_script.sh
I ran that command and then nothing happened i guess it worked as there was no error, just moved down to the next line to type something.So i went into the systems.cfg file and changed the command to <command>/home/pi/RetroPie/scripts/helper_script.sh %ROM%</command>
I restarted. And then of course went into ES and loaded sorr, same error again. No config found for system ports!!!
Ah this is destroying me slowly.
I then thought id just open nano, save and then when i typed chmod +x /home/pi/helper_script.sh it says "changing permissions of .... Operation not permitted.
I then managed to save the helper_script in /home/pi/RetroPie/ but still. not permitted to change it. chmod 777 etc dont seem to work either!i then typed sudo chmod +x /home/pi/helper_script.sh.....
This didnt give me an error but just moved me down to the next empty line in the commandline.So I am totally stuck here i feel so stupid!
-
Just need help on this last step. Im totally stumped am not sure why else id get the no config found for system ports error
-
This is how I have mine set up and it's working perfectly:
/etc/emulationstation/es_systems.cfg
:<system> <name>ports</name> <fullname>Ports</fullname> <path>/home/pi/RetroPie/roms/ports</path> <extension>.sh .SH</extension> <command>bash %ROM%</command> <platform>pc</platform> <theme>ports</theme> </system>
/opt/retropie/configs/ports/sorr/emulators.cfg
sorr = "pushd /opt/retropie/ports/sorr; ./bgdi-330 ./SorR.dat; popd" default = "sorr"
/roms/ports/Streets of Rage Remake.sh
#!/bin/bash "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "sorr" ""
-
@SinisterSpatula said in Streets of Rage Remake (latest retropie 2019):
<path>/home/pi/RetroPie/roms/ports</path>
thank you for this, i will try this tomorrow.
In your es systems cfg in the path you have it installed to the roms/ports folder . not opt/retropie/ports folder.
Should i move my sorr files to home/pi/retropie/roms/ports? or should i rename the path to opt/retropie/ports?
Perhaps im getting the error because it is in opt/ directory. But this is what the guide says to do :S -
@mrbee for the es systems it will will always point to the rom folder.
for SORR you have it in the correct place if you have it in the OPT folder like the guide says
-
One of my favorite commercials was for SOR2
-
I have it running good on 4.5.1 on a rpi3b+ board.
Followed sinisterspatula's guide.
One issue I was having was upon running id get an error galsia.pal was not found.
After a day of fiddling I figured out that the savegame.sor file wasnt working with my setup properly. So I loaded the game onto my win10 PC and created a new savegame.sor
That has the video settings changed to windowed rather than fullscreen.
My next issue is it wont save my arcade control scheme or my high scores or saved games etc. Its not writing to savegame.sor . I tried chmod 777 the whole directory again but didnt make a difference.
Anyways thought I'd post this stuff just in case someone is looking for the galsia.pal fix -
@SinisterSpatula ok so i changed the es_systems.cfg (with the exception of having the <path> as <path>/opt/RetroPie/ports/</path> and I literally am confused at what happened next..
(bearing in mind, this game runs fine if i run it through commandline)
It has a black screen then a LOAD of text comes up, I can't seem to copy this text anywhere (not sure where it is logged to, the es log doesnt show anything related).But amongst the text is a load of random characters and things that say opt/retropie/ports/sorr/SorR.dat: line 3: $'\202\001z001': command not found
opt/retropie/ports/sorr/SorR.dat: line 6: syntax error near unexpected token '$'t\037\251p\037' '
opt/retropie/ports/sorr/SorR.dat: line 6: 'L<]◆u◆]◆◆◆◆◆◆◆◆u◆ \◆◆◆◆◆◆ and then a load of stuff like random characters.what the hell init
-
@mrbee sounds like it was trying to execute sorr.dat directly? That's very strange. I don't have much more info to give you, just gave all the info on what worked for me and how I had everything set up. Something is different with your setup versus mine, but I don't know what. Maybe it's your sorr files. Maybe try doing it all from scratch, or using different sorr files.
-
@SinisterSpatula I made kind of "special" setup and messed up
es_systems.cfg
.his setup looks like
<name>ports</name> <fullname>Ports</fullname> <path>/home/pi/RetroPie/roms/ports</path> <extension>.7z .pce .ccd .chd .cue .zip .7Z .PCE .CCD .CHD .CUE .ZIP</extension> <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS ports %ROM%</command> <platform>ports</platform> <theme>ports</theme> </system>
don't ask me why he did that
-
Ahh, I see. So @mrbee just set your es_systems.cfg back to like how mine is shown, and make sure your script for SORR in the roms/ports folder is good, and you should be golden. For reference, this is what should be in
/roms/ports/Streets of Rage Remake.sh
#!/bin/bash "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "sorr" ""
-
thank you I will get the es systems back to as it was, i think the issue that I am having is that streets of rage remake.sh file is now missing i will have to redo it all and get that file back!
Thank you for all of the help i really appreciate it -
Hello everyone, does anyone know how to leave the game on the gamepad? It works with ESC on the keyboard. But I would like to leave it for example as with the other emulators via Start + Select?
-
@Cybermen You have to make a script with xboxdrv to map the key. I still need to do it for my system.
I think someone might of made up once but I can't remember.
I'll post mine once I get it up and working
-
@Solid-One I’m just trying this with Retropie 4.6 and get the following error ./bgdi-330: error while loading shared libraries: libpng.12.so.0: cannot open shared object file:!No such file or directory
I’m pretty new to Linux but tried to run Suso apt-get install libpng12.so.0 but that’s returned an E: Unable to locate package libpng12.so.0 error, I’m guessing this shared library isn’t available for Debian buster.
I tried to download an old Retropie image 3.6 but that’s not available and when I tried using the script for 3.6 on top op Raspian Lite Jessie it ran into errors and didn’t work after I ran the setup extras from jayzero.
Can anyone help with me getting this working, I’m guessing I need to get a version of libpng12 compiled on Buster or a later bgdi that’s compatible with buster ?
-
@damianiw well bit more trial and error and I have it working :-) my rpi model B is now perfect
I ran
sudo apt-get install libpng12-0
After that it ran from the command line fine and also from the Retropie menu
I’ll be repeating the same on my pi zero w soon then saving for a gpi-boy case
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.