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

    Need Help With DOSBOX

    Scheduled Pinned Locked Moved Help and Support
    dosboxgog
    35 Posts 7 Posters 7.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.
    • quicksilverQ
      quicksilver @mediamogul
      last edited by

      @mediamogul unfortunately thats mainly for a windows installation. It works perfect for me through windows but on my raspberry pi everything is in french. I suspect its something to do with running dosbox on linux but I dont know enough about linux to figure it out. :/

      @edmaul69 I know you are a bit of a dosbox guru, have you run into something like this before?

      mediamogulM 1 Reply Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator @quicksilver
        last edited by

        @quicksilver said in Need Help With DOSBOX:

        unfortunately thats mainly for a windows installation.

        I may be wrong, but it looks like the only Windows-specific part is creating the shortcut, which is essentially the same as the launch command. I take it that you've already followed the other parts without success? Also, it notes that a pretty powerful host computer is required for the games. I'm not sure how well these will run on the Pi.

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

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

          @quicksilver you are doing it wrong. here is an example of how the .sh needs to look. this is for the gog game bio menace.

          #!/bin/bash 
          /opt/retropie/emulators/dosbox/bin/dosbox -conf "/home/pi/RetroPie/roms/pc/BMENACE.conf" 
          

          you need to put that games .conf file in your /roms/pc folder. then at the bottom of the .conf file under [autoexec] you need to edit it to point to where the game is on the pi using the info you originally had in the .sh file

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

            @quicksilver also dont change the stuff under the [autoexec]. you just need to put the /home/pi/RetroPie/roms/pc/ to the "mount c" and "mount d"

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

              @mediamogul you didnt tag me in a dosbox question? i had to find this out on my own. for shame! i cant even look at you right now.... 😂

              mediamogulM 1 Reply Last reply Reply Quote 3
              • mediamogulM
                mediamogul Global Moderator @edmaul69
                last edited by mediamogul

                @edmaul69

                Hey, we tried to reach you.

                0_1525065524670_8790aa5c-4e5b-4180-939d-46e9675b672a-image.png

                RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                1 Reply Last reply Reply Quote 4
                • quicksilverQ
                  quicksilver @edmaul69
                  last edited by

                  @edmaul69 going to try this out when I get off work. Thanks!

                  BriganeB edmaul69E 2 Replies Last reply Reply Quote 0
                  • BriganeB
                    Brigane @quicksilver
                    last edited by Brigane

                    @quicksilver said in Need Help With DOSBOX:

                    @edmaul69 going to try this out when I get off work. Thanks!

                    If this works out for you please post the solution here. I've been struggling with this french language problem myself and never found a solution.

                    Systems: Raspberry Pi 0/2/3 Model B+
                    Os: RetroPie 4.5
                    Frontend: Emulationstation & Attract Mode

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

                      @quicksilver can you post the [autoexec] section of your .conf file?

                      quicksilverQ 1 Reply Last reply Reply Quote 0
                      • quicksilverQ
                        quicksilver @edmaul69
                        last edited by

                        @edmaul69 I will when I get home. I should use the one that came with the game right? Not a copy of the generic one that retropie uses?

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

                          @quicksilver yes you use the one that came with the game. And that is the one i need the autoexec part of. If you post it i might be able to make you a correct .sh file that doesnt need the .conf file.

                          quicksilverQ 1 Reply Last reply Reply Quote 0
                          • quicksilverQ
                            quicksilver @edmaul69
                            last edited by

                            @edmaul69 Success! You are the man!

                            # Lines in this section will be run at startup.
                            @echo off
                            mount c "/home/pi/RetroPie/roms/pc/"
                            imgmount d "/home/pi/RetroPie/roms/pc/LBA2/LBA2.DAT" -t iso
                            c:
                            cls
                            cd LBA2
                            LBA2.EXE
                            exit
                            

                            This is what I used to get it to work. I had to use/duplicate the default dosbox.conf file included with retropie to get the keyboard to work properly.

                            1 Reply Last reply Reply Quote 1
                            • quicksilverQ
                              quicksilver @Brigane
                              last edited by quicksilver

                              @brigane

                              To get the game to work properly I created the shell script below and placed it in my /roms/pc folder

                              #!/bin/bash 
                              /opt/retropie/emulators/dosbox/bin/dosbox -conf "/home/pi/RetroPie/roms/pc/LBA2/dosboxLBA2.conf" 
                              

                              then I copied the default dosbox config located here:

                              /opt/retropie/configs/pc/dosbox-SVN.conf

                              to my LBA2 directory located in my /roms/pc folder, renaming it dosboxLBA2.conf

                              At the bottom of the .conf file is a section labled: [autoexec]

                              Place this right below it:

                              # Lines in this section will be run at startup.
                              @echo off
                              mount c "/home/pi/RetroPie/roms/pc/"
                              imgmount d "/home/pi/RetroPie/roms/pc/LBA2/LBA2.DAT" -t iso
                              c:
                              cls
                              cd LBA2
                              LBA2.EXE
                              exit
                              

                              If you want to change the language options you can edit the LBA2.CFG

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

                                @quicksilver actually nothing special with this game unlike some from gog.com. the problem you had is that you switched to the d: drive instead of the c: drive. so this should work just fine

                                /opt/retropie/emulators/dosbox/bin/dosbox -c "mount c /home/pi/RetroPie/roms/pc/" -c "imgmount d /home/pi/RetroPie/roms/pc/LBA2/LBA2.dat -t iso" -c "c:" -c "cd /LBA2/" -c "LBA2.EXE" -c "exit"
                                quicksilverQ 1 Reply Last reply Reply Quote 0
                                • quicksilverQ
                                  quicksilver @edmaul69
                                  last edited by

                                  @edmaul69 yea I realized my mistake shortly after my original post. But even switched to c: it still has the wrong language selected. Oh well, your original solution worked just fine so I'll stick with it. I have tried and given up on this game so many times in the past. And I have finally gotten it working thanks to you!

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

                                    @quicksilver actually i did make a correction to what you originally had. You set /pc/LBA2/ as the c: drive and i changed it to just /pc/ . That is most likely the reason for the language issue there.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sherif02 @quicksilver
                                      last edited by sherif02

                                      @quicksilver Man, please help me to start LBA2 under retropie/ I have gog version too

                                      quicksilverQ 1 Reply Last reply Reply Quote 0
                                      • quicksilverQ
                                        quicksilver @sherif02
                                        last edited by

                                        @sherif02 did you follow my instructions above? Dosbox can launch .conf files directly now so you don't even need to make a .sh script.

                                        Just copy the default dosbox .conf file to your PC folder (you can rename it lba2 or whatever you want). Then copy/paste the autoexec instructions to the bottom of that file and it should work.

                                        Can you tell me specifically what isn't work for you/how far you've gotten?

                                        EfriimE S 2 Replies Last reply Reply Quote 0
                                        • EfriimE
                                          Efriim @quicksilver
                                          last edited by

                                          @quicksilver
                                          Is it a good game? Should I play the first one first? What would you compare it to? What does it remind you of? Does it perform well on the pi?

                                          Can we start a dosbox configurations and compatibility in your thread? There were some patch files for compiling with dosbox to add multiprocessor-multithreading and joypad mouse control, do you believe these patches will work with a ARM build?

                                          quicksilverQ 1 Reply Last reply Reply Quote 0
                                          • quicksilverQ
                                            quicksilver @Efriim
                                            last edited by quicksilver

                                            @Efriim I would probably start a new thread to discuss general dosbox stuff/compatibility.

                                            I never played the first game but it's not necessary in order to enjoy the second. There are a few references to the first game but nothing they don't recap at the beginning. The first game from what I understand is a little more linear in it's level design whereas lba2 is a pretty big open world. I would describe the game as a 3d adventure/puzzle solving game. The control scheme is definitely dated by now days standards but the game is a lot of fun and has a lot of charm. You'll need a pi3 to run it well, my pi2 can run it but there is a fair amount of slowdown. The game was designed for Windows 95 but also ran fully on dos with full voiceovers and CD quality music. It may be one of the most advanced games that can be run through dosbox at least I can't think of any others off the top of my head.

                                            I have not messed with those patches, game runs well enough for me that I don't think they are needed unless you really don't want to play with a keyboard.

                                            EfriimE 2 Replies 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.