Minecraft has stopped running because it encountered a problem.
If you wish to report this, please copy this entire text and email it to [email protected].
Please include a description of what you did when the error occured.
--- BEGIN ERROR REPORT a1dce528 --------
Generated 1/2/11 3:16 AM
Minecraft: Minecraft Beta 1.1_02
OS: Windows 7 (x86) version 6.1
Java: 1.6.0_22, Sun Microsystems Inc.
VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: GeForce 9600 GSO/PCI/SSE2 version 3.3.0, NVIDIA Corporation
java.lang.IllegalArgumentException: input == null!
at javax.imageio.ImageIO.read(Unknown Source)
at ge.a(SourceFile:368)
at ge.a(SourceFile:59)
at ob.a(SourceFile:255)
at ob.a(SourceFile:48)
at kr.b(SourceFile:315)
at net.minecraft.client.Minecraft.run(SourceFile:704)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 4208ad6c ----------
Nice, was wondering when someone else was going to make a save system replacement :smile.gif: Been working on the same thing since a few months ago (check my signature link). Are you planning on making it for server too? NVM, missed your note in the OP.
Forgive my ignorance, but how exactly do we use this? I tried loading a map that had previously given me a lot of trouble with lag and I am hoping this helps, but so far it's worse. I'm wondering if maybe I convert the existing files over, it'll help. I'm probably just an idiot, but maybe I'm not the only one...
Great! I didn't use this convert tool (well i used this, but didn't checked in-game if it's working) but i made a batch file to make it easier to operate this, because not many people know how to do this :biggrin.gif: You may attach it to the first post so people can see. By the way: put this file in the same folder where RegionTool.jar is (you gotta rename it).
Nice, was wondering when someone else was going to make a save system replacement :smile.gif: Been working on the same thing since a few months ago (check my signature link). Are you planning on making it for server too? NVM, missed your note in the OP.
MCFS is neat, but it has a lot of complexity because it's more like a proper filesystem. My region files are basically just a header of chunk offsets for 1024 chunks and up to 1024 chunks stored in a single file. It keeps things simple, and means a minimal amount of information has to be read or written when loading or saving chunks.
This is amazing!! I decided to try this out and immediately i saw results. My save loads much faster, my fps went from a bumpy average of 16 & stuttering back up to a smooth 29 fps!
I haven't got smooth frame rates like this since before i upgraded to that piece of **** beta notch pushed on us. Why the hell hasn't notch done what you have yet? This is awesome!
The best part is it works with my modded file, i have betterlight & grass as well as mo creatures & ye olde minegunner and it works perfectly!!
Man if i could send you money i would.. You just made minecraft much better.
MCFS is neat, but it has a lot of complexity because it's more like a proper filesystem. My region files are basically just a header of chunk offsets for 1024 chunks and up to 1024 chunks stored in a single file. It keeps things simple, and means a minimal amount of information has to be read or written when loading or saving chunks.
Very true :smile.gif: I'm glad to see that its progressing well. If you need any help with anything feel free to PM me, I've actually gotten pretty tired of maintaining MCFS, and now that theres something else out there that does something similar I may eventually retire it at some time in the future. I will also probably post the source code before long.
Im having trouble actually moving the files. Im new to winrar and basically modding. I understand to delete the folder under the .jar file, but how do i move the zip into use? Do i move it into the same folder as the jar? Or open the minecraft.jar then paste? Im confused about the directory.
Im having trouble actually moving the files. Im new to winrar and basically modding. I understand to delete the folder under the .jar file, but how do i move the zip into use? Do i move it into the same folder as the jar? Or open the minecraft.jar then paste? Im confused about the directory.
Thanks in advance.
Open minecraft.jar and the zip file in WinRar. Delete the META-INF from minecraft.jar. Drag the files in the zip file into the jar file.
Concept: The minimum unit of storage on hard drives is 4KB. 90% of Minecraft chunks are smaller than 4KB. 99% are smaller than 8KB. Write a simple container to store chunks in single files in runs of 4KB sectors.
Each region file represents a 32x32 group of chunks. The conversion from chunk number to region number is floor(coord / 32): a chunk at (30, -3) would be in region (0, -1), and one at (70, -30) would be at (3, -1). Region files are named "r.x.z.data", where x and z are the region coordinates.
A region file begins with a 4KB header that describes where chunks are stored in the file. A 4-byte big-endian integer represents sector offsets and sector counts. The chunk offset for a chunk (x, z) begins at byte 4*(x+z*32) in the file. The bottom byte of the chunk offset indicates the number of sectors the chunk takes up, and the top 3 bytes represent the sector number of the chunk. Given a chunk offset o, the chunk data begins at byte 4096*(o/256) and takes up at most 4096*(o%256) bytes. A chunk cannot exceed 1MB in size. If a chunk offset is 0, the corresponding chunk is not stored in the region file.
Chunk data begins with a 4-byte big-endian integer representing the chunk data length in bytes, not counting the length field. The length must be smaller than 4096 times the number of sectors. The next byte is a version field, to allow backwards-compatible updates to how chunks are encoded. Currently the version is always 1, which represents a gzipped NBT file. The gzipped data is the chunk length - 1.
Conversion tool needs an output path flag to choose a different output location (idea being you can have it convert between hard drives for increased performance)
Working well on a SMP server with hey0's hmod.
Edit: You may need to use this alternate line to run the conversion tool depending on your system.
That's a problem in the texturing system. This mod doesn't do anything with texturing. Are you running any texture mods?
no just this mod
To put all the old chunks into region files, do something like this:
To extract all the chunks from the region files, do something like this:
Are you planning on making it for server too?NVM, missed your note in the OP.MCFS - Minecraft Single File Save System.
BlockOff, a in-game block placement offsetting tool.
Forgive my ignorance, but how exactly do we use this? I tried loading a map that had previously given me a lot of trouble with lag and I am hoping this helps, but so far it's worse. I'm wondering if maybe I convert the existing files over, it'll help. I'm probably just an idiot, but maybe I'm not the only one...
Here you go:
http://dl.dropbox.com/u/16045448/McRegion.bat
MCFS is neat, but it has a lot of complexity because it's more like a proper filesystem. My region files are basically just a header of chunk offsets for 1024 chunks and up to 1024 chunks stored in a single file. It keeps things simple, and means a minimal amount of information has to be read or written when loading or saving chunks.
I haven't got smooth frame rates like this since before i upgraded to that piece of **** beta notch pushed on us. Why the hell hasn't notch done what you have yet? This is awesome!
The best part is it works with my modded file, i have betterlight & grass as well as mo creatures & ye olde minegunner and it works perfectly!!
Man if i could send you money i would.. You just made minecraft much better.
Very true :smile.gif: I'm glad to see that its progressing well. If you need any help with anything feel free to PM me, I've actually gotten pretty tired of maintaining MCFS, and now that theres something else out there that does something similar I may eventually retire it at some time in the future. I will also probably post the source code before long.
MCFS - Minecraft Single File Save System.
BlockOff, a in-game block placement offsetting tool.
Thanks in advance.
Open minecraft.jar and the zip file in WinRar. Delete the META-INF from minecraft.jar. Drag the files in the zip file into the jar file.
Concept: The minimum unit of storage on hard drives is 4KB. 90% of Minecraft chunks are smaller than 4KB. 99% are smaller than 8KB. Write a simple container to store chunks in single files in runs of 4KB sectors.
Each region file represents a 32x32 group of chunks. The conversion from chunk number to region number is floor(coord / 32): a chunk at (30, -3) would be in region (0, -1), and one at (70, -30) would be at (3, -1). Region files are named "r.x.z.data", where x and z are the region coordinates.
A region file begins with a 4KB header that describes where chunks are stored in the file. A 4-byte big-endian integer represents sector offsets and sector counts. The chunk offset for a chunk (x, z) begins at byte 4*(x+z*32) in the file. The bottom byte of the chunk offset indicates the number of sectors the chunk takes up, and the top 3 bytes represent the sector number of the chunk. Given a chunk offset o, the chunk data begins at byte 4096*(o/256) and takes up at most 4096*(o%256) bytes. A chunk cannot exceed 1MB in size. If a chunk offset is 0, the corresponding chunk is not stored in the region file.
Chunk data begins with a 4-byte big-endian integer representing the chunk data length in bytes, not counting the length field. The length must be smaller than 4096 times the number of sectors. The next byte is a version field, to allow backwards-compatible updates to how chunks are encoded. Currently the version is always 1, which represents a gzipped NBT file. The gzipped data is the chunk length - 1.
tl;dr approximate C struct version:
Working well on a SMP server with hey0's hmod.
Edit: You may need to use this alternate line to run the conversion tool depending on your system.
"%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -jar RegionTool.jar pack "pathtoworld"
Could you paste the error message?