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