RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    fix for: Error - File type unknown!

    Scheduled Pinned Locked Moved Help and Support
    build notes
    2 Posts 2 Posters 616 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.
    • G
      ginobean
      last edited by

      Re: emulationstation not load after updating from source
      Font::FontFace::FontFace(ResourceData&&, int): Assertion `!err' failed.

      I just ran into this issue, after doing a fresh build of emulationstation. Perusing the source code, I noted that emulationstation looks for a resources directory under ~/.emulationstation/

      cd to your EmulationStation build directory (the directory from which you had run 'cmake .' )
      cp -r resources ~/.emulationstation/
      

      At this point, you should be able to run 'emulationstation'.

      Best :).

      LolonoisL 1 Reply Last reply Reply Quote 1
      • LolonoisL
        Lolonois @ginobean
        last edited by

        @ginobean Thanks, this can happen if you just compile ES (cmake / make) without any previous ES binary installation (or removed the previous binary installation).

        FWIW, it should be no issue if you run sudo RetroPie-Setup/retropie_packages.sh emulationstation-dev unless you have a very dated (if not end-of-life OS) like these version (or even older):

        • Debian Jessie
        • LinuxMint 18
        • Ubuntu 16.10
        • Zorin 14
        • ElementaryOS 0.4
          and/or a very dated retropie_setup.sh script [0].

        These versions are tested in scriptmodules/system.sh [1], if they report an OS Version of 8 the resources folder is not copied by scriptmodules/supplementary/emulationstation[-dev].sh[2].

        NB: The above retropie_packages.sh calls eventually the scriptmodule emulationstation-dev.sh (which is an wrapper around scriptmodule emulationstation.sh).

        If you want to keep the sources of ES (below RetroPie-Setup/tmp/build/) then run

        1. retropie_packages.sh emulationstation-dev sources
        2. retropie_packages.sh emulationstation-dev build
        3. retropie_packages.sh emulationstation-dev install

        [0] https://retropie.org.uk/forum/post/186708
        [1] https://github.com/RetroPie/RetroPie-Setup/blob/fb5a22cfb75ea977484a0631949c80a263ce39c7/scriptmodules/system.sh#L211
        [2] https://github.com/RetroPie/RetroPie-Setup/blob/fb5a22cfb75ea977484a0631949c80a263ce39c7/scriptmodules/supplementary/emulationstation.sh#L192

        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.