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.2k 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 @jamrom2
      last edited by nemo93

      @jamrom2 sorry to hear you're having issue. I'm a bit surprised to see your post given it was alright few days ago. Nevertheless let's try to sort it out.

      1. I'm seeing some awkward output there > Not an lr-atari800 system. Wait. What? This doesn't look like a complete log. Make sure to properly copy/paste the output given by: $ cat /dev/shm/runcommand.log
      2. there is nothing in the /opt/retropie/emulators/dosbox-staging/dosbox folder
        /home/pi/RetroPie/roms/pc/+Start DOSBox-Staging.sh: line 19: /opt/retropie/emulators/dosbox-staging/dosbox: No such file or directory

      The binary will install into /opt/retropie/emulators/dosbox-staging/bin/dosbox. Not sure why there's no /bin/ for you. Have you ever edited the +Start DOSBox-Staging.sh script?

      => definitely something is wrong with your setup. There's no "build" process so to speak when you opt for the pre-compiled binary version from Retropie Setup. Simply put it's a file being decompressed somewhere (/opt/retropie/emulators/dosbox-staging/bin/) on your device. So this one should work no problem on any standard Retropie image. I will require from you an exact step-by-step description please on how you got there to better understand your issue.

      Please do not use binaries provided on DOSBox Staging website. These are not meant for Raspberry Pi. The supported way to get Staging on your device is via Retropie Setup.

      Let's take a few steps back and just aim for something simple: to get the binary version of the current stable (0.77.1). I assume you have an up-to-date system (OS packages and Retropie Setup both updated).

      1. Remove any Staging version you have from Retropie Setup > Manage Packages > Manage all installed Packages > Dosbox Staging > Remove.
      2. From the same menu hit the "Install from pre-compiled binary"
      3. Typically complete in few seconds without issue. This should generate the required config files as well as a pc directory under Retropie config (/opt/retropie/configs/) and roms (/home/pi/RetroPie/roms/). The dosbox binary will be copied over /opt/retropie/emulators/dosbox-staging/bin/.
      4. If there's any issue preventing Retropie from creating those files/folders you should get an error message.
      5. If there's no error then you should be ready to go.

      Let me know how it goes and focus only on installing the pre-compiled binary for the time being. This has been quite heavily tested and it works out-of-the-box.

      jamrom2J 2 Replies Last reply Reply Quote 0
      • jamrom2J
        jamrom2 @nemo93
        last edited by jamrom2

        @nemo93

        Here's how it went... no good.

        The Atari800 note... just ignore it. It has something to do with my setup for atari800/5200. No idea why that's there.

        The binary runs... and installs..but fails and I have no idea why because it rips by so fast I can't read it. There is definitely a message about missing something but I don't know what.

        I haven't installed anything else. I'm just looking and reading as I go. I know nothing else will work.

        What I don't understand is why it doesn't. I had no issue installing SDL2 and Staging before. Now I can't install binary or source for Staging at all.

        I can see the folder structure as it should be, everything seems to be there. It never installs the Dosbox-Staging.sh file. I'm guessing because most likely it's not finishing the install process.

        Nevemind... the dosbox-staging file is there, I had to reload ES to display the new file in my list. But still the same end result. The same error. It says:

        Executing: bash /home/pi/RetroPie/roms/pc/+Start\ DOSBox-Staging.sh "/home/pi/RetroPie/roms/pc/aoe.conf"
        /home/pi/RetroPie/roms/pc/+Start DOSBox-Staging.sh: line 19: /opt/retropie/emulators/dosbox-staging/dosbox: No such file or directory

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @jamrom2
          last edited by

          @jamrom2 Do you have enough free space on your sdcard to install new packages ?
          Run the installation again, then look in $HOME/RetroPie-Setup/logs and open the latest log, which should have the installation log with any errors.

          jamrom2J 1 Reply Last reply Reply Quote 0
          • jamrom2J
            jamrom2 @mitu
            last edited by jamrom2

            @mitu

            found it in there...

            meson.build:1:0: ERROR: Meson version is 0.52.1 but project requires >= 0.54.2

            I don't get this. I just did an OS update. Not sure why it says I'm at 52.1. I type in "meson -v" in my putty session and I get 0.56.1

            mituM 1 Reply Last reply Reply Quote -1
            • mituM
              mitu Global Moderator @jamrom2
              last edited by

              @jamrom2 What are you installation details ? Is this a PI3/4 ? Which RetroPie version ? If you don't get a binary install, then your OS is too old.

              jamrom2J 1 Reply Last reply Reply Quote 0
              • jamrom2J
                jamrom2 @mitu
                last edited by jamrom2

                @mitu
                Pi3b+
                4.7.11 Retropie-Setup Script

                I did the OS rebuild via this from nemo93
                Retropie menu > Configuration / tools (C) > raspbiantools (215) > Upgrade all packages (1)
                or
                from the terminal type the following: sudo apt update && sudo apt full -upgrade -y

                Then I did a core package update via the Retropie menu because after doing the above, I was getting the volume mixer int error message which is now cleared.

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @jamrom2
                  last edited by

                  @jamrom2 said in [DOSbox] official thread:

                  from the terminal type the following: sudo apt update && sudo apt full -upgrade -y

                  This will not upgrade your OS, if you're on Raspbian Stretch or older, you won't get upgraded to Buster.

                  jamrom2J 1 Reply Last reply Reply Quote 0
                  • jamrom2J
                    jamrom2 @mitu
                    last edited by

                    @mitu I'm definitely on buster... at least that's what it shows on the RetroPie-Setup Script header.

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @jamrom2
                      last edited by

                      @jamrom2 said in [DOSbox] official thread:

                      @mitu I'm definitely on buster... at least that's what it shows on the RetroPie-Setup Script header.

                      In this case you should have the binary install option - doesn't that work ?

                      jamrom2J 1 Reply Last reply Reply Quote 0
                      • jamrom2J
                        jamrom2 @mitu
                        last edited by

                        @mitu I have the binary option but when I try to load it, it gives me that error at the end. Claims I don't have the correct version of meson, which makes no sense.

                        I also tried the source version, but it crashed as well.

                        Strange because I had already loaded the source version a while back without issue.

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @jamrom2
                          last edited by

                          @jamrom2 said in [DOSbox] official thread:

                          I have the binary option but when I try to load it, it gives me that error at the end.

                          Please post the binary install log (from $HOME/RetroPie-Setup/logs) on pastebin.com.

                          jamrom2J 1 Reply Last reply Reply Quote 0
                          • jamrom2J
                            jamrom2 @mitu
                            last edited by

                            @mitu said in [DOSbox] official thread:

                            @jamrom2 said in [DOSbox] official thread:

                            I have the binary option but when I try to load it, it gives me that error at the end.

                            Please post the binary install log (from $HOME/RetroPie-Setup/logs) on pastebin.com.

                            all set

                            https://pastebin.com/DvRGiKgC

                            mituM 1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @jamrom2
                              last edited by

                              @jamrom2 said in [DOSbox] official thread:

                              all set
                              https://pastebin.com/DvRGiKgC

                              Not quite, this is not a binary installation, it's a source installation.

                              For some reason though, your version of meson is not the one from the RPI repos - did you remove the RPI repos from your apt sources list ? Otherwise, apt update && apt full-upgrade should install version 0.56.1.

                              jamrom2J 2 Replies Last reply Reply Quote 0
                              • jamrom2J
                                jamrom2 @mitu
                                last edited by jamrom2

                                @mitu said in [DOSbox] official thread:

                                @jamrom2 said in [DOSbox] official thread:

                                all set
                                https://pastebin.com/DvRGiKgC

                                Not quite, this is not a binary installation, it's a source installation.

                                For some reason though, your version of meson is not the one from the RPI repos - did you remove the RPI repos from your apt sources list ? Otherwise, apt update && apt full-upgrade should install version 0.56.1.

                                Sorry... I took from the top of the log list thinking first last, when it's last first.

                                Here is the correct binary install I just did now.

                                https://pastebin.com/xf6KgvN6

                                No, I didn't remove anything manually, but that's not to say something else I've loaded did. I have a few emus that may have twisted my install a little. The Atari800 video script, MESS and Daphne/Singe installs I did I think somehow changed things a little.

                                I'll try what you posted and see if it works.

                                mituM 1 Reply Last reply Reply Quote 0
                                • jamrom2J
                                  jamrom2 @mitu
                                  last edited by

                                  @mitu just tried

                                  sudo apt update && apt full-upgrade

                                  it came back with an error:

                                  E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
                                  E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

                                  I'm logged in as pi what does it mean by root?

                                  1 Reply Last reply Reply Quote 0
                                  • mituM
                                    mitu Global Moderator @jamrom2
                                    last edited by

                                    @jamrom2 said in [DOSbox] official thread:

                                    Here is the correct binary install I just did now.
                                    https://pastebin.com/xf6KgvN6

                                    Seems to me you're using an older version of the Dosbox-Staging setup script, that you copied manually ? As @nemo93 mentioned at some point, it's now part of the RetroPie-Setup script, so you should remove the install script you copied manually and update your RetroPie-Setup script to the latest version. Afterwards, you can install the binary without issues.

                                    I'm logged in as pi what does it mean by root?

                                    The correct command is

                                    sudo apt update && sudo apt full-upgrade
                                    
                                    jamrom2J 1 Reply Last reply Reply Quote 0
                                    • jamrom2J
                                      jamrom2 @mitu
                                      last edited by jamrom2

                                      @mitu that might have happened while I was helping to test the newer versions of Staging a few months ago.

                                      Where do I find that script to delete? Is it here?

                                      /home/pi/RetroPie-Setup/scriptmodules/emulators

                                      yeah... that extra "sudo" was missing. It's running the RPI repos update now.

                                      also.. is 4.7.11 the latest RetroPie-Setup script version? If not... then I'm definitely having larger issues.

                                      mituM 1 Reply Last reply Reply Quote 0
                                      • mituM
                                        mitu Global Moderator @jamrom2
                                        last edited by

                                        Where do I find that script to delete? Is it here?
                                        /home/pi/RetroPie-Setup/scriptmodules/emulators

                                        Yes.

                                        also.. is 4.7.11 the latest RetroPie-Setup script version? If not... then I'm definitely having larger issues.

                                        No, that's not the current RetroPie-Setup script version. If you have trouble updating to the current version, you should open a separate topic.

                                        jamrom2J 1 Reply Last reply Reply Quote 1
                                        • jamrom2J
                                          jamrom2 @mitu
                                          last edited by

                                          @mitu ok. I will. At this point, I think that's what's happening here. I'm not getting the current setup script.

                                          @nemo93 I'll be back to help once I get this issue sorted. Not sure how this happened, but it seems to be the cause of all the headaches I'm having.

                                          1 Reply Last reply Reply Quote 1
                                          • N
                                            nemo93
                                            last edited by nemo93

                                            @mitu much appreciated the time you spent here to assist @jamrom2. Thank you.
                                            @jamrom2 I did check your other thread and I'm glad you get it sorted. Next time please be sure to rely on an official image :-) This is really the only way for all of us to ensure things will work as intended. I've started (and not finished) an article to guide users to setup a clean and easy-to-maintain DOS environment. Feel free to have a look.

                                            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.