Streets of Rage Remake (latest retropie 2019)
-
@Solid-One In ES terminal it would work
-
@cyperghost Do you know why i keep getting the "no config found for system ports" in es? The game runs fine in commandline but wont run through es.
-
@mrbee said in Streets of Rage Remake (latest retropie 2019):
@cyperghost Do you know why i keep getting the "no config found for system ports" in es? The game runs fine in commandline but wont run through es.
Yes
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ ports %ROM%</command>
All files in ports section are shell script files and they are executed by
bash %ROM%
your call would simply not work. You would need the help of a small script.<command>/path/to/helper_script.sh %ROM%</command>
helper_script.sh
#!/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
-
@cyperghost im sorry im not sure what you mean with what you have pasted. im sounding really stupid here arent i. my level is so basic with this stuff.
what exactly should i paste in instead of what i have in my config for the runcommand? im so close to getting it to work. do i just paste in what you have put in your reply? im not sure what the helper_script.sh file is or where it is.
-
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
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.