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

    get game name from binary file

    Scheduled Pinned Locked Moved Help and Support
    scriptname change
    3 Posts 3 Posters 1.4k 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
      grayaii
      last edited by

      I have a zip file: avspj.zip
      Inside there are 4 files:
      avpj.03d
      avpj.04d
      avpjx.03d
      avpjx.04d

      Emulation Station knows that this game is called "Aliens vs Predator (Japan)" when I place it in the "arcade" folder.

      Is there a way to either:

      1. write a script to extract the name from those binary files?
      2. find a way on retropie to match name to binary file?

      I did "grep -r zip ." in /opt/retropie/configs/all/emulationstation and did not find any gamelist.xml that matched to a zip file.

      Basically, I want to identify all games that have the name "Japan" in it and delete them.

      This is similar to this post:
      https://retropie.org.uk/forum/topic/1647/get-name-of-the-game-beeing-played

      meleuM 1 Reply Last reply Reply Quote 0
      • meleuM
        meleu @grayaii
        last edited by meleu

        @grayaii I think emulationstation displays the name of arcade ROMs because it's hardcoded in this file: https://raw.githubusercontent.com/RetroPie/EmulationStation/master/es-app/src/MameNameMap.cpp

        AFAIK the binary file doesn't have the "human-friendly" game name in its content.

        If you want to manage the MAME ROMs, there are several tools to deal with it (such as ROMLister).

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators
          last edited by

          Please use help and support area for topics like this. Moved.

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          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.