RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    SNES mini theme

    Scheduled Pinned Locked Moved Projects and Themes
    snessuper nintendosuper famicomthemesnes classic
    998 Posts 226 Posters 1.3m 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.
    • C
      cdaters
      last edited by cdaters

      @ruckage and all

      I just installed a new Pi0 into a Retroflag GPi case (4:3 - 320x240 screen resolution) running Retropie v4.7.1 and am trying to get SNES Mini going on it.

      I didn't see a 320x240 setting in the config.xml file, so I used 640x480. For the most part it looks great! Except in nes_mini background mode, with nes_rich_usa set, the image that I think is supposed to be the carousel background (black with a top and bottom border) does not appear as in the ## BACKGROUND GUIDE 1 ##.JPG image. Instead it is centered in the middle of the screen as a 1 or 2-pixel image filling the entirety of the 'Y' coordinate, but not stretching to fill the entirety of the 'X' coordinate.

      Is there a simple fix for this? I really would like to use this theme, I love it...but this issue definitely triggers my OCD, lol!

      Here are some examples of what I am talking about (and please disregard the missing icons for those systems, I am still building this out...)

      Atari 2600 system image
      Atari Lynx system image
      Commodore 64 system image

      #snes-mini, #GPi, #nes-mini, #theme

      1 Reply Last reply Reply Quote 0
      • N
        nesfredo
        last edited by

        Great job, but I miss Atari 800, in Retropie it has this system by default. Hopefully you include it in the future.

        1 Reply Last reply Reply Quote 0
        • Y
          yewox50273
          last edited by

          Recent emulationstation broke this theme as described in:

          https://retropie.org.uk/forum/topic/8391/cardboard-mini-nes-nes-mini-and-famicom-mini-themes/1339

          Thanks to @i5rael_lp , I fixed it via modifying /etc/emulationstation/themes/snes-mini/layouts/1920x1080.xml:

                      <textlist name="gamelist">
                              <pos>${listx} 0.186</pos>
                              <size>${listWidth} 0.648</size>
          

          However, even with the fix I'm getting random emulationstation crash that I don't get with "basic" themes like CARBON:

          /opt/retropie/supplementary/emulationstation/emulationstation --debug
          Nov 12 22:25:00 lvl2: 	EmulationStation - v2.10.0rp, built Oct 31 2021 - 19:34:15
          Nov 12 22:25:00 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamenames.xml"...
          Nov 12 22:25:00 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamebioses.xml"...
          Nov 12 22:25:00 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamedevices.xml"...
          Nov 12 22:25:00 lvl2: 	Creating window...
          Nov 12 22:25:00 lvl2: 	Created window successfully.
          Nov 12 22:25:00 lvl2: 	GL vendor:   Broadcom
          Nov 12 22:25:00 lvl2: 	GL renderer: VideoCore IV HW
          Nov 12 22:25:00 lvl2: 	GL version:  OpenGL ES-CM 1.1
          Nov 12 22:25:00 lvl2: 	Checking available OpenGL extensions...
          Nov 12 22:25:00 lvl2: 	 ARB_texture_non_power_of_two: MISSING
          Nov 12 22:25:00 lvl2: 	Added known joystick Generic X-Box pad (instance ID: 0, device index: 0)
          Nov 12 22:25:00 lvl2: 	Loading system config file /home/pi/.emulationstation/es_systems.cfg...
          Nov 12 22:25:00 lvl1: 	Error - folder with path "/home/pi/roms/nes" is not a directory!
          Nov 12 22:25:00 lvl1: 	System "nes" has no games! Ignoring it.
          Segmentation fault
          
          S 1 Reply Last reply Reply Quote 2
          • P
            pixelimperfect
            last edited by

            This theme recently broke for me as well. Hope someone with the skill is able to figure it out, as these are the best themes in Retropie IMO

            1 Reply Last reply Reply Quote 1
            • V ViperAcidZX referenced this topic on
            • V ViperAcidZX referenced this topic on
            • V ViperAcidZX referenced this topic on
            • S
              sleve_mcdichael @yewox50273
              last edited by

              @yewox50273 I see you still lurk here once in a while.

              said in SNES mini theme:

              Recent emulationstation broke this theme as described in:

              https://retropie.org.uk/forum/topic/8391/cardboard-mini-nes-nes-mini-and-famicom-mini-themes/1339

              Thanks to @i5rael_lp , I fixed it via modifying /etc/emulationstation/themes/snes-mini/layouts/1920x1080.xml:

                          <textlist name="gamelist">
                                  <pos>${listx} 0.186</pos>
                                  <size>${listWidth} 0.648</size>
              

              This works for me as well. I want to apply this same fix to the NES-mini and Famicom-mini themes but their initial values were not quite the same, so using these same replacement values (second param only, I left the first params alone since they don't use the ${vars}) is also not quite aligned. How did you come up with these numbers? How can I calculate the right values to use for the other themes, (or is it just repeated trial & error?)

              G 1 Reply Last reply Reply Quote 1
              • G
                gomisensei @sleve_mcdichael
                last edited by

                @sleve_mcdichael I'm calling trial and error, I edited my 1366x768 layout to "<pos>${listx} 0.198</pos>" and left everything else default and it's perfect.

                S 1 Reply Last reply Reply Quote 1
                • S
                  sleve_mcdichael @gomisensei
                  last edited by sleve_mcdichael

                  @gomisensei .198 was a little too far in the other direction, still off by a pixel or two. I trial-and-errored it to [edit: .189 for nes-mini and .186 for famicom-mini] (I'm on 720p if that makes a difference.)

                  Now that the text lines up, I looked closer and can see another problem. There are seven "fields" for menu entries, but only six of them are filled (if I scroll down the list, the list itself scrolls up; there are more entries which do appear below these, but that bottom field stays blank.) Is there a simple edit I can make that will fix this?

                  20220214_104212.png

                  G 1 Reply Last reply Reply Quote 1
                  • G
                    gomisensei @sleve_mcdichael
                    last edited by

                    @sleve_mcdichael I been looking for a way to fix that as well, but there doesn't seem to be an intuitive way to do it. Please let me know if do figure it out, that's been annoying me for a while...

                    1 Reply Last reply Reply Quote 0
                    • ohmycommodoreO
                      ohmycommodore
                      last edited by

                      Hi folks. Has this theme been updated recently, so that all these little additions have been incorporated if you "update theme"?

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        gomisensei @ohmycommodore
                        last edited by

                        @ohmycommodore said in SNES mini theme:

                        Hi folks. Has this theme been updated recently, so that all these little additions have been incorporated if you "update theme"?

                        No. Theme hasn't been updated since 2018...

                        F 1 Reply Last reply Reply Quote 0
                        • S
                          sleve_mcdichael
                          last edited by sleve_mcdichael

                          @ohmycommodore no it hasn't been updated and the author, before going silent, has expressed their intent to remain the sole content creator for the theme so we are not allowed to share an updated version; this is why instead we are discussing options to manually update our own local forks.

                          @gomisensei it looks like it's all controlled there in the resolution layout config which defines the "gamelist" field where the titles are displayed. The "pos" and "size" parameters each have two values, a horizontal component (X-position or width) and a vertical component (Y-position or height). The "height" component of the "size" parameter determines how many titles are displayed.

                          Oddly, after I got the position dialed in correctly, sometimes adjusting the size parameter would then shift them back out of place and I had to fine-tune the pos again.

                          nes-mini was still showing a row of dark pixels either above or below the selector bar when it was in some positions near the top or bottom of the list; this was solved by ever-so-slightly increasing the "selectorHeight" parameter.

                          I'm using 1280x720 so your numbers may be slightly different but it's the same aspect ratio so it should still be real close (at 1080, you might conceivably need four decimal places to get pixel-perfect accuracy. One pixel is .0009259259[259...] or just under .001 of the vertical height so there may be a time when you adjust a value by .001 and it moves the asset by two pixels.) Here's what I've ended up with:

                          File: ~/.emulationstation/themes/{theme}/layouts/1280x720.cfg

                          snes-mini:
                          <pos>${listx} 0.196</pos>
                          <size>${listWidth} 0.629</size>

                          nes-mini or famicom-mini:
                          <pos>{x value unchanged} 0.189</pos>
                          <size>{width value unchanged} 0.629</size>

                          nes-mini only:
                          <selectorHeight>0.06</selectorHeight>

                          ...and the results:

                          20220221_104315.png

                          20220221_102725.png

                          20220221_102744.png

                          Next up: find out why missing.png ("Our box art is in another castle") is still displayed behind existing art in famicom-mini:

                          20220221_104503.png

                          C G 2 Replies Last reply Reply Quote 0
                          • C
                            cdaters @sleve_mcdichael
                            last edited by

                            @sleve_mcdichael said in SNES mini theme:

                            Next up: find out why missing.png ("Our box art is in another castle") is still displayed behind existing art in famicom-mini:

                            This happens in nes_mini/nes_rich_usa as well...it briefly displays for 1s or less, just before the boxart pops into place.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              sleve_mcdichael @cdaters
                              last edited by sleve_mcdichael

                              @cdaters I'm not seeing it in either of those. It's not behind the transparent icons in retropiemenu:

                              20220221_121425.png

                              ...and even when I remove both the image and the video for a game, either removing the gamelist tags or the files they point to, it still just shows an empty box:

                              20220221_120640.png

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                cdaters @sleve_mcdichael
                                last edited by cdaters

                                @sleve_mcdichael very interesting... I'll have to keep an eye peeled. It is very quick and seems to be intermittent. I don't see it all the time and I only saw it after adding a newly scraped system to this new mix I am working on...

                                I have to ask though, are you using the theme cloned from @ruckage's github, or the one installed from RPi's ES Themes script? I only ask because your theme looks different than mine, and I believe I installed it from RPi's ES Themes script... My logos and help .PNG's are flopped compared to yours...

                                S 3 Replies Last reply Reply Quote 0
                                • ohmycommodoreO
                                  ohmycommodore
                                  last edited by

                                  Hmmm well after 3-4 years perhaps it's time to consider an alternative route. Seems like a popular theme and worthy of some stewardship. Thanks for the update.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    sleve_mcdichael @cdaters
                                    last edited by

                                    @cdaters snes-mini doesn't even use the image.

                                    In snes-mini there are several references to <image name="missing_art" extra="true"> and the missing.png file exists in layouts/ but unlike the other two, this is never defined in layouts/setup.xml to use the file for that asset, so it remains undefined.

                                    The removal of this is mentioned in readme.txt line 93. Are you sure you're using the "latest" (old as it may be) version?

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sleve_mcdichael @cdaters
                                      last edited by

                                      @cdaters it looks like that in nes-mini, the missing.png image is never shown in "video" view, even when a title has no art or video. In "detailed" view it is shown "behind" the image so if the gamelist art is small or transparent, or doesn't exist, it can be seen in the background. In "basic" view the art is never shown so the missing.png can be seen all the time. Except...

                                      ...in the "RetroPie" system menu, the missing.png image is never shown, not even in "basic" or "detailed" view. And it's just not an issue in the actual game lists because the art won't be small or transparent, it will either obscure the "missing" image entirely or will in fact be missing.

                                      I suspect that if we can track down whatever logic is used to hide it only in the "RetroPie" menu in nes-mini, it might could be ported to the famicom-mini theme as well.

                                      The other option would just be to remove or comment the line that defines the image path in layouts/setup.xml, as in snes-mini (just the <path> line needs to be removed, the rest of the entry and all the references to it can remain without causing any harm, apparently.)

                                      C S 4 Replies Last reply Reply Quote 0
                                      • S
                                        sleve_mcdichael @cdaters
                                        last edited by sleve_mcdichael

                                        @cdaters said in SNES mini theme:

                                        I have to ask though, are you using the theme cloned from @ruckage's github, or the one installed from RPi's ES Themes script?

                                        The script installs it from ruckage's github:

                                        https://github.com/RetroPie/RetroPie-Setup/blob/9569e1797cb034a8db4db490219fb3849c4f23f8/scriptmodules/supplementary/esthemes.sh#L63

                                        https://github.com/RetroPie/RetroPie-Setup/blob/9569e1797cb034a8db4db490219fb3849c4f23f8/scriptmodules/supplementary/esthemes.sh#L126-L128

                                        I only ask because your theme looks different than mine, and I believe I installed it from RPi's ES Themes script... My logos and help .PNG's are flopped compared to yours...

                                        nes-mini and famicom-mini have logos on the top and help text on the bottom. snes-mini is the other way around, even in "nes_rich_usa" style which is otherwise very similar to nes-mini (see my two NES screenshots in #932 -- the top one is actually snes-mini in "nes_rich_usa" style.)

                                        I have also customized my snes_Europe xml to use the purple US system- and gamelist-help images instead of the multicolored European ones (top image in #930.)

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          cdaters @sleve_mcdichael
                                          last edited by cdaters

                                          @sleve_mcdichael Hmmm... Now you have me scratching my head, lol! So at home last night, I was working on two Pis. One is a pre-built image on a 4GB Pi4 where I was playing with the snes @ruckage theme vs the nes-mini that had come before that was already on it, and the other is one I am building from scratch on my Pi400. On the one on my Pi400, I cannot find that missing.png showing at all!

                                          I am going to pour though his XML and see what I can find. With just a cursory looksie, I do see in boxart_pos_2.xml the following:

                                                  <image name="missing_art" extra="true">
                                                          <pos>2 2</pos>
                                                  </image>
                                          

                                          ...and that boxart_pos_2.xml file is being called by a.xml from config.xml...whew!

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            gomisensei @sleve_mcdichael
                                            last edited by

                                            @sleve_mcdichael i just changed the width a little, and it fixed the empty bottom tab... wierd.

                                            1 Reply Last reply Reply Quote 1
                                            • 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.