fix for: Error - File type unknown!
-
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 :).
-
@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 datedretropie_setup.sh
script [0].
These versions are tested in
scriptmodules/system.sh
[1], if they report an OS Version of 8 theresources
folder is not copied byscriptmodules/supplementary/emulationstation[-dev].sh
[2].NB: The above
retropie_packages.sh
calls eventually the scriptmoduleemulationstation-dev.sh
(which is an wrapper around scriptmoduleemulationstation.sh
).If you want to keep the sources of ES (below
RetroPie-Setup/tmp/build/
) then runretropie_packages.sh emulationstation-dev sources
retropie_packages.sh emulationstation-dev build
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
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.