Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Need help making GB screen smaller



  • Hey, y'all.

    I've been messing around with bezels and shaders and have some stuff that I'm pretty pleased with for the most part. But I'm trying to tweak my GameBoy settings so that I have a screen roughly half the size of the default centered in my monitor (ideally it's 4x the GB's original resolution and I have a bezel I've made to fill out the rest of the monitor).

    I need help though. I've tried adjusting the Custom Aspect Ration X/Y pos and Hight/Width, but when I try to save the configuration, I get a message that it's "Failed saving config to ...". (FWIW, I want my screen to be, custom_viewport_width = "640", custom_viewport_height = "576", custom_viewport_x = "319", custom_viewport_y = "72")

    I've also tried editing the config file directly and re-saving it over the original, but it doesn't seem to make any difference. I've changed the Aspect Ration setting in Video settings to "Custom" and changed it to "22" in the config, but just can't get it to stick.

    I'd love of somebody out there had some suggestions for me.

    Thanks so much!


  • Global Moderator

    @corbidorbi which config file are you editing? how are you editing it? can you paste what it says after you've edited it (and before you've loaded up a game)?



  • Hey, Dankcushions. It's "configs/gb/retroarch.cfg". I copied it to my desktop (Mac, using Yummy FTP, and/or the Finder), then edited it using TextEdit, and saved it over the original. When I open it again, I see the edits but it doesn't seem to affect the games at all. Here's a copy and paste from the .CFG...

    aspect_ratio_index = "22"
    custom_viewport_width = "640"
    custom_viewport_height = "576"
    custom_viewport_x = "319"
    custom_viewport_y = "72"

    Of course that's buried in a bazillion other lines in the .CFG. Maybe I'm supposed to make a new or additional config file or something? Anyway, when I enter these numbers in Retroarch/Settings/Video through the GUI, the game looks just like I want, but then when I quit the game and start a new one it goes back to the regular size.


  • Global Moderator

    @corbidorbi said in Need help making GB screen smaller:

    Of course that's buried in a bazillion other lines in the .CFG.

    That's because you enabled 'Config Save on Exit' and all the configurations have been dumped in this file. You shouldn't do that, core options are saved by default (in a separate file) and for other options you use 'Save Core Override'.

    Replace the retroarch.cfg file contents you have now in the gb folder with

    input_remapping_directory = "/opt/retropie/configs/gb/"
    
    #include "/opt/retropie/configs/all/retroarch.cfg"
    

    After that, start a game and use the RGUI to change the Video Settings, but use the Save Core Override option this time. Re-start the game and see if the changes persist.

    Hint: you don't need to download the file from the RetroPie system, just use Samba Share from your Finder to open the \\retropie\configs\gb folder and edit the file directly.



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.