SWORD ART ONLINE Alicization Lycoris XOR packing cpk

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
JIord222
Posts: 11
Joined: Mon Jul 20, 2020 11:59 am

SWORD ART ONLINE Alicization Lycoris XOR packing cpk

Post by JIord222 »

Need help packing back the CPK archives. I took jpn.cpk for work (it is the smallest). Unpacked with CRI Packed File Maker for Console Ver.2.49.32 (comand to CMD "cpkmakec jpn.cpk -extract=jpn" (unpacks the jpn.cpk to jpn folder. After that I DO NOT make changes to the files (while I am learning to pack) so that the game reads the new cpk. Next command to console: cpkmakec probnik.csv jpnMY.cpk -mode=FILENAMEGROUP -mask. Probnik.csv - this file was made by analogy with the file of the developers - the files are compressed, all files are assigned the attribute ENC. As I understand it, "ENC" means encrypted. And you can, somehow, through this program, immediately register the encryption with the XOP key. After that, I return the new cpk file to the game directory, try to run it in Japanese (because this is what the cpk worked with) and the game crashes at the start. Help me figure out what I'm doing wrong? How I understand i need to make XOR files. I just don't know how to find develop XOR key and and how then to apply it to my text. https://yadi.sk/d/xXmU0-yCv36oDA - here is a link to my attempts - there is an archive with the files I created and the packaging-unpacking program. Describe in detail what I need to finish to make everything work.