View Single Post
Stijn Stijn's Avatar

Administrator

Joined: Mar 2001

Posts: 6,964

Stijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to behold

Jan 31, 2010, 07:52 AM
Stijn is offline
Reply With Quote
I believe the J2L specification is wrong:

Code:
JcsLayerWidth[0 to 7] 	 Byte (1 byte each) 	 Width of layer as seen in JCS. (decreased by Tile Width setting)
LayerWidth[0 to 7] 	Byte (1 byte each) 	Width of layer as used by JJ2 and other DataStreams.
This can't be right, as 1 byte can't hold a value higher than 256 and layer width can be far over 256 (1023, according to JCS). I'm having similar troubles with some other layer data fields. Does anyone have the correct format for the this and other layer data in the J2L file?