07-01-2013, 10:22 AM
Easy way:
Decompressed data will start directly with the NameTable... Use the same PackageHeader except PackageFlags (set it to 1) and everything below CookerVersion (UE3...). Next step is to line up decompressed data to NameTableOffset - calculate the empty space between end of header and name table (NameTableOffset - SizeOfHeader). Into TempFile write modified header, empty space and decompressed data. Use TempFile to process...
Decompressed data will start directly with the NameTable... Use the same PackageHeader except PackageFlags (set it to 1) and everything below CookerVersion (UE3...). Next step is to line up decompressed data to NameTableOffset - calculate the empty space between end of header and name table (NameTableOffset - SizeOfHeader). Into TempFile write modified header, empty space and decompressed data. Use TempFile to process...