thread: .lvl files
View Single Post
  #587  
01-25-2010, 02:36 AM
ThibG
Chippunk
 
: Jan 2010
: at home
: 28
Rep Power: 0
ThibG  (19)

@Paul, the table may indeed be incomplete. Can you post a bigger dump?
If my code is right, when decoding the first cam segment of MIP01C04.CAM, it tries to access the 2037th chunk of the lookup table, but the one you posted only contains 1986 chunks.

If the code is right, it should just "work", I mean, the output may not be directly usable, but at least, it'll read all the input without segfault or infinite loop.

Edit: the maximum number of chunks is 2048, even is my code is wrong. So, please provide a table of 2048 chunks (2048 * 4 words, that is, 16kB).

Last edited by ThibG; 01-25-2010 at 02:42 AM..
Reply With Quote