Gábor József Wacha

Results 6 comments of Gábor József Wacha

I already have it fixed on my side, + 8 offset is required for current chunk offset. Unfortunately, I have other issues with mcnk too, I want to fix them...

It is: ''' Works like this: // In all ADT files, the version chunk and header chunk are at the beginning of the file, // with the header following the...

Of course, I am relative to the MHDR, +8 is because how the chunk reading is organized in the lib

For similar reasons, from MCNK offsets we need to subtract 8. Baked shadow chunks have a bit of an issue too, fixing those too.

In MapChunkHeader.cs these are incorrectly read (stream position will be wrong after these): LowResTextureMap = br.ReadUInt16(); PredTex = br.ReadUInt32(); NoEffectDoodad = br.ReadUInt32(); https://wowdev.wiki/ADT/v18#MCNK_chunk

One can hack some in a non intended way to have an instance of the PeekPokeTester class, and could to this: var testerClass: Tester[T] = null Driver.execute(gen, options) { c:...