PostPosted: 06 Jan 2008, 20:54
just wondering: will the decoding-progress of the .rx files be updated?
Talk about Knights and Merchants!
https://www.knightsandmerchants.net/forum/
https://www.knightsandmerchants.net/forum/viewtopic.php?t=169
 { 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 1, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, the rest is also 1 };[/quote]
If you do not count the gaps. I'm not going to give the LUT that includes the gaps - if you know what I'm talking about you can figure it out yourself easily enough anyway and otherwise you don't need it.
The text0.dat through text3.dat files also contain palette's
and forget most other things I said about those textX.dat files - it was mostly wrong.
Among other things that is
They look a lot like the normal palette's (pal0 etc) and I bet they're used to decode the rest of those files. Not 100% certain though, and those files still contain more information that I can fully explain. Hopefully it's water animation..
And about the order of the 40 bytes Harold mentioned, I created a code that searched every file in the KaM - The Peasants Rebellion directory, but no results. The specific order doesn't appear anywhere, so unfortunately we cannot tell how the original KaM knows this sequence. It might be a if, else if, else if, etc-construction or something like it.