Jump to content
LaunchBox Community Forums

Recommended Posts

Hi there,

I have imported some roms in launchbox and after I was finished, I realized that I have quite a few duplicates.
Creating an AdditionalApplication entry from the gui is possible but it might take some time.

So I just created a duplicate identifier that automatically creates the xml tags for your platform xml and lists all the files that can be removed (manually) and puts that into a results folder. In theory, you can copy the additional apllication tags into your system.xml and you can remove the files that are listed as duplicates now.

No guarantee it won't mess something up so please backup your platforms directory before you start modifying your xmls.

YOU, YOURSELF. My program does not modify your files, it just lists and makes a guess what you want and puts all that into text files for each system

I think I'll eventually make it more sophisticated and add trying to find wrong database entries.

 

if you call it with no parameters, the program assumes you have your xmls in 




K:\LaunchBox\Data\Platforms\

and this is your priority preference:




        prioList = append(prioList, "North America")



        prioList = append(prioList, "World")



        prioList = append(prioList, "Europe")



        prioList = append(prioList, "Germany")



        prioList = append(prioList, "Japan")

but you can also call it with cli parameters:

first parameter is the filepath with backslash, then you can add parameters with region preferences

 

I included the executable and the source code. Have fun :-D

http://www.filedropper.com/launchboxcleaner

 

Also: it's the first version that creates usable results stored in files for all databases in your system with priority and cli parameters. Expect to see some bugs. I just found one myself: some result files are exactly 4096 bytes and also incomplete...

Edited by alpenjodler
  • Like 1

Share this post


Link to post
Share on other sites

oh! Ohh T.T

Well, I practiced some golang then :-D If you're interested in a golang example how to parse xml files, be sure to check it out :-D

  • Like 1

Share this post


Link to post
Share on other sites

hmm, where is it? I only see scan for added/removed roms.

I still have the roms and I want to add them as "additional apllicationos" to what I think of as the main game, I don't want to delete them :-D

Share this post


Link to post
Share on other sites

Im yet to have a propper fiddle with the new options sorry. 

Before this I just delete all roms for a platform and reimport with all fields blank. Unless you damage your xml you should have no duplicates. Stuffed xml imports 0 roms successfully.

Even in your case forcing duplicate imports won't actually double up the rom file, just works

Edited by syntax_X

Share this post


Link to post
Share on other sites

ahh, it's for different regions of games

 

for example if I have a european version and a japanese version and an american version, I want to keep the American version in the list and add the other two as additional applications

Share this post


Link to post
Share on other sites

Only thing is it will miss titles that are completely different names in different regions ie teenage mutant hero turtles

Share this post


Link to post
Share on other sites

Maybe scratch the updates till youve ironed it out a but more.

Question. With duplicate titles from different regions are the file sizes exactly the same? Could be a good sorting method.

Share this post


Link to post
Share on other sites

Could put all roms from separate regions into separate folders.

Then rename the (J) and (E) to (U) then drag all those roms unto to (U) folder.

Anything that doesn't copy over is a duplicate.

Super dodgy but would kinda work

Share this post


Link to post
Share on other sites

5 out of 5 stars for this only program Duplicate Files Deleter. Others are definitely not recommended. Try it to believe it. It deletes everything duplicate. Please use this program and nothing else & I am being serious.

Edited by frank1982
in my previous reply the software name was wrongly typed

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