Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

SWORD ART ONLINE Alicization Lycoris(CRILAYLA Decompression)

Featured Replies

  • Author
  • Localization

Zolodei, posted Fri Jul 17, 2020 10:40 pm (57630)


Where is the key to the archive to download?
  • Author
  • Localization

spiritovod, posted Sat Jul 18, 2020 3:24 am (57636)


@lisomn: It works exactly the same as for SAO: Hollow Realization. Use YACpkTool to unpack cpk and corresponding scripts for OFS3 containers and models/text/etc.

More topics about this:
viewtopic.php?t=6893
https://forum.xentax.com/viewtopic.php?f=16&t=17714
viewtopic.php?f=7&t=7644
viewtopic.php?t=7573
  • Author
  • Localization

lisomn, posted Sat Jul 18, 2020 4:47 am (57637)


Zolodei wrote:
Where is the key to the archive to download?

sorry, I updated the link
  • Author
  • Localization

lisomn, posted Sat Jul 18, 2020 4:49 am (57638)


spiritovod wrote:
@lisomn: It works exactly the same as for SAO: Hollow Realization. Use YACpkTool to unpack cpk and corresponding scripts for OFS3 containers and models/text/etc.

More topics about this:
viewtopic.php?t=6893
https://forum.xentax.com/viewtopic.php?f=16&t=17714
viewtopic.php?f=7&t=7644
viewtopic.php?t=7573

I updated the link, can you check the file, the link you attached does not seem to have more help with CRILAYLA, I have tried these
  • Author
  • Localization

spiritovod, posted Sat Jul 18, 2020 12:32 pm (57642)


@lisomn: I believe only headers are additionally obfuscated (not even for every files), the rest seems fine to me, look at the examples below. You can download other games on PhyreEngine and take a look how those headers should look like for models or textures. Sorry, I'm not interested in the game, just passing by.

https://drive.google.com/file/d/1vKswm2 ... sp=sharing
  • Author
  • Localization

lisomn, posted Sat Jul 18, 2020 3:09 pm (57644)


spiritovod wrote:
@lisomn: I believe only headers are additionally obfuscated (not even for every files), the rest seems fine to me, look at the examples below. You can download other games on PhyreEngine and take a look how those headers should look like for models or textures. Sorry, I'm not interested in the game, just passing by.

https://drive.google.com/file/d/1vKswm2 ... sp=sharing

Thanks for your reference file
  • Author
  • Localization

spiritovod, posted Sat Jul 18, 2020 5:06 pm (57645)


Actually, if you'll use lame solution like extracting compressed assets "as is", unxor first 22 bytes with 0xFF, repack it back to cpk and extract with any actual cpk tool (like YACpkTool or CriPakTools fork by wmltogether), then open and unxor E0 1C bytes (specific for this example) in uncompressed asset again, it will work.

Here is an example, where _uncompressed_unxored part is compatible with SAO Hollow Realization tool (viewer / exporter), linked above.
https://drive.google.com/file/d/1DMkojT ... sp=sharing

Maybe you should initially unxor -1 byte to avoid the second fix, didn't test it.
  • Author
  • Localization

lisomn, posted Sat Jul 18, 2020 5:26 pm (57646)


spiritovod wrote:
Actually, if you'll use lame solution like extracting compressed assets "as is", unxor first 22 bytes with 0xFF, repack it back to cpk and extract with any actual cpk tool (like YACpkTool or CriPakTools fork by wmltogether), then open and unxor E0 1C bytes (specific for this example) in uncompressed asset again, it will work.

Here is an example, where _uncompressed_unxored part is compatible with SAO Hollow Realization tool (viewer / exporter), linked above.
https://drive.google.com/file/d/1DMkojT ... sp=sharing

Maybe you should initially unxor -1 byte to avoid the second fix, didn't test it.

Thanks for your analysis, I made the tool

phyre_dec_al.7z

  • Author
  • Localization

libaibaba, posted Sun Jul 19, 2020 9:44 am (57655)


lisomn wrote:
spiritovod wrote:
Actually, if you'll use lame solution like extracting compressed assets "as is", unxor first 22 bytes with 0xFF, repack it back to cpk and extract with any actual cpk tool (like YACpkTool or CriPakTools fork by wmltogether), then open and unxor E0 1C bytes (specific for this example) in uncompressed asset again, it will work.

Here is an example, where _uncompressed_unxored part is compatible with SAO Hollow Realization tool (viewer / exporter), linked above.
https://drive.google.com/file/d/1DMkojT ... sp=sharing

Maybe you should initially unxor -1 byte to avoid the second fix, didn't test it.

Thanks for your analysis, I made the tool


Thank you very much for your tool, but I don't know if it's the version problem, Error occurred in data.cpk\chr\mod\10001 (I'm very sorry for my English. It comes from translation software) :D :lol:
  • Author
  • Localization

lisomn, posted Sun Jul 19, 2020 10:21 am (57656)


libaibaba wrote:
lisomn wrote:
spiritovod wrote:
Actually, if you'll use lame solution like extracting compressed assets "as is", unxor first 22 bytes with 0xFF, repack it back to cpk and extract with any actual cpk tool (like YACpkTool or CriPakTools fork by wmltogether), then open and unxor E0 1C bytes (specific for this example) in uncompressed asset again, it will work.

Here is an example, where _uncompressed_unxored part is compatible with SAO Hollow Realization tool (viewer / exporter), linked above.
https://drive.google.com/file/d/1DMkojT ... sp=sharing

Maybe you should initially unxor -1 byte to avoid the second fix, didn't test it.

Thanks for your analysis, I made the tool


Thank you very much for your tool, but I don't know if it's the version problem, Error occurred in data.cpk\chr\mod\10001 (I'm very sorry for my English. It comes from translation software) :D :lol:

I found this problem, it may be in the xor part. I don't have a lot of testing, you can try to analyze youself:geek:
2 bytes from 0x16 to 0x17 require manual 0xff XOR
  • Author
  • Localization

libaibaba, posted Sun Jul 19, 2020 3:14 pm (57660)


lisomn wrote:
libaibaba wrote:
lisomn wrote:
Thanks for your analysis, I made the tool


Thank you very much for your tool, but I don't know if it's the version problem, Error occurred in data.cpk\chr\mod\10001 (I'm very sorry for my English. It comes from translation software) :D :lol:

I found this problem, it may be in the xor part. I don't have a lot of testing, you can try to analyze youself:geek:
2 bytes from 0x16 to 0x17 require manual 0xff XOR

Is your DecompressCRILAYLA method from one of these two? I spent the night trying to figure out how to decrypt it, my stupid brain
https://github.com/FanTranslatorsInternational/Kuriimu2/blob/87d9ff424cd792c603f830e5eb0ee8df8ace5618/plugins/Criware/plugin_criware/CRILAYLA/CRILAYLA.cs#L172
https://github.com/ConnorKrammer/cpk-tools/blob/83303d0c443efc3c9dcc9717c7c0b54bcd3843b2/LibCPK/CPK.cs
  • Author
  • Localization

libaibaba, posted Sun Jul 19, 2020 7:24 pm (57664)


lisomn wrote:
libaibaba wrote:
lisomn wrote:
Thanks for your analysis, I made the tool


Thank you very much for your tool, but I don't know if it's the version problem, Error occurred in data.cpk\chr\mod\10001 (I'm very sorry for my English. It comes from translation software) :D :lol:

I found this problem, it may be in the xor part. I don't have a lot of testing, you can try to analyze youself:geek:
2 bytes from 0x16 to 0x17 require manual 0xff XOR

I made one. It might helphttps://mega.nz/file/fDhzXTaY#YXweypoxU61N07UrKOk96utFOCuEnyrolR6y2th47Zs
  • Author
  • Localization

lisomn, posted Mon Jul 20, 2020 5:04 am (57666)


libaibaba wrote:
lisomn wrote:
libaibaba wrote:

Thank you very much for your tool, but I don't know if it's the version problem, Error occurred in data.cpk\chr\mod\10001 (I'm very sorry for my English. It comes from translation software) :D :lol:

I found this problem, it may be in the xor part. I don't have a lot of testing, you can try to analyze youself:geek:
2 bytes from 0x16 to 0x17 require manual 0xff XOR

I made one. It might helphttps://mega.nz/file/fDhzXTaY#YXweypoxU61N07UrKOk96utFOCuEnyrolR6y2th47Zs

no help.length of the XOR part of some files is different
may be 22 or 24 or 32 bytes.duplicate tools
lol
  • Author
  • Localization

libaibaba, posted Mon Jul 20, 2020 7:17 am (57667)


lisomn wrote:
libaibaba wrote:
lisomn wrote:
I found this problem, it may be in the xor part. I don't have a lot of testing, you can try to analyze youself:geek:
2 bytes from 0x16 to 0x17 require manual 0xff XOR

I made one. It might helphttps://mega.nz/file/fDhzXTaY#YXweypoxU61N07UrKOk96utFOCuEnyrolR6y2th47Zs

no help.length of the XOR part of some files is different
may be 22 or 24 or 32 bytes.duplicate tools
lol


check 10416tex I'm pretty sure it's the first 0x20 And the ending 0x20 My program no longer prompts for errors :lol:
https://mega.nz/file/2G5hQSTa#nWxUDOctriqcN8DW-mhCGZ_HbJk8Lv07F5G8ehnV4Go
  • Author
  • Localization

lisomn, posted Mon Jul 20, 2020 8:58 am (57673)


libaibaba wrote:
lisomn wrote:
libaibaba wrote:

no help.length of the XOR part of some files is different
may be 22 or 24 or 32 bytes.duplicate tools
lol


check 10416tex I'm pretty sure it's the first 0x20 And the ending 0x20 My program no longer prompts for errors :lol:
https://mega.nz/file/2G5hQSTa#nWxUDOctriqcN8DW-mhCGZ_HbJk8Lv07F5G8ehnV4Go

Because this is an ofs3 packet
The header is processed by xor
Not related to CRILAYLA decompression
  • Author
  • Localization

JIord222, posted Mon Jul 20, 2020 12:17 pm (57683)


lisomn wrote:
libaibaba wrote:
lisomn wrote:
no help.length of the XOR part of some files is different
may be 22 or 24 or 32 bytes.duplicate tools
lol


check 10416tex I'm pretty sure it's the first 0x20 And the ending 0x20 My program no longer prompts for errors :lol:
https://mega.nz/file/2G5hQSTa#nWxUDOctriqcN8DW-mhCGZ_HbJk8Lv07F5G8ehnV4Go

Because this is an ofs3 packet
The header is processed by xor
Not related to CRILAYLA decompression


Hello, help me figure out the cpk packing. Found the reason for the crashes (in the Russian version). Unpacked cpk using Console version CRI Packed File Maker. But the game does not want to load the file packed back - crashes on startup. I'm in Steam dim128128- add as a friend, maybe we will quickly figure out the work of cpk.

https://yadi.sk/d/b1TqmMEfV6ciJg ( here is the file I created and exported from the developers (a lot of unnecessary information, due to the fact that the console version of the program does not export correctly).
But here it is view that they do not have groups (none), an attribute is assigned to all files (ENC) (but I don't know what they contributed to it). And all files except two are compressed. ID numbers are also assigned by me as they have. But the game still crashes(

This is how cpk was created by the developers

CPK Filename:usa2.cpk
File format version:Ver.7, Rev.14
Data alignment:2?048
Content files:110
Compressed files:108
Content file size:650?797?394
Compressed file size:341?413?979 (52,46%)
Enable Filename info.:True (4?600 0 bytes) [Sorted]
Enable ID info.:False
Enable Group info.:True (1?856 0 bytes)
Enable GInfo Table:False
Enable CRC32 info.:False
Enable CheckSum64 info.:False
Compression Mode:Layla Standard Compression
Work size to bind CPK:10?146 bytes
Tool version:CPKMC2.49.32, DLL3.24.00
  • Author
  • Localization

JIord222, posted Mon Jul 20, 2020 12:36 pm (57684)


libaibaba wrote:
lisomn wrote:
libaibaba wrote:

no help.length of the XOR part of some files is different
may be 22 or 24 or 32 bytes.duplicate tools
lol


check 10416tex I'm pretty sure it's the first 0x20 And the ending 0x20 My program no longer prompts for errors :lol:
https://mega.nz/file/2G5hQSTa#nWxUDOctriqcN8DW-mhCGZ_HbJk8Lv07F5G8ehnV4Go

????, ?? ??? ?? ???????????? ?? ???? ???????? ??? ?????????? cpk ?????- ??? ?????? ? ???, ?? ? ???. ?? ?? ???? ?????? ?? CRILAYLA, ? ??? ?? ??????????? ? Python ???????? ?????? ????
  • Author
  • Localization

lisomn, posted Mon Jul 20, 2020 2:34 pm (57686)


JIord222 wrote:
lisomn wrote:
libaibaba wrote:

check 10416tex I'm pretty sure it's the first 0x20 And the ending 0x20 My program no longer prompts for errors :lol:
https://mega.nz/file/2G5hQSTa#nWxUDOctriqcN8DW-mhCGZ_HbJk8Lv07F5G8ehnV4Go

Because this is an ofs3 packet
The header is processed by xor
Not related to CRILAYLA decompression


Hello, help me figure out the cpk packing. Found the reason for the crashes (in the Russian version). Unpacked cpk using Console version CRI Packed File Maker. But the game does not want to load the file packed back - crashes on startup. I'm in Steam dim128128- add as a friend, maybe we will quickly figure out the work of cpk.

https://yadi.sk/d/b1TqmMEfV6ciJg ( here is the file I created and exported from the developers (a lot of unnecessary information, due to the fact that the console version of the program does not export correctly).
But here it is view that they do not have groups (none), an attribute is assigned to all files (ENC) (but I don't know what they contributed to it). And all files except two are compressed. ID numbers are also assigned by me as they have. But the game still crashes(

This is how cpk was created by the developers

CPK Filename:usa2.cpk
File format version:Ver.7, Rev.14
Data alignment:2?048
Content files:110
Compressed files:108
Content file size:650?797?394
Compressed file size:341?413?979 (52,46%)
Enable Filename info.:True (4?600 0 bytes) [Sorted]
Enable ID info.:False
Enable Group info.:True (1?856 0 bytes)
Enable GInfo Table:False
Enable CRC32 info.:False
Enable CheckSum64 info.:False
Compression Mode:Layla Standard Compression
Work size to bind CPK:10?146 bytes
Tool version:CPKMC2.49.32, DLL3.24.00

?? XOR ????????? ????????????? ????
? ?? ??????? ??????, ?????? ?? ????????
  • Author
  • Localization

JIord222, posted Mon Jul 20, 2020 2:44 pm (57687)


lisomn wrote:
JIord222 wrote:
lisomn wrote:

?? XOR ????????? ????????????? ????
? ?? ??????? ??????, ?????? ?? ????????

?????? ???? ?? ???? Console version CRI Packed File Maker (?? ??? ? ????????? ????? .cpk). ? ?? ?? ????, ?? ????? XOR ??????????
P/S ? ???? ??????? ?????, ?? ??? ? ??????? ? ????????? ????? cpk. ????????, ? ??? ???. ????? ???? ????? ????? ????.
  • Author
  • Localization

lisomn, posted Mon Jul 20, 2020 2:55 pm (57688)


JIord222 wrote:
lisomn wrote:
JIord222 wrote:

?????? ???? ?? ???? Console version CRI Packed File Maker (?? ??? ? ????????? ????? .cpk). ? ?? ?? ????, ?? ????? XOR ??????????
P/S ? ???? ??????? ?????, ?? ??? ? ??????? ? ????????? ????? cpk. ????????, ? ??? ???. ????? ???? ????? ????? ????.

usually CPK ????? ??????
(Phyre ??? ofs3) => (?? CRILAYLA) => (????? ???????? ??? CPK)
SAO AL CPK ????? ??????
(Phyre ??? ofs3) => (?? CRILAYLA) => (????? ? ?????? ????? XOR) => (??????????? ??? CPK)
? ?? ??? ???????? ? ?????????
  • Author
  • Localization

JIord222, posted Mon Jul 20, 2020 3:07 pm (57689)


lisomn wrote:
JIord222 wrote:
lisomn wrote:

?????? ???? ?? ???? Console version CRI Packed File Maker (?? ??? ? ????????? ????? .cpk). ? ?? ?? ????, ?? ????? XOR ??????????
P/S ? ???? ??????? ?????, ?? ??? ? ??????? ? ????????? ????? cpk. ????????, ? ??? ???. ????? ???? ????? ????? ????.

usually CPK ????? ??????
(Phyre ??? ofs3) => (?? CRILAYLA) => (????? ???????? ??? CPK)
SAO AL CPK ????? ??????
(Phyre ??? ofs3) => (?? CRILAYLA) => (????? ? ?????? ????? XOR) => (??????????? ??? CPK)
? ?? ??? ???????? ? ?????????

????? ?? ??? ?? ?? ??????? ????? ??? ??????? ????? ??? ?? ?????? ? ? ???? ?????? ? ??? Console version CRI Packed File Maker. ??? CRILAYLA ????? ?? ?????? ???. ??? ? ? ???????? ????? ???- ??? ???????? ???????? ? ???????????? (decompressed) ??? (? ???? ??? ????? ?????).
  • Author
  • Localization

JIord222, posted Mon Jul 20, 2020 5:13 pm (57690)


lisomn wrote:
JIord222 wrote:
lisomn wrote:

?????? ???? ?? ???? Console version CRI Packed File Maker (?? ??? ? ????????? ????? .cpk). ? ?? ?? ????, ?? ????? XOR ??????????
P/S ? ???? ??????? ?????, ?? ??? ? ??????? ? ????????? ????? cpk. ????????, ? ??? ???. ????? ???? ????? ????? ????.

usually CPK ????? ??????
(Phyre ??? ofs3) => (?? CRILAYLA) => (????? ???????? ??? CPK)
SAO AL CPK ????? ??????
(Phyre ??? ofs3) => (?? CRILAYLA) => (????? ? ?????? ????? XOR) => (??????????? ??? CPK)
? ?? ??? ???????? ? ?????????

UPD
https://yadi.sk/i/Yn3992Cl_ewu5A

Here is the second version (complete, here is the creation of the csv file). Differences from the developer version that I noticed:
Enable file name info (4600 0 bytes) [sorted]- in develop file
Enable file name info (4584 0 bytes) [sorted]- in my file

Develop file size - 333 532 bytes
My file size - 333 534 bytes

Whether this is the reason for the crash or how to fix it I don't know. The main question is what to add an attribute to the ENC (the video shows that the developers have it enabled, but I don't see its contents, so I left it blank for myself).
??? ??? ????? ?????. ? ???- ????? ?????? ??? ?????? "????? ? ?????? ????? XOR". ??? ???? CRILAYLA https://github.com/wmltogether/CriPakTools ???? ??? ? ???? ?? ????- ?? ??? ????. ????? ?? ??? ????????? ?????????? ??????? ????? ? ??, ? ???? ? ?? ????? ????.
  • Author
  • Localization

JIord222, posted Tue Jul 21, 2020 6:59 pm (57721)


lisomn wrote:
JIord222 wrote:
lisomn wrote:

?????? ???? ?? ???? Console version CRI Packed File Maker (?? ??? ? ????????? ????? .cpk). ? ?? ?? ????, ?? ????? XOR ??????????
P/S ? ???? ??????? ?????, ?? ??? ? ??????? ? ????????? ????? cpk. ????????, ? ??? ???. ????? ???? ????? ????? ????.

usually CPK ????? ??????
(Phyre ??? ofs3) => (?? CRILAYLA) => (????? ???????? ??? CPK)
SAO AL CPK ????? ??????
(Phyre ??? ofs3) => (?? CRILAYLA) => (????? ? ?????? ????? XOR) => (??????????? ??? CPK)
? ?? ??? ???????? ? ?????????

?? ?? ? ?? ???????? ??-????? ???????????
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.