Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Dosbox doesn't start

    Emulator Arcade/PC/Console
    dosbox
    5
    13
    3038
    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.
    • erbertmag
      erbertmag last edited by

      Software: Recalbox version 18.07.13
      Hardware: Raspberry PI 1 Model B

      I'm having some trouble in getting Dosbox to work (I followed the instructions from https://github.com/recalbox/recalbox-os/wiki/How-to-use-DOSBox-to-emulate-DOS-games).

      I've put the files for the "Duke nukem 3D" game in /recalbox/share/roms/dos/duke.pc, and inside that folder I've created a file dosbox.bat, that contains just two lines:

      c:
      duke3d.exe
      

      When I try to open that Game in the emulationstation GUI, the DOSBOX logo appears for about 1 second (see below) and come back to the emulation station... Something is preventing DOSBOX from starting.

      0_1533134919497_dosbox_screen.jpg

      I've collected some logs just after I've tried to run the "Duke Nukem":

      ~/logs/es_launch_stderr.log:

      ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
      

      ~/logs/es_launch_stdout.log:

      SDL_VIDEO_GL_DRIVER=/usr/lib/libGLESv2.so /usr/bin/dosbox -userconf -exit /recalbox/share/roms/dos/duke.pc/dosbox.bat -c set ROOT=/recalbox/share/roms/dos/duke.pc -vkeybd /usr/share/dosbox -conf /recalbox/share/system/configs/dosbox/dosbox.conf
      

      When I try to run the above command (exactly the contents of ~/logs/es_launch_stdout.log) from SSH, I got the following output:

      DOSBox version SVN
      Copyright 2002-2017 DOSBox Team, published under GNU GPL.
      ---
      CONFIG:Loading primary settings from config file /recalbox/share/system/.dosbox/dosbox-SVN.conf
      CONFIG:Loading additional settings from config file /recalbox/share/system/configs/dosbox/dosbox.conf
      Exit to error: Could not initialize video: Invalid window
      

      Besides Duke Nukem, I've tried to run another DOS program: an ancient DOS program called "visual player". Both works in my linux PC' dosbox but unfotunately dont work in recalbox.

      Questions:

      1. What I'm doing wrong?

      2. Is there something that I can do, some other log to collect?

      3. What "SDL_VIDEODRIVER" (https://wiki.libsdl.org/FAQUsingSDL) Recalbox's dosbox should use for RPi ? May be an issue related to this?

      Thanks in advance.

      voljega 1 Reply Last reply Reply Quote 0
      • Substring
        Substring last edited by

        Your only hope would be @lmerckx if he's not in holidays

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        erbertmag 1 Reply Last reply Reply Quote 0
        • voljega
          voljega Banned @erbertmag last edited by

          @erbertmag change your dosbox.bat to

          c:
          dir
          pause
          duke3d.exe
          

          and do a screen capture to show us what appears on the screen

          erbertmag 1 Reply Last reply Reply Quote 0
          • Dragu
            Dragu Banned last edited by Dragu

            @erbertmag

            I posted once my dosbox.cfg concerning DN3, you need a local dosbox.cfg, it will not run with the standard dosbox.conf.
            https://forum.recalbox.com/topic/9240/duke-nukem-3d

            erbertmag 1 Reply Last reply Reply Quote 0
            • erbertmag
              erbertmag @voljega last edited by

              @voljega I changed my dosbox.bat, and nothing changed (the dosbox splashscreen appears for about 1 second and then it returns to emulation station).

              voljega 1 Reply Last reply Reply Quote 0
              • erbertmag
                erbertmag @Dragu last edited by

                @dragu I've tested with your dosbox.cfg, and nothing changed.

                I think that the problem may be related with the dosbox video driver not working ("Exit to error: Could not initialize video: Invalid window").

                1 Reply Last reply Reply Quote 0
                • Dragu
                  Dragu Banned last edited by Dragu

                  Yes, but this error message

                  CONFIG:Loading additional settings from config file /recalbox/share/system/configs/dosbox/dosbox.conf
                  

                  shows that you are not working with a local (inside duke.pc) dosbox.cfg but with the original dosbox.conf that will not work here.

                  erbertmag 1 Reply Last reply Reply Quote 0
                  • erbertmag
                    erbertmag @Dragu last edited by

                    @dragu That message was before your advice. I confirm here that the ~/logs/es_launch_stdout.log contains the part of command line -conf /recalbox/share/roms/dos/duke.pc/dosbox.cfg.

                    1 Reply Last reply Reply Quote 0
                    • Quemandoacromo
                      Quemandoacromo last edited by Quemandoacromo

                      @erbertmag Which version are you using? I have 1.3D and it works without problems on Recalbox (18.07.13)

                      alt text
                      Loading - Duke Nukem 3D DOS VERSION (v1.3D)

                      alt text
                      Menu - Duke Nukem 3D DOS VERSION (v1.3D)

                      My dosbox.bat:

                      • duke3d.exe

                      PS: Confirmed that the latest version of GoG also works without problems if you remove all "the additions"

                      1 Reply Last reply Reply Quote 0
                      • voljega
                        voljega Banned @erbertmag last edited by voljega

                        @erbertmag seems impossible so I suggest double checking everything, because your screen should be on pause.

                        Pay attention to upper case in file and dir names, they shouldn't appear at all

                        1 Reply Last reply Reply Quote 0
                        • Dragu
                          Dragu Banned last edited by Dragu

                          @ebertmag
                          I just downloaded the dosbox version from 180713, easy with 7-Zip that also uncompress .img files, without necessary to install the OS.
                          And I can also confirm, DN3D is working with this 180713 version. But, my jackrabbit I not. 🙂
                          What shows that dosbox is not really a strait development over time. And the jackrabbit dosbox version is not usable for DN3D, 0 -1 framerates.

                          1 Reply Last reply Reply Quote 0
                          • erbertmag
                            erbertmag @Substring last edited by

                            @substring said in Dosbox doesn't start:

                            @lmerckx

                            @lmerckx can you help me?

                            1 Reply Last reply Reply Quote 0
                            • Dragu
                              Dragu Banned last edited by

                              @erbertmag
                              Tu as bien défini une keymapper file xxxx.map au niveau de dosbox.cfg et qui existe dans ton répertoire ?

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Want to support us ?

                              97
                              Online

                              98.7k
                              Users

                              28.1k
                              Topics

                              187.0k
                              Posts

                              Copyright © 2021 recalbox.com