Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Compile a core of libretro to a specific commit version
#1
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/retr0rangepi/RetroPie...codrive.sh
to compile this commit:
https://github.com/libretro/picodrive/co...b76f86515e

Anyone 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 !!!!!
Reply
#2
you dont need to change it, the script (line 19) pulls from the master branch of https://github.com/libretro/picodrive.git , which includes the given commit. Just run RetroPie-Setup and select to update the lr-picodrive core
Reply
#3
(10-02-2018, 06:48 PM)alexkidd Wrote: you dont need to change it, the script (line 19) pulls from the master branch of https://github.com/libretro/picodrive.git , which includes the given commit. Just run RetroPie-Setup and select to update the lr-picodrive core

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!!
Reply
#4
with user pi, try this:

sudo ~/RetroPie-Setup/retropie_packages.sh lr-picodrive sources
sudo sh -c "echo eaac037a9e331e8b26a77239d8dd96b76f86515e > ~/RetroPie-Setup/tmp/build/lr-picodrive/.git/refs/heads/master"
sudo ~/RetroPie-Setup/retropie_packages.sh lr-picodrive build
sudo ~/RetroPie-Setup/retropie_packages.sh lr-picodrive install

i can confirm the core is built with "-DGIT_VERSION=\"" eaac037"\" flag
Reply
#5
(10-03-2018, 01:29 PM)alexkidd Wrote: with user pi, try this:

sudo ~/RetroPie-Setup/retropie_packages.sh lr-picodrive sources
sudo sh -c "echo eaac037a9e331e8b26a77239d8dd96b76f86515e > ~/RetroPie-Setup/tmp/build/lr-picodrive/.git/refs/heads/master"
sudo ~/RetroPie-Setup/retropie_packages.sh lr-picodrive build
sudo ~/RetroPie-Setup/retropie_packages.sh lr-picodrive install

i can confirm the core is built with "-DGIT_VERSION=\"" eaac037"\"  flag


the second line to me has not worked me ... it has failed me saying an error as well as "the directory was not found ... etc"

I thought you could add the commit version to the ir -picodrive.sh compiler itself, here is some information ... could you?


[Image: Captura.png]
Reply
#6
on the second line, change '~/' to '/home/pi/'

i can test later if the commit part works, not now
Reply
#7
(10-03-2018, 07:36 PM)alexkidd Wrote: on the second line, change '~/' to '/home/pi/'

i can test later if the commit part works, not now

incredible, it has worked! I already have picodrive in the commit eaac037, thanks !!!!!!!!!!!!!!!!!
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  New Sega Saturn libretro core : Kronos rtokuda 4 164 11-22-2018, 05:32 PM
Last Post: Liontek1985
  [solved] Opi PC load ES but freezze RinDim 2 160 11-11-2018, 06:19 AM
Last Post: RinDim
  [solved] Doubt with PSP emulator of libretro laguna 3 340 11-10-2018, 06:18 PM
Last Post: retux
Exclamation [solved]Problem with the video in gamelist view style retux 4 284 10-28-2018, 02:00 PM
Last Post: retux
  Mame version ash_grey 1 216 10-23-2018, 04:34 PM
Last Post: alexkidd
  Upgrade KODI to version 18 laguna 2 251 10-17-2018, 10:49 AM
Last Post: laguna
  v4.2 version no lr-fba-plus emulator? neworange 5 287 10-16-2018, 03:43 AM
Last Post: gxb
  [solved] FFMPEG drivers for recording gameplays on retroarch laguna 6 322 10-11-2018, 04:01 PM
Last Post: laguna
  [Solved] Broken system start (boot) laguna 10 701 10-03-2018, 07:13 PM
Last Post: laguna
Sad [solved] ES Scraper function does not work laguna 3 251 09-28-2018, 07:16 AM
Last Post: laguna

Forum Jump:


Users browsing this thread: 1 Guest(s)