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

    I've messed up my WIP theme - is now crashing, help?!

    Scheduled Pinned Locked Moved Projects and Themes
    help
    12 Posts 6 Posters 2.0k 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
      robertybob
      last edited by

      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 
      

      [Theme download]

      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?

      J 1 Reply Last reply Reply Quote 0
      • J
        jdrassa @robertybob
        last edited by

        @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.

        Get latest build of EmulationStation for Windows here

        R 1 Reply Last reply Reply Quote 1
        • InsecureSpikeI
          InsecureSpike
          last edited by InsecureSpike

          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

          RPi 3 - RetroPie + 500gb HDD [consoles] + Razer Onza Tournament
          RPi 3 - RetroPie + 32gb USB [computers] + Keyboard
          both with AttractMode + FuzzBoxx Layout

          R 1 Reply Last reply Reply Quote 1
          • R
            robertybob @jdrassa
            last edited by

            @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 (?)

            mattrixkM 1 Reply Last reply Reply Quote 0
            • R
              robertybob @InsecureSpike
              last edited by

              @InsecureSpike

              Thanks mate, I'll take a look at that :) Hope all is well with you.

              1 Reply Last reply Reply Quote 0
              • mattrixkM
                mattrixk @robertybob
                last edited by

                @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.

                My ES themes: MetaPixel | Spare | Io | Indent

                1 Reply Last reply Reply Quote 0
                • R
                  robertybob
                  last edited by

                  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<>

                  theme

                  1 Reply Last reply Reply Quote 0
                  • R
                    robertybob
                    last edited by

                    bump

                    DarkWolfD 1 Reply Last reply Reply Quote 0
                    • DarkWolfD
                      DarkWolf @robertybob
                      last edited by

                      @robertybob Would help, but the link is broken

                      System: Raspberry 3 Model B, RetroPie 4.2.1
                      Storage: 16gb Micro SD, 64gb USB Drive
                      Theme: Updated NBBA

                      Documentation solves many problems: https://retropie.org.uk/docs/

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        robertybob @DarkWolf
                        last edited by

                        @DarkWolf Ah sorry about that, I'll re-upload it tomorrow when I'm not at work :)

                        1 Reply Last reply Reply Quote 0
                        • CapemanC
                          Capeman
                          last edited by Capeman

                          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.

                          Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

                          R 1 Reply Last reply Reply Quote 1
                          • R
                            robertybob @Capeman
                            last edited by

                            @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

                            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.