Recalbox Forum

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

    Unsolved How to change resolution per-game?

    Recalbox General
    resolution
    10
    27
    15496
    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.
    • Zing
      Zing Global moderator Translator @Lumbeechief081 last edited by

      @Lumbeechief081 Sorry, I'm not a developer, maybe @Bkg2k or @OyyoDams can help you.

      Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
      If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

      1 Reply Last reply Reply Quote 0
      • Lumbeechief081
        Lumbeechief081 @tonificante last edited by

        @tonificante RecalBox is more optimized than RetroPie, that's why I switched in the first place. Running at 240p with Black Frame Insertion I would get flickering on certain games. For example, Super Mario World 2: Yoshi's Island on the SNES I would get flickering on the title screen which is Super FX heavy. With RecalBox I don't get that at all and other games I tested between the two OS's.

        tonificante Bkg2k 3 Replies Last reply Reply Quote 0
        • tonificante
          tonificante @Lumbeechief081 last edited by

          @lumbeechief081 Maybe you can find some video option which corrects that. I would try for example to disable the vertical video sync first. Hope it helps

          1 Reply Last reply Reply Quote 0
          • Bkg2k
            Bkg2k Staff @Lumbeechief081 last edited by

            @lumbeechief081 we'll try to add such options ASAP. It won't be available from EmulationStation, at least in the first versions, but most likely through configuration files per rom and per rom folder.

            1 Reply Last reply Reply Quote 1
            • greenalex
              greenalex last edited by

              Alphanu is working on a very interesting feature for Retroarch : « switchres ».
              More information on his Github, or his dedicated forum

              Basically, it changes the resolution and the refresh rate automatically for each system, and possibly each game. The feature is already on the last Retroarch, but not really working on Raspberry yet. We’ll have to wait a bit for this ultimate feature...

              Lumbeechief081 1 Reply Last reply Reply Quote 0
              • greenalex
                greenalex last edited by

                Other informations on the Libretro forum

                1 Reply Last reply Reply Quote 0
                • Bkg2k
                  Bkg2k Staff @Lumbeechief081 last edited by

                  @lumbeechief081 We just finished implementing the resolution override on a per rom and/or per folder basis. This also works for emulators/libretro cores, shaders, ratio and a few other keys. We'll test this feature as well as other changes in the next days.

                  Lumbeechief081 1 Reply Last reply Reply Quote 3
                  • Lumbeechief081
                    Lumbeechief081 @greenalex last edited by Lumbeechief081

                    @greenalex I'm using a VGA CRT monitor therefore 15khz isn't possible.. Even though "Switchres" is present in Retroarch on both RecalBox/RetroPie it would be cool if it actually worked on a Raspberry Pi through an HDMI to VGA adapter.

                    Surface 1 Reply Last reply Reply Quote 0
                    • Lumbeechief081
                      Lumbeechief081 @Bkg2k last edited by Lumbeechief081

                      @bkg2k That is so awesome!!!! Thank you so very much and the rest of the team for adding this very important feature!!! Now I just have to wait for it to be merged and then update my RecalBox.

                      1 Reply Last reply Reply Quote 0
                      • Surface
                        Surface @Lumbeechief081 last edited by Surface

                        @lumbeechief081 said in How to change resolution per-game?:

                        @greenalex I'm using a VGA CRT monitor therefore 15khz isn't possible.. Even though "Switchres" is present in Retroarch on both RecalBox/RetroPie it would be cool if it actually worked on a Raspberry Pi through an HDMI to VGA adapter.

                        The switchres setting does have a 31khz option that you could try. I'm using a 15khz monitor and the switchres 15khz setting (and 1920 as the super resolution) already seems to be working on the current Recalbox via HDMI to VGA adapter (and then combining HV sync to S for the monitor), after setting up config.txt as detailed here: https://github.com/recalbox/recalbox-os/wiki/Connect-your-recalbox-to-a-CRT-with-HDMI-(EN)

                        It looks to be working since loading different games/systems with different resolutions and refresh rates results in smooth scrolling (as long as the game's vertical resolution does not exceed 240 by too much), and the OSD notification does show different refresh rates being set. I've only been testing this for a couple of days though. Is it really not supposed to be working yet?

                        It also seemed to work the same way using Lakka, but that whole frontend seemed less stable than Recalbox using the above configuration.

                        Lumbeechief081 1 Reply Last reply Reply Quote 0
                        • Lumbeechief081
                          Lumbeechief081 @Surface last edited by

                          @surface That guide didn't even work correctly for me on my VGA CRT monitor. When ever I launch a game I would get "signal out of range". I believe the best solution for me would be the "resolution override on a per rom and/or per folder basis" that @Bkg2k says will be implemented in 6.1.

                          Surface 1 Reply Last reply Reply Quote 0
                          • Surface
                            Surface @Lumbeechief081 last edited by Surface

                            @lumbeechief081 I thought we could already set per-system resolution overrides by adding them to the recalbox.conf file. For example for games that have a vertical resolution of 224 or 256 instead of 240 I add:

                            segacd.videomode=hdmi_cvt 1920 224 60 1 1 0 0
                            x68000.videomode=hdmi_cvt 1920 256 60 1 1 0 0

                            which overrides the global 1920x240 custom hdmi video mode.

                            And then for per-game resolution configs you can go to the retroarch configs folder and add name of rom.cfg with

                            aspect_ratio_index = "22" (custom, or maybe it's 23 can't remember)
                            custom_viewport_width = whatever you need
                            custom_viewport_height = whatever you need

                            If that guide did not work for you perhaps your VGA monitor is simply not compatible with that custom hdmi mode. It could also be due to the HDMI to VGA adapter you're using. It might also help to put a sync processor in between the adapter and the monitor, such as an Extron RGB interface.

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

                              I just realized I probably misunderstood what you're trying to do. If what you want is to set the video mode (screen resolution) rather than the game resolution on a per-game basis, then yes it does look like there's still no way to do that. The best thing to do for now seems to be to set a video mode that works well with the game resolution you want, and display the game's native resolution (via custom config) within that video mode. For example, I think a 320x224 game fits nicely on a 640 (or any multiple of 320)x240 screen.

                              You still need to figure out a way to get custom video modes over to your VGA monitor though. If HDMI is not working for you then a hat for VGA output like the Retrotink would be a good solution for you.

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

                                Just saw this post and i will try to get an answer to my question here since it seems more people knowing the issue is gathered around here.

                                here is what I am trying to achieve:

                                OVER COMPOSITE, allow emulation station AND Kodi to run in interlaced ntsc (sdtv 0) but run emulators in progressive ntsc (sdtv 16).

                                Config.txt is set to interlaced, but i cant make emulators to start using any global.videomode setting in recalbox.conf (tried "NTSC 4:3 P", no good, it doesnt start).

                                What should I do?

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

                                  @Bkg2k as developers kindly said they intend to take care of the per-game resolution changes, please take a look at this from a retropie user who created a fully customized set of configs to display the closest to pixel perfect for almost all systems. It takes care of horizontal scaling and vertical centering and It does 480i on ES and kodi and 480p on games launch (still no PAL customization).
                                  https://retropie.org.uk/forum/topic/18624/custom-configs-for-crt-using-the-built-in-composite-out
                                  Maybe its useful for you and if you implement It it would mean an easier alternative for CRT users to have the closest representation of retro games with just a cable, being able to use PAL/NTSC switching per system/game without having to switch sdcards.
                                  The results are great as one can ser un that post, even people which used HDMI to RGB are saying they switched to composite for the more authentic feel on some consoles which used composite video 🙂

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

                                  Want to support us ?

                                  82
                                  Online

                                  99.6k
                                  Users

                                  28.1k
                                  Topics

                                  187.1k
                                  Posts

                                  Copyright © 2021 recalbox.com