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

    Manually pulling and building mame2003-plus from source

    Scheduled Pinned Locked Moved Help and Support
    pizerowmame2003-plussource
    5 Posts 2 Posters 687 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.
    • C
      crossmr
      last edited by

      As mentioned in another thread, there was a suggestion that mame2003-plus had cyclone and might provide better performance on a pi zero. After some digging it turns out that mame2003-plus does in fact have cyclone built in to it. However, no option was ever added in the code for enabling it. It was only set up to be automatically used when built on the vita. I contacted the project and they've made a modification to add a flag to the make command that will allow you to choose cyclone when you build it. Problem is the package manager in retropie doesn't allow us directly edit the command used to build the package from source. is there a way to modify that script or is doing it straight from command line the only option here?

      dankcushionsD 1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator @crossmr
        last edited by

        @crossmr you could edit the build script - it's /home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2003-plus.sh. currently it uses the same build functions as mame2003.sh: https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/libretrocores/lr-mame2003-plus.sh

        so you'd probably want to change

        function build_lr-mame2003-plus() {
            build_lr-mame2003
        }
        

        to

        function build_lr-mame2003-plus() {
            rpSwap on 750
            make clean
            local params=()
            isPlatform "arm" && params+=("ARM=1")
            isPlatform "armv6" && params+=("FOO=BAR")
            make ARCH="$CFLAGS" "${params[@]}"
            rpSwap off
            md_ret_require="$md_build/$(_get_so_name_${md_id})_libretro.so"
        }
        

        with FOO=BAR changed to this new flag.

        note that editing scripts in retropie will cause you to diverge from master, meaning retropie script updates won't work any more until you reset back to HEAD.

        C 1 Reply Last reply Reply Quote 0
        • C
          crossmr @dankcushions
          last edited by

          @dankcushions Well that sounds like more of annoyance then, so I may just pull and build manually, they recommended this command after pulling it:

          make USE_CYCLONE=1 platform=rpi0
          

          Sound right to you?

          dankcushionsD 1 Reply Last reply Reply Quote 0
          • dankcushionsD
            dankcushions Global Moderator @crossmr
            last edited by

            @crossmr well, how i described is how i'd do it, but if you want to try your luck with the libretro platform flags then sure.

            C 1 Reply Last reply Reply Quote 0
            • C
              crossmr @dankcushions
              last edited by

              @dankcushions I wasn't sure if it'd be worth the hassle of having to reset to head to be able to update again is all. if that's fairly trivial then I'll follow your instructions.

              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.