I had trouble finding a listfile merger, so I decided to write my own. It's something I threw together in about an hour, so don't expect any bells and whistles.
Anyway, I figured that I should upload it so other people can use it to. At the very least, I could get some feedback about my programming skills, or lack thereof.
Features:
Merge one or more listfiles
Duplicates are automatically removed and the list is sorted alphabetically
It also strips leading and trailing spaces.
I also included the source code
Listfile Merger
Moderator: Cheaters
Forum rules
While crediting should be allowed, please keep down the advertising. If you know who it's from, and they have a website, please link to it as a basic courtesy.
While crediting should be allowed, please keep down the advertising. If you know who it's from, and they have a website, please link to it as a basic courtesy.
-
- Senior Member
- Posts: 178
- Joined: February 15th, 2009, 9:08 pm
Listfile Merger
You do not have the required permissions to view the files attached to this post.
Last edited by storyyeller on June 27th, 2009, 9:57 pm, edited 1 time in total.
-
- Forum Staff
- Posts: 2618
- Joined: June 2nd, 2007, 6:53 pm
- Title: I Just Lost the Game
Re: Listfile Merger
Uhh... Ladik's MPQ Editor has a utility for doing this. Click the Tools menu at the top, and choose Merge Listfiles...
Oh well. Thank you for making this!
Oh well. Thank you for making this!
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
-
- Senior Member
- Posts: 178
- Joined: February 15th, 2009, 9:08 pm
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada
Re: Listfile Merger
Don't, yours works better. I tested merging my file with yours using both mergers, and yours was significantly larger. I think I'll be using it from now on.
Spoiler:
-
- The Flying Cow!
- Posts: 2196
- Joined: November 2nd, 2007, 10:34 pm
- Location: Melbourne
Re: Listfile Merger
I'm not sure that's a good thing...FatherSpace wrote:Don't, yours works better. I tested merging my file with yours using both mergers, and yours was significantly larger. I think I'll be using it from now on.
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
AutoCP3 now available for free!
-
- Forum Drunk
- Posts: 2899
- Joined: January 17th, 2007, 4:22 pm
- Has thanked: 1 time
- Been thanked: 1 time
Re: Listfile Merger
Sounds more like it didn't find all duplicates XD
Don't pm me with Warcraft questions, this is a forum so just make a post!
In the world of thinking we are all immigrants. -Robert Nozick
-
- Senior Member
- Posts: 178
- Joined: February 15th, 2009, 9:08 pm
Re: Listfile Merger
I think the difference is that mine is caps sensitive
Wheras Ladik's will happily count stuff like this as a duplicate and delete it
(1)TheDeathSheep.w3m
(1)thedeathsheep.w3m
I always assumed listfiles were case sensitive. Am I wrong?
Wheras Ladik's will happily count stuff like this as a duplicate and delete it
(1)TheDeathSheep.w3m
(1)thedeathsheep.w3m
I always assumed listfiles were case sensitive. Am I wrong?
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada
Re: Listfile Merger
I don't think they are, but I could be wrong. Better safe than sorry.
btw, if anyone wants a thing with GUI (but epic fails with unicode characters) you can try mine.
It works just the same as storyyeller's, but it's not a console program, and it converts unicode characters beyond U+10FFFF will be pwnt into those annoying box characters.
And if you don't choose an output file, it just saves it to "output.txt" in the same folder the program is in.
EDIT: Oh yeah, and if it crashes for any reason, send me a PM with a screenshot of the debug message.
btw, if anyone wants a thing with GUI (but epic fails with unicode characters) you can try mine.
It works just the same as storyyeller's, but it's not a console program, and it converts unicode characters beyond U+10FFFF will be pwnt into those annoying box characters.
And if you don't choose an output file, it just saves it to "output.txt" in the same folder the program is in.
EDIT: Oh yeah, and if it crashes for any reason, send me a PM with a screenshot of the debug message.
You do not have the required permissions to view the files attached to this post.
Last edited by Ken on June 28th, 2009, 12:27 am, edited 3 times in total.
Spoiler:
-
- Senior Member
- Posts: 178
- Joined: February 15th, 2009, 9:08 pm
Re: Listfile Merger
I just tested it, and it isn't case sensitive, in case anyone was wondering.
I just edited the first post with a new version that ignores case. It also strips leading and trailing spaces.
Although it's a console application and a bit clumsy to use, it does have one advantage. It doesn't require .net. And I included the source code if you want to recompile it yourself.
I just edited the first post with a new version that ignores case. It also strips leading and trailing spaces.
Although it's a console application and a bit clumsy to use, it does have one advantage. It doesn't require .net. And I included the source code if you want to recompile it yourself.
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada
Re: Listfile Merger
Fair enough, I guess. But I like my .NET dependency...
I guess I should update my tool similarly... For cases, at least. And I'm fixing a crash if output file = one of the input files.
I guess I should update my tool similarly... For cases, at least. And I'm fixing a crash if output file = one of the input files.
Spoiler: