Ahmet Çelik

Results 6 comments of Ahmet Çelik

@Atvaark I created the pull request (https://github.com/Atvaark/BinderTool/pull/36). I successfully extracted Data files.

I reverse engineered the decompression from the game. They do in-place decompression like here: ```C# private static Int32 ReadNum(byte[] input, ref Int32 inputPosition) { Int32 num = 0, b; do...

@LennardF1989 I don’t have access to Watch Dogs 2 anymore. I did this research back in the summer of 2019. Optimized branch was similar to optimized lz4 code.

So, `first` is only important for performance. The game does in place decompression as described here: https://github.com/lz4/lz4/blob/9cf3f106a8dea906ff4550f749112e9e89536678/doc/lz4_manual.html#L395.

@LennardF1989 If you look at my decompress code that’s what I do, and that’s why I copied compressed bytes to the end of decompress buffer. ``` if (inputPosition == inputEndPosition...

@LennardF1989 There is also check for that in loop condition.