Compile a core of libretro to a specific commit version
-
Hello good day,
Would it be possible to compile a core of libretro to a desired commit version ??
I need to modify this script:
https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/libretrocores/lr-picodrive.sh
to compile this commit:
https://github.com/libretro/picodrive/commit/eaac037a9e331e8b26a77239d8dd96b76f86515eAnyone who knows how to write the code, can I pass the modified lr-picodrive.sh file to replace it with mine?
Thank you very much, greetings !!!!!
-
What's the purpose of this ? If you install from source the emulator, this commit should already be included.
-
The goal would be to have the same core version of a friend to play online with him ... he has the picodrive version of the commit that I quoted before, and I would need to compile that version. since he has not connected the raspberry to the network and can not update picodrive to the last source.
Thank you!!
-
Wouldn't it be easier - if you both have RetroPie - to update from binary the package ? It should get you the same version.
-
Yes, we already knew that it solves the problem, many thanks, but my goal was to know how to compile a specific commit of the core in question ...
thank you anyway.
-
@laguna said in Compile a core of libretro to a specific commit version:
Yes, we already knew that it solves the problem, many thanks, but my goal was to know how to compile a specific commit of the core in question ...
You can do that by adding the commit number as a parameter to the
gitPullOrClone
function that retrieves the sources. Support for this has been recently added, see
https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/helpers.sh#L336.
However, any modifications to the setup script will interfere with the update so I don't recommend this. Of course you can create your own local branch so it will not affect updates, but using the binary is much simpler and less error prone. -
Thank you very much for the reply!!
The bad thing is that I do not know how to write code ... and I'm not sure where I should write the commit (eaac037a9e331e8b26a77239d8dd96b76f86515e) and with what syntax ...
Please, if it is not too much trouble, if I could write the line that I should include in the ir-picodrive.sh and in what position, I compile and see if it works !!!
many thanks!!!
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.