Hi!
I've unpacked the game's language files with this script: http://aluigi.altervista.org/bms/the_evil_within_2.bms (quick bms)
I've the autoi script to the lanb file
I want to translate the game, but I can not repack the file
Can someone help you in it?
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
The Evil Winthin 2
Re: The Evil Winthin 2
wath?! edit text files? can you give me that script?Zotya0330 wrote:Hi!
I've unpacked the game's language files with this script: http://aluigi.altervista.org/bms/the_evil_within_2.bms (quick bms)
I've the autoi script to the lanb file
I want to translate the game, but I can not repack the file
Can someone help you in it?
-
- mega-veteran
- Posts: 191
- Joined: Sat Nov 26, 2016 3:39 pm
- Has thanked: 7 times
- Been thanked: 10 times
Re: The Evil Winthin 2
quickbms can import files... you know that, right?Zotya0330 wrote:Is there no solution for backpacking?
did you know about repack with QuickBMS?
Did you try It? (Sorry if i was ask a wrong question)
Be Good, Even in distressing or defamation and chill, Even Everyone's Called You a Bad Guy Or Lier and Mad
-
- mega-veteran
- Posts: 191
- Joined: Sat Nov 26, 2016 3:39 pm
- Has thanked: 7 times
- Been thanked: 10 times
Re: The Evil Winthin 2
Good news, finally... I found a way to do that(for font and text and voice)
I wil share this information soon... Just wait for a while
I wil share this information soon... Just wait for a while
Be Good, Even in distressing or defamation and chill, Even Everyone's Called You a Bad Guy Or Lier and Mad
-
- n00b
- Posts: 11
- Joined: Wed Nov 19, 2014 9:52 pm
- Location: Ukraine
- Has thanked: 1 time
- Been thanked: 10 times
Re: The Evil Winthin 2
*.PTR
You should compress PTR file. It's work fine with C# DeflateStream. And you don't need compress PKR data.
Code: Select all
UINT32 - XORed by 0xFADC4688 decompressed PTR size
UINT32 - version
UINT32 - splited to 4 parts and XORed first 32768 bytes (32 KB) PKR MD5
UINT32 - splited to 4 parts and XORed decompressed PTR MD5
Impossible is nothing.
- delutto
- veteran
- Posts: 153
- Joined: Sat Apr 16, 2011 5:20 am
- Has thanked: 49 times
- Been thanked: 14 times
Re: The Evil Winthin 2
Great research! Can you explain more about this two fields?ripper wrote:Code: Select all
UINT32 - splited to 4 parts and XORed first 32768 bytes (32 KB) PKR MD5 UINT32 - splited to 4 parts and XORed decompressed PTR MD5
-
- n00b
- Posts: 11
- Joined: Wed Nov 19, 2014 9:52 pm
- Location: Ukraine
- Has thanked: 1 time
- Been thanked: 10 times
Re: The Evil Winthin 2
common.ptr and common.pkr as example.delutto wrote:Great research! Can you explain more about this two fields?ripper wrote:Code: Select all
UINT32 - splited to 4 parts and XORed first 32768 bytes (32 KB) PKR MD5 UINT32 - splited to 4 parts and XORed decompressed PTR MD5
On the first image we skip header (0x10 bytes), select next 0x8000 bytes and calculate MD5 and get AAA643D74BB3433E09F662006A05EDB8
Then (img2) we split this hash to 4 parts and XOR it.
Code: Select all
0xAAA643D7 ^ 0x4BB3433E ^ 0x09F66200 ^ 0x6A05EDB8 = 0x82E68F51
As i promise Zotya0330. I'll share tool source when return to home, monday-tuesday.
Impossible is nothing.
- delutto
- veteran
- Posts: 153
- Joined: Sat Apr 16, 2011 5:20 am
- Has thanked: 49 times
- Been thanked: 14 times
Re: The Evil Winthin 2
Thank you a lot ripper! Finally I was able to add Import Mode to my tool. Download linkripper wrote:*.PTRYou should compress PTR file. It's work fine with C# DeflateStream. And you don't need compress PKR data.Code: Select all
UINT32 - XORed by 0xFADC4688 decompressed PTR size UINT32 - version UINT32 - splited to 4 parts and XORed first 32768 bytes (32 KB) PKR MD5 UINT32 - splited to 4 parts and XORed decompressed PTR MD5
I could not make it's work with compressed data, only works with uncompressed data.
-
- n00b
- Posts: 11
- Joined: Wed Nov 19, 2014 9:52 pm
- Location: Ukraine
- Has thanked: 1 time
- Been thanked: 10 times
Re: The Evil Winthin 2
As i promised, here is my sources. Compiled binary in bin/Debug folder.
Usage for extract data:
1. Click PTR File "..." button and choose ptr file (note: pkr file must be placed on the same level with ptr, or 1 level above, like in game directory);
2. If needed click Extract directory "..." button and choose preferred directory.
Usage for import data:
1. Click Data directory "..." button and choose directory with extracted data (note: this program import only self-extracted files);
2. If needed click PKR/PTR File "..." button and choose preferred directory and filename.
This tool convert lanb files to txt (same as bms script format) and 48.dat font map files to xml like format.
Fonts in bimage files. If you see in xml data x coordinate more than image width it means that you need select image alpha channel.
In game little bit more than 58 763 words.
Usage for extract data:
1. Click PTR File "..." button and choose ptr file (note: pkr file must be placed on the same level with ptr, or 1 level above, like in game directory);
2. If needed click Extract directory "..." button and choose preferred directory.
Usage for import data:
1. Click Data directory "..." button and choose directory with extracted data (note: this program import only self-extracted files);
2. If needed click PKR/PTR File "..." button and choose preferred directory and filename.
This tool convert lanb files to txt (same as bms script format) and 48.dat font map files to xml like format.
Fonts in bimage files. If you see in xml data x coordinate more than image width it means that you need select image alpha channel.
In game little bit more than 58 763 words.
Impossible is nothing.