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

    DOSBox and RetroPie.

    Scheduled Pinned Locked Moved General Discussion and Gaming
    emulationstatioraspberry pi ze
    21 Posts 3 Posters 2.9k 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.
    • mituM
      mitu Global Moderator @ignatius
      last edited by

      @ignatius said in DOSBox and RetroPie.:

      All attempts to log, end up failing. Could the problems be permission errors? If so, what should they be set to? I tried setting /usr/bin/dosbox to setuid root, no luck.

      Could be, but it's not what you're trying to do. If it's a permission issue, it's more likely the other way around - you've made some files root owned and the pi user cannot write over them.

      And I cannot use DOSBox from a SSH (if I could get it working) connection.

      That's normal, I don't see how that would work out of the box - the SSH connection is a text stream, it's doesn't have a display attached.

      Please attach the log file I mentioned and also add more info about your system, as requested in https://retropie.org.uk/forum/topic/3/read-this-first.

      1 Reply Last reply Reply Quote 0
      • I
        ignatius
        last edited by

        Here's some info. I apologize I cannot provide more in depth details about the error messages received,
        I cannot seem to be able to acquire them. I turned on "debugging" in the dosbox.conf, but no luck.

        Pi Model or other hardware: Raspberry Pi Zero
        Power Supply used: Unknown
        RetroPie Version Used: 4.4
        Built From: Pre made SD Image on RetroPie website
        USB Devices connected: n/a
        Controller used: n/a
        Error messages received: ???
        Log found in /dev/shm/runcommand.log: Unavailable
        Guide used: (Mention if you followed a guide): None
        File: (File with issue - with FULL path): n/a
        Emulator: SNES emulator (not sure which one RetroPie uses).
        Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS): n/a
        How to replicate the problem: n/a

        Any way you could share your dosbox.conf file? I believe, that's where the problem is.

        Thanks.

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

          @ignatius said in DOSBox and RetroPie.:

          Emulator: SNES emulator (not sure which one RetroPie uses).

          I don't think so.

          Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS):

          You should at least have a /dev/shm/runcommand.log file present after you're trying to launch a game through Doxbox.

          Any way you could share your dosbox.conf file? I believe, that's where the problem is.

          I doubt it, I have the 'stock' configuration file that comes after you install RetroPie's dosbox package.

          What game are yo trying to run ?

          1 Reply Last reply Reply Quote 0
          • I
            ignatius
            last edited by

            Bleh. Brain fart. I don't know I said "SNES emulator".... Anyway, there is no trace of a /dev/shm/runcommand.log Is there anyway I could open up a terminal on the Raspberry Pi and run DOSBox manually? I have a menu entry that appears to be DOSBox.. but, none of the games launch (to answer your question, i'm trying out "Master Of Magic") for some reason. I even made a shell script to launch dosbox, no luck there either.

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

              @ignatius Sure, doxbox is located in /opt/retropie/emulators/dosbox/bin/dosbox, just run the command from the terminal and see what errors you get.

              1 Reply Last reply Reply Quote 0
              • I
                ignatius
                last edited by ignatius

                Hmm. No sign of it in that directory. And for some reason, unknown by me, I cannot install DOSBox from "RetroPie Setup", it does not have a binary to download. I can only install from source, and even then, it doesn't work. Not sure if it's my /etc/apt/sources.list or what. Something I should mention, is that, I installed dosbox via "apt-get install dosbox".

                Thanks.

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

                  @ignatius said in DOSBox and RetroPie.:

                  Not sure if it's my /etc/apt/sources.list or what.

                  Dosbox is not installed via apt. The package should be in the optional packages section:

                  ec5156d2-8db0-49b9-ac6a-87b3d4ef95bc-image.png

                  Something I should mention, is that, I installed dosbox via "apt-get install dosbox".

                  That's why you probably didn't have the es_systems.cfg configured and the Runcommand doesn't work.

                  1 Reply Last reply Reply Quote 0
                  • I
                    ignatius
                    last edited by

                    Ok. Trying to "Install from source"... We'll see.

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

                      @ignatius All optional packages should have a binary update/install option - don't you have that option ?

                      1 Reply Last reply Reply Quote 0
                      • I
                        ignatius
                        last edited by

                        No, I don't. :(

                        edmaul69E 1 Reply Last reply Reply Quote 0
                        • edmaul69E
                          edmaul69 @ignatius
                          last edited by

                          @ignatius usually if you dont have a binary it means you arent connected to the internet. But you havent said if the source was installing. Which dosbox are you installing?

                          1 Reply Last reply Reply Quote 0
                          • I
                            ignatius
                            last edited by

                            I've tried two different WiFi Servers. No luck with either.

                            1 Reply Last reply Reply Quote 0
                            • I
                              ignatius
                              last edited by

                              Could it possibly be a permissions error?

                              edmaul69E 1 Reply Last reply Reply Quote 0
                              • edmaul69E
                                edmaul69 @ignatius
                                last edited by

                                @ignatius have you tried clicking on update retropie-setup? What happens? 2 things i have seen are biggest issues. No wifi or your clock settings are wrong.

                                1 Reply Last reply Reply Quote 0
                                • I
                                  ignatius
                                  last edited by

                                  Ok. I sovled it. It turned out that my router was blocking my RPi. Thanks to everyone for their insight.

                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    ignatius
                                    last edited by

                                    Now, one last question before I close this thread. I'm trying to transfer my RPi instalation from a 16GB card to a 32GB card. I formatted just as I did my 16GB card, partitioned the same, etc, but it just isn't working. I know that the RPi requires that the first partition needs to be FAT32 formatted, and the second partition needs to be formatted ext4 Linux. I copied my installation over, but it just isn't booting. Does the RPi Zero W not support 32GB cards, or what?

                                    Thanks to everyone.

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

                                      @ignatius You can just create a backup image from your existing SD card, then write it - with Etcher/Win32Diskimager - on your new SD card. It should work as long as the Pi model is the same.
                                      Afterwards, you can go into raspi-config (which you can start from the RetroPie menu) and use the Expand filesystem option to fill up the rest of your 32Gb card.

                                      1 Reply Last reply Reply Quote 1
                                      • I
                                        ignatius
                                        last edited by

                                        Awesome. Thank you. :)

                                        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.