OnexExplorer icon indicating copy to clipboard operation
OnexExplorer copied to clipboard

The creationDate in OnexTreeItem *NosZlibOpener::decrypt is NOT A DATE

Open sd5986 opened this issue 5 years ago • 0 comments

Recently, I translated Onex Explorer's unpack ,packing and cryptography to C# for my own use. I used the those translated codes to repack map textures. The result is, if I used the translated code of OnexTreeZlibItem::setCreationDate and repack texture, the game can no longer read them. Then I addressed this issue and records the so called"Creation Date" when unpacking, then write the so called"Date Time" when repacking. Then the repacked NStpData works just fine, textures can be read by the game. Also , if someone use Nosunpack to view the .NOS package file, Will find out the CreationDate is actually type instead of a DATE.

sd5986 avatar Oct 08 '20 15:10 sd5986