RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    can't get a custom screen size working for this game

    Scheduled Pinned Locked Moved Help and Support
    arcade configbezelresolution
    5 Posts 2 Posters 1.4k Views
    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.
    • R
      racerx_
      last edited by

      ok i've been working on this for pretty much 2 days, been all over the forums and internet, and in more folders and config files in retropie than i can count and just can't get this solved.. i'll try to make this as clear as possible but would love some help.

      i set up system-specific overlays that seem to work find for most systems, including arcade bezels. I also have some game-specific cfg files in the arcade folder for games with specific bezel art, as well as those games with vertical screens. tbh i can't even remember where all those files came from now. @Floob in general, but dunno which post i pulled them off of..

      most arcade bezels were 4:3 and also sized to fit the thick bezel. I wanted to try some overlays that allowed the screen to go to 1080 vertically (or around there). So i changed the game-specific cfg file in the roms/arcade/ folder and that was fine.

      but if i try to downsize the screen a bit below 1080 high it doesn't work. it's somehow stuck between 1200x900 (arcade emulator cfg setting) and 1440x1080 (basically the default size of the game). Any other screen size will result in a black screen with only sound EXCEPT (and this is weird) 750x1000. I happened to pop in the game cfg file values i was using for 1943 to see what would happen. anything skinnier, taller, whatever just goes black with only sound.

      here's the game specific cfg located in roms/arcade and named romname.zip.cfg:

      # code block
      video_shader = "/opt/retropie/emulators/retroarch/shader/arcade-bezel-shader/crt-pi-vertical.glslp"
      video_shader_enable = “false”
      
      input_overlay = /opt/retropie/emulators/retroarch/overlays/arcade-bezel-overlays/sf2.cfg
      input_overlay_enable = true
      input_overlay_opacity = 0.850000
      input_overlay_scale = 1.000000
      
      custom_viewport_width = “1400”
      custom_viewport_height = “900”
      custom_viewport_x = “240”
      custom_viewport_y = “40"
      
      aspect_ratio_index = "22"
      
      video_scale_integer = false
      

      and here's the retroarch.cfg for the emulator located in configs/arcade/

      # code block
      # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
      
      input_remapping_directory = "/opt/retropie/configs/arcade/"
      
      #video_shader = "/opt/retropie/emulators/retroarch/shader/arcade-bezel-shader/crt-pi.glslp"
      #video_shader_enable = “true”
      
      #input_overlay = /opt/retropie/emulators/retroarch/overlays/arcade-bezel-overlays/#Final_Arcade_NeoGeo_Horizontal.cfg
      #input_overlay_enable = true
      #input_overlay_opacity = 0.850000
      #input_overlay_scale = 1.000000
      
      #custom_viewport_width = "1200"
      #custom_viewport_height = "900"
      #custom_viewport_x = "362"
      #custom_viewport_y = "90"
      
      #aspect_ratio_index = "22"
      
      #video_scale_integer = false
      
      game_specific_options = “true”
      #include "/opt/retropie/configs/all/retroarch.cfg"
      

      (yes i know the whole thing is hashed out. i was trying a process of elimination to determine what is going on, but without the hashes this cfg is working fine for games with no game-specific cfg)

      seems like it's stuck on some 4:3 setting but for some reason, specifically at a few resolutions and i'm not sure where to undo that. can someone tell me what I'm doing wrong here? I'm about to lose it..

      dankcushionsD 1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator @racerx_
        last edited by

        @racerx_ i think the issue is either caused by, or compounded by the multiple incorrect " signs you have in those files.

        "this is good"
        “this is bad”
        

        only the vertical ones are normally accepted. have you been editing cfg files in word or something like that?

        R 1 Reply Last reply Reply Quote 0
        • R
          racerx_ @dankcushions
          last edited by

          @dankcushions ahhhhhhhhh... yeah i was using textedit on my mac. what do you recommend i use?

          dankcushionsD 1 Reply Last reply Reply Quote 0
          • dankcushionsD
            dankcushions Global Moderator @racerx_
            last edited by

            @racerx_ i use https://www.sublimetext.com/

            R 1 Reply Last reply Reply Quote 0
            • R
              racerx_ @dankcushions
              last edited by

              @dankcushions thanks for your help! totally fixed my problem!

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

              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.