Quote:
Originally Posted by Unknown Rabbit
Another question: does anyone know how data3 in .j2t files actually works? What Neobeo says (that it's the same format as data4) seems incorrect or at least only part of the story.
|
They should be the same format. Did you find a counter-example?
Quote:
Originally Posted by DJazz
Not yet. As no one has seen my tileset compiler, it's appropriate to show it now as I also have trouble with data3.
It works fine in JCS but when playing it in JJ2 it messes up.
Source for TilesetCompiler (PHP)
|
I took a quick look at the source. Try changing line 258 from
Code:
$tmp.=pack("N*",bindec(strrev($tmp3)));
to
Code:
$tmp.=pack("V*",bindec(strrev($tmp3)));
|