Jump to content
LaunchBox Community Forums

dingodan

Members
  • Posts

    41
  • Joined

  • Last visited

File Comments posted by dingodan

  1. On 6/12/2023 at 5:12 PM, Kefka2b said:

    Hey guys so this works only for media downloaded from the Launchbox scraper as mentioned above or also for collections added manually (image collections available on the LB forums)?

    Does this also handle the fact that files are named  differently in Batocera?

    It handles media that is present in the Launchbox XML, and copies/transforms it to the needed formats. Yes, it supports Batocera as an output.

    • Like 1
  2. Pretty sure that's the * in Q*bert messing it up for just that title. The script has to guess what the image filenames will be based on the game title. Probably adding a line for * would fix that, so lines 83-87 would become:

    input = input.replace(":","_")
    input = input.replace("'","_")
    input = input.replace("/","_")
    input = input.replace("*","_")

     

    • Like 1
  3. 2 hours ago, retrotry said:

    Hi there. Has anyone got this working? I have python installed correctly and it's in my path etc. But it's not finding my roms, it only copies the images. I've tried the original script and the updated one that also does videos, both have the same result (screenshot attached).

    Not a huge problem though, I can copy the roms manually, the images are what I want anyway. Thanks.

    That's a new one. Is it possible you've added your roms into LB using a relative path? If your roms are under the same directory as LB under Games I could see this logic not working. The script is looking for the ApplicationPath value of each XML entry in the various Platforms XML. Here's one of mine, using an absolute path:

    <ApplicationPath>Z:\Media\Roms\Nintendo\NES\Vegas Dream (USA).zip</ApplicationPath>

    Quick way to test would be to back up your platform XMLs, do a find and replace on <ApplicationPath>Games\ then punch in the full path prefix, ie <ApplicationPath>C:\Apps\Launchbox\Games\

    • Like 1
  4. See step 2: if pip isn't recognised it means Python and its tools are not in your system path variable. Pip is a python package manager that downloads and installs modules. Pillow is the image resize module I chose for making pi-friendly versions of larger images.

    Python 3 installs by default to C:\Users\<User>\AppData\Local\Programs\Python\Python36 and pip is included in C:\Users\<User>\AppData\Local\Programs\Python\Python36\Scripts. Both folders should be added to the path environment variable.

×
×
  • Create New...