Anyone know how to set up N64 raphnet adapter with the "raphnetraw plugin" on RetroPie??
-
@alinktotao Can you get the log file from running the emulator (
/dev/shm/runcommand.log
) and post it on pastebin.com ? -
@mitu Thanks. I will do that next time I get a chance, probably Friday. So grateful for your help. This would have fallen flat on its face without your help. Many thanks.
-
@mitu said in Anyone know how to set up N64 raphnet adapter with the "raphnetraw plugin" on RetroPie??:
@alinktotao Can you get the log file from running the emulator (
/dev/shm/runcommand.log
) and post it on pastebin.com ?Here is my config text the way you told me to put it in. I put it in under two different emulators to try it on both of them:
mupen64plus-GLideN64 = "/opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-GLideN64 %ROM% %XRES%x%YRES% 0 --set Video-GLideN64[UseNativeResolutionFactor]=1 --input mupen64plus-input-raphnetraw"
mupen64plus-GLideN64-highres = "/opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-GLideN64 %ROM% %XRES%x%YRES% 0 --set Video-GLideN64[UseNativeResolutionFactor]=2"
mupen64plus-gles2rice = "/opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-rice %ROM% %XRES%x%YRES%"
mupen64plus-gles2n64 = "/opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-n64 %ROM%"
lr-mupen64plus-next = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mupen64plus-next/mupen64plus_next_libretro.so --config /opt/retropie/configs/n64/retroarch.cfg %ROM%"
default = "lr-mupen64plus"
lr-mupen64plus = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mupen64plus/mupen64plus_libretro.so --config /opt/retropie/configs/n64/retroarch.cfg --input mupen64plus-input-raphnetraw %ROM%" -
Here it is with the parameters put in the way you wanted me to originally: https://pastebin.com/Qx7tmfT2
-
The plugin you compiled works only with Mupen64plus - you've added the parameter to all emulator entries, I said to add it just to first entry (
mupen64plus-GLideN64
) and use just that emulator to run the game.
The log file shows you're starting the X server (xorg
) and there's no emulator log there. Are you running RetroPie from the desktop ? This is not a supported configuration on a Pi. You need to get the file after you've run the N64 emulator and get the error, otherwise the file will not contain the correct log. -
After what you said, I realized that running the emulator, then going to the desktop overwrote the log of running the N64 emulator. You're good at looking at the logs! Instead this time, I used file manager to copy the file into desktop to be able to post it on pastebin.
I've also corrected the config file per your recommendation to only modify the Glide64 version of mupen64plus.
Here is the log file, sorry for my noobiness: https://pastebin.com/byAkVaaV
-
Looks like the input plugin is detected and loaded, but the plugin errors out while opening the controller:
... Opening device path: '/dev/hidraw2' Input Error: Could not open gcn64 device serial '109634'. Skipping it. Input Error: No adapters detected
Maybe there's a permission error ? Check if the
/dev/hidraw*
devices are available to thepi
user, by running the command:ls -l /dev/hidraw*
-
@mitu Something interesting to note: running the glide64 version without the raphnetraw plugin leads to the same issue not recognizing the raphnet adapter, whereas the lr-mupen64plus works but bypasses the plugin.
-
@mitu said in Anyone know how to set up N64 raphnet adapter with the "raphnetraw plugin" on RetroPie??:
Looks like the input plugin is detected and loaded, but the plugin errors out while opening the controller:
... Opening device path: '/dev/hidraw2' Input Error: Could not open gcn64 device serial '109634'. Skipping it. Input Error: No adapters detected
Maybe there's a permission error ? Check if the
/dev/hidraw*
devices are available to thepi
user, by running the command:ls -l /dev/hidraw*
pi@retropie:~ $ ls -l /dev/hidraw*
crw------- 1 root root 244, 0 Aug 7 18:58 /dev/hidraw0
crw------- 1 root root 244, 1 Aug 7 18:58 /dev/hidraw1
crw------- 1 root root 244, 2 Aug 7 18:58 /dev/hidraw2
crw------- 1 root root 244, 3 Aug 7 18:56 /dev/hidraw3
crw------- 1 root root 244, 4 Aug 7 18:56 /dev/hidraw4
crw------- 1 root root 244, 5 Aug 7 18:56 /dev/hidraw5
crw------- 1 root root 244, 6 Aug 7 18:56 /dev/hidraw6
crw------- 1 root root 244, 7 Aug 7 18:56 /dev/hidraw7 -
Looks like the
/dev/hidraw*
devices are read/write only by theroot
user.
You could add a newudev
rule to allow theinput
group to access them. Just create a file (/etc/udev/rules.d/86-hidraw-input.rules
) containingSUBSYSTEM=="hidraw", MODE:="0660", GROUP="input"
then reboot your system and try to see if the permissions are changed and the emulator is able to access the controller.
-
@alinktotao said in Anyone know how to set up N64 raphnet adapter with the "raphnetraw plugin" on RetroPie??:
@mitu said in Anyone know how to set up N64 raphnet adapter with the "raphnetraw plugin" on RetroPie??:
Looks like the input plugin is detected and loaded, but the plugin errors out while opening the controller:
... Opening device path: '/dev/hidraw2' Input Error: Could not open gcn64 device serial '109634'. Skipping it. Input Error: No adapters detected
Maybe there's a permission error ? Check if the
/dev/hidraw*
devices are available to thepi
user, by running the command:ls -l /dev/hidraw*
pi@retropie:~ $ ls -l /dev/hidraw*
crw------- 1 root root 244, 0 Aug 7 18:58 /dev/hidraw0
crw------- 1 root root 244, 1 Aug 7 18:58 /dev/hidraw1
crw------- 1 root root 244, 2 Aug 7 18:58 /dev/hidraw2
crw------- 1 root root 244, 3 Aug 7 18:56 /dev/hidraw3
crw------- 1 root root 244, 4 Aug 7 18:56 /dev/hidraw4
crw------- 1 root root 244, 5 Aug 7 18:56 /dev/hidraw5
crw------- 1 root root 244, 6 Aug 7 18:56 /dev/hidraw6
crw------- 1 root root 244, 7 Aug 7 18:56 /dev/hidraw7OH MY GOOODNESS!! THAT DID IT! THANK YOU SOOOO MUCH!!!
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.