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

    Is Yabasanshiro emulator coming on retropie?

    Scheduled Pinned Locked Moved Help and Support
    sega saturnemulator
    362 Posts 37 Posters 388.1k 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.
    • G
      grant2258 Banned
      last edited by

      its basically

      cd /yabause/yabause
      mkdir build
      cd build
      cmake ../src
      

      and any other options you might want you'll need to install dependencies and git clone the firebase-cpp-sdk into src/qt depending where you are when you execute it ie if you where in the first yabause directory you woud do a git clone https://github.com/firebase/firebase-cpp-sdk.git -b v6.11.0 yabause/src/qt/firebase-cpp-sdk

      1 Reply Last reply Reply Quote 1
      • pjftP
        pjft
        last edited by

        @myzar Well, after installing libqt5opengl5, libqt5multimedia5 and xinitI can get something on my screen after exiting ES and running xinit ./yabasanshiro on the folder where I have the binary you shared, but that's as far as it goes for now. I'll look more into it tomorrow.

        quicksilverQ 1 Reply Last reply Reply Quote 0
        • quicksilverQ
          quicksilver @pjft
          last edited by

          @pjft said in Is Yabasanshiro emulator coming on retropie?:

          xinitI can get something on my screen after exiting ES and running xinit ./yabasanshiro

          Hopefully can be run without an x server 😬

          pjftP 1 Reply Last reply Reply Quote 0
          • pjftP
            pjft @quicksilver
            last edited by

            @quicksilver Fingers crossed, I'm just making things up as I go :)

            So, I got it to boot Die Hard Arcade. Key things:

            • Don't enable FPS, it'll crash. Likely OpenGL related.
            • Tweak the video options as applicable to get something presentable for you. Right now it shows only at a quarter of the screen. Change resolution to "original" and then window size and whatnot to something that works for you to try to get it to show where you want it.
            • The colors work fine, actually. I'm not sure if you applied the color-fixing patch @myzar ?
            • The performance wasn't... great, at least for me. Likely because of xinit. It felt slightly slower than the current lr-core performance.

            So that's where I leave it for today.

            M 1 Reply Last reply Reply Quote 0
            • M
              myzar @pjft
              last edited by

              @pjft said in Is Yabasanshiro emulator coming on retropie?:

              @quicksilver Fingers crossed, I'm just making things up as I go :)

              So, I got it to boot Die Hard Arcade. Key things:

              • Don't enable FPS, it'll crash. Likely OpenGL related.
              • Tweak the video options as applicable to get something presentable for you. Right now it shows only at a quarter of the screen. Change resolution to "original" and then window size and whatnot to something that works for you to try to get it to show where you want it.
              • The colors work fine, actually. I'm not sure if you applied the color-fixing patch @myzar ?
              • The performance wasn't... great, at least for me. Likely because of xinit. It felt slightly slower than the current lr-core performance.

              So that's where I leave it for today.

              I did apply the color fix and it needs xinit starting xorg and all qt5 deps , it's an x app , but atleast in daytona and virtuaracing is faster for me, did you enable autoframeskip and switch to dynarec sh ?

              pjftP 1 Reply Last reply Reply Quote 1
              • pjftP
                pjft @myzar
                last edited by

                @myzar I didn't touch those options but will try them out tomorrow, thanks!

                What's your runcommand like?

                Also, I struggled to map the sdl joystick inputs, but it might have been my mistake.

                Thanks for putting this together!

                M 1 Reply Last reply Reply Quote 0
                • B
                  barbudreadmon @BuZz
                  last edited by barbudreadmon

                  @BuZz said in Is Yabasanshiro emulator coming on retropie?:

                  Please can we drop this. This thread is beginning to feel like it's a personal attack

                  The post above mine made it looked like "libretro" (me) was pilfering upstream code while not contributing, while tbh i would just be glad if i could delete any trace of that core because it's just a thorn in my side, so i think clearing up any kind of misunderstanding was important. For the past year i've even been recommending people to use the standalone version instead of the libretro core.

                  Anyway, the original assumption that 3.2 would solve something with pi4 is wrong, 3.2 is about dma timings, and judging by the number of reports of regression on yabasanshiro's discord/github, things aren't looking too good even with latest binary (3.2.3), and available sources are even more behind (3.2.1)

                  FBNeo developer - github - forum

                  1 Reply Last reply Reply Quote 0
                  • M
                    myzar @pjft
                    last edited by

                    @pjft said in Is Yabasanshiro emulator coming on retropie?:

                    @myzar I didn't touch those options but will try them out tomorrow, thanks!

                    What's your runcommand like?

                    Also, I struggled to map the sdl joystick inputs, but it might have been my mistake.

                    Thanks for putting this together!

                    this is my command line

                    yabasanshiro = "sudo xinit /opt/retropie/emulators/yabasanshiro/yabasanshiro --autoframeskip=1 --bios=/home/pi/RetroPie/BIOS/saturn_bios.bin -a -f -i %ROM%"

                    and this is my ini

                    https://pastebin.com/vwQ9ndc9

                    1 Reply Last reply Reply Quote 1
                    • G
                      grant2258 Banned
                      last edited by

                      the only other thing I can offer up is i seen some warning relating to gcc on the pi. The android build is using gcc5

                      1 Reply Last reply Reply Quote 1
                      • pjftP
                        pjft
                        last edited by

                        Thanks @myzar . Based on this, I got a few more details that might help others.

                        For anyone trying this on regular RetroPie:

                        • First, plug in a mouse in order to set up your controls in the menu. If the top menu doesn't work, remove the -fflag from the previous runcommand suggestion.
                        • You'll need to set a proper resolution and window height for your screen. In my case - 1080p - what worked best was 832x624 as window and screen resolution in the settings. It still crops a bit of te screen, but form all the ones I tried it's the one that shows as close to full screen and showing most of the screen as well in it. And then "Fit to Window" and "Start in Fullscreen".
                        • The config file is in /root/.config/yabause/qt/yabause.ini.
                        • In my specific case, using the Saturn BIOS and Dynarec crashed the game I tested. I ended up ticking the "Emulate Saturn BIOS" or something and it works well.
                        • Set resolution/rendering mode to "Original", so it doesn't render the game in a higher resolution than it should (performance reasons).
                        • If you want to be able to exit the emulator via your controller, the best I could do was to set up xboxdrv, map one of the buttons (home) to a key (Escape, for instance) and then in the emulator menu, go to Shortcuts and set that button/key as the shortcut to Quit. This part was not very fun because of my lack of experience with xboxdrv. Not looking forward to repeating this.

                        Here's my config file - you'll need to adjust the controls for you:

                        https://pastebin.com/1AMymGXB

                        I'll test this more in the coming days, but so far so good and it is a good improvement over the libretro core - even if just for the auto-frameskip working better. Thank you all who helped get this to this stage!

                        M 1 Reply Last reply Reply Quote 1
                        • M
                          mechafatnick
                          last edited by

                          Stupid question, but where did you install the libqt5 files from? For me the standalone will neither run nor compile - and when i try to compile an inability to find the qt5webenginewidgets/qt5OpenGL seems to be the cause.

                          pjftP 1 Reply Last reply Reply Quote 0
                          • G
                            grant2258 Banned
                            last edited by

                            sudo apt-get install libqt5opengl5-dev if compiling else libqt5opengl5

                            1 Reply Last reply Reply Quote 1
                            • pjftP
                              pjft @mechafatnick
                              last edited by

                              @mechafatnick libqt5multimedia5 is also needed at runtime at least.

                              1 Reply Last reply Reply Quote 0
                              • M
                                mechafatnick
                                last edited by

                                Thanks folks!

                                It's weird - I've definitely got the latest version of libqt5opengl5-dev, but its still saying it cant find 'a package configuration file provided by
                                "Qt5WebEngineWidgets"'

                                (I gather building the qt5webengine from scratch is a bit of a ball ache)

                                G roslofR 2 Replies Last reply Reply Quote 0
                                • G
                                  grant2258 Banned @mechafatnick
                                  last edited by

                                  @mechafatnick said in Is Yabasanshiro emulator coming on retropie?:

                                  Qt5WebEngineWidgets

                                  sudo apt install git cmake qtbase5-dev qtmultimedia5-dev libqt5opengl5-dev libopenal-dev libsdl2-dev

                                  1 Reply Last reply Reply Quote 2
                                  • dankcushionsD
                                    dankcushions Global Moderator
                                    last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      grant2258 Banned
                                      last edited by

                                      basic build instructions anything else will be dependency related I had to do some python tweeks on mint

                                      sudo apt install git cmake qtbase5-dev qtmultimedia5-dev libqt5opengl5-dev libopenal-dev libsdl2-dev
                                      git clone https://github.com/devmiyax/yabause.git
                                      cd yabause
                                      git clone https://github.com/firebase/firebase-cpp-sdk.git -b v6.11.0 yabause/src/qt/firebase-cpp-sdk
                                      mkdir build
                                      cd build
                                      cmake -DYAB_PORTS=qt ../yabause
                                      
                                      1 Reply Last reply Reply Quote 1
                                      • M
                                        myzar @pjft
                                        last edited by

                                        @pjft i've recompiled it fixing the osd crash , now we can use the osd to see the fps if we want

                                        https://mega.nz/file/ahcHVa5S#z0uEpLSW6atCXPbkzXE4dFXulM6xMzYMCellZw1Ji5A

                                        pjftP A 2 Replies Last reply Reply Quote 2
                                        • pjftP
                                          pjft @myzar
                                          last edited by

                                          @myzar I actually thought it was related to the OSD plugin that was selected - I changed it back to OpenGL or something, though I admit I didn't test it out. Thanks!

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            ash0904 @myzar
                                            last edited by

                                            @myzar so how would i setup the standalone version of yabasanshiro?

                                            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.