The Evil Winthin 2

Need help translating games in other languages? Have your language problems solved here.
Zotya0330
n00b
Posts: 13
Joined: Tue Dec 16, 2014 5:47 pm

The Evil Winthin 2

Post by Zotya0330 » Sat Dec 16, 2017 2:55 pm

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?

halfway
beginner
Posts: 27
Joined: Thu Aug 24, 2017 6:50 am
Has thanked: 1 time

Re: The Evil Winthin 2

Post by halfway » Sun Dec 24, 2017 8:08 pm

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?
wath?! edit text files? can you give me that script?

Zotya0330
n00b
Posts: 13
Joined: Tue Dec 16, 2014 5:47 pm

Re: The Evil Winthin 2

Post by Zotya0330 » Sat Apr 07, 2018 10:21 am

I send a message

Zotya0330
n00b
Posts: 13
Joined: Tue Dec 16, 2014 5:47 pm

Re: The Evil Winthin 2

Post by Zotya0330 » Sat Apr 07, 2018 10:21 am

UP.

Zotya0330
n00b
Posts: 13
Joined: Tue Dec 16, 2014 5:47 pm

Re: The Evil Winthin 2

Post by Zotya0330 » Sat May 12, 2018 7:33 am

Is there no solution for backpacking?

User avatar
GHOST DEAD
mega-veteran
mega-veteran
Posts: 196
Joined: Sat Nov 26, 2016 3:39 pm
Has thanked: 7 times
Been thanked: 6 times

Re: The Evil Winthin 2

Post by GHOST DEAD » Sat May 12, 2018 5:12 pm

Zotya0330 wrote:Is there no solution for backpacking?
quickbms can import files... you know that, right?
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

Zotya0330
n00b
Posts: 13
Joined: Tue Dec 16, 2014 5:47 pm

Re: The Evil Winthin 2

Post by Zotya0330 » Sat May 12, 2018 6:03 pm

Yeah I know
I tried

User avatar
GHOST DEAD
mega-veteran
mega-veteran
Posts: 196
Joined: Sat Nov 26, 2016 3:39 pm
Has thanked: 7 times
Been thanked: 6 times

Re: The Evil Winthin 2

Post by GHOST DEAD » Wed May 16, 2018 6:39 am

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
Be Good, Even in distressing or defamation and chill, Even Everyone's Called You a Bad Guy Or Lier and Mad

Zotya0330
n00b
Posts: 13
Joined: Tue Dec 16, 2014 5:47 pm

Re: The Evil Winthin 2

Post by Zotya0330 » Sat May 19, 2018 8:20 am

Cool! I can't wait! :D

Zotya0330
n00b
Posts: 13
Joined: Tue Dec 16, 2014 5:47 pm

Re: The Evil Winthin 2

Post by Zotya0330 » Fri May 25, 2018 4:59 pm

Any progress with repack?

ripper
ultra-n00b
Posts: 6
Joined: Wed Nov 19, 2014 9:52 pm
Location: Ukraine
Been thanked: 2 times

Re: The Evil Winthin 2

Post by ripper » Fri Jun 01, 2018 3:36 pm

*.PTR

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
You should compress PTR file. It's work fine with C# DeflateStream. And you don't need compress PKR data.
Impossible is nothing.

User avatar
delutto
veteran
Posts: 155
Joined: Sat Apr 16, 2011 5:20 am
Has thanked: 48 times
Been thanked: 12 times

Re: The Evil Winthin 2

Post by delutto » Sat Jun 02, 2018 4:10 am

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
Great research! Can you explain more about this two fields?

ripper
ultra-n00b
Posts: 6
Joined: Wed Nov 19, 2014 9:52 pm
Location: Ukraine
Been thanked: 2 times

Re: The Evil Winthin 2

Post by ripper » Sat Jun 02, 2018 4:18 pm

delutto wrote:
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
Great research! Can you explain more about this two fields?
common.ptr and common.pkr as example.
On the first image we skip header (0x10 bytes), select next 0x8000 bytes and calculate MD5 and get AAA643D74BB3433E09F662006A05EDB8

Image

Then (img2) we split this hash to 4 parts and XOR it.

Code: Select all

0xAAA643D7 ^ 0x4BB3433E ^ 0x09F66200 ^ 0x6A05EDB8 = 0x82E68F51
Image

As i promise Zotya0330. I'll share tool source when return to home, monday-tuesday.
Impossible is nothing.

User avatar
delutto
veteran
Posts: 155
Joined: Sat Apr 16, 2011 5:20 am
Has thanked: 48 times
Been thanked: 12 times

Re: The Evil Winthin 2

Post by delutto » Sun Jun 03, 2018 8:35 pm

ripper wrote:*.PTR

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
You should compress PTR file. It's work fine with C# DeflateStream. And you don't need compress PKR data.
Thank you a lot ripper! Finally I was able to add Import Mode to my tool. Download link
I could not make it's work with compressed data, only works with uncompressed data.

ripper
ultra-n00b
Posts: 6
Joined: Wed Nov 19, 2014 9:52 pm
Location: Ukraine
Been thanked: 2 times

Re: The Evil Winthin 2

Post by ripper » Tue Jun 05, 2018 6:38 pm

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.
Impossible is nothing.

Post Reply