• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

OpenBOR 6xxx OpenBeta Testphase

Scheduled Pinned Locked Moved Ideas and Development
betaopenbor
520 Posts 54 Posters 268.9k 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.
  • B
    BiZzAr721
    last edited by 25 Sept 2018, 20:36

    @cyperghost said in OpenBOR 6xxx OpenBeta Testphase:

    But we should rely on Raspian Strech and this is build of RetroPie 4.4 so I will offer ready patched packages just for this version.

    Could you please elaborate? Ready patched packages for OpenBOR or retropie to use OpenGL? All my testing has been on retropie 4.4

    1 Reply Last reply Reply Quote 1
    • C
      cyperghost
      last edited by cyperghost 25 Sept 2018, 20:39

      Well ... Stretch is newest version of Raspian, and RetroPie 4.4 is based on Stretch. So all my build are made on virgin RetroPie 4.4 version. I just made a Jessie binary to play OpenBOR on my productive system ... this is RetroPie 4.3 based on Jessie build.

      So I see no sense in making binary packages for RetroPie lower than 4.4 now. It costs plenty of time to maintain these builds so I just release Stretch binaries.

      B 1 Reply Last reply 25 Sept 2018, 21:13 Reply Quote 0
      • B
        BiZzAr721 @cyperghost
        last edited by 25 Sept 2018, 21:13

        @cyperghost Okay, I get ya now. You compiled on Jesse just for your personal use.

        C 1 Reply Last reply 25 Sept 2018, 21:23 Reply Quote 0
        • C
          cyperghost @BiZzAr721
          last edited by 25 Sept 2018, 21:23

          @bizzar721 Yes. It behaves a bit different there, if I enter Video Menu and select SDL input it kicks me back to ES, in stretch this does not happen. Maybe there are other "bugs" but all in all it runs best and I'm satisfied in going to brawl some bad guys.

          1 Reply Last reply Reply Quote 0
          • D
            darknior @BiZzAr721
            last edited by darknior 25 Sept 2018, 22:35

            @bizzar721 said in OpenBOR 6xxx OpenBeta Testphase:

            @darknior I've been playing Bare KNuckle VI with no crashing (6.02)! [Final version locks up retropie]

            Thanks for the information, i will try this Bare Knuckle VI [Ver. 6.02][v.3.0 Build 3690][China][Eng Menu] version :)
            I don't know what is different with the final version :(
            Bare Knuckle VI [Final][China] the OpenBOR engine version is not given ... only in Japanese, maybe this version il lower than the 6.02 !?

            EDIT : v6.02 is crashing too for me after the Master demo battle :(

            Life is game, just play it !

            1 Reply Last reply Reply Quote 0
            • D
              darknior @cyperghost
              last edited by 25 Sept 2018, 22:39

              @cyperghost said in OpenBOR 6xxx OpenBeta Testphase:

              No... only for testing and rebuilding

              Ok thanks, i do the same for the moment ...

              Life is game, just play it !

              C 1 Reply Last reply 27 Sept 2018, 15:59 Reply Quote 0
              • C
                cyperghost @darknior
                last edited by cyperghost 10 May 2018, 13:48 27 Sept 2018, 15:59

                ScriptModule for RetroPie newest versions!

                Just for testing purposes!

                C 1 Reply Last reply 27 Sept 2018, 20:32 Reply Quote 2
                • C
                  cyperghost @cyperghost
                  last edited by 27 Sept 2018, 20:32

                  Added Scriptmodule!

                  1 Reply Last reply Reply Quote 1
                  • B
                    BiZzAr721
                    last edited by BiZzAr721 28 Sept 2018, 01:03

                    Trying it out now. I removed openbor from experimental packages, deleted openbor_beta folder as well as removed emulator.cfg.

                    It was option 357 OpenBOR - Beat 'em Up Game Engine v6512

                    Launching mod failed. It showed it compiled. Script loads, but when I execute game I get error OpenBOR - Beat 'em Up Game Engine.sh line 20: opt/retropie/supplementary/runcommand/runcommand.sh: no such file or directory

                    line 20

                    "opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "openbor" "$choices"
                    

                    right below joy2keyStop ........my kryptonite!

                    EDIT
                    The compiled OpenBOR does run using conventional methods

                    C 1 Reply Last reply 28 Sept 2018, 04:59 Reply Quote 0
                    • C
                      cyperghost @BiZzAr721
                      last edited by cyperghost 28 Sept 2018, 04:59

                      @bizzar721 Arghh... missed the slash in the path. Thanks!
                      You can edit nano $HOME/RetroPie/roms/ports/OpenBOR - Beats of Rage Engine.sh and last line add / to path so it looks like "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "openbor" "$choices"

                      Thanks for catching this one :D

                      @darknior
                      I tried TMNT Shell Shocked Rev 5853 it's running smooth by using the scriptmodule, too. Even if there are 6 enemies in screen it does not stuck. My filters are: Hardware: Bilinear, Software: Simple 16bit ... so it makes sense to load the GL drivers.

                      @mitu Do you see things to improve? How can I get rid of the wget command?

                      D M 2 Replies Last reply 28 Sept 2018, 06:15 Reply Quote 0
                      • D
                        darknior @cyperghost
                        last edited by 28 Sept 2018, 06:15

                        @cyperghost said in OpenBOR 6xxx OpenBeta Testphase:

                        I tried TMNT Shell Shocked Rev 5853 it's running smooth by using the scriptmodule, too. Even if there are 6 enemies in screen it does not stuck. My filters are: Hardware: Bilinear, Software: Simple 16bit ... so it makes sense to load the GL drivers.

                        Thanks if it works fine for you too, it's that i have a problem but i don't understand what ?
                        I use your binary file, you write to load GL drivers ... i don't understand what i miss ?

                        I will try your install script this evening ... but you only installing the last version 6315. And i have some old games that only works with the 3400 version. Can you update it to have the two binary in the same folder and let the user choice like we can do with emulators. It's what i do on my pi. Thanks

                        Life is game, just play it !

                        C 1 Reply Last reply 28 Sept 2018, 06:26 Reply Quote 0
                        • C
                          cyperghost @darknior
                          last edited by 28 Sept 2018, 06:26

                          @darknior Uff... this is my first scriptmodule I've written. So I don't know all commands how to add new ports. Let's wait for feedback I think at least some more people will tinker in. I hope that someone makes a better script for this.

                          About TMNT maybe you see slowdown I don't catch. This game brings the Pie to the edge of computing power. htop says 95%+ of CPU usage, it's a pitty OpenBOR uses just one core :( I see slowdowns of TMNT in snow level for example....

                          1 Reply Last reply Reply Quote 0
                          • M
                            mitu Global Moderator @cyperghost
                            last edited by mitu 28 Sept 2018, 06:39

                            @cyperghost said in OpenBOR 6xxx OpenBeta Testphase:

                            @mitu Do you see things to improve? How can I get rid of the wget command?

                            There are a few things you could change on the technical side

                            1. The libGL part (for gl2es) should be installed from source also. There is already something similar in @zerojay's RetroPie-Extra repository - see for instance how fofix is installed. I would also separate it in a function on its own.
                            2. Patches can be handled by the RetroPie setup script on its own - create a folder similar to the module name and use the applyPatch function. A good example is how RetroArch is built from source - https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/emulators/retroarch.sh.
                            3. Your module is excluded when the platform has the x11 flag, but in the build phase you still test if the compilation is done on such platform to add the PANDORA flag.

                            Now these observations are done by just skimming the source, I haven't had a chance to actually test the module.

                            I do also have some not-really-technical observations about the scriptmodule as a whole

                            • if you intend to submit it to the RetroPie-Setup repository, then IMHO you should

                              • rename the module to something else, may I suggest openbor-current or openbor-dev. This will prevent conflicts with the existing module.
                              • fork the RetroPie repository and create your own branch, then develop there. It would be much easier to create PRs and for testing (i.e. people could add your branch in their RP setup folder and just use the module directly).
                            • create a script launcher to wrap the OpenBor binary and optionally add the GL stuff (parameter for gl4es s, loading the GL library), instead of putting every command in the port command definition, i.e. instead of

                            addPort "$md_id" "openbor" "OpenBOR - Beats of Rage Engine" "pushd $md_inst; $md_inst/OpenBOR %ROM%; popd"
                            

                            create a openbor-launch.sh script and use

                            addPort "$md_id" "openbor" "OpenBOR - Beats of Rage Engine" "openbor-launch.sh"
                            

                            Ideally you could have 2 scripts - one using gl4es and one without it, but I'm not sure this would work for Ports (though it would be ideal IMHO if it would be a standalone system).

                            C 1 Reply Last reply 28 Sept 2018, 12:56 Reply Quote 3
                            • C
                              cyperghost
                              last edited by cyperghost 28 Sept 2018, 06:53

                              @mitu said in OpenBOR 6xxx OpenBeta Testphase:

                              Ideally you could have 2 scripts - one using gl4es and one without it, but I'm not sure this would work for Ports (though it would be ideal IMHO if it would be a standalone system).

                              Yes therefore I patched Makefile to make additional lib path next to binary. I think in this case every GL-wrapper should be build for it's special needs.

                              I really appreciate your solid feedback. I think it's a good way to recompile GL4ES like @zerojay has done with some additional patches by using applyPatch.

                              I do not know if there are documentations ready for these patch modules, I just used some functions and commands that I could interpret from scriptmodules already in use.

                              In the meantime I would appreciate if you could make some tests with OpenBOR 6xxx branch - the galina patch is most optimzed. My knowledge about C code is just on basic level. So I'm on a dead end in optimizing the engine itself. I hope @zanac can help... He had done all the code working. I just collected his outfindings and made it useable by scripts.

                              1 Reply Last reply Reply Quote 0
                              • C
                                cyperghost @mitu
                                last edited by cyperghost 28 Sept 2018, 12:56

                                @mitu I tried to disable gl4es ... it is painfully slow without the wrapper. It is needed in any case. But simple16bit is the only software filter that can be used (it is the default one), hardware filters can be changed, too and there you get better outcome with GL4ES

                                About a dev-branch.... well to be true it can be used as main. Because this version outbeats the old version in every case.

                                • uses newest modules
                                • The graphics is better
                                • working load/save support
                                • reconnects input devices properly
                                • PAK file support
                                • ...

                                Only disadvantage... it will likely not run on PI0/1

                                M 2 Replies Last reply 28 Sept 2018, 13:04 Reply Quote 1
                                • M
                                  mitu Global Moderator @cyperghost
                                  last edited by 28 Sept 2018, 13:04

                                  @cyperghost said in OpenBOR 6xxx OpenBeta Testphase:

                                  Only disadvantage... it will likely not run on PI0/1

                                  1/10 - downvoted.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mitu Global Moderator @cyperghost
                                    last edited by 28 Sept 2018, 13:17

                                    @cyperghost said in OpenBOR 6xxx OpenBeta Testphase:

                                    @mitu I tried to disable gl4es ... it is painfully slow without the wrapper. It is needed in any case. But simple16bit is the only software filter that can be used (it is the default one), hardware filters can be changed, too and there you get better outcome with GL4ES

                                    If it runs better with gl4es then sure, it should be the default. Just remember that if you'll want this version to run also on a x86 (i.e. Ubuntu on PC), it should be optional - both during installation and runtime.

                                    About a dev-branch.... well to be true it can be used as main. Because this version outbeats the old version in every case.

                                    • uses newest modules
                                    • The graphics is better
                                    • working load/save support
                                    • reconnects input devices properly
                                    • PAK file support
                                    • ...

                                    My advice to use another name is just a precaution to not break existing users' setup. From what I've seen in the topics discussing this new version, there might be cases where this new version is not backwards compatible. If someone has already installed the current version in RP and one of the games installed does not work - or works badly because of broken compatibility - with the new version, then it's not good. Just my 2c.

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      BiZzAr721
                                      last edited by 28 Sept 2018, 20:11

                                      @mitu @cyperghost I fully understand why you would want to name it different, and I definatly think both versions should be available. My suggestion, if it is possible, is to setup both binaries during setup, keeping the 3400 build named the same, and adding OpenBOR 6xxx as an alternate emulator in emulator.cfg.

                                      Since the 3400 build is the same, except with enhancements, it would not break anything, only enhance the experience with save states, better performance & command line interface. If the user is not set up to use CLI, it will still function as normal, but with the added performance enhancements, video filters, and most importantly, working save states.

                                      Essentially, it would be a worthwhile upgrade for anyone using the current OpenBOR, with the added bonus of having the latest as well.

                                      C 1 Reply Last reply 29 Sept 2018, 06:19 Reply Quote 0
                                      • C
                                        cyperghost @BiZzAr721
                                        last edited by cyperghost 29 Sept 2018, 06:19

                                        @mitu
                                        Just as follow up and why we act like this.

                                        A programmer named rofl0r aka anallyst had created a first port for ARM devices. Somehow it came to discrepancies within the OpenBOR development team (only the developers know more details) and he was dismissed from the project. At that time rofl0r was working on his own OpenBOR fork which was extremely tuned for efficiency. This version is still installable from RetroPie. This seems to be one of the reasons why today's developers have never really used Raspberry as their development platform (in my humble opinion!). All branches under 4xxx officially no longer exist as source code, all support of the old SVN forks will be discontinued. This is the rule followed by the ChronoChrash team (this is the development team behind OpenBOR).

                                        @bizzar721
                                        Now you come into play. The version currently used in RetroPie does not support PAK files. Each module must be unpacked separately to start a mod. This is extremely inconvenient and now comes the important point... this prevents a coexistence of new OpenBOR (6xxx branch) with the old one. Of course you can have two module versions, but personally I would never give up the comfortplus of the PAK files.

                                        I still hope that ChronoCrash will also support Raspberry as a platform. I think with Raspberry 4 the graphics processor will also improve and maybe support OpenGL natively. This would make the support much easier.

                                        @mitu
                                        There is just an old version with PAK support. As a hidden download here. Just read the README and you will understand why you should not support this version out of respect. I also compiled from this one a runable binary. You can get it here. It is the openbor_3400_pak binary.

                                        @darknior
                                        As I have written in many postings, he had the ingenious idea to patch the source code so that single modules can be loaded by command line. I also did this in all subsequent versions (with a slight modification).

                                        @zanac
                                        Had the idea to implement the latest version on an Allwinner board. He introduced the GL4ES wrapper and with his help we were able to reach the current state of development.

                                        @cyperghost
                                        My final words are that OpenBOR is a very interesting project. The modules are lovingly crafted and fortunately the Raspberry 3 has enough power to run many modules at good speed. Unfortunately all software filters are not usable.

                                        The official way, in my opinion, would be to officially submit the support for version 6xxx to our development team (I still need help with the script module) and try to improve the performance of the 6xxx RPi branch.

                                        This version can be compiled on an RPI1, but without the corresponding wrappers. This means that maybe only very old and simple game modules will run on these systems. So you might be able to keep the script module of the 3xxx branches (unofficially) just for these systems. Unpacking the files speed up the whole process.

                                        @mitu
                                        Are you more enlightened now? ;)

                                        M B 2 Replies Last reply 29 Sept 2018, 07:36 Reply Quote 1
                                        • M
                                          mitu Global Moderator @cyperghost
                                          last edited by 29 Sept 2018, 07:36

                                          @cyperghost said in OpenBOR 6xxx OpenBeta Testphase:

                                          Are you more enlightened now? ;)

                                          More or less.
                                          As I said, I followed the topics you already have opened and I pretty much know this information.

                                          C 1 Reply Last reply 29 Sept 2018, 08:04 Reply Quote 0
                                          48 out of 520
                                          • First post
                                            48/520
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received