360haven works best with JavaScript enabled
Thief 4 - Page 2
Loading
Register
Page 2 of 2 FirstFirst 12
Results 9 to 10 of 10

Thread: Thief 4

  1. #9
    Junior Member
    pedore is offline
    Join Date : Sep 2019
    Location : 360haven
    Posts : 5
    Array

    Re: Thief 4

    Perhaps due to the fact that my project is built on python, an error occurs while executing the line "(CRC << 8) ^ Crc32Table [(buffer [i] ^ (CRC >> 24))]", "tuple index out of range", although this may be due to my carelessness)) In any case, the other day I will try to finalize the code, as I will write the results on the forum.
    And another question, why did you decide that the polynomial is "EDB88320" ?? There is an argument of "0x4c11db70".

  2. #10
    Administrator

    feudalnate is offline
    Join Date : Nov 2010
    Location : Canada
    Age : 29
    Posts : 336
    Array

    Re: Thief 4

    Here is a class you can port and use, this is the only information I have

    Code:
        class CustomEA
        {
            private uint[] Table;
            private uint Polynomial = 0x4C11DB70;
            private uint InitialValue = 0xDEADBEEF;
    
    
            public CustomEA()
            {
                //generate table
                Table = new uint[256];
                for (int i = 0; i < Table.Length; i++)
                {
                    uint value = (uint)i;
                    for (int x = 8; x > 0; x--)
                    {
                        value = (((value & 1) == 1) ? ((value >> 1) ^ Polynomial) : value >> 1);
                    }
                    Table[i] = value;
                }
            }
    
    
            public uint Compute(byte[] buffer, int index, int count)
            {
                uint result = ~InitialValue;
                for (int i = index; i < count; i++)
                {
                    result = ((result << 8) ^ Table[(byte)((buffer[i] ^ (result >> 24)) & 0xFF)]);
                }
                return ~result;
            }
    
    
        }



 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [YouTube] UNCHARTED 4: A Thief's End
    By THUMBS in forum Youtube Famous
    Replies: 0
    Last Post: 02-24-2016, 09:18 PM
  2. [Trainer] Thief Tu1 RTE/Trainer
    By matthewjohn in forum Trainers
    Replies: 16
    Last Post: 04-17-2014, 01:38 PM
  3. Thief on ps4, was NOT impressed!
    By ShangTsung in forum General Discussion
    Replies: 8
    Last Post: 04-04-2014, 06:21 PM
  4. [YouTube] Thief Review
    By scorpionnet in forum Youtube Famous
    Replies: 1
    Last Post: 02-25-2014, 12:44 AM

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

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
  •  

About 360haven

    360haven is an Forum Devoted To Game modding Fans from all over the world.

    An Awesome Community of Xbox 360 Gamers, Modders and Developers who Create & Share Tutorials, Applications, Gfx, Trainers and Gamesaves.

    A haven for the l33t.
    A scarce paradise for modders.

★★★★★¯\_(ツ)_/¯