• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 9 10 11 12 13 ... 1133 Next »

eneble hotkey on dolphin-emu-nogui
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
eneble hotkey on dolphin-emu-nogui
01-17-2021, 07:07 PM (This post was last modified: 01-17-2021, 11:13 PM by dan81.)
#1
dan81 Offline
Junior Member
**
Posts: 3
Threads: 1
Joined: Jan 2021
hi,
thanks for your work

please can you enable hotkey on dolphin-emu-nogui ?

i'm try to integrate dolphin on EmulationStation on my raspberry pi 4.

i can play whit games ... but i can't exit .

i have try whit "dolphin-emu -b -r romPath" too .
game start. hotkeys works fine , but in EmulationStation the joypad doesn't work.

this command line "dolphin-emu -b -r romPath" works well on pixel , desktop environment of raspberryPi , but doesn't work on emulation station.

this command "dolphin-emu-nogui romPath" works fine but hotkeys doesnt work

this is a video test on my raspberry , sorry for poor quality video https://youtu.be/zpBo0iGzfWs

"update": option for disable screensaver on wii emulation doesn't work in dolphin-emu-nogui on emulation station. i set option from dolphin-emu. this is "a nice to have" function for nogui emu

thanks
Daniele
Find
Reply
01-18-2021, 05:17 AM
#2
dan81 Offline
Junior Member
**
Posts: 3
Threads: 1
Joined: Jan 2021
There Is AN open bug about this
https://bugs.dolphin-emu.org/issues/11689
Please help me fix this bug
Find
Reply
01-18-2021, 08:00 PM
#3
dan81 Offline
Junior Member
**
Posts: 3
Threads: 1
Joined: Jan 2021
if you want suggest some solution to shutdown the emulator on ES

here you can find the steps to run dolphin on pi4


Dolphin on EmulationStation – Retropie
ARM_64bit
Frist of all set arm_64bit to 1 in
/boot/config.txt
arm_64bit=1
If you don’t find arm_64bit on your config.txt , you must update your distribution
After this you mast reboot.
Chroot
To install chroot and dolphin dependency follow this instruction https://www.raspberrypi.org/forums/viewtopic.php?t=250090
From the previous url :

sudo apt-get install -y debootstrap schroot
cat << EOF | sudo tee /etc/schroot/chroot.d/pi64 >/dev/null
[pi64]
description=Debian Buster arm64
type=directory
directory=/srv/chroot/pi64
users=pi
root-groups=root
profile=desktop
personality=linux
preserve-environment=true
EOF
sudo debootstrap --arch=arm64 buster /srv/chroot/pi64
sudo schroot -c pi64 -- apt-get install -y sudo curl mesa-utils xz-utils libqt5widgets5 libevdev2 libudev1 libasound2 libbluetooth3 libopengl0 libglu1-mesa
now you have 64 bit user :
schroot -c pi64
sudo chmod a+w /dev/shm

Compile Dolphin-emu (from github)
1. mkdir dolphin-emu
2. cd dolphin-emu
3. git clone https://github.com/dolphin-emu/dolphin .
4. Wait for the checkout to finish
5. mkdir build && cd build
6. cmake .. -DLINUX_LOCAL_DEV=true
7. make
8. cp -r ../Data/Sys/ Binaries/
9. touch Binaries/portable.txt
in /home/pi/doplphin-emu/build/binaries/User/Config/GFX.ini
set: PreferGLES = True
Run dolphin on Pixel
To run dolphin on pixel run : /home/pi/doplphin-emu/build/binaries/dolphin-emu
Or if you prefer launch this script. This script can launch dolphin from normal pi user
#!/bin/bash
sudo schroot -c pi64 -- sh -c 'sudo chmod a+w /dev/shm ;
/home/pi/dolphin-emu/Build/Binaries/dolphin-emu;'

Add GC and WII to EmulationStation
In /opt/retropie/configs add folder wii
In wii create new file emulators.cfg
in emulators.cfg write :
wiigui="XINITConfusedudo schroot -c pi64 -- sh -c 'sudo chmod a+w /dev/shm ; /home/pi/dolphin-emu/Build/Binaries/dolphin-emu -b -e %ROM%;'"
wii="XINITConfusedudo schroot -c pi64 -- sh -c 'sudo chmod a+w /dev/shm ; /home/pi/dolphin-emu/Build/Binaries/dolphin-emu-nogui %ROM%;'"
default = "wii"

In /opt/retropie/configs/all/emulationstation/es_systems.cfg
Add
<name>gamecube</name>
<fullname>game cube</fullname>
<path>/home/pi/RetroPie/roms/gamecube</path>
<extension>.ISO .iso</extension>
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ wii %ROM%</command>
<platform>gc</platform>
<theme>gc</theme>
</system>
<system>
<name>wii</name>
<fullname>wii</fullname>
<path>/home/pi/RetroPie/roms/wii</path>
<extension>.ISO .iso .wbfs .WBFS</extension>
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ wii %ROM%</command>
<platform>wii</platform>
<theme>wii</theme>
</system>

After reboot you can see gc and wii in EmulationStatio (ES) .
At first time , after you launching rom press A to set for dolphin 480p resolution
Know Issue for this solution
At this moment you can run rom but hotkeys does not work with dolphin-emu-nogui
To close emu I use ssh console with command sudo pkill –f dolphin-emu-nogui
You can try to run emulator with gui , But in ES pad doesn’t work
dolphin-emu-nogui can’t disable screensaver on ES for wii rom
Overclok your pi
This is my configuration in /boot/config.txt :
over_voltage=6
arm_freq=2000
gpu_freq=700
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode