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 49.8k 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.
    • ExarKunIvE
      ExarKunIv @sleve_mcdichael
      last edited by

      @sleve_mcdichael I never tried the maker. Maybe it just won't work on the pi?

      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
      Maintainer of RetroPie-Extra .

      S 2 Replies Last reply Reply Quote 0
      • S
        sleve_mcdichael @ExarKunIv
        last edited by

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

        @sleve_mcdichael I never tried the maker. Maybe it just won't work on the pi?

        Maybe. I didn't see any other files that looked relevant, and the log just shows a cryptic "segmentation fault" error.

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

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

          @sleve_mcdichael I never tried the maker. Maybe it just won't work on the pi?

          I had a couple of leads but none of them panned out. I guess the "SORMAKER" menu option, in-game, is for playing finished SorMaker mods that you have made or downloaded. The part where you create the mods is a separate thing. I saw a five-years-old video that showed both of them supposedly working in RetroPie, but the instruction URL was a dead link.

          This says you just need to put your SorMaker mod folders in [data_dir]/mod/games and make them lowercase. That's nearly six years old too, and it didn't work for me either.

          I am using SORR 5.2 and I was only able to find mods that said they were for "v5" or "5.1" so I don't know how picky it will be, maybe that would work just fine if the versions matched up. (I never even got as far as trying to select the mod, though. The menu fades out after I select "SORMAKER," and then I'm back in ES.)

          For the creation side, looks like it's a separate program. In the archive there is a SorMaker.dat and SorMaker.exe. I tried loading the dat with .../bgdi-354 ./SorMaker.dat but that didn't work either.

          FloobF 1 Reply Last reply Reply Quote 0
          • FloobF
            Floob @sleve_mcdichael
            last edited by

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

            I am using SORR 5.2 and I was only able to find mods that said they were for "v5" or "5.1" so I don't know how picky it will be, maybe that would work just fine if the versions matched up.

            For what its worth, I'm pretty sure it is very picky - you need to use 5.1 mods with SORR 5.1. I dont think they would run with 5.2 at all.

            Please read the Docs before asking a new question.
            RetroPie Help Guides: https://goo.gl/3gcNsT

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

              @Floob ah, well, maybe I'll see if I can track down a 5.2 mod, or else a v5 or 5.1 of the game data.

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

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

                @Floob ah, well, maybe I'll see if I can track down a 5.2 mod, or else a v5 or 5.1 of the game data.

                I couldn't find any 5.2 mods but I did try it with the 5.1 game data and sorr/mod/games/los simpsons arcade [updated for sorrv5.1]/; didn't work, still crashed when I try to pick SorMaker.

                .../bgdi-354 ./SorMaker.dat did not work with the 5.1 data, either.

                1 Reply Last reply Reply Quote 0
                • FloobF
                  Floob
                  last edited by Floob

                  This (running a mod on SoRR) is on a Pi4, essentially running manually, not using an install process with scripts or anything RetroPie related really (in order to rule out something being reliant on the way that element works).

                  I imagine it'd run easier on a Pi3 and not need xinit to bump up the screen size displayed.

                  I havent bothered trying to get it to run in full screen properly, I just chucked all the files in there whilst I was seeing what would work.

                  I'm using SoRR 5.1, bgdi v 333 (354 didnt seem to run it) and savegame file to open up the mod editor. I'm using the hydra mod in this example:
                  https://sorr.forumotion.net/t396p150-all-completed-mods-index#18016

                  I'm making sure ALL the folder and filenames in the mod folder are lowercase.

                  I would say all the issues running mods will come down to

                  • File/Folder permission
                  • Paths
                  • Version of bgdi
                  • Version of SoRR
                  • Version of SoRR that the mod wants

                  Also, this is very helpful:
                  https://forum.bennugd.org/index.php/topic,4196.30.html

                  I dont really have the time to play with this much more, but I'll get round to making a guide on showing how to run it (non modded) well on a Pi4 (mine finally arrived! WooHoo!) I really like the scripts people have written, but they do seem to have odd path issues, like the location of save game files - anyway it doesnt really matter in order to run the game.

                  Please read the Docs before asking a new question.
                  RetroPie Help Guides: https://goo.gl/3gcNsT

                  hawkes_84H S 2 Replies Last reply Reply Quote 0
                  • hawkes_84H
                    hawkes_84 @Floob
                    last edited by

                    @Floob well done on getting a pi4!

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

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

                      I'm using SoRR 5.1, bgdi v 333 (354 didnt seem to run it) and savegame file to open up the mod editor.

                      Indeed, both the "mods" (select "SorMaker" in game) and the "editor" (.../bgdi-333 ./SorMaker.dat to make them*) are working in 333, both for 5.1 and 5.2 game datas (I did find a 5.2 mod) and I have just played through the first level of Los Simpsons Arcade and T2 NES mods.

                      *(I didn't try to save one and play it, but the editor loads and the mouse and keyboard work, and you can place enemies and move them around and stuff.)

                      I notice the 330 and 333 binaries are like three times the size of 354, I wonder if it was compiled without the SorMaker features or something.

                      I wonder if we can get it to compile locally, then maybe we can tweak the options. I found this:

                      https://retropie.org.uk/forum/topic/23516/streets-of-rage-remake-latest-retropie-2019/139

                      I cloned the repo it links to:

                      https://github.com/saulbustos/bennugd-rpi

                      It says remove all the references to DES_ecb_encrypt in those two files; I only found one such reference and removed it (perhaps the important ones here have already been removed, and this refers to if you're cloning the source repo at https://sourceforge.net/projects/bennugd/, there are a lot more of them, there; I also tried compiling it as-is with no change in outcome) and install "the necessary libs." I'm browsing the bennu forum and can't find anything about compiling. I tried anyway with ./build-static.sh release like it says, and it exited with this error:

                      libtool:   error: cannot find the library '/home/pi/disco320/compiling/bennugd-src/sorcode/bennugd-code-r354/modules/libtext/.libs/libtext.la' or unhandled argument '/home/pi/disco320/compiling/bennugd-src/sorcode/bennugd-code-r354/modules/libtext/.libs/libtext.la'
                      make[1]: *** [Makefile:413: bgdi] Error 1
                      make[1]: Leaving directory '/home/pi/temp/bennugd-rpi/source/core/bgdi/src'
                      make: *** [Makefile:363: all-recursive] Error 1
                      /home/pi/temp/bennugd-rpi/source
                      ### Copying files to bin folder ###
                      cp: cannot stat 'core/bgdi/src/bgdi': No such file or directory
                      cp: cannot stat 'core/bgdc/src/bgdc': No such file or directory
                      ### Build done! ###
                      

                      I don't know what this disco320 stuff is, but I grep-ed the repo and found 2914 references to it so clearly it is important.

                      For me, for now, 333 seems to be working alright. I have it full-screen using XINIT: too; why exactly are we using 354, again? Did something didn't work in 333, or just because it's there?

                      ExarKunIvE 1 Reply Last reply Reply Quote 0
                      • ExarKunIvE
                        ExarKunIv @sleve_mcdichael
                        last edited by

                        @sleve_mcdichael it was swtiched when @Butcher said that there was a newer build for it
                        https://retropie.org.uk/forum/topic/23516/streets-of-rage-remake-latest-retropie-2019/139?_=1648490715701.

                        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                        Maintainer of RetroPie-Extra .

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

                          @ExarKunIv so there's no specific improvements that you know of, it just "exists and is newer"? It may be best to stick with 333, in that case.

                          ExarKunIvE 1 Reply Last reply Reply Quote 0
                          • ExarKunIvE
                            ExarKunIv @sleve_mcdichael
                            last edited by

                            @sleve_mcdichael im sure there is improvements, but since that forum is in a different language is it was hard to find information on it there. i did not dig more then spending a few hours looking.

                            RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                            RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                            Maintainer of RetroPie-Extra .

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

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

                              @sleve_mcdichael im sure there is improvements,

                              Probably, yes, but whether it's anything that will matter, and whether it's anything that will even run on our limited resources, is unknown.

                              Plus, the mods don't work.

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

                                Re: system.txt

                                If the user has 5.1 data, the format is different; we probably shouldn't clobber the whole file in our script module without making sure it's the right one.

                                Additionally, 5.1 lacks a proper "exit" feature in the menu and requires to press [ESC] on an attached keyboard to exit the game, unless system = PSP; replaces system = PC;.

                                I propose, instead of overwriting this file in whole, we use sed (stream edit) to modify whichever of the two lines exists in the file, if it exists at all, incorporating both of these fixes at the same time:

                                function configure_sorr() {
                                    addPort "bgdi-333" "sorr" "Streets of Rage Remake" "XINIT:pushd $romdir/ports/sorr; $md_inst/bgdi-333 ./SorR.dat; popd"
                                    [[ "$md_mode" == "remove" ]] && return
                                
                                    mkRomDir "ports/sorr"
                                    local config="$romdir/ports/sorr/mod/system.txt"
                                    if [[ -f "$config" ]]; then
                                        # set custom "system" for 5.1 (allows proper "exit" from game menu)
                                        sed -i 's/system = PC/system = PSP/' "$config"
                                        # set custom "full screen wide" mode for 5.2 (allows "windowed" and "vsync" options)
                                        sed -i 's/^BORDERLESS_SYNC/AUTO/' "$config"
                                    fi
                                }
                                

                                The ^ line-anchor at the beginning of the "search" string for "BORDERLESS_SYNC" matches "start of line," so it doesn't match and replace the example in the comment, only the functional part. It's not needed in the other line because it matches the whole "system =" part, and therefore won't match the example comment already.

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

                                  @Floob, et al, it looks like 5.1 mods can work in 5.2, at least sometimes. I've got "los simpsons arcade [updated for sorrv5.1]" running in 5.2 right now. Just FYI.

                                  FloobF 1 Reply Last reply Reply Quote 0
                                  • quicksilverQ
                                    quicksilver @sleve_mcdichael
                                    last edited by

                                    @sleve_mcdichael I'm pretty sure that if the game is set to run as PSP mode then it is single player only. Many people may not care about that but it's worth noting.

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

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

                                      it looks like 5.1 mods can work in 5.2

                                      I'm really tempted to create a compatibility doc. Given the out of date nature of the links on the sorr forum, a compatibility doc could have columns like sorr version, mod version (for which sorr), bgdi version, and possibly install method. (main benefit might simply be to store live links to mods that work)

                                      FWIW I think I saw an issue when installing it via the script maintained by ExarKuniv that it meant savegames and other ingame actions were saved to the sorr binaries folder as opposed to the savegame folder under the roms tree. It confused me when I was trying to get a savegame file to work :)
                                      Also, I dont know if is possible to get the script to create the system.txt file as owner pi instead of root, just to make it that much easier to edit if needed.

                                      Please read the Docs before asking a new question.
                                      RetroPie Help Guides: https://goo.gl/3gcNsT

                                      S hawkes_84H 2 Replies Last reply Reply Quote 0
                                      • S
                                        sleve_mcdichael @quicksilver
                                        last edited by

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

                                        @sleve_mcdichael I'm pretty sure that if the game is set to run as PSP mode then it is single player only. Many people may not care about that but it's worth noting.

                                        Ah, you're right, and I checked all the other modes too, and none of them have both 2-player and an "exit" feature. Looks like it's either/or (or 5.2 has both.)

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

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

                                          FWIW I think I saw an issue when installing it via the script maintained by ExarKuniv that it meant savegames and other ingame actions were saved to the sorr binaries folder as opposed to the savegame folder under the roms tree. It confused me when I was trying to get a savegame file to work :)

                                          That version, going all the way back to ZeroJay's initial commit uses helper function moveConfigFile on a directory, so I think it ends up making a link to the directory instead of putting a link in the directory, or something like that.

                                          I didn't look too closely at it because in the version that I'm working on, it isn't necessary to link anything, I just pushd into where the data actually is and call the bin remotely, instead of pushing to the bin and then having to link back to the actual data. But I think if you change it to moveConfigDir instead of moveConfigFile, might be all it takes.

                                          Also, I dont know if is possible to get the script to create the system.txt file as owner pi instead of root, just to make it that much easier to edit if needed.

                                          Yeah, you just need to chown $user:$user "<file>" after you create it, in the install script.

                                          @ExarKunIv chose not to do this, because they want the change to persist if the user installs the module first and then copies over their game data. Otherwise, the module would need to be installed (or at least "configured": sudo ~/RetroPie-setup/retropie_packages.sh sorr configure) after the game data is copied, whether or not it was installed once before already.

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

                                            New version of sorr.sh merged into the RetroPie-Extra repo. Should work with both 5.1 and 5.2 game datas (not at the same time :p). Please test:

                                            https://github.com/Exarkuniv/RetroPie-Extra

                                            1 Reply Last reply Reply Quote 1
                                            • 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.