SNES mini theme
-
Great job, but I miss Atari 800, in Retropie it has this system by default. Hopefully you include it in the future.
-
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
-
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
-
-
-
-
@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?)
-
@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.
-
@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?
-
@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...
-
Hi folks. Has this theme been updated recently, so that all these little additions have been incorporated if you "update theme"?
-
@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...
-
@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:
Next up: find out why
missing.png
("Our box art is in another castle") is still displayed behind existing art in famicom-mini: -
@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.
-
@cdaters I'm not seeing it in either of those. It's not behind the transparent icons in retropiemenu:
...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:
-
@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... -
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.
-
@cdaters snes-mini doesn't even use the image.
In snes-mini there are several references to
<image name="missing_art" extra="true">
and themissing.png
file exists inlayouts/
but unlike the other two, this is never defined inlayouts/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? -
@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 themissing.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.) -
@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:
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.) -
@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 inboxart_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 bya.xml
fromconfig.xml
...whew! -
@sleve_mcdichael i just changed the width a little, and it fixed the empty bottom tab... wierd.
-
@sleve_mcdichael said in SNES mini theme:
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.
Indeed. In
nes-mini/retropie/theme.xml
there is a tag for this image that doesn't exist in the other system themes:<image name="missing_art" extra="true"> <pos>2 2</pos> </image>
If I understand correctly, what this does is the
<pos>2 2</pos>
tag just positions it off-screen so we can't see it. Coordinates are in units of "one screen" so (0 0) is top left and (1 1) is bottom right. ( 0.abc 0.xyz) is anywhere in the middle. And so (2 2) is a full screen past and below the visible area, where unless it's very large (at least a full screen, depending on how the image is <origin>ed), it will never reach that visible area.)I copied this code block into
famicom-mini/retropie/theme.xml
before the final</view>
tag (so inside the<view name="basic, detailed, video">
section), and it looks like it worked:
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.