Jump to content
LaunchBox Community Forums

Recommended Posts

Launchbox-RetroPie-Batocera-Miyoo Export

View File

Launchbox is great, but it doesn't run on linux. RetroPie is great, but the scraper is terrible. This script will copy your roms, metadata and images from LaunchBox for use with RetroPie (or Batocera/Miyoo). If desired, it will also reduce the size of the copied images to make them load faster on the Pi. Edit the attached file to choose your platforms, and decide if you want everything, or only your favourites.

If selecting Batocera XML format it will attempt to copy the first box art, marquee, screenshot and video file for each of your titles.

If selecting the Miyoo Onion OS XML format the gamelists will be called miyoogamelist.xml and the boxart will be reduced to 250px and converted to PNG. See their github for more info.

How to Install:

  1. Download and install Python
  2. Choose All Users and add it to your Path
  3. Open cmd, and type 'pip install Pillow'
  4. Download the attached file and edit it accordingly (specify your LaunchBox folder, desired output folder and platforms)
  5. Run 'python launchbox_retropie_export.py'
  6. Transfer the files to your Pi using WinSCP or similar
    • Copy the gamelists, roms and images to /home/pi/RetroPie/roms
  7. Enable the 'Parse Gamelists Only' option in EmulationStation

 

  • Unusual Gem 2
Link to comment
Share on other sites

  • 3 weeks later...

line 77, in <module>
    for fname in glob.glob(r'%s\**' % lb_image_dir, recursive=True):
TypeError: glob() got an unexpected keyword argument 'recursive'

 

It looks to be creating the first root folders /Roms/    and /gamelist

*** UPDATE  / EDIT ****

 

I removed the "recursive=True" section in the glob call and it parsed through my library! THANKS!

Edited by deafeagle
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...