MKDD Tint Issue RPI5
-
@gvx64
Many thanks for everything you are doing! I tried the script, and the installation was completed without errors.
I haven't figured out how to launch the games so I can test it further. It looks like the script doesn't create the shortcuts that Dolphin creates (runcommand), games aren't visible to ES. Also, after the installation, I saw an error when I was running RetroPie-Setup:/home/pi/RetroPie-Setup/scriptmodules/emulators/dolphin-rpi.sh: Line 56 : syntax error near unexpected near unexpected token'
/home/pi/RetroPie-Setup/scriptmodules/emulators/dolphin-rpi.sh: Line 56 : '}'
-
@sugarfree Yeah, sorry I have been working on it on-and-off today after I posted it and discovered that there were issues. I am getting very close to having it working I will let you know once it is ready to go and I will update the previous post with the final script.
-
@sugarfree Can you please give the above script another try?
It's a conceptually tough decision about what to do when somebody uninstalls this emulator. Dolphin has a shared configuration and save file directory. I agree that uninstalling should remove all config files but I am very uncomfortable about deleting save files. As a result, I am leaving the GC and Wii subfolders in the DolphinConfig5.0 directory when somebody uninstalls. You can change this by removing the comments from the lines in the remove_dolphin-rpi() function if you would prefer.
I hopes that this script works better. Please let me know if you see any other errors or areas for improvement.
-
@gvx64 Emulator is working and it's running the Resident Evil 4 very well (fully playable)!!
I Encountered an issue when attempting to launch dolphin-rpi-gui from runcommand menu. It failed to start correctly, displaying two error messages. Additionally, I was unable to configure the controller or modify other emulator settings. However, the keyboard functioned normally within the games.Error:Trying to access Windows-1252 fonts but they are not loaded. Games may not show fonts correctley, or crash.
Failed to load image from file "use/local/share/dolphin-emu/sys/Resources/dolphin_logo@2x.png"
-
@sugarfree Thank you for the feedback.
Regarding the controller configuration, you will need to configure your gamepad manually by exiting emulationstation and in the console typing:
sudo xinit /opt/retropie/emulators/dolphin-rpi/bin/dolphin-emu -u /home/pi/DolphinConfig5.0/
At this point you should see the dolphin emulator user interface pop up. You can then click on the "Controllers" icon (you will need a mouse and possibly a keyboard to do this). You can then configure your gamepad the normal way within dolphin and it should save a settings file in the Config folder within DolphinConfig5.0 which will carry over to emulationstation. You should also be able to specify your hotkeys in Options -> Hotkey Settings. This is also where you can customize other settings like the CPU Overrride and various graphical settings (although it is probably better to specify these settings on a per game basis in your game specific ini files in /home/pi/DolphinConfig5.0/GameSettings/). Exiting this session can be done with "CTRL + ALT + F1" followed by "CTRL + C" which will bring you back to the console.
EDIT: I just noticed that the hotkey menu in the interface does not appear to load with this build of dolphin. I will have to look into this.
Thanks for reminding me about the "failed to load image" error. This is a nuisance error. I will update the install script when I have some time so that it copies the Resources folder to the /usr/local/share directory. This error message shouldn't be a problem with the nogui version of dolphin since errors just get logged to the console and don't produce popups. Note that I think the nogui version runs a bit faster on the Pi anyways.
I am unfamiliar with the Windows-1252 error that you mentioned. I will have to look into it more to understand why it is getting generated. If it's just a popup and you are not noticing gameplay issues, I would recommend using the nogui version in emulationstation for the time being.
-
@gvx64 said in MKDD Tint Issue RPI5:
That being said, please let me know if you have different experiences running rvz files.
I converted Mario Kart Double Dash to .rvz format. Everything play-tested great! Nice integration, man. With this change, was able to free up at least a couple of GB for the games that require your 5.0. version.
Cheers!
-
@gvx64
Thank you again! I was able to configure the controller. I added the following line:dolphin-rpi-editor = "XINIT-WM:/opt/retropie/emulators/dolphin-rpi/bin/dolphin-emu -u /home/pi/DolphinConfig5.0/"
to the /opt/retropie/configs/gc/emulator.cfg file, and now it is possible to open the GUI from runcommand. We are doing the same with the new version of Dolphin.
The Windows-1252 error seems to appear only with the GUI version.
-
@gvx64 said in MKDD Tint Issue RPI5:
@sugarfree Can you please give this install script a try. You should just have to make a file called "dolphin-rpi.sh" in /home/pi/RetroPie-Setup/scriptmodules/emulators and then paste the contents below into it.
I did this and it does not appear to be showing up in the list of experimental scriptmodules I have available in RetroPie Setup.
-
Try the following:
from terminal window type:
cd /home/pi/RetroPie-Setup/scriptmodules/emulators
then
nano
and last copy/paste into the window that have open the content of the script and save it with name
dolphin-rpi.sh
with ctrl+o and ctrl+x to exit -
@sugarfree said in MKDD Tint Issue RPI5:
Try the following:
from terminal window type:
cd /home/pi/RetroPie-Setup/scriptmodules/emulators
then
nano
and last copy/paste into the window that have open the content of the script and save it with name
dolphin-rpi.sh
with ctrl+o and ctrl+x to exitThat worked. Now it's showing up.
So question, why is it that pasting it into a .txt file and FTPing it to the build didn't work? Just curious so for my own knowledge.
-
@gvx64
@sugarfree said in MKDD Tint Issue RPI5:Up and running! Mario Kart seems to be working great. A couple of questions...
-
I was able to configure my controller using your editor line added to emulators.cfg but....
-
I don't seem to be able to configure a way to exit a game from the controller, and I am able to do this with the normal version of Dolphin.
-
The ESC key on the keyboard only seems to pause the game and no longer exists out.
Any idea how I can exit out of a game without having to shut off the Pi which is what I'm doing now..
Also, I noticed I'm not getting any mouse pointer in the editor which is extremely annoying as I'm just having to guess where the mouse pointer is all the time.
-
-
@roslof Thanks a lot for letting me know. I am glad that it is working.
@sugarfree Thanks for letting me know, that is a good way to configure and avoid having to exit emulationstation.
@TPR Yeah, exiting dolphin is a bit of a pain on the Pi. Unfortunately, the hotkey customization window in this current build of dolphin doesn't seem to load (at least for me). I am going to look into this and see if I can get the hotkey window working with another commit. I am not sure if dolphin hotkeys will map to a gamepad, but at least you should be able to configure a simple button press on your keyboard like ESC to exit.
Right now, the easiest way I know of to exit dolphin (without hotkey customization) is to use the following keystrokes on your keyboard: "CTRL + ALT + F1" - this I believe will kill the x-session. Next, you may have to then keystroke "CTRL + C" to kill the residual dolphin process but I am unsure if this additional step always needs to be done within emulationstation. I know, this is a lot of buttons to press (and remember).
Myself, I use a custom GPIO gamepad driver written in C and so I was able to map the "sudo killall -9 dolphin-emu-nogui" bash command, at the driver level, whenever I push the L and START buttons on my N64 Controller which lets me exit dolphin very easily. This is also a good option if you ever have lr-emulators that freeze and become unresponsive to allow you to get back to emulationstation without having to hard restart your Pi or login remotely and kill the hanging processes since you can attach a whole bunch of different kill commands to this button combo.
If you know a bit about Linux you can probably do something similar using a shell script fairly easily that gets launched on startup on your Pi and checks button states every few seconds or so but the exact implementation will depend on your gamepad. I am not sure if there is interest in me trying to create such a script, but let me know if there is.
-
@TPR said in MKDD Tint Issue RPI5:
@sugarfree said in MKDD Tint Issue RPI5:
Try the following:
from terminal window type:
cd /home/pi/RetroPie-Setup/scriptmodules/emulators
then
nano
and last copy/paste into the window that have open the content of the script and save it with name
dolphin-rpi.sh
with ctrl+o and ctrl+x to exitThat worked. Now it's showing up.
So question, why is it that pasting it into a .txt file and FTPing it to the build didn't work? Just curious so for my own knowledge.
I have had this problem before on Linux with shell scripts. A windows-saved txt file has different line-ending characters than one saved on a Linux machine that will cause conflicts if you try to run it with bash. It's best to just paste your text file into a program like nano on your Linux machine and then save it, as per @sugarfree 's recommendations.
-
@gvx64 said in MKDD Tint Issue RPI5:
I have had this problem before on Linux with shell scripts. A windows-saved txt file has different line-ending characters than one saved on a Linux machine that will cause conflicts if you try to run it with bash. It's best to just paste your text file into a program like nano on your Linux machine and then save it, as per @sugarfree 's recommendations.
And that worked perfectly fine, so thanks for the suggestion.
-
@gvx64 said in MKDD Tint Issue RPI5:
@TPR Yeah, exiting dolphin is a bit of a pain on the Pi. Unfortunately, the hotkey customization window in this current build of dolphin doesn't seem to load (at least for me). I am going to look into this and see if I can get the hotkey window working with another commit. I am not sure if dolphin hotkeys will map to a gamepad, but at least you should be able to configure a simple button press on your keyboard like ESC to exit.
Gotcha. Yeah on normal dolphin I'm able to map SELECT + START to exit the emulator as well as the ESC key. Hoping you're able to get that working because this does work fantastic! Thank you!
-
For anyone searching for a solution; this version of dolphin also fixes
Bomberman Generations' black menu problems, so that's playable with this
Sonic Adventure DX. This loads and plays ok, not perfect as the audio is a little muffled, which I don't remember the original being like that
Virtua Striker 2002 loads but it still has choppy FPS so it's not that playable
-
@retropieuser555 has anyone figured out yet how to get better button mapping with this version so it's easier to map a controller and exit out of a game without needing a keyboard attached?
-
@TPR I am working on repairing the broken hotkey menu as my time allows. I am making progress, there is just significant work involved.
That being said, if you want access to the Hotkey menu right now one thing that you can do is manually build dolphin-rpi (following the instructions I provided above in post 43) with the QT interface turned on in your CMake options before configuring:
option(ENABLE_QT2 "Enable Qt2 (use the other experimental Qt interface)" ON)
This should give you three executables: a no-gui build, a gui-build (wxWidgets) and a QT interface build. Note that the QT interface was still experimental when 5.0-4544 was committed back in June 2017 and so it is lacking many of the features that the wxWidgets interface had at that time. That said, the hotkey menu appears to be functional in the QT version. If you wanted, you could try using the QT interface to configure your hotkeys and the WX to configure everything else. If you decide to try this, please let me know if it works.
Note that I am still working to get the hotkey menu functional in the WX build and I will provide an update when I have one.
-
The hotkey option already works with a single button, but the combo buttons doesn't work.
I encountered issues with save states? Is it works? It won't save on my side. The real-time save option and the normal way to save doesn't work
-
@gvx64 No worries and no hurry! Thanks for the update!
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.