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

    [solved] Build module of lr-yabause needs some lovin'

    Scheduled Pinned Locked Moved Help and Support
    githubissuesega saturnfix
    5 Posts 4 Posters 643 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.
    • R
      retropiex86
      last edited by retropiex86

      I just updated my retropie-x86. Everything except lr-yabause was build fine. Atfer inspecting it's build module, I found out that repo's file structure has changed in 2017 (!) - time to fix it for RetroPie. And as the corresponding github repo told me to publish this issue here first, here it is.

      File: RetroPie-Setup/scriptmodules/libretrocores/lr-yabause.sh

      --- lr-yabause.sh.orig  2017-03-01 16:47:36.717995923 +0200
      +++ lr-yabause.sh       2019-09-04 16:45:55.158543048 +0200
      @@ -21,26 +21,23 @@
       }
       
       function build_lr-yabause() {
      -    cd libretro
      +    cd yabause/src/libretro
           make clean
           if isPlatform "neon"; then
               make platform=armvneonhardfloat
           else
               make
           fi
      -    md_ret_require="$md_build/libretro/yabause_libretro.so"
      +    md_ret_require="$md_build/yabause/src/libretro/yabause_libretro.so"
       }
       
       function install_lr-yabause() {
           md_ret_files=(
      -        'libretro/yabause_libretro.so'
      +        'yabause/src/libretro/yabause_libretro.so'
               'yabause/AUTHORS'
               'yabause/COPYING'
               'yabause/ChangeLog'
      -        'yabause/AUTHORS'
      -        'yabause/GOALS'
               'yabause/README'
      -        'yabause/README.LIN'
           )
       }
       
      @@ -48,6 +45,6 @@
           mkRomDir "saturn"
           ensureSystemretroconfig "saturn"
       
      -    addEmulator 1 "$md_id" "saturn" "$md_inst/yabause_libretro.so"
      +    addEmulator 1 "$md_id" "saturn" "$md_inst/yabause/src/libretro/yabause_libretro.so"
           addSystem "saturn"
       }
      
      
      B BuZzB 2 Replies Last reply Reply Quote 0
      • B
        barbudreadmon @retropiex86
        last edited by

        @retropiex86 said in Build module of lr-yabause needs some lovin':

        I found out that repo's file structure has changed in 2017 (!)

        Nope, i rebased it last week against latest yabause standalone sources (the libretro fork had a few regressions) and used this opportunity for matching other yabause-based cores structure and backporting some stuff (mostly iso support stuff : chd, redump, zipped redump, ...), idk where you saw the 2017 thingy. Anyway, sorry, i totally forgot to tell you guys.

        FBNeo developer - github - forum

        1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators @retropiex86
          last edited by

          @retropiex86 feel free to open a PR for this on our github - or I will look at it when I next get a chance. Thanks.

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            I had a PR ready, but forgot to submit it - https://github.com/RetroPie/RetroPie-Setup/pull/2831.

            R 1 Reply Last reply Reply Quote 1
            • R
              retropiex86 @mitu
              last edited by

              @mitu said in Build module of lr-yabause needs some lovin':

              I had a PR ready, but forgot to submit it - https://github.com/RetroPie/RetroPie-Setup/pull/2831.

              Ha! That's what I'm confused about :) I'd a look at the repo a few hours ago and thought "damn old, doesn't compile, fix needed", but now it's pull'ed and up to date. Thanks for that. But I loved waking you up :)

              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.