owner123 wrote:
Thanks for the share.
A few things.
Why does it create the folder "Work" on desktop ;o. You can just like write temp files to some directory like "C:\Temp" then delete them after you close & dispose your archive.
It creates the Work folder in the same directory as the executable.
owner123 wrote:
The app fails if you select a map, then delete the map, then check for cheatpacks. Not very important, but you could add
Code:
try {
} catch (exception ex) {
}
And make it say like "File does not exist" at exception.
Like you said, it's not very important. The only exception I have ever had it throw was when the map was open in Warcraft 3. I will probably have it copy the map into the Work folder so that doesn't happen, though.
owner123 wrote:
[Edit 3]
If the war3map.j already exists in "Work" you get an error.
To fix, delete war3map.j after the operation finishes and check for it at the beginning of the operation. If it exists, delete it.
Overall it works well.
I've never had that happen to me. Maybe you had the file open in another program?
owner123 wrote:
If you want to make it really useful, have it display all the main CPs. (JJ's, Fai's, Sg's)
I was going to do that, but just used JJs cause that is all I ever really see,