Author
Topic: Version 2 Development LOC (Read 7932 times)

Okay, so with the latest patch, my new version I've been working on crashes to desktop whenever trying to open the skill pane window.

I tried rebuilding with the latest version of ArtManager, importing the new templates. Nothing. Crash crash crash

I tried decompiling the new Ragnarok map, but the decompiler tool made by...I forget, but it's a fan made utility...crashes when it comes to a map with a name that uses a UNICODE character. My US English ascii version of Windows (and the windows components that the utility accesses) CAN'T READ UNICODE NAMED FILES and just crashes in defeat.

So unless I learn to read Swedish and install a Swedish version of Windows, and then develop a 3rd party map decompiler on that system, I can't include the new map in my mod.

<bangs head on keyboard repeatadly>

So I am starting version 2 over again today without a game map. <weak hurrah>

EDIT: So I downloaded the Swedish language pack for Win 10, changed my Locale settings and still crashes:

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.

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.

Awesome nargil66, that did the trick! CaravanXL is ready for action! However, I forgot I was testing and spent the next couple hours getting to Megara.

@knightsouldier: I extracted the map from TQ install dir/resources/Levels.arc using ArcExporer. Then I use the MapDecomp GUI and decompile to My Games/Working/Custom Maps/LoC_V2/Maps/World directory.

I can't do command line very well...I can't hold all the file path information in my head AND type it out by hunting and pecking. That's why I made a pet mod because I can't use the keyboard or aim the cursor...same thing. ppl think I am kidding, it's always been a real handicap for me. And thank god for spellcheck writing this I tend to hit multiple keys at once lol

EDIT: lol I died 3 time with my Wanderer today becuase my finger hits the "+" key instead of the "9" key. Stumbled on an obsidian Monster Shrine and got two Satyr heroes

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.