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

    Can we expect an lr-package for dosbox some day?

    Scheduled Pinned Locked Moved Ideas and Development
    dosboxlr-packages
    62 Posts 8 Posters 14.1k 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.
    • edmaul69E
      edmaul69 @psyke83
      last edited by edmaul69

      @psyke83 ok. Thanks.

      1 Reply Last reply Reply Quote 0
      • P
        psyke83 Global Moderator
        last edited by psyke83

        Update on Doom:

        It seems that Doom & Doom 2 were failing on lr-dosbox due to case sensitivity (!). Even though DOS is supposed to be limited to 8.3 filenames and case insensitive, when the wad files are named DOOM.WAD and DOOM2.WAD on the actual ext4 root filesystem (in roms/pc/doom/), the Doom executable can't find the files, but only if running via lr-dosbox (the native port is fine). Manually renaming the files to lowercase outside of the emulator fixed the issue.

        Performance is acceptable in lr-dosbox with dynarec enabled, but it's definitely a bit choppier than the native dosbox version, and certainly not reaching the 35fps engine limit at all times (whereas I suspect the native dosbox version does).

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

          @psyke83 is the 35fps the limit setting with pentium_slow with the cpu at "max" (95%) or setting it at "max 110%" (full speed)

          P 1 Reply Last reply Reply Quote 0
          • P
            psyke83 Global Moderator @edmaul69
            last edited by psyke83

            @edmaul69 said in Can we expect an lr-package for dosbox some day?:

            @psyke83 is the 35fps the limit setting with pentium_slow with the cpu at "max" (95%) or setting it at "max 110%" (full speed)

            The original Doom had an engine cap of 35fps - that's what I'm talking about. The speed difference I'm seeing may be due to lr-dosbox not supporting auto cycle rate detection, so whatever arbitrary CPU cycle speed you select will not be optimal compared to the native port automatically adjusting speed by default.

            edmaul69E 2 Replies Last reply Reply Quote 1
            • edmaul69E
              edmaul69 @psyke83
              last edited by

              @psyke83 gotcha.

              1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @psyke83
                last edited by BuZz

                @psyke83 thanks. re rpi3, it's an older wip branch. Not complete - just rebased it earlier to show. (Hence no pr yet) - but will go over code before doing the pr.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 0
                • BriganeB
                  Brigane
                  last edited by

                  Has anybody been trying the new lr-dosbox found in the experimental section yet?

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

                  hooperreH D 2 Replies Last reply Reply Quote 0
                  • hooperreH
                    hooperre @Brigane
                    last edited by hooperre

                    @brigane I attempted to use it, but it doesn't handle .sh files >> .conf files from what I've seen.

                    It'll just try to run the .sh file in Dosbox, not run the config file and run the [autoexec] section.

                    4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                    1 Reply Last reply Reply Quote 0
                    • D
                      dudleydes @Brigane
                      last edited by dudleydes

                      @brigane

                      @hooperre is correct in saying lr-dosbox will not launch games from .sh files but it will launch from .conf files. For example, to get Albion running in the lr-dosbox, I created a text file, Albion.conf, in the PC roms folder with the following contents:

                      [autoexec]
                      # Lines in this section will be run at startup.
                      # You can put your MOUNT lines here.
                      
                      MOUNT c /home/pi/RetroPie/roms/pc
                      C:
                      cd ALBION
                      LAUNCH.EXE
                      EXIT
                      

                      On the plus side, lr-dosbox , by default, maps the mouse to my PS3 controller. Mouse movement is mapped to the right analog stick. The left mouse button is mapped to the right trigger (R2) and the right button to the left trigger (L2).

                      On the down side, the key mapper doesn't work so games such as Abuse require a keyboard.

                      hooperreH edmaul69E 4 Replies Last reply Reply Quote 1
                      • hooperreH
                        hooperre @dudleydes
                        last edited by

                        @dudleydes Is there any way to work around this issue with a .sh? It would be great if I didn't need multiple entries for each game. I would love to use lr-dosbox for my Windows 3.1x based games as the mouse mapping would be immense!

                        4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

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

                          @dudleydes does a real mouse work too? I am interested in this if it can. But i dont want to change 200 .sh files if i cant mount an actual cd drive or use a mouse.

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

                            Deleted. I figured it out

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

                              @dudleydes how do you get it to recognize a controller? Retroarch recognizes it but the games dont? The joysticks mouse works.

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

                                @psyke83 how do you get it joysticks to work in lr-dosbox?

                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  dudleydes @edmaul69
                                  last edited by

                                  @edmaul69 My PS3 controller worked by default, I didn't have to make any changes to the default configuration. Have you checked in the RGUI? In the Controls option in the Quick Menu, you will see the mappings for User 1 emulated mouse. This is how I found that mouse movement is mapped to the right analog stick and not the left stick I would've expected.

                                  I f you wish to use an actual mouse, then I would stick to the standalone version unless there are features in RetroArch you're interested in. I haven't tested lr-dosbox with a USB mouse but I had no issues with the touchpad of Rii mini keyboard.

                                  (PS I live in the UK and have just woken in the last 30 minutes so the time difference of our locations will cause delays in our responses)

                                  @hooperre I wouldn't worry about using .sh files to launch games in lr-dosbox. What I have done is made sure that the .conf and .CONF are in the list of permitted extensions in my custom es_systems.cfg. This way I use .conf files to launch games in lr-dosbox and .sh files in the standalone version.

                                  edmaul69E hooperreH 2 Replies Last reply Reply Quote -1
                                  • P
                                    psyke83 Global Moderator
                                    last edited by

                                    Do the .conf files also work in standalone dosbox? If so, I will send a PR to add it to the extensions list for both.

                                    edmaul69E D 5 Replies Last reply Reply Quote 0
                                    • edmaul69E
                                      edmaul69 @psyke83
                                      last edited by

                                      @psyke83 with standalone dosbox boots then crashes. Which means it possibly could. There is something that crashes it. The exit command is probably causing the crash. So i will remove it and see what is causing the crash and making it exit. I will play with it and see if i can find what is

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

                                        Deleted. Hold on. Testing

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

                                          @psyke83 nope. It does not read .conf files. My previous statement was wrong.

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

                                            @psyke83 ok so the problem is how the +Start DOSBox.sh is setup. I will test to see if i can figure out the issue.

                                            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.