Hey Lads, my sincere gratitude for all your continued efforts & brilliant progress so far ! And a special thx to the original/current author of hkxPack java client (sgtJoe ?).
I hope it's not too Off-Topic, but humbly requesting some brief advice or nudge in right direction WRT manual parsing of hkBinaryPacked Files, specifically BigEndian (PS3)
Also, like to share (a work in progress) 010 Template for Parsing hk-2011-01-r1 (classname/type/data - 48/48/48) - (was bundled with first or2nd VISION / anarchy release - still cant find it anywhere, so have had to make due with newer/older Libs without much success).
Currently stuck on the Vlookup, cant quite wrap my head around it, ive also included a sample file, if anyone can find the time to check it out. Would love a brief explanation, just fetching first one or 2 types/names, already have the 6 offsets from Names, and another offset in types/data, how to tie it all up.
- ( On a sidenote Are ClassID's different from Hk version to version, or is it just the Sig ?
- While PS3 flag in Hdr makes little difference, BigEndian flag will always cause problems with Deserialization (even if manually editing to 0 - and even removing Platform/Endianness checks in Source) - obv. needing BitSwap
-> so can one maybe parse this on a PPC /BE System (Linux Box/or Debug PS3 cache dump) .or would i need to manually parse,swapping uints/floats, so on
- or even as last resort, parse the entire thing manually (c# /c) and then reconstruct/instantiate the hkObjects one by one.
Would love any advice or your own experiences, would it be better for me to build a manual parser - as ive had nothing but grief with deserialization/unpack, though i havnt yet tried the SDAC/headerswap.
Keep up the great work, hope to make some contributions in near future, once i figure out my a$$ from my elbow with it all Here is the 010 (Unfinished) Template / Structure Definition:-
To use with ur own hkFiles, Change Fseek on Line12 to 0 or to the start address of hk WaaW header. Will update as & when i make progressDownload/View @ Pastebinhttp://pastebin.com/HerN0A2UHere is my working sample hkxPacked File
(containerfile - hkHeader starts @ offset 54324 / 0xD434)https://mega.nz/#!rsxWkZoI!nHT0ogG_oYY2ZidID2rz44J1QBteMUticrhOtqLl6Jw