Is Yabasanshiro emulator coming on retropie?
-
@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
-
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
-
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
-f
flag 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:
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!
- First, plug in a mouse in order to set up your controls in the menu. If the top menu doesn't work, remove the
-
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.
-
sudo apt-get install libqt5opengl5-dev if compiling else libqt5opengl5
-
@mechafatnick libqt5multimedia5 is also needed at runtime at least.
-
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)
-
@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
-
This post is deleted! -
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
-
@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
-
@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!
-
@myzar so how would i setup the standalone version of yabasanshiro?
-
@mechafatnick any luck? I'm having the same issue, even after following @grant2258 's recommendations to the letter.
-
@roslof you having problems compiling or using the binary?
-
@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.
-
@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
-
@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
-
@myzar is it not on the repo ? I need to grab a pi4 at some point.
-
@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!
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.