Long awaited cleanup has arrived!
Well to those that keep an eye on IRC I posted a few updates to the SVN already that show the code cleanup (be aware it’s more or less a complete rewrite). The two biggest additions to this new code bank is the console (provided by arkwiw from IRC) and a new config file (named app.config) that is used to list where your maps are extracted to. Here’s a quick Youtube video showing the dynamic loading of maps:
It may not look as if things have moved along too much, but truthfully they really have. The code is much easier to follow now and with all the XML comments I’ll be putting up a HTML documentation for the entire project in the next few days. In addition if you’ve looked in the forums you may have noticed that beserk85 has integrated MPQNav with mpqtool which streams the ADT/WMO/etc… files straight from the MPQ archive. I’m going to be moving it into the trunk (and trying to contact a dev from mpqtool just to ensure they don’t mind me using it in this project) over the weekend and I hope to have a post on that soon.
There is at least one new feature though…
The Console!
Setup by arkwiw I have moved it into the source. To access the console hit the esc key (it’s on the HUD now as well just in case you forget). From there you will be able to execute commands. The only current on is the load command:
Load X Y
This loads up the ADT at (X,Y) for the continent that you have loaded.
app.config
There is now also a configuration file. Currently it has a field for where the MPQ files are extracted to as well as the X and Y of the default map you want to load(and the continent).
Keep in mind that I will be using my app.config on the SVN so it will overwrite yours if you forget and just do an update. I think you can exclude the app.config from the updates if you want but I am no SVN guru.
What no zip?
Right now I just wanted to let people know the code cleanup is finished and ready to play with on the SVN; however, there are a few other changes I want to make before releasing another zip file completely. I am shooting to get those done over the weekend with more of a writeup on just why the code is cleaner to go with it. Until then play with the SVN!
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.


Awsum update, have been looking through the SVN and the console with the load function is real impressive :]