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.

I am Setsuna (Encrypt/Decrypt)

Featured Replies

  • Author
  • Localization

Ogoshi, posted Sat Jul 23, 2016 8:18 pm (15599)


Hey man, how can i translate this game with this archives?
  • Author
  • Localization

makc_ar, posted Sun Jul 24, 2016 6:55 am (15604)


Ogoshi wrote:
Hey man, how can i translate this game with this archives?

I don't know how to translate, sorry.
  • Author
  • Localization

Ogoshi, posted Sun Jul 24, 2016 4:05 pm (15619)


Theses files are all localization of the game?

Alluigi can help me? :D
  • Author
  • Localization

aluigi, posted Sun Jul 24, 2016 4:55 pm (15624)


Maybe someone with the game will have some fun finding the key and the encryption algorithm.
  • Author
  • Localization

Ekey, posted Tue Jul 26, 2016 9:33 pm (15734)


AES
Key: 8xTD|EgD|b?07QDj
Vector: /]s@*CxLzM!9Qd%(
  • Author
  • Localization

Ogoshi, posted Wed Jul 27, 2016 12:46 am (15739)


Ekey wrote:
AES
Key: 8xTD|EgD|b?07QDj
Vector: /]s@*CxLzM!9Qd%(



What is this? x_x
  • Author
  • Localization

happydance, posted Wed Jul 27, 2016 4:57 am (15743)


just wondering how do you guys get those encryption algorithm?
  • Author
  • Localization

aluigi, posted Wed Jul 27, 2016 5:27 am (15745)


script for quickbms:
Code:
encryption aes "8xTD|EgD|b?07QDj" "/]s@*CxLzM!9Qd%("
get SIZE asize
get NAME filename
string NAME "_decrypt"
log NAME 0 SIZE
  • Author
  • Localization

GrandGTO, posted Wed Jul 27, 2016 2:23 pm (15764)


Hello,

Are you sure about the AES key ?
Because with quickbms and the script, I still can't read the dialogue file.
  • Author
  • Localization

aluigi, posted Wed Jul 27, 2016 4:23 pm (15772)


The key and ivec that Ekey provided work perfectly with the messages.rar samples provided by makc_air, the decrypted files contain binary data and unicode strings.
  • Author
  • Localization

aluigi, posted Wed Jul 27, 2016 4:49 pm (15776)


I guess he got the files from parameter.cpk using the cpk.bms script.

Without a custom solution to parse and edit that specific type of files, the only "solution" is using a hex editor without modifying the size of the strings and file itself.
  • Author
  • Localization

GrandGTO, posted Wed Jul 27, 2016 5:12 pm (15778)


Thanks for your help. Yes that's it !

- Ok I have decrypted the cpk file thanks to your script. Now I have several files of dialogue like makc_ar have sent.

- I use the script that you have posted to decrypt all these files. I can read some words on these files.

- Now I think I have to do the way back ? I mean I have to encrypt all files like they were before, and make a new cpk files. Is It possible ? And how ?
  • Author
  • Localization

aluigi, posted Wed Jul 27, 2016 5:46 pm (15780)


Sure:
Code:
encryption aes "8xTD|EgD|b?07QDj" "/]s@*CxLzM!9Qd%(" 1
get SIZE asize
get NAME filename
string NAME - "_decrypt"
log NAME 0 SIZE
It saves the file without the "_decrypt" suffix so it will have just the original name.
  • Author
  • Localization

GrandGTO, posted Wed Jul 27, 2016 6:17 pm (15781)


That's fine ! Now just miss to make the new cpk file from all files.
  • Author
  • Localization

aluigi, posted Wed Jul 27, 2016 7:32 pm (15785)


That's something hard... in fact the script is partially valid for reimporting because the compressed files will fail when the game reads them (there is a note in quickbms.txt when you search cpk_compress)
  • Author
  • Localization

AnonBaiter, posted Wed Jul 27, 2016 7:45 pm (15787)


aluigi wrote:
(there is a note in quickbms.txt when you search cpk_compress)

Speaking of that, have you ever tried to contact CRIWARE to obtain an SDK? It might have some tools necessary for researching purposes.
  • Author
  • Localization

aluigi, posted Wed Jul 27, 2016 7:49 pm (15788)


Have you read the note? There is no problem with the compression itself, the problem is the same of lz4 in reimport mode with the original ZSIZE differing than the new one due to the lack of end markers in the specifications of the algorithm.
  • Author
  • Localization

AnonBaiter, posted Wed Jul 27, 2016 7:51 pm (15789)


Well I wasn't aware of that, but I'm talking about archives in which cpk.bms can't otherwise handle.
  • Author
  • Localization

GrandGTO, posted Wed Jul 27, 2016 9:02 pm (15790)


Ok so for you, there is no use to try to translate this game ? Because If we get a biger file, the game will not work, that's right ?

Juste for curiosity, I don't know how to procede to make a pak file from the several files. I use the reimport.bat, but what script to use and what am I supposed to select ?

Thanks
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.