RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Streets of Rage Remake 5.2 - add to Ports ?

    Scheduled Pinned Locked Moved Help and Support
    sorrtutorialinstallationstreets of rageports
    153 Posts 10 Posters 50.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hawkes_84H
      hawkes_84 @sleve_mcdichael
      last edited by

      @sleve_mcdichael let me pick this back up with you tomorrow as late here in the UK. You were right though my system.txt was set to BORDERLESS SYNC instead of AUTO. Problem now is I changed the emulator.cfg to say XINIT:pushd as mentioned in this thread and the sorr rom won't even start up. Gives an error message about it not being able to remove something or other. Might do a fresh install tomorrow of extras.sh and the sorr package

      S 1 Reply Last reply Reply Quote 0
      • S
        sleve_mcdichael @hawkes_84
        last edited by sleve_mcdichael

        @hawkes_84 said in Streets of Rage Remake 5.2 - add to Ports ?:

        You were right though my system.txt was set to BORDERLESS SYNC instead of AUTO. Problem now is I changed the emulator.cfg to say XINIT:pushd as mentioned in this thread and the sorr rom won't even start up. Gives an error message about it not being able to remove something or other. Might do a fresh install tomorrow of extras.sh and the sorr package

        Ah, I think we are getting somewhere. Without using XINIT:, my picture is pushed off-center.

        However, you can't just patch it in the command like that, anymore. It turns out that using XINIT: and pushd together in the command, like that, didn't play nice with each other (actually, it's because of xinit and the semicolons used to put pushd; command; popd all on one line; see here for more info), so we had to break those commands out into a separate "buffer" script and call that with XINIT:.

        The current command we are using looks like "XINIT:/opt/retropie/ports/sorr/sorr.sh %ROM%", but you'll need that sorr.sh script in place also. A reinstall with the latest scriptmodule should (hopefully) put everything where it needs to be and get you sorted. If you have any trouble with the system.txt, you can make it user-writable with:

        sudo chown pi:pi ~/RetroPie/roms/ports/sorr/mod/system.txt
        
        hawkes_84H 2 Replies Last reply Reply Quote 0
        • hawkes_84H
          hawkes_84 @sleve_mcdichael
          last edited by

          @sleve_mcdichael said in Streets of Rage Remake 5.2 - add to Ports ?:

          "XINIT:/opt/retropie/ports/sorr/sorr.sh %ROM%"

          thanks. So is "XINIT:/opt/retropie/ports/sorr/sorr.sh %ROM%" just another line i need to add in the system.txt?
          how would I know if I cant change the system.txt? will it just not let me into it as it let me into it fine before and i just saved it and came back out with no issue but then it wouldn't start up.
          Will give this a try today at some point

          1 Reply Last reply Reply Quote 0
          • hawkes_84H
            hawkes_84 @sleve_mcdichael
            last edited by

            @sleve_mcdichael so now my emulator.cfg looks like this

            sorr = "XINIT:/opt/retropie/ports/sorr/sorr.sh %ROM%"
            default = "sorr"

            and my system.txt has been set has been set to AUTO as suggested and the ROM wont start up again. I did a fresh install of the extras script and also a started with freshly downloading/installing the sorr from experimental packages

            Any clue where I'm going wrong?

            1 Reply Last reply Reply Quote 0
            • S
              sleve_mcdichael
              last edited by

              @hawkes_84 if it let you edit & save changes to the file without giving any sort of "permission denied" errors then you're probably okay in that regard.

              Can I see your runcommand.log after you (attempt to) launch SORR? You can just copy/paste from your SSH client the output of:

              cat /dev/shm/runcommand.log
              

              (Shouldn't be too long, only about a page on my screen.)

              sorr = "XINIT:/opt/retropie/ports/sorr/sorr.sh %ROM%"

              You're sure this says sorr = ... and not bgdi-333 = ...? Can I also see the output of:

              cd ~/RetroPie-Extra && git log | head -n 5
              
              hawkes_84H 1 Reply Last reply Reply Quote 0
              • hawkes_84H
                hawkes_84 @sleve_mcdichael
                last edited by

                @sleve_mcdichael thanks. I'm fairly competent with most aspects of ROM management and RetroPie stuff in general but I've never actually connected my PC with it so I can control the command log from my PC if you get my meaning (so I can type in and copy and paste outputs) How do I go about doing this ?

                S 1 Reply Last reply Reply Quote 0
                • S
                  sleve_mcdichael @hawkes_84
                  last edited by sleve_mcdichael

                  @hawkes_84 if you're on Win10 and your PC and Pi are on the same network, just run ssh pi@retropie.local from a command prompt on your PC, or enter it in the search bar. (Password is raspberry if you haven't changed it previously. You'll need to enable SSH first through the RetroPie menu, if you haven't already.)

                  If that isn't working for you there are some other SSH clients listed at https://retropie.org.uk/docs/SSH/

                  Alternatively, you can copy the log into the roms folder where it's accessible across the network share:

                  cp /dev/shm/runcommand.log ~/RetroPie/roms/
                  

                  ...then you can view the file over Samba-shares just like how you (probably) add the roms.

                  hawkes_84H 1 Reply Last reply Reply Quote 0
                  • hawkes_84H
                    hawkes_84 @sleve_mcdichael
                    last edited by

                    @sleve_mcdichael sorry about the delay. Been busy
                    anyway here are the outputs
                    cat /dev/shm/runcommand.log (was i supposed to put nano in front of this as it didn't work with anything else?)
                    anyway that gave me an empty page

                    for the cd~

                    commit b4337b7bd16b6a75b0602e122ff8fc028fa0d2cc
                    Author: Exarkuniv 48326368+Exarkuniv@users.noreply.github.com
                    Date: Tue May 10 22:45:32 2022 -0500

                    Cheers!

                    1 Reply Last reply Reply Quote 0
                    • S
                      sleve_mcdichael
                      last edited by

                      @hawkes_84 said in Streets of Rage Remake 5.2 - add to Ports ?:

                      commit b4337b7bd16b6a75b0602e122ff8fc028fa0d2cc

                      This looks okay. b4337b7 is a recent commit and includes the most recent SORR module version.

                      cat /dev/shm/runcommand.log (was i supposed to put nano in front of this as it didn't work with anything else?)
                      anyway that gave me an empty page

                      Did you reboot or turn off the device after launching the game? /dev/shm is a temp location that only exists in memory, and as such it won't persist across boot sessions; you need to view the log (or copy it to a more permanent location) before shutting down or rebooting.

                      If I wanted to completely wipe my system clean of SORR and start fresh I would:

                      Uninstall the existing SORR package through RetroPie-Setup:

                      GUI with retropie_setup.sh:

                      sudo ~/RetroPie-Setup/retropie_setup.sh
                      

                      ...OR...

                      CLI with retropie_packages.sh [module] [action]:

                      sudo ~/RetroPie-Setup/retropie_packages.sh sorr remove
                      

                      ...THEN:

                      Delete the SORR rom folder and all of its contents:

                      rm -rf ~/RetroPie/roms/ports/sorr
                      

                      Delete the SORR configs folder and all of its contents:

                      rm -rf /opt/retropie/configs/ports/sorr
                      

                      Remove and reinstall the latest RetroPie-Extra (just in case):

                      cd ~/RetroPie-Extra
                      
                      ./remove-extras.sh
                      # [enter "y" or "yes" to confirm.]
                      
                      ./update-extras.sh
                      

                      Create a new, empty roms folder for SORR:

                      mkdir -p ~/RetroPie/roms/ports/sorr
                      

                      Copy SORR v5.1 or SORR v5.2 game files into this roms folder using whatever method of choice (Samba, etc.). Requires folders mod/ and palettes/ and the file SorR.dat and, optionally, SorMaker.dat.

                      After game files are in place (so the installer can fix the mod/system.txt file), re-install SORR through RetroPie-Setup:

                      GUI with retropie_setup.sh:

                      sudo ~/RetroPie-Setup/retropie_setup.sh
                      

                      ...OR...

                      CLI with retropie_packages.sh [module] (if [action] is omitted after [module] it will perform the actions depends, sources, build, install, configure, clean in order, or depends, install_bin, configure if no source build is available):

                      sudo ~/RetroPie-Setup/retropie_packages.sh sorr
                      

                      (Alternatively):

                      sudo ~/RetroPie-Setup/retropie_packages.sh sorr depends
                      
                      sudo ~/RetroPie-Setup/retropie_packages.sh sorr install_bin
                      
                      sudo ~/RetroPie-Setup/retropie_packages.sh sorr configure
                      
                      hawkes_84H 1 Reply Last reply Reply Quote 0
                      • hawkes_84H
                        hawkes_84 @sleve_mcdichael
                        last edited by hawkes_84

                        @sleve_mcdichael ah I'm an idiot. I forgot to run the game before running the cat command. Will be back!

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        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.