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 421.6k 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.
    • 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
                              • roslofR
                                roslof @mechafatnick
                                last edited by

                                @mechafatnick any luck? I'm having the same issue, even after following @grant2258 's recommendations to the letter.

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

                                  @roslof you having problems compiling or using the binary?

                                  roslofR 1 Reply Last reply Reply Quote 0
                                  • roslofR
                                    roslof @grant2258
                                    last edited by roslof

                                    @grant2258 having trouble compiling, even after installing the libraries you listed above. Getting:

                                    CMake Error at src/qt/CMakeLists.txt:27 (find_package):
                                      By not providing "FindQt5WebEngineWidgets.cmake" in CMAKE_MODULE_PATH this
                                      project has asked CMake to find a package configuration file provided by
                                      "Qt5WebEngineWidgets", but CMake did not find one.
                                    
                                      Could not find a package configuration file provided by
                                      "Qt5WebEngineWidgets" with any of the following names:
                                    
                                        Qt5WebEngineWidgetsConfig.cmake
                                        qt5webenginewidgets-config.cmake
                                    
                                      Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
                                      or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above
                                      files.  If "Qt5WebEngineWidgets" provides a separate development package or
                                      SDK, be sure it has been installed.
                                    

                                    I'm only a little smarter than stupid, so was planning to try running the executable posted by myzar a bit later, along w/his sample config.

                                    G M 3 Replies Last reply Reply Quote 0
                                    • G
                                      grant2258 Banned @roslof
                                      last edited by grant2258

                                      @roslof i assume youve done all this

                                      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
                                      

                                      what i need you to do is goto cd yabuse where ever you cloned it

                                      rm  .gitignore
                                      git clean -Xfd
                                      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
                                      

                                      edit changed this up a little due to the git ignore so all build directories clear as well

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

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

                                        @grant2258 having trouble compiling, even after installing the libraries you listed above. Getting:

                                        CMake Error at src/qt/CMakeLists.txt:27 (find_package):
                                          By not providing "FindQt5WebEngineWidgets.cmake" in CMAKE_MODULE_PATH this
                                          project has asked CMake to find a package configuration file provided by
                                          "Qt5WebEngineWidgets", but CMake did not find one.
                                        
                                          Could not find a package configuration file provided by
                                          "Qt5WebEngineWidgets" with any of the following names:
                                        
                                            Qt5WebEngineWidgetsConfig.cmake
                                            qt5webenginewidgets-config.cmake
                                        
                                          Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
                                          or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above
                                          files.  If "Qt5WebEngineWidgets" provides a separate development package or
                                          SDK, be sure it has been installed.
                                        

                                        I'm only a little smarter than stupid, so was planning to try running the executable posted by myzar a bit later, along w/his sample config.

                                        I had to switch to the standard buster repo to install that dep i cursed it alot

                                        G M 2 Replies Last reply Reply Quote 0
                                        • G
                                          grant2258 Banned @myzar
                                          last edited by grant2258

                                          @myzar is it not on the repo ? I need to grab a pi4 at some point.

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

                                            @myzar I'm glad it wasn't me! Thought I was Going mad :D

                                            I couldn't get it to compile (probably because I needed to change repo!) but I managed to get the binary up and running. Thanks guys!

                                            roslofR 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.