Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Screeenscraper fails for special characters in game name in 7.2

    Recalbox General
    screeenscraper fails special characters name 7.2
    2
    4
    700
    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.
    • VJ
      VJ last edited by

      I have noticed that some scrappings fail, looking for the cause I noticed that the game name usually has special characters that cannot be used in filenames, eg:
      Alundra 2: A New Legend Begins

      root@pi4:/recalbox/share/roms/psx$ cat gamelist.xml |grep "Alundra 2"
      
                       <path>Alundra 2.PBP</path>
                       <video>media/videos/Alundra 2 : The New Legend Begins_9e0a5dda8df9bee0be15dce4a0df3677.mp4</video>
                       <image>media/images/Alundra 2 : A New Legend Begins_126d6c6f357139b618712655ecbb71a8.png</image>
                       <name>Alundra 2: A New Legend Begins</name>
      

      My conclusion is that even though the rom was found and the metadata saved in gamelist.xml the files cannot be saved because they use characters incompatible with the filesystem.

      I understand that it is possible to optimize the scrapping code using the ROM name in the image and video name to avoid this problem.

      root@pi4:/recalbox/share/roms/psx$ df -Th /recalbox/share
      Filesystem           Type            Size      Used Available Use% Mounted on
      /dev/mmcblk0p2       fuseblk       234.3G    216.3G     18.0G  92% /recalbox/share
      

      Here is my question, is this adjustable?

      1 Reply Last reply Reply Quote 0
      • Xglacius
        Xglacius last edited by

        I have the same problem. The images are not stored on the games with "-" or ":" on their names for example.

        VJ 1 Reply Last reply Reply Quote 0
        • VJ
          VJ @Xglacius last edited by

          @xglacius
          I just fount that it is a bug
          https://forum.recalbox.com/topic/24634/scraper-does-not-download-coverart-when-there-is-a-colom-in-the-gamename/4
          As a workaround I fix it by manual downloading the files form http://screenscraper.fr and the updates on the gamelist.xml using vim ;

          or could use https://www.skraper.net/ to scrape it ...

          Xglacius 1 Reply Last reply Reply Quote 0
          • Xglacius
            Xglacius @VJ last edited by

            @vj thanks! They say it's going to be fixed on 7.3, nice!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Want to support us ?

            82
            Online

            99.6k
            Users

            28.1k
            Topics

            187.1k
            Posts

            Copyright © 2021 recalbox.com