Manually pulling and building mame2003-plus from source
-
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?
-
@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.shso 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.
-
@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?
-
@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.
-
@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.
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.