I was hoping to get some support with how to manipulate the GZipped Binary Stream that is NBT. It's kind of embarrassing, since I graduated college with a Comp. Sci degree, but I've been out of the programming game a while now and, honestly, I don't know how to start with this thing!
The ultimate goal of this is to hook it up to a C++ dungeon generator I wrote for my senior thesis. This part is complete. (If you'd like to take a look at which generator I'm speaking of, check it out at my [very rough, not finished] personal website: http://www.elycyan.com/projects/prandom)
I have a general idea how to convert the dungeons to Minecraft blocks, but I can't wrap my head around the formatting! Can anyone give a humble forgetful programmer a very rough idea of where to get started?
EDIT: Because this has a link to my personal site, if the mods feel that it is advertising, please take it down. My goal is not to throw my site around (It has almost no content anyways!), I genuinely desire to understand how to open NBT files in Visual Studio so I can start making some maps!
I'm not sure how involved your c++ generator is but if you port it over to C# (or even C++/CLI) you can take advantage of LibMinecraft (http://github.com/aphistic/libminecraft/), the library I'm working on to read and write mclevel files. It uses the "lower level" library LibNbt (http://github.com/aphistic/libnbt) to "hide" much of the part where you're dealing with the actual map NBT data and lets you access the map data in a strongly typed way.
The ultimate goal of this is to hook it up to a C++ dungeon generator I wrote for my senior thesis. This part is complete. (If you'd like to take a look at which generator I'm speaking of, check it out at my [very rough, not finished] personal website: http://www.elycyan.com/projects/prandom)
I have a general idea how to convert the dungeons to Minecraft blocks, but I can't wrap my head around the formatting! Can anyone give a humble forgetful programmer a very rough idea of where to get started?
EDIT: Because this has a link to my personal site, if the mods feel that it is advertising, please take it down. My goal is not to throw my site around (It has almost no content anyways!), I genuinely desire to understand how to open NBT files in Visual Studio so I can start making some maps!