Recalbox Forum

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

    Dosbox scrolling screen errors

    Emulateurs Arcade/PC/Console
    dosbox scrolling errors
    3
    17
    3419
    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

      I was just having such problem, and the reason is that in the standard dosbox.conf, [cpu] section, cycles are put as cycles=max. This seems to have negative influence on some older screen scrolling games. Including screen tearing on vertical scrolling. In general the problem resolve with cycles=auto in a local dosbox.cfg file.

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

        @dragu what is the problem more precisely beside tearing ?

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

          @voljega
          That you have no smooth scrolling in jump&run games that use this technique, that you shadow frames or half frames.

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

            @dragu ok do you have some example of games ?

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

              Indeed, even if cycles=max is good for most of the games. Some others need adaptations.

              I played some "platform" games which need cycles=auto.
              Ultima 6 and 7 need to force a fixed cycles.

              Don't hesitate to test some values and change your game dosbox.conf.

              Recalbox 9.1 on RPI 4, SSD 250Gb, 2 Logitech F710, Nespi4case
              Contributions for DosBox, ScummVM, ResidualVM, Daphne (Hypseus)

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

                @lmerckx
                @voljega
                J'ai eu le cas avec "Captain Dynamo" et donc je pense que ce n'est pas le seul jeu dans les premiers side-scrollers apparus sur le marché. L'effet est spectalulaire. De même j'ai constaté que dans cet jeu mettant scaler=none au lieu de scaler=normalx2 donne une bien meilleure image.

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

                  @dragu cool merci !

                  a propos je me souviens qu'au débit où on parlait de dosbox tu avais conseillé vsync = false, c'est parce que le pi est pas assez puissant ? parce que du coup y'a pas mal de tearing dans beaucoup de jeu

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

                    @voljega
                    J'ai constaté que vsync=true n'a aucun effet positif sur le tearing. alors autant ne pas le mettre. Bon, peut-être d'autres personnes ont trouvé des effets positifs.
                    En tout cas, dans les forums dosbox, ce problème est souvent adressé, et je n'ai jamais lu que cela pouvait venir de cycles=max. Il paye donc d'essayer un peu tout.

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

                      OK, I will try too with the scaler value.
                      OK, j'essaierai aussi avec le scaler. 😉

                      Thank you.

                      Recalbox 9.1 on RPI 4, SSD 250Gb, 2 Logitech F710, Nespi4case
                      Contributions for DosBox, ScummVM, ResidualVM, Daphne (Hypseus)

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

                        @dragu OK merci

                        En tout cas c'est pas si facile de bien configurer DosBox sur Pi3 pour chaque jeu individuellement, beaucoup de ralentissements y compris de façon surprenant sur des jeux plutôt vieux... les vidéos d'intro ou les cinématiques il aime pas trop aussi alors que souvent le jeu tourne mieux

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

                          @voljega
                          Tu sais quelle version est intégré pour le moment ?

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

                            @dragu dans le post du blog sur la dernière mise à jour :

                            DosBox :
                            Mis à jour en version 0.74 r4063. Merci à lmerckx pour son travail.

                            D'ailleurs peut-être que @lmerckx peut nous dire plus en détail quels sont les changements apportés ?

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

                              @voljega Pour le log complet des modifications, voir ici: https://sourceforge.net/p/dosbox/code-0/commit_browser
                              Il s'agit des commits entre 3989 à 4063 ...

                              En résumé, beaucoup de petites corrections mineures (notamment du deb****r) mais une amélioration de la stabilité en mode cycles=auto (si je comprends bien).

                              Recalbox 9.1 on RPI 4, SSD 250Gb, 2 Logitech F710, Nespi4case
                              Contributions for DosBox, ScummVM, ResidualVM, Daphne (Hypseus)

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

                                @lmerckx
                                @voljega
                                Something disturbing is the joystick emulation in Dosbox. You have games that have weird behaviour with automatic joystick emulation offered by Dosbox. So, you would prefer to use keyboard and define your own joystick in mapping keyboard keys to the joystick directions. ok ?
                                But no way to avoid. If you put joystick=auto he emulate an game intern joystick. If you put joystick=none, you cannot remap them to keys in keymapper. You can just hope that the game offer you the choice. Their should be a 3rth way joystick=noemu ore something like this, but still useable in the keymapper.

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

                                  @Dragu My strategy is to use the joystick in game when possible. But with configuration 'timed=false' (it avoids undesired moves).
                                  The remaining buttons (not used in game) are then mapped to keyboard for full usage of joystick.
                                  Works with Doom and Wolfenstein 3D, for instance.

                                  When mapping keys to joystick axis, you loose some feature: moving in X and Y axis in the same time is not possible.
                                  This problem can be resolve by changing an hard-coded constant in the game which represents the dead zone of the joystick (25000). But I haven't found the perfect value for the moment.
                                  When mapping movement keys, I prefer to map them to joystick's hat. No problem in that case.

                                  Recalbox 9.1 on RPI 4, SSD 250Gb, 2 Logitech F710, Nespi4case
                                  Contributions for DosBox, ScummVM, ResidualVM, Daphne (Hypseus)

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

                                    Thanks !
                                    Its always a challenge 🙂 I have now Captain Dynamo controls configurated, so in this game simultane jumping + joystick up should give long jump. Trying with joystick=auto was not working in putting jump and direction key UP together on the same button. I already did this, here he would jump ore move left/right, but not both together.
                                    But with joystick=fcs Y- and Y+ axe not working on joystick. But mapping together Y- with jump on Jump button everything correct and simultane working. Crazy.

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

                                      @Dragu On my side, I've just tested 'scaler=none' and it's really better !
                                      Thanks too ...

                                      What DosBox still needs to be 100% usable on Recalbox is a virtual (on-screen) keyboard.
                                      I've searched a bit but I found no easy solution ...

                                      Recalbox 9.1 on RPI 4, SSD 250Gb, 2 Logitech F710, Nespi4case
                                      Contributions for DosBox, ScummVM, ResidualVM, Daphne (Hypseus)

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

                                      Want to support us ?

                                      74
                                      Online

                                      99.6k
                                      Users

                                      28.1k
                                      Topics

                                      187.1k
                                      Posts

                                      Copyright © 2021 recalbox.com