summaryrefslogtreecommitdiffstats
path: root/converter
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-30 10:01:38 +0100
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-30 10:01:38 +0100
commit06738349557bcdebf3f4f5e6c0ba13d9292d7520 (patch)
treed933a205951709a3412904cb45f80ae496f377e7 /converter
parentMore changes to the denotch map converter (diff)
downloadcuberite-06738349557bcdebf3f4f5e6c0ba13d9292d7520.tar
cuberite-06738349557bcdebf3f4f5e6c0ba13d9292d7520.tar.gz
cuberite-06738349557bcdebf3f4f5e6c0ba13d9292d7520.tar.bz2
cuberite-06738349557bcdebf3f4f5e6c0ba13d9292d7520.tar.lz
cuberite-06738349557bcdebf3f4f5e6c0ba13d9292d7520.tar.xz
cuberite-06738349557bcdebf3f4f5e6c0ba13d9292d7520.tar.zst
cuberite-06738349557bcdebf3f4f5e6c0ba13d9292d7520.zip
Diffstat (limited to 'converter')
-rw-r--r--converter/cConvert.cpp5
-rwxr-xr-xconverter/denotchbin165208 -> 169472 bytes
2 files changed, 4 insertions, 1 deletions
diff --git a/converter/cConvert.cpp b/converter/cConvert.cpp
index 1ee923a31..565a6bd6a 100644
--- a/converter/cConvert.cpp
+++ b/converter/cConvert.cpp
@@ -178,10 +178,13 @@ int main () {
NBTData->ParseData();
NBTData->PrintData();
- //Char* Blocks =
//NBTData->GetByteArray("Blocks");
//for(unsigned int i = 0; i < 111; i++) {//re
//printf("Blocks?: %i\n", NBTData->cNBTCompound::GetByteArray("Blocks")[0]);
+ printf("xPos: %i\n", NBTData->GetInteger("xPos") );
+ //will print
+ //xPos: 0
+ printf("test: %i\n", NBTData->cNBTCompound::GetByteArray("Blocks")[0] );
//}
return 1;
fwrite( BlockData, DestSize, 1, wf ); //write contents of uncompressed block data to file to check to see if it's valid... It is! :D
diff --git a/converter/denotch b/converter/denotch
index dfc191c69..ef8a7db6d 100755
--- a/converter/denotch
+++ b/converter/denotch
Binary files differ