RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    I hope we are getting DOSBox Pure at some point.

    Scheduled Pinned Locked Moved General Discussion and Gaming
    dosboxretroarchcoresnewslibretro
    65 Posts 30 Posters 16.7k 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.
    • sirhenrythe5thS
      sirhenrythe5th @BuZz
      last edited by

      @buzz said in I hope we are getting DOSBox Pure at some point.:

      @nemo93 The CDTV version is good. Sound FX + CD audio and speech for the shop part.

      Second this!
      I was so impressed by the soundtrack that i bought the LP from Bomb the Bass "Into the Dragon" :D

      -- Retro-Achievements Username: SirALX --
      RetroRatio: 1.88
      Started Games beaten: 2,47%
      Site Rank: 4382/93743 ranked users (TOP 4.76%)
      Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

      Z BuZzB 2 Replies Last reply Reply Quote 2
      • Z
        Zering @sirhenrythe5th
        last edited by

        @sirhenrythe5th Did you guys just give me a reason to play the CDTV? ^^

        1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators @sirhenrythe5th
          last edited by

          @sirhenrythe5th btw https://readonlymemory.vg/shop/media/the-bitmap-brothers-odyssey/

          (Technically spam as I helped with this project. But on topic spam :-) )

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          1 Reply Last reply Reply Quote 4
          • hooperreH
            hooperre
            last edited by hooperre

            Link to tweet

            Was released today on RetroArch!

            4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

            retropieuser555R ExarKunIvE 2 Replies Last reply Reply Quote 4
            • retropieuser555R
              retropieuser555 @hooperre
              last edited by retropieuser555

              @hooperre Cool! Have you been able to install it and have a try?

              Edit: Okay I got it working and am playing Champion Manager 2, I had to install GCC with G++, then in the makefile from the dosbox pure github I changed the line CXX := g++ (https://www.reddit.com/r/RetroArch/comments/khmubg/dosbox_pure_out_now_for_public_testing/ggndjer/)

              From there I compiled it, put the core in a folder for retroarch to test it and it works. The only dos games I have are CM2 and Fallout though.

              But yeah, as a quick test around this does work and the mouse is way easier to setup than standalone dosbox

              Pi 5 4GB

              Retroflag GPI with raspberry pi zero 2 w/ wifi

              Retroachievements:- lovelessrapture

              X 1 Reply Last reply Reply Quote 2
              • ExarKunIvE
                ExarKunIv @hooperre
                last edited by

                @hooperre very cool. cant wait to try it

                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
                • X
                  xwons
                  last edited by

                  I hope we get a Retropie release soon!

                  (I'm a bit afraid of compiling it myself and messing with Retropie's own configuration)

                  1 Reply Last reply Reply Quote 0
                  • X
                    xwons @retropieuser555
                    last edited by xwons

                    @retropieuser555 said in I hope we are getting DOSBox Pure at some point.:

                    @hooperre Cool! Have you been able to install it and have a try?

                    Edit: Okay I got it working and am playing Champion Manager 2, I had to install GCC with G++, then in the makefile from the dosbox pure github I changed the line CXX := g++ (https://www.reddit.com/r/RetroArch/comments/khmubg/dosbox_pure_out_now_for_public_testing/ggndjer/)

                    From there I compiled it, put the core in a folder for retroarch to test it and it works. The only dos games I have are CM2 and Fallout though.

                    But yeah, as a quick test around this does work and the mouse is way easier to setup than standalone dosbox

                    Hey, how did you do it at the end? Did you finally compile it from source? When using the precompiled binary for arm7, it complains that `GLIBC_2.29' is not found.

                    This is the full output of the logfile:

                    pi@retropie:~ $ cat /dev/shm/runcommand.log
                    Parameters:
                    Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L  /opt/retropie/libretrocores/lr-dosbox-pure/dosbox_pure_libretro.so --config /opt/retropie/configs/pc/retroarch.cfg "/home/pi/RetroPie/roms/pc/1992tris (1993).zip" --verbose --appendconfig /dev/shm/retroarch.cfg
                    [INFO] RetroArch 1.8.8 (Git 9552f87)
                    [INFO] Redirecting save file to "/home/pi/RetroPie/roms/pc/1992tris (1993).srm".
                    [INFO] Redirecting save state to "/home/pi/RetroPie/roms/pc/1992tris (1993).state".
                    [INFO] === Build =======================================
                    [INFO] Capabilities:  NEON VFPv3 VFPv4
                    [INFO] Built: Nov  2 2020
                    [INFO] Version: 1.8.8
                    [INFO] Git: 9552f87
                    [INFO] =================================================
                    [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-dosbox-pure/dosbox_pure_libretro.so"
                    [ERROR] Failed to open libretro core: "/opt/retropie/libretrocores/lr-dosbox-pure/dosbox_pure_libretro.so"
                    Error(s): /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.29' not found (required by /opt/retropie/libretrocores/lr-dosbox-pure/dosbox_pure_libretro.so)
                    [INFO] Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
                    [INFO] Unloading game..
                    [INFO] Unloading core..
                    [INFO] Unloading core symbols..
                    [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
                    
                    retropieuser555R 1 Reply Last reply Reply Quote 0
                    • retropieuser555R
                      retropieuser555 @xwons
                      last edited by

                      @xwons yup I was getting that error too with the arm7 released version on GitHub, you have to compile it yourself then it'll work.

                      When you first try and compile though it'll complain it can't find GCC so you'll need to install that beforehand.

                      Pi 5 4GB

                      Retroflag GPI with raspberry pi zero 2 w/ wifi

                      Retroachievements:- lovelessrapture

                      X 1 Reply Last reply Reply Quote 0
                      • X
                        xwons @retropieuser555
                        last edited by

                        @retropieuser555 Thanks! I compiled it, and it didn't even ask for any dependencies. It just took a few minutes, and then I used the dosbox_pure_libretro.so file it generated. Seems to work fine (although results vary depending on the game).

                        If anyone is interested in step-by-step instructions on how to configure it for an existing retropie installation, I don't mind sharing.

                        K retropieuser555R 2 Replies Last reply Reply Quote 2
                        • K
                          kash18 @xwons
                          last edited by

                          @xwons If you can share it step by step

                          X 1 Reply Last reply Reply Quote 0
                          • X
                            xwons @kash18
                            last edited by

                            Ok, so first of all, let's assume you have the latest version of Retropie. I tried it in a raspberry pi 4, but it should work on a rpi3 as well.

                            Let's start by connecting to your RPi via ssh and downloading the source and compiling it:

                            git clone https://github.com/schellingb/dosbox-pure
                            cd dosbox-pure
                            make
                            

                            After a while, it will compile a file called dosbox_pure_libretro.so. We have to copy it somewhere where Retropie can find it, the folder where the libretrocores are stored:

                            mkdir /opt/retropie/libretrocores/lr-dosbox-pure
                            cp dosbox_pure_libretro.so /opt/retropie/libretrocores/lr-dosbox-pure/
                            

                            And now we have to tell retropie to use that core when launching DOSBox games. I find it easier if we first install the official (non-retroarch) dosbox package with the Retropie-setup script.
                            Run:

                            sudo ~/RetroPie-Setup/retropie_setup.sh
                            

                            and select Manage packages, Manage optional packages, dosbox, and install via binary files.
                            (this will add the MS-DOS entry to EmulationStation and create the pc folder in ~/RetroPie/roms/ where you can place your games).

                            Now we add dosbox-pure as an emulator for "pc" games:
                            Edit the /opt/retropie/configs/pc/emulators.cfg file with your preferred text editor and leave it like this:

                            dosbox = "bash /home/pi/RetroPie/roms/pc/+Start\ DOSBox.sh %ROM%"
                            lr-dosbox-pure = "/opt/retropie/emulators/retroarch/bin/retroarch -L  /opt/retropie/libretrocores/lr-dosbox-pure/dosbox_pure_libretro.so --config /opt/retropie/configs/pc/retroarch.cfg %ROM%"
                            default = "lr-dosbox-pure"
                            

                            Finally, since dosbox-pure can run games directly in .zip format, we tell EmulationStation to include Zip files in the list of games:
                            Edit the /etc/emulationstation/es_systems.cfg, search for the section corresponding to the pc system, and add .zip and .ZIP as valid extensions. It should look like this:

                            <system>
                               <name>pc</name>
                               <fullname>PC</fullname>
                               <path>/home/pi/RetroPie/roms/pc</path>
                               <extension>.bat .com .exe .sh .conf .zip .BAT .COM .EXE .SH .CONF .ZIP</extension>
                               <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ pc %ROM%</command>
                               <platform>pc</platform>
                               <theme>pc</theme>
                             </system>
                            

                            Save, and restart Retropie. MS-DOS should now be an entry and your games should be listed in there. Many games will already be preconfigured to use a gamepad, and you can bring up a virtual keyboard by pressing L3 (the left analog stick in Playstation-like controllers).

                            Enjoy!

                            B W B S 5 Replies Last reply Reply Quote 7
                            • ?
                              A Former User @Darksavior
                              last edited by

                              @darksavior it seems eventually there will be no limit to what vintage game the Raspberry Pi can run, it has already emulated the overwhelming majority of gaming systems out there, the one thing it appears to be missing is full DOS x86 emulation with 3D acceleration and support for Windows 9x, which was also used as a gaming OS by many.

                              1 Reply Last reply Reply Quote 0
                              • retropieuser555R
                                retropieuser555 @xwons
                                last edited by

                                @xwons nice write up! So which games have you tried and found don't run quite so well? I've also noticed putting games in zips makes them load slower.

                                Pi 5 4GB

                                Retroflag GPI with raspberry pi zero 2 w/ wifi

                                Retroachievements:- lovelessrapture

                                X 1 Reply Last reply Reply Quote 0
                                • X
                                  xwons @retropieuser555
                                  last edited by xwons

                                  @retropieuser555 For some reason, I was not able to run any games that need to mount a CD image to work. I kept receiving errors that the CD could not be mounted. I must look into it. Maybe being inside a Zip file is the reason? I left them that way for convenience.

                                  Many games ask what sound card you want to use when starting. Selecting SoundBlaster usually works fine, but selecting other options often crashes the game.

                                  Also, some games run slow, like Duke Nukem 3D, or are not configured to use a gamepad (e.g. Simcity 2000 or Street Fighter II).

                                  ectoE 1 Reply Last reply Reply Quote 0
                                  • ectoE
                                    ecto @xwons
                                    last edited by

                                    @xwons said in I hope we are getting DOSBox Pure at some point.:

                                    @retropieuser555 For some reason, I was not able to run any games that need to mount a CD image to work. I kept receiving errors that the CD could not be mounted. I must look into it. Maybe being inside a Zip file is the reason? I left them that way for convenience.

                                    I think on the DosBox Pure Git page it is mentioned that tere is a bug and the CD image has to be in any subfolder. This will certainly be fixed sonn, I guess.

                                    1 Reply Last reply Reply Quote 1
                                    • B
                                      BugAttack @xwons
                                      last edited by

                                      @xwons thanks for the write-up, I installed the latest version (0.4) from GitHub based on your instructions and was impressed how easy/well the couple of games worked that I tested. Hopefully it will soon be added as a standard option for RetroPie.

                                      1 Reply Last reply Reply Quote 2
                                      • A
                                        acril
                                        last edited by acril

                                        @xwons thank you for your writeup - it was really helpful. I had one issue with EmulStation which did not want to load my DOS games. It was actually my fault, because I was making changes in /home/pi/.emulationstation/es_systems.cfg earlier and it seams that it has higher priority to /etc/emulationstation/es_systems.cfg.

                                        Now I have different issue -> I have poor performance on DOSBox Pure 0.5 (display is fine I guess, but sound is bad).

                                        Probably I messed up with Retroarch configuration, but I am not sure what exactly. Could anyone share some screenshots of Retroarch options directly from game? I 've tried to make some tweaks but with bad results.

                                        BTW, I am on RPI 4B, 2GB RAM, overclocked: arm 1850, gpu 750, v3d 750, overvoltage 5. Probably not relevant, because other platforms works just fine.

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          acril
                                          last edited by

                                          Update to previous message:
                                          I am able to successfully play games (without weird sound) when started RetroArch directly from RetroPie menu instead of starting the game from PC / MS DOS menu. I checked configuration I've tried copy saved config file when everything seams to working directly to /opt/retropie/configs/pc/retroarch.cfg and ~/.config/retroarch/config/dosbox_pure_libretro.cfg, but sound is the same.

                                          I am confused, why opening with RetroPie menu -> RetroArch works well and opening directly a game from Emulastation creates such crackling noise...

                                          1 Reply Last reply Reply Quote 0
                                          • Z
                                            ZzackK
                                            last edited by

                                            When will be add to experimental packets in retropie?

                                            BenMcLeanB 1 Reply Last reply Reply Quote 0
                                            • First post
                                              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.