-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Plugin request] Decrypt/Encrypt Archive/Text.bin #522
Comments
If it's rly encrypted the game binary is absolutely needed. So pls add that to your sample files. |
Done! The link is the same as before. |
The file was encrypted by a sequential XOR. The initialization value is 0xC5 and with each position this value advances by 0x5C. |
Translation planTo start translating this game, you need to take into account that you have to go through two layers. PAC2 (*.DAT)The first one is the archive, a format called PAC2 which I solved with the next algorithm:
This will dump the archive into a folder, inside, you will find the next files:
TEXTDATA.BIN (PJADV_TF)From all those files, you can find the text in textdata.bin, this file is encrypted using a Sequential XOR algorithm.
After that, encrypt using the same keys found ahead and pack the data. Problems found in the processWhile the text format is a simple null-terminated string format, the game has hidden pointers in the flow script format found in the file scenario.dat |
Hello, sorry for reviving this topic again. I already got everything worked by following your guide but now I have problem with repacking the files into one archive.dat file again. Could you help me out? The game I'm working on has exactly same format with this one. |
|
Issue: Plugin request
Console: PC
Format extension(s): BIN
Filename: textdata.bin
Type: ARCHIVE (TEXT?)
Game Name: Taishou x Alice Episode I
STEAM: https://store.steampowered.com/app/1056570/TAISHO_x_ALICE_episode_1/
First 8 bytes of the file(s):
Extension: bin
Hex: 95 6B 3C 9D 63 CE B9 0F 95
ASCII: •k<�cι�•
More details:
The file seems encrypted.
In the ".7z" you'll find the same file from the japanese, english and spanish version of the game.
I used this https://github.com/jjolano/unpac/releases to unpack "archivee.dat" and obtain "textdata.bin"
Sample files (if possible):
https://www.mediafire.com/file/ndld88z69wwpxgy/Textdata.7z/file
The text was updated successfully, but these errors were encountered: