1
0
Commit Graph

25 Commits

Author SHA1 Message Date
faketruth
d57753cd68 Users file was pretty messed up with mixed unix and windows line endings. The ini failed to parse correctly under cygwin.
'Fixed' a 'bug' where MCServer would seemingly endlessly calculate lighting for an entire world (and then crash), when this entire world has 'wrong' lighting. This happens when running a converted map from Vanilla. Fixed this by only allowing a maximum of 50 chunks to recalculate their lighting per tick.
Fixed a small coding error in cChunkMap where it would check PakVersion twice, instead of also ChunkVersion.

DeNotch converter does not need the VS2010 runtime thingies anymore

git-svn-id: http://mc-server.googlecode.com/svn/trunk@138 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-27 22:57:33 +00:00
faketruth
8a21fbf0ce I think I fixed the memory leaks in the converter
Updated makefile for Unix

I changed how the converter works, now you simply put the .exe in the folder you want to convert and run it, it'll output all the files in ./world

git-svn-id: http://mc-server.googlecode.com/svn/trunk@132 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-27 17:59:08 +00:00
mtilden@gmail.com
dca6401fb3 Including converter update with windows binary from forums. Shouldn't need to load a solution to compile a windows program really.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@131 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-27 16:30:06 +00:00
faketruth
e203be06e8 Added VS2010 project and solution for the DeNotch map converter
git-svn-id: http://mc-server.googlecode.com/svn/trunk@129 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-27 16:21:48 +00:00
admin@omencraft.com
cbc22b646d dang finicky OS installs. >.> Bug fixes to make sure this compiles is more than two OS's.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@62 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-05 01:21:03 +00:00
admin@omencraft.com
dd36ea269f Updated denotch map converter to work in windows. Still has memory leak though.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@61 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-05 00:23:32 +00:00
admin@omencraft.com
c10ba99d15 fixing svn directory
git-svn-id: http://mc-server.googlecode.com/svn/trunk@58 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-04 20:13:10 +00:00
admin@omencraft.com
12bfd97612 Updated denotch map converter. Compiled with zlib that MCServr uses to remove the lag spike problem caused when reading map files using a different compression. Remade makefile and cleaned up code considerably.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@57 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-04 19:39:46 +00:00
admin@omencraft.com
ef4ec35417 delete and reupload to reslve svn error.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@56 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-04 19:28:58 +00:00
admin@omencraft.com
563028f6db Changes to the denotch map converter. Now runs 20 times faster than before. Not done yet.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@55 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-04 16:27:11 +00:00
admin@omencraft.com
dda41a0406 denotch map converter works! :D
git-svn-id: http://mc-server.googlecode.com/svn/trunk@36 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-31 22:02:04 +00:00
admin@omencraft.com
1979404815 denotch map converter can now successfully converter an mcr to a vaild pak file. Takes about 20 seconds per region file.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@34 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-31 18:49:07 +00:00
admin@omencraft.com
b696647010 denotch map convert successfully created a pak file from an mcr file. Still need to check if it's valid.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@33 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-31 09:04:14 +00:00
faketruth
35c44ede5a Compounds are not closed double anymore
Float values are actually added to 'lists' now (should do the same for the rest)
Indenting while printing NBT data aligns slightly better now


git-svn-id: http://mc-server.googlecode.com/svn/trunk@32 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-31 05:12:21 +00:00
admin@omencraft.com
20d391764c denotch map converter can now parse without creating segfaults or unknown tag errors.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@31 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-31 02:56:12 +00:00
admin@omencraft.com
2e7781f7f0 More changes to the denotch map converter. Added some tags. Still debugging some parsing issues.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@30 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-31 02:24:44 +00:00
admin@omencraft.com
940d36d8a1 put the timer and quicksort functions into their own files. Made a few changes to the converter. Converter doesn't understand Entity tags and some chunks cause it to segfault for a currently unknown reason.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@28 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-30 18:15:44 +00:00
faketruth
ca1d98a7ba Changed long to long long so it works fine on 32bit systems
Added printing for Byte array tags (the length is incorrect though)
Structured the tags enums a bit more
In cConvert.cpp the correct compounds are opened before accessing data
Added VS2010 project so the converter can be compiled through VS2010

git-svn-id: http://mc-server.googlecode.com/svn/trunk@27 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-30 11:41:18 +00:00
admin@omencraft.com
0673834955 Last changes to the converter before bed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@26 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-30 09:01:38 +00:00
admin@omencraft.com
5134805bd7 More changes to the denotch map converter
git-svn-id: http://mc-server.googlecode.com/svn/trunk@25 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-30 08:04:40 +00:00
admin@omencraft.com
87a7bfa9aa Added Long Tag. It'll now go through the entire NBT data without erroring out. I'm not sure that it's actually saving all tag 7 data though.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@24 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-30 07:10:22 +00:00
admin@omencraft.com
aead2e43c2 I think I got Tag 7 working, now I need to add tag 4 for the deNotch map converter.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@23 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-30 06:48:10 +00:00
admin@omencraft.com
07ac0492d0 More updates to denotch map converter for testing.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@22 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-30 02:55:10 +00:00
admin@omencraft.com
9f3b6fe838 Changed cChunkMat.cpp back to normal. Made more changes to the denotch map converter. Testing cNBTData parser.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@21 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-30 02:16:01 +00:00
admin@omencraft.com
625a4accda Added denotch map converter. Program currently reads the only mcr file in the region dir and writes the uncompressed chunk data in world/X0-Z0.pak. I compile in linux with "g++ cConvert.cpp -lz -o denotch"
git-svn-id: http://mc-server.googlecode.com/svn/trunk@20 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-29 21:19:06 +00:00