Page 5 of 7 FirstFirst ... 34567 LastLast
Results 41 to 50 of 69

Thread: DK2 texture format

  
  1. #41

    Default Re: DK2 texture format

    I have successfully extracted a least-resistance path through the texture format, and with a couple of math tweaks, it should be feature complete for extraction soon. I'm drawing up a description of the format and will post back within a couple of days.

  2. #42
    Demon Spawn
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    172

    Default Re: DK2 texture format

    Can't wait for the details

  3. #43

    Default Re: DK2 texture format

    Taking a look at this. The first 8 bytes of the loaded texture data are a header of sorts.
    The byte labeled here as a compression ID is actually data of some sort. Still tracing through it but it looks like that byte contains 3 pieces of info, isolated through shifts and logic operations.
    Last edited by Displacer; September 8th, 2012 at 21:17.

  4. #44
    Demon Spawn
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    172

    Default Re: DK2 texture format

    Any news on this?

  5. #45

    Default Re: DK2 texture format

    Admittedly I've been terrible about updates here.

    I have the full set of textures extracted from my content, but there would be obvious copyright implications with posting them. I'm working on a full description of the decipher/decompress mechanism now - easily the most unportable and hard to describe sections are where the decipher uses fpu operations on decompressed data, and the jump/control word tables and float constants themselves may have their own copyright problems.

  6. #46
    Demon Spawn
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    172

    Default Re: DK2 texture format

    Just post some code with comments

  7. #47
    Demon Spawn
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    172

    Default Re: DK2 texture format

    So?

  8. #48

    Default Re: DK2 texture format

    Was on honeymoon, hope this has been worth waiting for

    texture.txt

  9. #49
    Demon Spawn
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    172

    Default Re: DK2 texture format

    Congrats

    Edit: Crazy shit, that code.
    Last edited by Trass3r; October 19th, 2012 at 18:56.

  10. #50

    Default Re: DK2 texture format

    I successfully incorporated that code into a program. With the right magic values, it (apparently) works. Now we just need to get it into a form humans can understand. :|

Similar Threads

  1. Best dk2 AI!!!
    By blragh in forum Dungeon Keeper 2
    Replies: 49
    Last Post: November 27th, 2010, 12:26
  2. Dk1 vs dk2
    By dk2player in forum Off Topic
    Replies: 34
    Last Post: October 6th, 2009, 16:43
  3. A complete guide: How to play DK2 multiplayer
    By Ðârk Âñgêl in forum DK2 Multiplayer
    Replies: 0
    Last Post: September 1st, 2009, 14:55

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •