I've messed up my WIP theme - is now crashing, help?!
-
Hi theme experts. Somehow I've gone and cocked up the theme I've been working on. It's been about a week since I last looked at it so I can't remember what it is I've done, but whenever I load the latest Windows ES (from @mattrixk 's ES Toolkit) and my theme, it crashes.
The ES Log seems to be useless because it appears to cut off too soon [link]
This what Windows throws at me:
Problem signature: Problem Event Name: APPCRASH Application Name: emulationstation.exe Application Version: 2.1.5.0 Application Timestamp: 58d6d6db Fault Module Name: emulationstation.exe Fault Module Version: 2.1.5.0 Fault Module Timestamp: 58d6d6db Exception Code: c0000005 Exception Offset: 000bf8f7 OS Version: 6.1.7601.2.1.0.256.48 Locale ID: 2057 Additional Information 1: 0a9e Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 Additional Information 3: 0a9e Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
I've completed nearly 30 systems now, but for the sake of file size I've only included the one, so it's not too far from being completed.
Would some kind soul be able to diagnose my issue and let me know what I've done wrong?
-
@robertybob Looks like the issue is one of the fonts you are trying to use.
I ran EmulationStation in debug mode and saw the following error in the log.
lvl0: Could not find appropriate font face for character 127 for font C:/Users/john/Downloads/EmulationStation/.emulationstation/themes/tv/art/invisible.ttf
The file exists, but Windows doesn't believe it is a valid font file. I removed all references to this font from the theme and then it loaded properly for me.
-
in your theme.xml, you have
<fontPath>./../art/invisible.ttf</fontPath>
think it should be,
<fontPath>./art/invisible.ttf</fontPath>
quite sure thats correct, i'm a little rusty on es themes, now sadly
-
@jdrassa
That's weird, it's the same font I used for my previous theme and I have no problems loading that one. Is there any way of finding out what character 127 is? I don't currently have a working Pi, but if Windows doesn't like the font then it doesn't necessarily mean it'll crash on a Pi (?) -
Thanks mate, I'll take a look at that :) Hope all is well with you.
-
@robertybob said in I've messed up my WIP theme - is now crashing, help?!:
if Windows doesn't like the font then it doesn't necessarily mean it'll crash on a Pi (?)
I thought it was more the other way around, with the Windows version letting you get away with things that the Pi version wouldn't.
shrug.
-
Hi @InsecureSpike , that didn't make any difference unfortunately. @jdrassa I swapped out that font for another (one that Windows recognises!) and I don't appear to have that error any more, however my ES still crashes. The log file is even more useless now; it stops at
lv13: SystemView::getViewElements<> -
bump
-
@robertybob Would help, but the link is broken
-
@DarkWolf Ah sorry about that, I'll re-upload it tomorrow when I'm not at work :)
-
I found that when ES theming, if there is a reference to a missing or removed font file ANYWHERE in your code (in the main xml or the per system xml files), ES will immediately crash on startup. If you switched your font, and the old one is referenced anywhere this will cause your issue. Also remember the linux used on the pi is a case sensitive OS, if you have a font called Font.ttf, and you write font.ttf it will likely fail also.
Try putting all the fonts (old and new) your working with in your art folder and do search in every xml file for the term FONT, so you can see everywhere fonts are being referenced. Make sure all of them are pointing to the right location. Remember per system xml files, if they pull the font, they will need to have a backward link to jump up one folder.
-
@Capeman @DarkWolf
Sorry, I've got a perminant link here now :) I still can't figure out where I've gone wrong :(
https://www.dropbox.com/s/cktvzau998wbqii/tv (2).zip?dl=0
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.