Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?
-
I created an initial base module-script with a data-folder for patching and copying the config file.
It's probably not perfect but it after many tests it worked for me.
I must admit I have used a few hackish methods.
I used my own differences files as the one from @Lolonois didn't work for me as "patch" failed to apply patches with that diff.
I also cannot make a "git diff" file like @Lolonois did, not sure how to do that yet so I created and used regular diff files.
It might be that we need to add more packages to the depends.
Also, the SDL package isn't installed by the script.
The Chance is that SDL is already installed otherwise you need to install it from the RetroPie-Setup from the dependency packages.
Not sure yet how to add SDL correctly yet.That said it probably needs some improvements or adjustments but it's a start.
Here are the files :
https://github.com/FollyMaddy/RetroPie-raine-modulescript/tree/mainJust push the raine.sh file and the raine folder in the emulators scriptmodules folder.
Use it on your own risk.
p.s.
The paths can be viewed in the config file.Edit:
These SDL packages are needed to compile raine :
libsdl2-dev
libsdl2-image-dev
These packages are not installed by the module-script ! -
@Folly sweet. I'll test it on Monday
-
@Folly said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:
I created an initial base module-script with a data-folder for patching and copying the config file.
Awesome, cheers :)
Sadly on reading the thread more closely I noticed that it needs Bookworm and I'm still on Buster and I'm not sure my Pi can handle Bookworm :(
(Whenever I try to read stuff about it to see how to/whether I can update, it's all just ARGLE WARGLE FLARGLE BARGLE and I run away sobbing.)
-
@ExarKunIv said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:
@Folly sweet. I'll test it on Monday
Hey, while you're here - is there any chance of incorporating this into RetroPie-Extra, friend? :)
-
@JimmyFromTheBay said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:
@Folly said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:
I created an initial base module-script with a data-folder for patching and copying the config file.
Awesome, cheers :)
Sadly on reading the thread more closely I noticed that it needs Bookworm
I think it will run on Buster as raine is old source-code.
and I'm still on Buster and I'm not sure my Pi can handle Bookworm :(
All pi's are supported :
https://www.raspberrypi.com/software/operating-systems/
But the best is to use a pi4 or pi5 and 64bit os.(Whenever I try to read stuff about it to see how to/whether I can update, it's all just ARGLE WARGLE FLARGLE BARGLE and I run away sobbing.)
Just start with a clean OS and install RetroPie manually :
https://github.com/RetroPie/RetroPie-Setup -
@Folly said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:
Here are the files :
https://github.com/FollyMaddy/RetroPie-raine-modulescript/tree/mainNice. Thanks for taking this further.
Positively, a few notes from a cursory look:- The link to the License file in
rp_module_licence
is not right (yields HTTP 404). - For applying the diff there exists the
applyPatch
function from RetroPie. - The indent is not right in L72-74.
- IIRC
chown
should be changed to$__user:$__group
instead of$user:$user
- The link to the License file in
-
@Folly said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:
I think it will run on Buster as raine is old source-code.
It could, but it requires a more recent SDL, which would mean a manual SDL2 install which in turn will have knock-on effects on the rest of a otherwise Buster-based RetroPie installation.
Others have been down the road trying to get Raine compiled with an older SDL2: https://www.1emulation.com/forums/topic/37608-is-it-possible-to-compile-raine-on-arm-device-retropie/
HTH
-
@Lolonois said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:
@Folly said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:
Here are the files :
https://github.com/FollyMaddy/RetroPie-raine-modulescript/tree/mainNice. Thanks for taking this further.
Positively, a few notes from a cursory look:Thanks, I noticed a few myself too and fixed them.
- fixed help (3th commit)
- added depends for the xgettext and msgfmt commands (5th and 6th commit) (didn't work correctly so removed in 7th to 9th commit)
- added comments (3th commit)
- lowered swap (9th commit)
- The link to the License file in
rp_module_licence
is not right (yields HTTP 404).
Replace with the only thing I could find :
unknown https://raw.githubusercontent.com/zelurker/raine/refs/heads/master/source/Musashi/readme.txt
Fixed in the 3th commit- For applying the diff there exists the
applyPatch
function from RetroPie.
Adding applyPatch needs to be done later as it needs a proper diff file.
My earlier attempt with using applyPatch with your diff file failed.- The indent is not right in L72-74.
Fixed in the 4th commit
- IIRC
chown
should be changed to$__user:$__group
instead of$user:$user
Fixed in the 3th commit
-
@Lolonois said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:
@Folly said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:
I think it will run on Buster as raine is old source-code.
It could, but it requires a more recent SDL, which would mean a manual SDL2 install which in turn will have knock-on effects on the rest of a otherwise Buster-based RetroPie installation.
Others have been down the road trying to get Raine compiled with an older SDL2: https://www.1emulation.com/forums/topic/37608-is-it-possible-to-compile-raine-on-arm-device-retropie/
HTH
Gotcha !
-
@Folly said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:
The link to the License file in rp_module_licence is not right (yields HTTP 404).
Replace with the only thing I could find :
unknown https://raw.githubusercontent.com/zelurker/raine/refs/heads/master/source/Musashi/readme.txtThe guys in the gametechwiki interpreted Raine as being Source-Available License (see box on the right). Maybe it is more accurate.
https://emulation.gametechwiki.com/index.php/RAINE -
@Lolonois said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:
@Folly said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:
The link to the License file in rp_module_licence is not right (yields HTTP 404).
Replace with the only thing I could find :
unknown https://raw.githubusercontent.com/zelurker/raine/refs/heads/master/source/Musashi/readme.txtThe guys in the gametechwiki interpreted Raine as being Source-Available License (see box on the right). Maybe it is more accurate.
https://emulation.gametechwiki.com/index.php/RAINEAdded this in commit 10.
Found a missing piece fixing showing roms in emulationstation :
Commit 11
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.