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
    15508
    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.
    • Lumbeechief081
      Lumbeechief081 @Zing last edited by Lumbeechief081

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • Lumbeechief081
        Lumbeechief081 last edited by Lumbeechief081

        Quote: "The only way to define the screen size per game, as far as I know, is: start the game, press hotkey B to access the retroarch menu, press A to go to the Main menu, go to Settings, go to video, modify the "aspect ratio" to "custom", modify the 4 items below to what you want:
        Custom aspect ratio x pos.
        Custom aspect ratio and pos.
        Custom aspect ratio width
        Custom aspect ratio Height
        After that, press A twice to back to the Main menu, go to Quick Menu, go to Configuration Override options, choose Save Game Overrides."
        **

        Only problem with using Custom Aspect Ratio is shimmering caused by scaling. For example, the game Frogger runs at 256p. I have the screen resolution running at DMT 87 which is 240p. The game will be stretched on the vertical axis and certain game HUD elements will be cut off. I could turn off Integer scaling and than adjust the image with the Custom Aspect Ratio settings, but because Integer Scaling is off I will get shimmering because it isn't displaying those pixels perfectly aka Pixel Perfect/Integer Scaling mode. The best solution would be running the emulator at a higher resolution than the game resolution which is 800x600 because 256 * 2 is 512. Even at 480p the image will still be cropped.

        Quote: I found this:
        https://forums.libretro.com/t/per-game-resolution-config-or-auto-change/4836
        **

        I looked at this and the settings suggested will not work for me, it's not a good solution as I would need to run all my MAME games as a whole in a higher resolution than 240p. I like 240p on my CRT because of scanlines. Can per-game video resolution not be implemented? If RetroPie can do it so can RecalBox. Certain games need to be run at different resolutions, don't only think of my reason for this, but others as well. Maybe it's not just because certain games are not scaled properly. For example, maybe some user has over 8 N64 games they play at 1080p. 3 out of those 8 games perform slowly at 1080p so maybe the user decides they just want those 3 games to run at 720p. See what I'm getting at here? Changing the resolution for specific games is very important. It's a very important setting that should be implemented, not just for my sake but for others as well.

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

          @Zing
          @Bkg2k
          I'm willing to donate money. That is how important this feature is for me.

          Zing 1 Reply Last reply Reply Quote 0
          • tonificante
            tonificante last edited by tonificante

            Even if development team takes this feature, you will sit a long time for it to be done. Last recalbox release took ten months or so..
            You could try asking at batocera, they usually release every two months. Or stick to retropie. Or maybe recalbox developers will shorten release periods, who knows..

            OyyoDams Lumbeechief081 2 Replies Last reply Reply Quote -7
            • OyyoDams
              OyyoDams Staff @tonificante last edited by

              @tonificante what is this troll post ? If you know nothing about Recalbox development, please just don't post.

              1 Reply Last reply Reply Quote 3
              • tonificante
                tonificante last edited by

                Sorry, didn't want to troll or hurt sensibilities, just give some information to the user. Please remove my previous post, I tried but I don't find any option.

                1 Reply Last reply Reply Quote 0
                • 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
                                            • First post
                                              Last post

                                            Want to support us ?

                                            89
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com