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

OpenBOR for ARM64 on Orange Pi 3B

Scheduled Pinned Locked Moved Ideas and Development
openborarm64orange pi
15 Posts 3 Posters 795 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.
  • R
    Renetrox
    last edited by Renetrox 18 Jan 2025, 00:04

    OpenBOR for ARM64 and Orange Pi 3B

    This repository contains a modified version of OpenBOR (Open Beats of Rage) compatible with ARM64 devices, specifically optimized for the Orange Pi 3B.
    Key Features

    ARM64 Compatibility: Modifications made to compile and run OpenBOR on ARM64 devices.
    Optimized for Orange Pi 3B: Specific adjustments for the hardware and operating system of the Orange Pi 3B.
    Extended Compatibility: Tested on Debian- and Ubuntu-based distributions.
    

    System Requirements

    Device: Orange Pi 3B or any ARM64 device.
    Operating System: Debian 11/12, Ubuntu 20.04/22.04, or compatible systems.
    Dependencies:
        SDL2
        GCC/G++
        Make
        Git
    

    Installation Instructions

    Clone this repository:
    

    git clone https://github.com/Renetrox/openbor.git
    cd openbor

    Install the required dependencies:

    sudo apt update
    sudo apt install -y libsdl2-dev build-essential git

    Navigate to the engine directory:

    cd engine

    Compile OpenBOR:

    make BUILD_LINUX_LE_arm64=1

    Run OpenBOR:

    ./OpenBOR
    

    Specific Notes for Orange Pi 3B

    Hardware: This project leverages the capabilities of the Rockchip RK3566 processor and ARM Mali G52 2EE GPU.
    System: Using Orange Pi OS (Debian-based) is recommended for an optimized experience.
    Additional Configurations:
        Adjust scaling and resolution in the configuration file for optimal performance.
    

    Customization

    You can add your own OpenBOR games to the Paks directory. Simply place the .pak files inside this folder.
    Credits

    OpenBOR: Original project developed by the Beats of Rage community.
    ARM64 Adaptations: Implemented by Renetrox.
    Contributions: Thanks to everyone who helped with development and testing.
    

    License

    This project uses the same license as OpenBOR. See the LICENSE file for more details.

    Enjoy your games on your Orange Pi 3B!

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by mitu 18 Jan 2025, 04:57

      Interesting, but the compile build command doesn't work:

      make
      make: *** No targets specified and no makefile found.  Stop.
      

      Do I need to run cmake first ?

      R 1 Reply Last reply 18 Jan 2025, 10:28 Reply Quote 0
      • R
        Renetrox @mitu
        last edited by 18 Jan 2025, 10:28

        @mitu make BUILD_LINUX_LE_arm64=1

        M 1 Reply Last reply 18 Jan 2025, 10:43 Reply Quote 0
        • M
          mitu Global Moderator @Renetrox
          last edited by mitu 18 Jan 2025, 10:43

          @Renetrox said in OpenBOR for ARM64 on Orange Pi 3B:

          @mitu make BUILD_LINUX_LE_arm64=1

          I get the same error as before - there's no Makefile in the root folder of the project so just running make will not work.

          R 1 Reply Last reply 18 Jan 2025, 11:21 Reply Quote 0
          • R
            Renetrox @mitu
            last edited by 18 Jan 2025, 11:21

            @mitu I think the error is due to the fact that I did not delete the openbor after the compilation, the command you execute it being inside the engine folder

            M 1 Reply Last reply 18 Jan 2025, 11:25 Reply Quote 0
            • M
              mitu Global Moderator @Renetrox
              last edited by mitu 18 Jan 2025, 11:25

              I think the error is due to the fact that I did not delete the openbor after the compilation

              No, it's not because of that, it's because there's no makefile present.

              the command you execute it being inside the engine folder

              OK, so now I don't get the initial error, but the compilation stops with:

               make BUILD_LINUX_LE_arm64=1
              Makefile:692: warning: overriding recipe for target 'OpenBOR'
              Makefile:218: warning: ignoring old recipe for target 'OpenBOR'
              Compiling LINUX Port: openbor.c...
              In file included from openbor.c:15:
              openbor.h:44:13: fatal error: version.h: No such file or directory
                 44 | #include    "version.h"
                    |             ^~~~~~~~~~~
              compilation terminated.
              make: *** [Makefile:686: openbor.o] Error 1
              

              I suggest you try to compile/build from scratch with a fresh git checkout and then modify the build instructions accordingly.

              R 1 Reply Last reply 18 Jan 2025, 12:42 Reply Quote 0
              • R
                Renetrox @mitu
                last edited by 18 Jan 2025, 12:42

                @mitu That's weird, I already went through those errors and I was modifying the makefile according to them to get it compiled, I'll do a review again, if you could help me it would be great! Does the binary work for you?

                M 1 Reply Last reply 18 Jan 2025, 15:56 Reply Quote 0
                • M
                  mitu Global Moderator @Renetrox
                  last edited by 18 Jan 2025, 15:56

                  @Renetrox said in OpenBOR for ARM64 on Orange Pi 3B:

                  That's weird, I already went through those errors and I was modifying the makefile according to them to get it compiled, I'll do a review again, if you could help me it would be great!

                  Maybe you forgot to add the necessary modifications to the Github repository.

                  Does the binary work for you?

                  Yes, it does, even though I don't have a Orange Pi 3B.

                  R 1 Reply Last reply 18 Jan 2025, 20:03 Reply Quote 1
                  • E
                    ExarKunIv
                    last edited by ExarKunIv 18 Jan 2025, 16:04

                    I don't have a orange pi. But I did get openBoR working on my pi5 which is 64bit

                    Here's my script if it will help

                    https://github.com/Exarkuniv/RetroPie-Extra/blob/master/scriptmodules/emulators/openbor-v5.sh

                    Nice work BTW

                    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 .

                    M 1 Reply Last reply 18 Jan 2025, 16:28 Reply Quote 1
                    • M
                      mitu Global Moderator @ExarKunIv
                      last edited by 18 Jan 2025, 16:28

                      @ExarKunIv said in OpenBOR for ARM64 on Orange Pi 3B:

                      Here's my script if it will help

                      This means compilation for ARM(64) works without the build modifications from the 1st post.

                      R 1 Reply Last reply 18 Jan 2025, 20:05 Reply Quote 1
                      • R
                        Renetrox @mitu
                        last edited by 18 Jan 2025, 20:03

                        @mitu I'm glad it works! at least that for the moment, I have no idea what happened with the makefile since I was modifying it as I got errors

                        1 Reply Last reply Reply Quote 0
                        • R
                          Renetrox @mitu
                          last edited by 18 Jan 2025, 20:05

                          @mitu i already saw that this happens with other programs, I got the drastic binary from batocera and when changing the flags of my system in the installation script I replaced with that binary that I got and it works both in my opi 3b and in an opi 3 lts

                          M 1 Reply Last reply 18 Jan 2025, 20:08 Reply Quote 0
                          • M
                            mitu Global Moderator @Renetrox
                            last edited by 18 Jan 2025, 20:08

                            @Renetrox Not sure what's the relation to DraStic, since that's a closed source emulator which hasn't been updated in ages. Your source installation instructions do not work, but they're not needed since a binary can be compiled using @ExarKunIv's version of the install script.

                            R 2 Replies Last reply 18 Jan 2025, 20:11 Reply Quote 0
                            • R
                              Renetrox @mitu
                              last edited by 18 Jan 2025, 20:11

                              @mitu I just comment that there are programs that use aarch64 architecture that work independently of the board on which it was compiled. I just put drastic as an example since I have it working in my opi 3b that way in my retropie installation

                              1 Reply Last reply Reply Quote 0
                              • R
                                Renetrox @mitu
                                last edited by 18 Jan 2025, 20:12

                                @mitu i'm going to try it! maybe I need to adapt the flags on my system and it will work!

                                1 Reply Last reply Reply Quote 0
                                10 out of 15
                                • First post
                                  10/15
                                  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