Jump to content
LaunchBox Community Forums

Can I change the default path for media files


sdetert

Recommended Posts

I have a smaller SSD and I am worried about it getting full fast.  Is there a way to have Launch box the program on the SSD and have all the games and media files on a separate drive?   I search the forms for admittedly only 10 -15 min and was not getting anywhere.

Any help would be appreciated.  That includes telling me just to install launchbox on the non SSD drive to make it easier.

Thanks in advance

Link to comment
Share on other sites

you just have to put your games on a HDD or SSD or games and Media on SSD HDD, the choice is yours, launchbox will handle all of it, just direct what you want from directing your roms and media, its pretty easy my friend

 

 

Edited by kidshoalin
Link to comment
Share on other sites

7 hours ago, sdetert said:

I have a smaller SSD and I am worried about it getting full fast.  Is there a way to have Launch box the program on the SSD and have all the games and media files on a separate drive?   I search the forms for admittedly only 10 -15 min and was not getting anywhere.

Any help would be appreciated.  That includes telling me just to install launchbox on the non SSD drive to make it easier.

Thanks in advance

To answer your question, yes you can change the default location for media, but it can be a bit of a process depending on how many platforms you imported. There is no simple way to bulk change media locations for imported platforms.

If you right click a platform name and choose edit you will see a folder tab. You can edit locations there. Problem is there are 46 folders and you have to do each one for each platform. You could also edit the platform xml file and do a replace search to replace the old part of the path with the new part. A little faster, but you would need to do it for each individual platform. If you went this route, or even if you did the first one, I recommend making a copy of the original platform xml files just in case something messes up. 

Games are a bit easier. Just move the games to where you want them. Then go into a platform and select all the games. Then go to >Tools>Change Roms Folder for Selected Platform. It will update the new location. You do have to do this for each platform, but at least it is not as intensive as media.

My recommendation is just move you entire LB to a new larger drive. Especially if it is an internal SSD or HDD. 

 

Link to comment
Share on other sites

  • 3 years later...
1 hour ago, AquaJew said:

Any plans for an update to this functionality? I'd love to be able to make a move like this without a herculean amount of effort to reorganize 30 platforms. (around 1500 edits)

If you are willing to use something outside of LaunchBox, you can use something like Notepad++ under the "Find in files" tab to mass edit by replacing all the directory references in the XML files. Make sure LaunchBox is not running if you do this.

Link to comment
Share on other sites

35 minutes ago, dragon57 said:

If you are willing to use something outside of LaunchBox, you can use something like Notepad++ under the "Find in files" tab to mass edit by replacing all the directory references in the XML files. Make sure LaunchBox is not running if you do this.

Which file (including location) do I need to edit? I'm very familiar with XML files (I prefer Sublime as the editor personally), but the only platform.xml file I found was in /LaunchBox/Metadata/ and it didn't have any information about folders.

Nope, found it, under /LaunchBox/Data/ heh. That being said, I know I've got a ton of assets for many platforms, and all of the tags are empty:

<Folder>D:\Games\Emulation\NES</Folder>
    <Notes>The Nintendo Entertainment System is an 8-bit video game console that was released by Nintendo in North America during 1985, in Europe during 1986 and Australia in 1987. In most of Asia, including Japan (where it was first launched in 1983), China, Vietnam, Singapore, the Middle East and Hong Kong, it was released as the Family Computer, commonly shortened as either the romanized contraction Famicom, or abbreviated to FC. In South Korea, it was known as the Hyundai Comboy, and was distributed by Hynix which then was known as Hyundai Electronics.</Notes>
    <VideosFolder />
    <FrontImagesFolder />
    <BackImagesFolder />
    <ClearLogoImagesFolder />
    <FanartImagesFolder />
    <ScreenshotImagesFolder />
    <BannerImagesFolder />
    <SteamBannerImagesFolder />
    <ManualsFolder />
    <MusicFolder />
    <ScrapeAs>Nintendo Entertainment System</ScrapeAs>
    <VideoPath>Videos\Platforms\Nintendo Entertainment System.mp4</VideoPath>

The video one I can edit, but the rest, not sure why they're blank.

Link to comment
Share on other sites

17 minutes ago, AquaJew said:

I prefer Sublime as the editor personally

Not heard THAT name in a while. Us "cool kids" using VS Code now a days B|

18 minutes ago, AquaJew said:

but the only platform.xml file I found was in /LaunchBox/Metadata/ and it didn't have any information about folders.

He's referring to \\LaunchBox\Data\Platforms.xml. You want to change the <Folder> value of each <Platform>

Link to comment
Share on other sites

20 minutes ago, C-Beats said:

Not heard THAT name in a while. Us "cool kids" using VS Code now a days B|

He's referring to \\LaunchBox\Data\Platforms.xml. You want to change the <Folder> value of each <Platform>

Sorry, I might not have been clear. The rom location is easy to modify, both in and out of LaunchBox itself. I want to modify the location for all the various assets - images, music, manuals, etc. For every platform.

Link to comment
Share on other sites

19 minutes ago, AquaJew said:

Sorry, I might not have been clear. The rom location is easy to modify, both in and out of LaunchBox itself. I want to modify the location for all the various assets - images, music, manuals, etc. For every platform.

In the file CBeats referenced you need search for or scroll down until you see 

  <PlatformFolder>

Probably around line 2800 or so depending on your build. That area lists all the folders for every platform. 

It is not the folder lines listed in the section with the actual platform's details.

Screenshot 2024-03-22 at 1.32.17 PM.png

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...