Recalbox Forum

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

    Solved Confused Over Dos Games

    Emulator Arcade/PC/Console
    confused dos
    10
    126
    56952
    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.
    • Dragu
      Dragu Banned last edited by Dragu

      In your story, could you work with variables with pathname inside such as %abc%\floppy\ ?

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

        @dragu Hmmm I'm not sure at all I should try maybe

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

          @dragu It does work in dosbox.bat using full path and quote :

          mount a "/recalbox/share/roms/dos/Strategy-Gestion/fieldglo.pc/floppy/" -t floppy
          

          Not my favorite solution though

          And then it should work with "./floppy/" or even c:\floppy but I guess at that point in launching (dosbox.bat) the "." is set only for the dos filesystem and not the linux one.

          No idea why .\floppy\ or c:\floppy\ doesn't work when it is well interpreted for the imgmount command

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

            @voljega
            Perhaps you could try something like this

            set rpath = "/recalbox/share/roms/dos/Strategy-Gestion/fieldglo.pc"
            mount a %rpath%/floppy/ -t floppy
            

            I am not sure if I made no error and if it is functioning under dosbox. ๐Ÿ™‚

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

              @dragu still doesn't change the fact that the full absolute path is embedded in the conf ๐Ÿ˜‰
              and so entirely dependent of recalbox and the game path

              Ok by perusing dosbox documentation, mount indeed only uses paths from the local filesystem whereas imgmount is capable of using both local filesystem and virtual dosbox path so i guess relative path with the mount command won't be possible anyway

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

                why you don't use "my" methode ?

                for exemple, in the 2CDs game Lighthouse from Sierra, I don't use a dosbox.cfg and only the dosbox.bat and here its content :

                IMGMOUNT d .\Light-1.iso .\Light-2.iso -t iso
                cd SIERRA
                cd LIGHTDOS
                LIGHT.BAT

                One file with all what I need... it's more easy when you want to add many DOS games in row. ๐Ÿ˜‰

                in your case :
                mount a .\floppy -t floppy

                But I never mount a folder as a hard/floppy drive with this "silly" method... I use this for more simple fast stuff...

                C'รฉtait mieux avant :-)

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

                  @cthulhus well if you read everything I put in the last message what you're saying only work with the imgmount command and not the mount one

                  I also specifically said in the first message about this issue that the exact same command you're advising here doesn't work. That was the issue actually ๐Ÿ˜‰

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

                    sorry, just read the end ๐Ÿ™‚ the end is always better ๐Ÿ˜‰

                    C'รฉtait mieux avant :-)

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

                      @dragu I'm having some trouble to map mouse button on the xbox controller (on shoulder buttons, either the ones below, or the ones up), it doesn't work.

                      my mapping is like that :

                      mbutton_left "stick_0 button 4" 
                      mbutton_middle 
                      mbutton_right "stick_0 button 5" 
                      maxis_y- "stick_0 axis 3 0" 
                      maxis_x- "stick_0 axis 2 0" 
                      maxis_y+ "stick_0 axis 3 1" 
                      maxis_x+ "stick_0 axis 2 1" 
                      

                      directions works ok but the mouse clicks refuses to register

                      I noticed that for keybord keys the line is a little bit different :

                      key_enter "stick_0 button 9" "key 40" 
                      

                      could it be that the mouse click mapping is missing the original mouse event to "link" controller button and mouse click ? i dit it through the internal mapper though.

                      does it work for you, did you manage to use mouse buttons on a controller ?

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

                        @voljega
                        Hi,
                        for the moment I used it in Crusader with just left mouse button, and this is ok.
                        When I look now on the Keymapper Screen, mouse, the buttons M and R are grey out. Why, I dont know, because I was not needing. In the mapperfile,
                        mbutton_middle
                        mbutton_right
                        exist, but are not defined. Necessary to dig. ๐Ÿ™‚
                        I was just checking, the grey out in the interface means that it is not used. And he accept to use it. Give it a try over the Keymapper Ctrl+F1. Is also the easiest way the first time you create the xxx.map

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

                          @dragu I already did it through the keymapper ๐Ÿ˜ž

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

                            My left mouse button 1 works, but I use no other.
                            Dont forget to define mouse (buttons) in the game.

                            mbutton_left "stick_1 button 3" 
                            mbutton_middle 
                            mbutton_right 
                            maxis_y- "stick_1 axis 3 0"
                            maxis_x- "stick_1 axis 0 0"
                            maxis_y+ "stick_1 axis 3 1"
                            maxis_x+ "stick_1 axis 0 1"
                            

                            You know that you can map a few dosbox buttons together on one controller button ?
                            I used it for some cheat where you must press CHT keys. I mapped this 3 on one button and it works.
                            Also in some games, you have never buttons enough.
                            As example in Judge Dredd Pinball, I use Plunger controller button for plunger, go, ok, new game and one other controller button for esc, quit, and 8 (choose screen resolution to 800x600) ๐Ÿ˜‰

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

                              @dragu well as you can see my conf has the same syntax and it's not working, I was only able to have a little activity sometimes on the right mouse button when putting it on the analogic trigger of the xbox360 controller, but nothing on the left one and even the right was only working partially

                              and it's not the same time something like that or other illogical think happens with the mapper, so I'm pretty much thinking that dosbox mapper is full of bugs

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

                                @voljega
                                I must say, I am pretty happy with it. I am asking me if your problems dont come from the xbox360 controller ? With my USB dragonrise, nothing wrong.

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

                                  @Dragu @voljega
                                  is it possible to create a repository with batch files of games on github ?
                                  ne serait il pas possible de crรฉer un repository avec les fichiers batchs des jeux sur github ?

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

                                    @acris it's not really easy because you can have several versions of the same game, wether it's using a cd or not, wether it's cracked or not.

                                    you really have to understand dos command a little and after that it's not that complicated, I explained everything in the wiki pages, which I should simplify and rewrite a little
                                    https://github.com/recalbox/recalbox-os/wiki/How-to-use-DOSBox-to-emulate-DOS-games

                                    I'm also quite finished with my ExoDOSConverter which automatically convert games from this collection to recalbox format, but it is in python AND you have to use it on windows, so before releasing it I should find a way to package it easily to allow users to use it without installing python

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

                                      @acris
                                      Je ne sais pas. En principe il ya juste une ligne game.exe ๐Ÿ™‚
                                      Maintenant, s'il faut monter des images de CD, cela dรฉpend de ce que l'utilisateur a ร  sa disposition. En plus certains jeux existaient sur cd et sur floppy. Je pense aussi que les gens regardent d'abord dans le forum ou ils peuvent, le cas รฉchรฉant aussi poser des questions.

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

                                        @voljega okey, i understand, but you need to translate your tutorial in french too ๐Ÿ˜œ

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

                                          @acris lol no problem as soon as I have time

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

                                            @dragu Well I can confirm that dosbox internal mapper is an useless fully bugged piece of s**t.
                                            I start a game with the following mapping (keeping only assigned button):

                                            key_esc "stick_0 button 8" "key 41"
                                            key_enter "stick_0 button 9" "key 40"
                                            key_lshift "stick_0 button 2" "key 225"
                                            key_lctrl "stick_0 button 0" "stick_0 button 4" "key 224" 
                                            key_lalt "stick_0 button 1" "key 226" 
                                            key_up "stick_0 axis 1 0" "key 82" 
                                            key_left "stick_0 axis 0 0" "key 80" 
                                            key_down "stick_0 axis 1 1" "key 81" 
                                            key_right "stick_0 axis 0 1" "key 79" 
                                            key_space "stick_0 button 3" "key 44"
                                            key_rctrl "stick_0 button 5" "key 228"
                                            mbutton_left "stick_0 button 6" 
                                            mbutton_middle 
                                            mbutton_right "stick_0 button 7" 
                                            
                                            

                                            mouse clicks dont work, I go back into internal mapper with ctrl+F1, notices L and R for mouse are greyed out so I remapped them on the same buttons that before, saves and now I have :

                                            key_esc "key 41" 
                                            key_enter "key 40" 
                                            key_lshift "key 225" "stick_0 button 2" 
                                            key_lctrl "key 224" "stick_0 button 0" 
                                            key_lalt "key 226" "stick_0 button 1" 
                                            key_space "key 44" "stick_0 button 3" 
                                            key_rctrl "key 228"
                                            key_up "key 82" "stick_0 axis 1 0" 
                                            key_left "key 80" "stick_0 axis 0 0" 
                                            key_down "key 81" "stick_0 axis 1 1" 
                                            key_right "key 79" "stick_0 axis 0 1" 
                                            mbutton_left "stick_0 button 2" 
                                            mbutton_middle 
                                            mbutton_right "stick_0 button 3"
                                            

                                            So I lost at least three button mappings I didn't touch, buttons used for mouse clicks have changed id for no reason at all and are clearly not the 2 and 3 button on my controller, and still besides my now totally messed up configuration, buttons 6 et 7 now works for clicks when they weren't working before and the map is refering to 2 and 3

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

                                            Want to support us ?

                                            81
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright ยฉ 2021 recalbox.com