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

Source building Retropie



  • Hi! First some basic info;

    Pi Model or other hardware: Udoo Quad Armv7
    RetroPie Version (Script is v4.3)
    Built From: (Armbian without X. Based on 16.04 LTS)

    As you can read this is not at all supported. I'm aware. My question is, and first of halleluya to the awesome retropie_setup.sh script, how i can edit the configure flags given to a package to be build from source. After i gave --disable-xmb to retroarch configure the installation would finish. Now that i don't care about that theme i would like to be able to edit your script so that i can use it should i need to update.

    Is this at all possible? Many thanks in advance and keep up your awesome work!



  • I've noticed that the configure / make / build is all done immediately after source download. I noticed that i can run retropie_packages.sh with id of retroarch. This way i can download / install etc. Is there a way that i can give another configure flag?

    The usage shows configure but it's not clear to me how to use the configure flag on this script.

    Anyone? ;)

    *#
    retropie_packages.sh <Index # or ID>
    This will run the actions depends, sources, build, install, configure and clean automatically.

    Alternatively, retropie_packages.sh can be called as
    retropie_packages.sh <Index # or ID [depends|sources|build|install|configure|clean|remove]

    Definitions:
    depends: install the dependencies for the module
    sources: install the sources for the module
    build: build/compile the module
    install: install the compiled module
    configure: configure the installed module (es_systems.cfg / launch parameters etc)
    clean: remove the sources/build folder for the module
    help: get additional help on the module
    #*


  • Global Moderator

    @volc configure is the function running when the binary is installed on the system and configuration files are copied/replaced. It's not the ./configure step before running the compilation.

    If you want to control the compilation step better, then look in the scriptmodules/emulators/retroarch.sh and modify the build_retroarch function - see https://github.com/RetroPie/RetroPie-Setup/blob/da0460cddbee82359d3376770713e4592ffd56d7/scriptmodules/emulators/retroarch.sh#L41



  • @mitu said in Source building Retropie:

    @volc configure is the function running when the binary is installed on the system and configuration files are copied/replaced. It's not the ./configure step before running the compilation.

    Precisesly what i was looking for, thanks!


  • Global Moderator

    @volc Note that if you modify the file locally, you might get a conflict when the RetroPie-Setup update script will run next time, since git --pull will detect a conflict. Just be wary of that.



  • I can always fork using Git. Thanks for the heads up!



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.