Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - knightsouldier

Pages: [1]
1
Ideas and Suggestions / Re: Version 2 Development
« on: 06 December 2017, 00:49:56 »
@Bumbleguppy Sorry about that! I shouldn't have posted the Debug version. I've attached the Release version. If possible, please move or rename the msvcr110d.dll file and try this version. That should remove the necessity for debug DLL. I'm glad it worked out for you. If you run across any other tools that give you grief and I can get access to the source, I should be able to fix any issues.

2
Ideas and Suggestions / Re: Version 2 Development
« on: 05 December 2017, 06:05:45 »
Found the problem. It was simply an index length issue. The index that held filenames wasn't big enough to contain the new levels. It was limited to 1024 but needed 1237. I doubled it.

Old:
   char fileNames[1024][256];
New:
   char fileNames[2048][256];

After I did that, I was able to get the command line version to work without issue. I've attached a zip file that contains a new executable I compiled with the updated cpp file.

This is the syntax I used from the command-line after copying the new MAPDecomp.exe to the directory containing the world01.map file.

MAPDecomp world01.map world01.wrl

Let me know if I can be of further assistance!

3
Ideas and Suggestions / Re: Version 2 Development
« on: 05 December 2017, 05:47:38 »
You've given me enough to start debugging! I was able to duplicate the issue and I'm currently working my way through the exception error. Currently, it involves "0x3F78827F (1064862335) - 0x0003BCAC (0000244908): XPack2\Levels\WildLands\Underground\WildHeathlands02_Cave.lvl". I'll keep you posted on my progress.

4
Ideas and Suggestions / Re: Version 2 Development
« on: 05 December 2017, 01:48:43 »
I started to play around with it to make myself familiar and I see now that you're having an issue with MapDecompilerGUI. I'm assuming you're clicking on the lower Browse button, "to choose a destination directory". If so, it's crashing on the filename as it loops through them all and using the code I found in MAPDecomp.cpp from the MapDecomp folder.

Can you try using the MAPDecomp.exe stand-alone on one of UNICODE files? You can always pass it the 8.3 filename to avoid the problem. If that works, it would be easy enough to just setup a quick batch file for those affected files. Just do a "dir /b > files.txt" and then edit the resulting text file into a batch file that would use MAPDecomp.exe to decompile them one-by-one. It's pretty much the same approach as the GUI. It's just making it easier for you.

5
Ideas and Suggestions / Re: Version 2 Development
« on: 05 December 2017, 01:29:08 »
I've misled you... I won't have a problem with the coding. What I need is some step-by-step instructions to setup my environment so I can do exactly what you're doing to see the error and capture it in my debugging environment. I can then effect the change and provide you with a new executable.

If you're available and willing, we could do this over Skype or Discord. I can't imagine it taking more than 10 minutes of your time to get me setup.

6
Ideas and Suggestions / Re: Version 2 Development
« on: 04 December 2017, 04:37:53 »
I've tracked down the source for the map decompiler and loaded it up into Visual Studio 2012. If you had some time to work with me, I'm certain I can update the source to handle the files.

Pages: [1]

SimplePortal 2.3.7 © 2008-2024, SimplePortal