August 27Aug 27 The ZSTD compress algorithm is hide into the exeAbout the script udpate , i have done an update .. perfectible but it worki haven't share it before because no one have give me a response to test it deeperscripts.npk, shaders and mtlgen can be unpackall .pyc from the script.npk still have a ZSTD compressionOnce_Human_NPK_2026.7z Edited August 27Aug 27 by Champs
November 8Nov 8 On 8/27/2026 at 2:20 AM, Champs said:The ZSTD compress algorithm is hide into the exeAbout the script udpate , i have done an update .. perfectible but it worki haven't share it before because no one have give me a response to test it deeperscripts.npk, shaders and mtlgen can be unpackall .pyc from the script.npk still have a ZSTD compressionOnce_Human_NPK_2026.7zworks! thank you
November 9Nov 9 On 4/13/2026 at 1:20 PM, DKDave said:It's the same issue mentioned above - the files are compression type 4, which is some form of ZSTD, maybe encrypted, but I don't know in what way. sometimes being a simpleton pays off.All I did is this on line 109, and now the newer meshes are visible. while True: try: text = mtg.readline().decode("ascii").replace("\x0a", "") except: pass
November 10Nov 10 On 8/27/2026 at 2:20 AM, Champs said:The ZSTD compress algorithm is hide into the exeAbout the script udpate , i have done an update .. perfectible but it worki haven't share it before because no one have give me a response to test it deeperscripts.npk, shaders and mtlgen can be unpackall .pyc from the script.npk still have a ZSTD compressionOnce_Human_NPK_2026.7z@Champs .mtl and .mtg files are not getting unpacked/decompressed
November 10Nov 10 the ZSTD dictionary inside ONCE_HUMAN.exe TARGET_DICT_ID = 0x6A4AC76B DICT_MAGIC = b"\x37\xA4\x30\xEC" dictionary size look as 112640 byte
November 11Nov 11 16 hours ago, Champs said:the ZSTD dictionary inside ONCE_HUMAN.exeTARGET_DICT_ID = 0x6A4AC76BDICT_MAGIC = b"\x37\xA4\x30\xEC"dictionary size look as 112640 byteTy, this python script can decompress the files after they are unpacked with your bms script . place in same dir as ONCE_HUMAN.exe unzstd_dict.py
November 12Nov 12 Thks, work fine except on .PYC filesi have rewrite your code with the custom OPMAP and setting for python 3.11use xdis to use any Python interpreter version (3.11, 3.12, 3.13+)all the rest is OK .. except .PYC filesit don't work ...any ideas ? Edited November 15Nov 15 by Champs
23 hours ago23 hr @Champs I can't figure it out. Perhaps they are encrypted in some custom way.I was able to take my own created pyc file and zstd compress/decompress it using same parameters. I believe netease is using a custom python version with custom OPCODES but that should just mean that it cannot be decompiled using standard methods. The files should still be decompressed but SZTD is throwing "corrupted data" error
Create an account or sign in to comment