Jump to content
LaunchBox Community Forums
thraxlol

Bulk change ROM path's

Recommended Posts

Hi guys, 

So.... I setup LB with all my ROM's on a secondary HDD, and I'm now putting together a portable version (which has ROM's under the LB folder structure.

I've already got all the metadata and video's etc, but obviously a straight copy/paste means all my ROMs have the wrong file path.

Is there any way to select all games per console and edit the folder to the new one? 

I'm sort of assuming there's not, as the path goes to the file level, not the folder... but thought I'd ask so that I could avoid re-importing if possible.

Share this post


Link to post
Share on other sites

On a related note... when I re-import it appears to be reaching out and re-downloading media for the games - I want it to use the existing media that I've already got...

Share this post


Link to post
Share on other sites

Hmm, it's not re-downloading media, just reaching out to the database(s) to check/verify which is making it painfully slow, but again I don't expect there's a way around it.

Share this post


Link to post
Share on other sites

There is no bulk edit rom path feature in Launchbox yet though it is something I have been asking Jason for a while.

The easiest ways right now is to either remove your games from LB and re-import them or use a text editor like Notepad++ to "find and replace" the path in the platform.xml, this is the way I did it when I moved my roms before.

If you do the re-import you can turn off the data and image scraping in the import wizard to speed it up.

Share this post


Link to post
Share on other sites
30 minutes ago, lordmonkus said:

The easiest ways right now is to either remove your games from LB and re-import them or use a text editor like Notepad++ to "find and replace" the path in the platform.xml, this is the way I did it when I moved my roms before.

Thanks :) My platforms.xml has no ROM paths in it?....

Share this post


Link to post
Share on other sites

More specifically the xml for the platform you are changing your rom paths for like Sega Genesis.xml in your \LaunchBox\Data\Platforms\ folder.

Edit:
Yup

  • Like 1

Share this post


Link to post
Share on other sites

When you choose to re-import, just uncheck all of the media boxes. The two screens with the "uncheck all" buttons, press those.

  • Like 1

Share this post


Link to post
Share on other sites

I see this is an old thread but I also have a similar question. I played a lot of Super Nintendo games on an emulator before I added them and the emulator to launch-box so all my Super Nintendo games are in a folder that is not the folder that launch box keeps making for Super Nintendo games. If I move all my SNES games to the preferred folder by launch box and edit the path using the same method will that work just as well?

Share this post


Link to post
Share on other sites
4 hours ago, starfiretbt said:

I see this is an old thread but I also have a similar question. I played a lot of Super Nintendo games on an emulator before I added them and the emulator to launch-box so all my Super Nintendo games are in a folder that is not the folder that launch box keeps making for Super Nintendo games. If I move all my SNES games to the preferred folder by launch box and edit the path using the same method will that work just as well?

Yes. There is a rom path change option in LB.

Are you moving them because you want to or because LB keeps making the folder? If you do not want to move them you do not have to. LB just makes the folder since that is where it would default to if you want to try and keep the whole LB build contained to make it portable.

Share this post


Link to post
Share on other sites

Mainly because LB keeps making the folder so now I have a folder for Super Nintendo Entertainment System and a folder for SNES games. However the LB folder has a nicer title. So I downloaded Notepad++, I assume I need to move all the games to the other folder, open the LaunchBox\data\platforms screen, find Super Nintendo Entertainment System and open with Notepad++, and then find and replace all Games\SNES Games\ with Games\Super Nintendo Entertainment System\. Is this the correct way?

Share this post


Link to post
Share on other sites

you can move the from within the UI now go to tools and there is an option to change rom folder.

Share this post


Link to post
Share on other sites
On 3/26/2020 at 1:29 PM, DOS76 said:

you can move the from within the UI now go to tools and there is an option to change rom folder.

Wow, so no more notepad++ find and replace?  That is good news!

Share this post


Link to post
Share on other sites
4 hours ago, damageinc86 said:

Wow, so no more notepad++ find and replace?  That is good news!

The change rom path Dos is talking about has been in LB for quite a long while now. Its not something new. 

Share this post


Link to post
Share on other sites
4 hours ago, damageinc86 said:

Wow, so no more notepad++ find and replace?  That is good news!

 

9 minutes ago, Retro808 said:

The change rom path Dos is talking about has been in LB for quite a long while now. Its not something new. 

Yeah its only been available for two and a half years. ;) 

Version 7.11 - Released September 14, 2017

  • New Premium Feature: A new wall view has been added to the Big Box games lists!
  • New Premium Feature: New Big Box key and controller button mappings have been added for starting Attract Mode on demand, and spinning the wheel while a key or button is pressed (which works well for selecting a random game)
  • New Feature: A new "Launch With" option is available for each emulated game in LaunchBox and Big Box that will let you choose an emulator to use on the fly when launching games. This is available via the right-click or Game menu in LaunchBox and via the Game Details menu in Big Box. It can also be hidden in Big Box via the Game Menu options.
  • New Feature: A new "Change ROMs Folder Path for Selected Games" option is available under the Tools menu in LaunchBox that will allow you to batch edit ROM folder paths for when you move your ROM files.
  • Improvement: Massive performance improvements both in general in Big Box as well as with CoverFlow and the wheels
  • Improvement: Steam Banners have been added as an image group supported for LaunchBox and Big Box
  • Improvement: Searching for games has been significantly improved with support for alternate titles from the LaunchBox Games Database as well as better exact matching
  • Improvement: Alternate titles are now used properly when consolidating games and importing games
  • Improvement: Custom themes in Big Box now support custom images and videos for platform categories and playlists
  • Improvement: A new MaxVerticalImageResolutionOverride property has been added to the Big Box CoverFlow control to allow for larger image sizes
  • Improvement: Added a new TotalGameCount property on platforms for binding in Big Box custom themes
  • Improvement: Added a new BannerImagePath property on games for binding in Big Box custom themes
  • Improvement: SharpDX (which interfaces with DirectX) has been updated to the latest version
  • Improvement: Upgraded the included version of VLC to version 2.2.6
  • Fixed: Occasionally LaunchBox was experiencing unnecessary slowdowns due to threading issues when switching side bar selections or arrange by values
  • Fixed: Connecting and syncing your collection to the LaunchBox Games Database was broken since we converted the website to use HTTPS

Share this post


Link to post
Share on other sites

My lord.  I just used notepad++ for this like a month ago lol.  Guess I wasn't paying attention.

  • Haha 1

Share this post


Link to post
Share on other sites

Hey guys that worked really well. I would have thanked you guys sooner but I didn't know you guys responded. I thought I would get an email if you guys said something, I didn't. But I came back because I was about to do the notepad++ hacking on my own.

I don't know if there is a section of the forum for this but you guess really do a great job. I also wanted to thank you guys for how you design the "clean up media" feature (I think it was the clean up media" feature).  I wanted LB to go through and get rid of files I wasn't using but I use LB to store other game related files so when I transfer to a new computer all I have to do is move LB and I was worried those would get deleted. I hoped the clean media would find and give me the option to select what I wanted deleted and it turned out it already did. It worked exactly as I hoped it would so I just wanted to tell you guys you are doing an amazing job.

Share this post


Link to post
Share on other sites

Just used this to update my arcade roms path and it said that 7 of the files selected do not exist in the new directory so i selected don't update those but update the rest.  Is there a way to find out which 7 games it didn't find in the new path?

Share this post


Link to post
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
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...