Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Kodi-Related Front-end for Emulationstation #98487
    dayfather
    Participant

    Not exactly what you’re looking for but it may be a simpler way of doing something similar enough to what you want. I’m running RetroPie alongside OSMC, I can launch into emulationstation directly from OSMC and quitting emulationstation drops me directly back to OSMC. Installation was pretty simple with macobit’s script https://discourse.osmc.tv/t/installing-retropie-alongside-osmc-rc-the-easy-way/1921

    dayfather
    Participant

    Fixed it!

    There was a problem with one of the file names in my NES roms. I ran my the script to remove all non-ASCII characters, one file was renamed and now everything works fine. Wired that it affected the MegaDrive and PC menues though.

    dayfather
    Participant

    OK some more details it’s seems the issue appears whenever attempting to choose Mega Drive, NES or PC from the main emulationstation menu. I know for a fact that choosing NES worked a few days ago so somethings changed since then.

    dayfather
    Participant

    The megadrive gamelist.xml file was just the default one.

    I tried deleting all gamelist.xml’s but the issue still appears

    dayfather
    Participant

    I’ve done some further testing and it apparently has nothing to do with the file names. I tried removing all the roms in the directory and created a single “dummy” rom file test.bin, emulationstation still crashes when I try to list the megadrive roms.

    I now have no idea what the problem could be, any help?

    dayfather
    Participant

    Removing non-ASCII characters didn’t work, emulationstation still crashes when I try to list megadrive roms. Any ideas what the problem is?

    dayfather
    Participant

    hmmm the code tag seems to be broken.

    Error was:
    emulationstation: /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/resources/Font.cpp:129: static UnicodeChar Font::readUnicodeChar(const string&, std:size_t&): Assertation ‘(c & 0xC0) != 0x80’ failed

    /usr/bin/emulationstation: line 16: 479 Aborted $es_bin “$@”

    Script to remove non-ASCII characters was:
    find /home/osmc/RetroPie/roms/megadrive -type f -print0 | \
    perl -n0e ‘$new = $_; if($new =~ s/[^[:ascii:]]/_/g) {
    print(“Renaming $_ to $new\n”); rename($_, $new);
    }’

    dayfather
    Participant

    Ok I’ve made some progress, first of all I noticed that I’d accidentally put all my Mega Drive roms in the Master System rom directory so I moved them. For some reason listing SNES roms seems to works again (or it always worked and I’m just confused) but attempting to list Mega Drive roms now crashes emulation station. I ran emulation station directly from command line instead of launching from OSMC and was then able to see the error it threw up on exit.

    [code]
    emulationstation: /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/resources/Font.cpp:129: static UnicodeChar Font::readUnicodeChar(const string&, std:size_t&): Assertation '(c & 0xC0) != 0x80' failed

    /usr/bin/emulationstation: line 16: 479 Aborted $es_bin "$@"
    [/code]

    I’m assuming that there’s something wrong with one of the rom file names but looking through them I can’t see anything that stands out.

    I just removed any non-ASCII characters with the following script:
    [code]
    find /home/osmc/RetroPie/roms/megadrive -type f -print0 | \
    perl -n0e '$new = $_; if($new =~ s/[^[:ascii:]]/_/g) {
    print("Renaming $_ to $new\n"); rename($_, $new);
    }'
    [/code]

    It found one file name with a non-ASCII character, I can’t check if it worked since I’m at work ssh’s to my Pi (I’m a terrible employee, I know) but I’ll let you know if it solved the problem in case anyone else is experiencing a similar issue.

Viewing 8 posts - 1 through 8 (of 8 total)