• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?

Scheduled Pinned Locked Moved Help and Support
arcadedeluxeretropie-extra
36 Posts 6 Posters 1.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    Lolonois @Folly
    last edited by 12 Jan 2025, 19:55

    @Folly said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:

    Here are the files :
    https://github.com/FollyMaddy/RetroPie-raine-modulescript/tree/main

    Nice. 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
    F 1 Reply Last reply 12 Jan 2025, 20:58 Reply Quote 0
    • L
      Lolonois @Folly
      last edited by 12 Jan 2025, 19:59

      @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

      F 1 Reply Last reply 12 Jan 2025, 21:05 Reply Quote 0
      • F
        Folly @Lolonois
        last edited by Folly 12 Jan 2025, 20:58

        @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/main

        Nice. 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

        L 1 Reply Last reply 13 Jan 2025, 20:27 Reply Quote 0
        • F
          Folly @Lolonois
          last edited by 12 Jan 2025, 21:05

          @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 !

          1 Reply Last reply Reply Quote 0
          • L
            Lolonois @Folly
            last edited by 13 Jan 2025, 20:27

            @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.txt

            The 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

            F 1 Reply Last reply 14 Jan 2025, 13:44 Reply Quote 0
            • F
              Folly @Lolonois
              last edited by 14 Jan 2025, 13:44

              @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.txt

              The 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

              Added this in commit 10.

              Found a missing piece fixing showing roms in emulationstation :
              Commit 11

              1 Reply Last reply Reply Quote 0
              • F
                Folly @ExarKunIv
                last edited by Folly 16 Jan 2025, 05:53

                @ExarKunIv said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:

                @Folly sweet. I'll test it on Monday

                Did you got it working ?

                p.s.
                Use the latest script.

                1 Reply Last reply Reply Quote 0
                • E
                  ExarKunIv @Folly
                  last edited by 16 Jan 2025, 18:32

                  @Folly i tested this and i get a fail.

                  Compiling c++ source/sdl/dialogs/sound_commands.cpp...
                  In file included from source/sdl2/gui/menu.h:9,
                  from source/sdl/dialogs/../gui/menu.h:2,
                  from source/sdl/dialogs/sound_commands.cpp:2:
                  source/sdl/gui/tfont.h:4:10: fatal error: SDL_ttf.h: No such file or directory
                  4 | #include <SDL_ttf.h>
                  | ^~~~~~~~~~~
                  compilation terminated.

                  im testing this on my pi5 with a basic install

                  RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                  RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                  Maintainer of RetroPie-Extra .

                  F 1 Reply Last reply 16 Jan 2025, 20:33 Reply Quote 0
                  • F
                    Folly @ExarKunIv
                    last edited by Folly 16 Jan 2025, 20:33

                    @ExarKunIv said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:

                    @Folly i tested this and i get a fail.

                    Compiling c++ source/sdl/dialogs/sound_commands.cpp...
                    In file included from source/sdl2/gui/menu.h:9,
                    from source/sdl/dialogs/../gui/menu.h:2,
                    from source/sdl/dialogs/sound_commands.cpp:2:
                    source/sdl/gui/tfont.h:4:10: fatal error: SDL_ttf.h: No such file or directory
                    4 | #include <SDL_ttf.h>
                    | ^~~~~~~~~~~
                    compilation terminated.

                    im testing this on my pi5 with a basic install

                    Try to install libsdl-ttf2.0-dev, that will probably work.

                    E 1 Reply Last reply 16 Jan 2025, 21:01 Reply Quote 0
                    • E
                      ExarKunIv @Folly
                      last edited by ExarKunIv 16 Jan 2025, 21:01

                      @Folly still same error

                      found it, needed libsdl2-ttf-dev
                      that let it install. ill just need to get the game files for final testing

                      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                      Maintainer of RetroPie-Extra .

                      F 1 Reply Last reply 17 Jan 2025, 08:31 Reply Quote 1
                      • F
                        Folly @ExarKunIv
                        last edited by Folly 17 Jan 2025, 08:31

                        @ExarKunIv said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:

                        libsdl2-ttf-dev

                        Now that you mention libsdl2-ttf-dev that sounds much better.
                        I will add it in the comment for SDL packages that need to be installed.
                        We will need to look later if these packages can be added safely to the depends

                        I would recommend to run raine as a test from the terminal after install, something like this :
                        (not having the roms yet)
                        /opt/retropie/emulators/raine/raine galaga
                        Then you will probably notice something.
                        It will not completely work for the ones that have emudx files.
                        Just look at the output of raine and you will have the info needed.

                        E 1 Reply Last reply 17 Jan 2025, 19:44 Reply Quote 1
                        • E
                          ExarKunIv @Folly
                          last edited by 17 Jan 2025, 19:44

                          @Folly

                          ./raine galaga
                           RAINE (680x0 Arcade Emulation) 0.97.4 (c)1998-2025(!) Raine Team
                          
                          CPU:
                          Can't use RDTSC, the cpu does not support it !
                          load_emulator joys
                          Segmentation fault
                          

                          is this what i should see?

                          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                          Maintainer of RetroPie-Extra .

                          F 1 Reply Last reply 17 Jan 2025, 20:44 Reply Quote 0
                          • F
                            Folly @ExarKunIv
                            last edited by Folly 17 Jan 2025, 20:44

                            @ExarKunIv

                            No, wasn't expecting that.
                            Do you get the menu when running just raine ?

                            I did all my testing on a x86_64.
                            Otherwise I have to test and compile it on my rpi5 and see what happens.

                            E 1 Reply Last reply 17 Jan 2025, 20:47 Reply Quote 0
                            • E
                              ExarKunIv @Folly
                              last edited by 17 Jan 2025, 20:47

                              @Folly no

                              RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                              RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                              Maintainer of RetroPie-Extra .

                              F 1 Reply Last reply 17 Jan 2025, 20:49 Reply Quote 0
                              • F
                                Folly @ExarKunIv
                                last edited by Folly 17 Jan 2025, 20:49

                                @ExarKunIv

                                I will check on my pi5 tomorrow and let you know how it went.

                                Do you run Bookworm ?

                                E 1 Reply Last reply 17 Jan 2025, 20:50 Reply Quote 0
                                • E
                                  ExarKunIv @Folly
                                  last edited by 17 Jan 2025, 20:50

                                  @Folly yes i have a basic install for now, so no vulcan

                                  RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                  RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                  Maintainer of RetroPie-Extra .

                                  F 1 Reply Last reply 18 Jan 2025, 14:26 Reply Quote 0
                                  • F
                                    Folly @ExarKunIv
                                    last edited by mitu 18 Jan 2025, 14:26

                                    @ExarKunIv

                                    I tried on my pi5/Bookworm/aarch64 and it worked.
                                    I saw that same RDTSC error but that doesn't prefent it from working.
                                    It worked in both terminal mode and in desktop mode so there should be no need to use xinit.

                                    Although working I still have no audio on my pi5.
                                    I will have a look at that later.

                                    Try to find some roms and test it again.
                                    If it doesn't work then I can share my raine binary for testing purposes.

                                    E M 2 Replies Last reply 18 Jan 2025, 15:56 Reply Quote 1
                                    • E
                                      ExarKunIv @Folly
                                      last edited by 18 Jan 2025, 15:56

                                      @Folly sounds good. Yes I'm still on the hunt for the correct version roms

                                      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                      Maintainer of RetroPie-Extra .

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        mitu Global Moderator @Folly
                                        last edited by mitu 18 Jan 2025, 16:29

                                        @Folly please, no roms links or 'search suggestions going directly to the roms site'. If you have the right roms, post the checksums.

                                        E 1 Reply Last reply 18 Jan 2025, 16:33 Reply Quote 1
                                        • E
                                          ExarKunIv @mitu
                                          last edited by 18 Jan 2025, 16:33

                                          @mitu said in Did anyone ever support RAINE/EmuDX on Retropie/Retroarch?:

                                          If you have the right roms, post the checksums.

                                          Should of thought that. That would be extremely helpful. since this uses arcade Roms and we know there are too many versions.

                                          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                          Maintainer of RetroPie-Extra .

                                          F 1 Reply Last reply 18 Jan 2025, 16:36 Reply Quote 0
                                          33 out of 36
                                          • First post
                                            33/36
                                            Last post

                                          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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received