Recalbox Forum

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

    DOSBox Issues

    Emulator Arcade/PC/Console
    dosbox
    4
    26
    6003
    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.
    • danielfs
      danielfs last edited by

      Hi everybody,

      I am a former retropie user and I used to play some DOS games using that system. To keep things organized, I used to put inside the "dos" folder only the bash script to run the game and in another folder called "dospc" I used to put the folder with the game files.

      My script for Retropie looked like this (Extreme Pinball script):

      #!/bin/bash
      /opt/retropie/emulators/dosbox/bin/dosbox -c "mount c /home/pi/RetroPie/roms/dospc" -c "c:" -c "cd extp.pc" -c "extreme.exe"

      With this approach, I was able to run the game without any issues.

      Now that I moved to recalbox, I would like to take a similar approach. So, I placed my game (extp.pc) in a folder called "dospc" and inside the "dos" folder I created the bash script.

      However, recalbox doesn't show the bash script in the DOS library. On top of that, I am only able to run the game if I open the game .exe so it will open DOSBox where I can type the following commands to run the game:

      mount c /recalbox/share/roms/dospc/extp.pc
      😄 - c
      extreme

      Do you guys know what am I missing?
      Are bash scripts supported by recalbox?
      How do I open DOSBox without clicking in the game executable?

      Your help will be much appreciated.

      Regards,

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

        Hello

        for recalbox , read the readme.txt in dos folder.
        and check tutorial : https://github.com/recalbox/recalbox-os/wiki/How-to-use-DOSBox-to-emulate-DOS-games

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

          @danielfs please read wiki there is a page about dosbox and how to launch games

          Recalbox is not retropie though, so you'll have to follow instructions, not sure you will be able to do it like you did on retropie

          1 Reply Last reply Reply Quote -1
          • danielfs
            danielfs last edited by

            Wow, you guys are quick! Thanks for that.

            I tried the link and readme directions as well but it didn't worked.

            Inside the dos folder placed my game folder (extp.pc)
            I updated the dosbox.bat file inside the extp.pc folder with the following content:

            😄
            EXTREME.EXE

            I rebooted recalbox and selected the EXTREME.EXE but it loads DOSBox and show this:

            Z:> set ROOT=/recalbox/share/roms/dos/extp.pc/EXTREME.EXE
            Z:>

            Now if I type in the command line:
            mount c /recalbox/share/roms/dospc/extreme.pc
            😄 - c
            extreme

            The game starts. What am I missing here?

            Thanks

            voljega 3 Replies Last reply Reply Quote 0
            • Dragu
              Dragu Banned last edited by

              @danielfs
              Just put EXTREME.EXE in dosbox.bat and wonder happens 😉

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

                @dragu it's what he did already ...

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

                  @danielfs try to see where you are at first line of dosbox.bat after 😄 with :

                  c:
                  chdir
                  pause
                  extreme.exe
                  
                  1 Reply Last reply Reply Quote -1
                  • voljega
                    voljega Banned @danielfs last edited by

                    @danielfs said :

                    I rebooted recalbox and selected the EXTREME.EXE but it loads DOSBox and show this:

                    Z:> set ROOT=/recalbox/share/roms/dos/extp.pc/EXTREME.EXE
                    Z:>

                    I don't know how you managed to do that but EmulationStation UI should only display extp.pc or even extp and you should select that, certainly not your exe which shouln't even appear at all.

                    Did you modify es_systems.cfg ?

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

                      @voljega
                      If the game is started in ES, he automatically switch to the folder and mount it as 😄
                      I dont have nothing else in my dosbox.bat's, with exception from a menu selection for certain games.

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

                        @danielfs https://github.com/recalbox/recalbox-os/wiki/How-to-use-DOSBox-to-emulate-DOS-games

                        1 Reply Last reply Reply Quote -1
                        • voljega
                          voljega Banned @Dragu last edited by

                          @dragu I know but read his message ye already did what you told him to do

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

                            @danielfs said in DOSBox Issues:
                            @voljega

                            Now that I moved to recalbox, I would like to take a similar approach. So, I placed my game (extp.pc) in a folder called "dospc" and inside the "dos" folder I created the bash script.

                            And this exactly is his error, he must put the folder extp.pc under the existing /recalbox/share/roms/dos/extp.pc and not build own configuration in Recalbox.

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

                              @dragu can you at least try to read his second message ?

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

                                @voljega
                                Yes, I readed. And updating the gamelist was not there 🙂
                                And not at all, I understand this confused instruction

                                mount c /recalbox/share/roms/dospc/extreme.pc
                                

                                ???

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

                                  @dragu nobody said anything about updating a gamelist.... I'll let you to to your reading problems :))

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

                                    @voljega
                                    It is finally very simple, beginners to Recalbox arrive easy .

                                    1. Create a folder xxx.pc in the existing /roms/dos/ folder
                                    2. Put your game files into xxx.pc
                                    3. Create a dosbox.bat file inside /dos/xxx.pc with XXX.EXE inside
                                    4. Update your gamelist
                                    5. Enjoy.
                                    1 Reply Last reply Reply Quote 0
                                    • danielfs
                                      danielfs last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • danielfs
                                        danielfs last edited by

                                        I was going to post more photos but my message was flagged as spam.

                                        To sum up:

                                        • I have the folders in the right place, the dosbox.bat refers to the executable, and the gamelist.xml is updated
                                        • EmulationStation UI is listing the game folders and inside them the executables. My es_systems.cfg allows only exe as extension (<extension>.exe .EXE</extension>)
                                        • As sugested, I changed my dosbox.bat to include the following lines:
                                          😄
                                          chdir
                                          pause
                                          extreme.exe
                                          But when I select extp > extreme from EmulationStation UI, it opens DOSBox and presents the following message:
                                          ...
                                          Z:>set ROOT=/recalbox/share/roms/dos/extp.pc/extreme.exe
                                          Z:>
                                          Again, using the command line I can start the game.

                                        Any clues?

                                        Regards,
                                        Daniel

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

                                          @danielfs
                                          Dont try to build RECALPIE. es_systems.cfg is a file, you should not touch.

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

                                            @danielfs said in DOSBox Issues:

                                            EmulationStation UI is listing the game folders and inside them the executables. My es_systems.cfg allows only exe as extension (<extension>.exe .EXE</extension>)

                                            NO NO NO NO leave this file as it was originally, do not touch it, it's not the exe that should be launched by Emulation Station.

                                            So put it back like it was, just create your game dir, create a dosbox.bat in it, restart your recalbox or refresh the list of games, and the game will appear, just select it and it should work.

                                            What you did is absolutely not listed in any instructions so please follow the instructions without doing any extra modification

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

                                            Want to support us ?

                                            81
                                            Online

                                            98.7k
                                            Users

                                            28.1k
                                            Topics

                                            187.0k
                                            Posts

                                            Copyright © 2021 recalbox.com