Join also our Discord channel! Click here.

A plague of tale : innocence localization

Need help translating games in other languages? Have your language problems solved here.
Post Reply
ali1560
ultra-n00b
Posts: 2
Joined: Wed Nov 11, 2020 1:20 am

A plague of tale : innocence localization

Post by ali1560 » Wed Nov 11, 2020 1:28 am

Hi there... GT
I wanted to translate this game into my language (arabic or persian)...I found the subtitle files ( it was easily editable by notepad) I rewrite it in persian
but in the game it looks like this picture
Image
What should I do right now?
I think it has something to do with the file in the font folder (ENGLISH.DPC) and maybe I must replace a persian font instead of that btw
is there any body here who can help me to extract this file and change the font too?
You do not have the required permissions to view the files attached to this post.

User avatar
ikskoks
Moderator
Posts: 580
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 436 times
Been thanked: 174 times
Contact:

Re: A plague of tale : innocence localization

Post by ikskoks » Wed Nov 11, 2020 11:41 am

You need to edit font to translate the game. You should edit file FONT.DPC
and when there is no such archive, then you should edit ENGLISH.DPC or any archive with font.

DPC archives have been researched by me lately and you can find all info here
http://wiki.xentax.com/index.php/Asobo_Studio_DPC_DPS

But sadly, for now there are no many tools supporting these archives
You can see my tool here
https://github.com/bartlomiejduda/Tools ... PS_Tool.py
but I think that my tool tool won't work, because in A Plague Tale: Innocence compression seems to be different.
Also file format could be slightly different in version 2.128.92.19.

ali1560
ultra-n00b
Posts: 2
Joined: Wed Nov 11, 2020 1:20 am

Re: A plague of tale : innocence localization

Post by ali1560 » Wed Nov 11, 2020 1:36 pm

Aha....I'll check it out
and thanks for your help

gameside
ultra-n00b
Posts: 3
Joined: Fri Nov 06, 2020 11:21 pm
Has thanked: 1 time

Re: A plague of tale : innocence localization

Post by gameside » Sat Nov 14, 2020 4:16 pm

Can You upload FONT.DPC or ENGLISH.DPC?
i want to check them

mrmemmo
ultra-n00b
Posts: 3
Joined: Sat May 25, 2019 10:44 am

Re: A plague of tale : innocence localization

Post by mrmemmo » Wed Nov 18, 2020 5:23 am

//------------------------------------------------
//--- 010 Editor v10.0.2 Binary Template
//
// File:
// Authors:
// Version:
// Purpose:
// Category:
// File Mask:
// ID Bytes:
// History:
//------------------------------------------------
FSeek(260);
int none1;
int64 none2;
FSkip(16);
int64 none3;
FSkip(8);
int64 lengthz;
int64 lengthu;
FSkip(8);
int num;
FSkip(3764);
typedef struct{
byte Magic[8];
uint64 ID;
int unk;
int ck;
if(Magic[0] == 0 && Magic[1] == 0)
{
BreakStream( FTell() - 24);
}
else if (Magic[4] == 0 && Magic[5] == 0)
{
FSkip(2048 - 24);
}
else if (ck == 0)
{
FSkip(1496 - 24);
int none4;
FSkip(none4 * 36);
BreakStream(FTell() - 24);
}
else
{
local char texture[8] = {
0x6D, 0x32, 0xF3, 0xC3, 0xD1, 0x9C, 0x65, 0xE9
};
int blockleng;
int h_blockleng;
int unleng;
int l4;
int64 l5;
uint64 hash2;

if(Magic == texture)
{
byte array[blockleng];
BreakStream(FTell() - 8 );
//Printf("ok");
}
else
{
byte array[blockleng];
FSkip(-8);
}
}
/**/
//local int c = FTell() - 8;
//Printf("%d",Magic[1]);
} DPCSTRUCT;
DPCSTRUCT dcpstruct[num + 2] <optimize=false>;

void BreakStream (int f)
{
local int por = f % 2048;
local int go = 2048 - por + f;
FSeek(go);
}
Last edited by mrmemmo on Wed Nov 18, 2020 6:15 am, edited 1 time in total.

mrmemmo
ultra-n00b
Posts: 3
Joined: Sat May 25, 2019 10:44 am

Re: A plague of tale : innocence localization

Post by mrmemmo » Wed Nov 18, 2020 5:40 am

just help me repack dpc. i can unpack it, edit bottom( mapping font) but can't inject texture to middle, game can't show text because something wrong. there are some places in the file that I do not know how to function but i have no time find it.

LazyCat2k3
ultra-n00b
Posts: 7
Joined: Tue Aug 25, 2020 6:03 pm
Has thanked: 6 times
Been thanked: 1 time

Re: A plague of tale : innocence localization

Post by LazyCat2k3 » Fri Nov 20, 2020 5:01 pm

It's LZ4.
Try compressing the unpacked file with a smaller size, fill the padding with null and edit some size references.

Post Reply