• 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

[DOSBox] official thread

Scheduled Pinned Locked Moved Help and Support
dosdosboxdosbox-stagingdosbox-xdosbox-pure
234 Posts 27 Posters 79.5k 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.
  • N
    nemo93 @aftermath17
    last edited by nemo93 24 Aug 2022, 07:21

    @aftermath17 glad you are able to play your game(s) on your Pi. You should have an emulators.cfg file under your Retropie configs/pc folder. Setting default = "dosbox-staging" should do the trick.

    That may be a bit brutal as Retropie allows users to pick a specific emulator per game. You have to press any key/button right after launching a game to bring the runcommand menu. Then up to you to configure the way you'd like to. So that you can mix Pure and Staging for instance.

    1 Reply Last reply Reply Quote 0
    • N
      nemo93
      last edited by nemo93 19 Sept 2022, 07:18

      Hi everyone, just to let you know that new DOSBox Staging has been released. You can already update to that version yet be sure to rely on values set by the new PR (to be merged in Retropie). This would ensure a smoother upgrade. I do really recommend users to move to that as it brings many improvements. You can read the full changelog there. Note that if you're a Windows 3.x user (!) that's also the version you need.

      If you have any feedback (not only about Staging) feel free to share.

      EDIT: After you upgrade your DOSBox Staging binary it's wise to update your dosbox-staging.conf as well. Your existing settings will be retained however extraneous comments will be dropped. You have to run DOSBox Staging first then type in the following command:

      C:\>config -wc
      
      L J 2 Replies Last reply 20 Sept 2022, 07:53 Reply Quote 5
      • L
        Lolonois @nemo93
        last edited by 20 Sept 2022, 07:53

        @nemo93 Nice. Works like a charm, I could remove the custom settings from most of my game conf files. Tested on a Rpi4 with recent RetroPie.

        However, for instance "Dungeon Keeper" and "The Last Express" need higher values for buffersize (4096) and prebuffer (120). But that is not an issue.

        Thanks a lot for all the effort to improve dosbox-staging.

        N 1 Reply Last reply 20 Sept 2022, 08:01 Reply Quote 0
        • N
          nemo93 @Lolonois
          last edited by 20 Sept 2022, 08:01

          @Lolonois thanks for reporting and for the positive comment. All credits to the dev team and maintainers of the project!

          I didn't have to increase the values for the 2 games you've mentioned but given the flexibility of DOSBox it's indeed easy to set values best suiting your needs.

          1 Reply Last reply Reply Quote 0
          • E
            ecto
            last edited by 20 Sept 2022, 08:39

            I'm also very happy with the latest Dosbox-staging!
            What I did though, was changing the cycles back to auto, as i.e. Dungeon Keeper was too slow, especially in high-res mode. DK is now playable on my setup with staging, but Dosbox SVN still is more fluent with this games.

            I will try other "high-res" games, and see how dosbox-staging is performing there. Wing Commander 4 for instance is running just fine now!

            I'm very exited, but I don't have much time to test right now... :(

            1 Reply Last reply Reply Quote 0
            • J
              jamrom2 @nemo93
              last edited by 20 Sept 2022, 17:04

              @nemo93

              Thanks for the good new, however, mine fails on a Pi3B+. Log files say it's looking for a shader. Where are the shaders for DosBox as they don't seem to build with the update.

              I'm running A-10 Tank Killer, which worked fine on the previous version of DosBox.

              2022-09-20 12:58:36.261 | SDL: version 2.0.10 initialized (RPI video and alsa audio)
              2022-09-20 12:58:36.265 | CONFIG: Loaded primary conf file /home/pi/.config/dosbox/dosbox-staging.conf
              2022-09-20 12:58:36.266 | CONFIG: Loaded custom conf file /home/pi/RetroPie/roms/pc/a10_staging.conf
              2022-09-20 12:58:36.266 | RENDER: Shader file 'sharp' not found
              2022-09-20 12:58:36.266 | RENDER:
              2022-09-20 12:58:36.266 | RENDER: List of available GLSL shaders
              2022-09-20 12:58:36.266 | RENDER: ------------------------------
              2022-09-20 12:58:36.266 | RENDER: Path './glshaders' does not exist
              2022-09-20 12:58:36.266 | RENDER:
              2022-09-20 12:58:36.267 | RENDER: Path '/home/pi/.config/dosbox/glshaders' has no shaders
              2022-09-20 12:58:36.267 | RENDER:
              2022-09-20 12:58:36.267 | RENDER: Path '/opt/retropie/emulators/dosbox-staging/bin/../resources/glshaders' does not exist
              2022-09-20 12:58:36.267 | RENDER:
              2022-09-20 12:58:36.267 | RENDER: Path '/opt/retropie/emulators/dosbox-staging/bin/resources/glshaders' does not exist
              2022-09-20 12:58:36.267 | RENDER:
              2022-09-20 12:58:36.267 | RENDER: Path '/usr/local/share/dosbox-staging/glshaders' does not exist
              2022-09-20 12:58:36.267 | RENDER:
              2022-09-20 12:58:36.267 | RENDER: Path '/usr/share/dosbox-staging/glshaders' does not exist
              2022-09-20 12:58:36.267 | RENDER:
              2022-09-20 12:58:36.267 | RENDER: Path 'resources/glshaders' does not exist
              2022-09-20 12:58:36.267 | RENDER:
              2022-09-20 12:58:36.267 | RENDER: The above shaders can be used exactly as listed in the "glshader"
              2022-09-20 12:58:36.267 | RENDER: conf setting, without the need for the resource path or .glsl extension.
              2022-09-20 12:58:36.267 | RENDER:
              Stack trace:
              5 0x76956718 __libc_start_main + 268
              4 0x217394 /opt/retropie/emulators/dosbox-staging/bin/dosbox() [0x217394]
              3 0x31178 /opt/retropie/emulators/dosbox-staging/bin/dosbox() [0x31178]
              2 0x310e8 /opt/retropie/emulators/dosbox-staging/bin/dosbox() [0x310e8]
              1 0x155bfc /opt/retropie/emulators/dosbox-staging/bin/dosbox() [0x155bfc]
              0 0x3dd28 /opt/retropie/emulators/dosbox-staging/bin/dosbox() [0x3dd28]
              2022-09-20 12:58:36.267 | ABORT: RENDER: Fallback shader file 'none' not found and is mandatory
              /home/pi/RetroPie/roms/pc/+Start DOSBox-Staging.sh: line 43: 19422 Aborted "/opt/retropie/emulators/dosbox-staging/bin/dosbox" "${params[@]}"

              Thanks!

              JamR

              1 Reply Last reply Reply Quote 0
              • M
                mitu Global Moderator
                last edited by mitu 20 Sept 2022, 17:22

                @jamrom2 You'll have to wait for the install script to be updated in order to get the default shaders included and get past this error. Or you can create the shaders' folder as $HOME/.config/dosbox/glshaders and copy the files from here in that folder.

                EDIT: I found it funny that specifying glshader = none in the configuration file would actually make dosbox to load a shader from none.glsl file.

                J 1 Reply Last reply 20 Sept 2022, 19:08 Reply Quote 0
                • J
                  jamrom2 @mitu
                  last edited by 20 Sept 2022, 19:08

                  @mitu ok, I'll give that a try. I would think without a shader specified it should just load without it, or default to none and skip it.

                  Will the shaders even work with a Pi3? Never did before.

                  Thanks!

                  M 1 Reply Last reply 20 Sept 2022, 20:16 Reply Quote 0
                  • M
                    mitu Global Moderator @jamrom2
                    last edited by 20 Sept 2022, 20:16

                    @jamrom2 said in [DOSbox] official thread:

                    Will the shaders even work with a Pi3? Never did before.

                    They don't seem to work, but that may be because the detection in dosbox-staging for the GL driver seems to fail on a Pi3. I wonder why that is...

                    J 1 Reply Last reply 20 Sept 2022, 23:05 Reply Quote 0
                    • J
                      jamrom2 @mitu
                      last edited by 20 Sept 2022, 23:05

                      @mitu That worked. I added the shader folder.

                      Not sure about using the shaders though. I set mine to "none" until it's confirmed they'll work on a Pi3.

                      1 Reply Last reply Reply Quote 0
                      • N
                        nemo93
                        last edited by nemo93 15 Oct 2022, 08:30

                        Hi,

                        DOSBox Staging latest update has now been merged in Retropie (0.79.1). It contains bugfixes (mostly SoundBlaster related) as well as a new extra: mapping files for Xbox controllers. This allows users to enjoy DOS games with only their controllers. Plug your controller, point your conf to the proper mapperfile and you're good to go. Select+Start combo works the same as RetroArch: it closes Staging. The doc is there.

                        Shaders are there as well yet they will work only when an opengl* output is selected (RPi4 only).

                        I'd recommend users to upgrade to that version from the Retropie-Setup script. Staging has now been moved under the optional section.

                        After you've upgraded the DOSBox Staging binary it's wise to update your dosbox-staging.conf as well. Do so by typing in the following command:

                        C:\>config -wc
                        

                        Thanks to the DOSBox and Staging community. Any feedback appreciated as well as any participation. And of course thanks a lot to mitu and buzz for excellent feedback, thorough testing and advices.

                        1 Reply Last reply Reply Quote 4
                        • duglorD
                          duglor
                          last edited by 15 Oct 2022, 10:23

                          Leisure Suit Larry 6 and 7.
                          On the oc they run fine with no modifications. However, the dosbox on the pie is asking for a cd. Is there some batch file with mounted drive I need to create? Does the pie being drive Z mess things up as it isn’t drive C?

                          Specific questions I have , I know. If you need the files...to try to simulate issue....

                          N 1 Reply Last reply 18 Oct 2022, 08:40 Reply Quote 0
                          • N
                            nemo93 @duglor
                            last edited by nemo93 18 Oct 2022, 08:40

                            @duglor thanks for reporting. Not sure to understand your exact issue (what's an oc?). The Leisure Suit Larry's are all working fine on DOSBox Staging (DOSBox too I suppose) even if I prefer to go with ScummVM for those. You have to mount your CD image then go through the install process prior running the game.

                            There are quite a lot of docs available online covering that topic. I can point you to DOSBox Staging wiki which contains some pointers for new users. The official DOSBox wiki is also a great source of information. Please read those carefully.

                            The Z: drive is special as it contains necessary files to run the DOS console. It won't mess up with anything.

                            N 1 Reply Last reply 26 Dec 2022, 10:44 Reply Quote 0
                            • N
                              nemo93 @nemo93
                              last edited by 26 Dec 2022, 10:44

                              DOSBox Staging 0.80.0 has landed a couple of days ago. Thanks as usual @mitu for ensuring Retropie's script has been updated accordingly (thanks!).

                              You can read the changelog but in a nutshell:

                              • ReelMagic DOS games are now playable thanks to the efforts of Jon Dennis, Chris Guthrie, and Joseph Whittaker, with testing and feedback from Vogons users Uka, DonutKing, and Vetz
                              • Mouse emulation has been improved and now supports up to six independent mice, enabling split-screen play in games like The Settlers and The Settlers II
                              • More settings, including video, audio, and MIXER effects, can now be changed on the fly

                              Enjoy!

                              1 Reply Last reply Reply Quote 3
                              • N
                                nemo93
                                last edited by 8 Jan 2023, 16:16

                                DOSBox Staging 0.80.1 has been released with the usual bugfixes. Yet the biggest news is: new website for this fork. It just landed hence few things will be tweaked in the coming days. An overhaul of the doc should come as well.

                                I still consider it the best 'all rounder' fork available. Really nice performance (ie. Doom runs at 'full speed' on stock Pi4), same config file as Dosbox 'SVN' (eg. easy to make the switch) and clearly the best fork regarding audio given the many soundcards supported/emulated with great accuracy. Not as comfortable as a libretro 'core' (Pure, Core, etc) for sure yet it's worth a try. I'd like to mention also Dosbox-X which is fantastic fork as well for those wiling plenty of options.

                                @BuZz @mitu not sure it's the best place to ask yet would you be ok for Retropie to appear under the Downloads/Linux section of that new site? (Frankly I'd love to). We collectively spent a tremendous amount of time to ensure it works great on RPi devices and integrate well in your distro. I won't push any more PR if you agree :-)

                                Thanks.

                                ExarKunIvE M 2 Replies Last reply 8 Jan 2023, 18:02 Reply Quote 2
                                • ExarKunIvE
                                  ExarKunIv @nemo93
                                  last edited by 8 Jan 2023, 18:02

                                  @nemo93 I would love to include this on my RetroPie extras GitHub if I can.

                                  I have not gotten around to messing around with it yet but I'm all for adding more things to 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
                                  • M
                                    mitu Global Moderator @nemo93
                                    last edited by mitu 1 Aug 2023, 18:09 8 Jan 2023, 18:09

                                    @nemo93 said in [DOSbox] official thread:

                                    @BuZz @mitu not sure it's the best place to ask yet would you be ok for Retropie to appear under the Downloads/Linux section of that new site?

                                    Sure, why not ?

                                    We collectively spent a tremendous amount of time to ensure it works great on RPi devices and integrate well in your distro. I won't push any more PR if you agree :-)

                                    Thanks for all the testing, much appreciated ! PRs shouldn't be needed except on build issues (like the updates for 0.80 due to the meson upgrade), since the scriptmodule automatically installs the latest stable release (as opposed to Amiberry, where the version is pinned).

                                    1 Reply Last reply Reply Quote 1
                                    • N
                                      nemo93
                                      last edited by 9 Jan 2023, 09:58

                                      @mitu @BuZz appreciated. A short desc will be added soon on site. Thanks for your patience and also all testing/checking/packaging (you certainly look after way more softs/emus than me).

                                      @ExarKunIv not sure what you mean? DOSbox Staging is part of Retropie (Optional Packages) already. Let me know what I'm missing here please.

                                      ExarKunIvE 1 Reply Last reply 9 Jan 2023, 13:59 Reply Quote 0
                                      • ExarKunIvE
                                        ExarKunIv @nemo93
                                        last edited by 9 Jan 2023, 13:59

                                        @nemo93 my bad, i have not updated my script in a long time, so nevermind then

                                        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
                                        • E
                                          ecto
                                          last edited by ecto 1 Sept 2023, 20:23 9 Jan 2023, 18:12

                                          @nemo93 Hi, I just read the whole MT32 Wikipedia list drama. As I don't know how to better contact you I'll do it here: the list was cloned to the Vogons Wiki, so you might want to link to that from the Dosbox Staging Wiki.
                                          I often used the list and really still don't understand why it was removed from WP.

                                          N 1 Reply Last reply 10 Jan 2023, 08:26 Reply Quote 1
                                          • 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.

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