KCM Header

Results 1 to 3 of 3
  1. #1
    Newbie posi90 is offline
    MemberRank
    Jun 2009 Join Date
    22Posts

    KCM Header

    Hello,

    I want to read out the header of the kcm file. I already got the mapname (underlined) but i dont know the rest.

    n_045_030.kcm:
    Code:
    0E 5D 70 88 00 00 00 00 2D 00 00 00 1E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 40 46 FF FF FF FF FF FF
    Can anyone give me a hint please?

    posi90


  2. #2
    Kal Craker cristy_abaddon is offline
    Grand MasterRank
    Apr 2006 Join Date
    acasaLocation
    859Posts

    Re: KCM Header

    sure here is all the info i have

    KCM Structure

    HEADER SIZE = 52 (1-52);
    HEADER STRUCTURE
    01-04 CRC32 (of file excluding crc itself) (depending on CRC generator it can be normal or reversed like last byte generated is first in file,etc)
    05-08 EMPTY
    09 MAP_X
    10-12 EMPTY
    13 MAP_Y
    14-32 EMPTY
    33 CONSTANT 07 (think it's for CRC check,something like file version)
    34-36 EMPTY
    37 USUALLY 0
    38-44 IF != FF (TEXTURE EXISTS)(this value = texture number from N.env)
    45 EMPTY
    46-52 (DON'T KNOW EXACTLY,but it seems it have something to do with alpha layers or texture center)

  3. #3
    Newbie posi90 is offline
    MemberRank
    Jun 2009 Join Date
    22Posts

    Re: KCM Header

    Thanks a lot =)

    And good luck on your project!

    posi90



Advertisement