Page 1 of 1

A plague of tale : innocence localization

Posted: Wed Nov 11, 2020 1:28 am
by ali1560
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?

Re: A plague of tale : innocence localization

Posted: Wed Nov 11, 2020 11:41 am
by ikskoks
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.

Re: A plague of tale : innocence localization

Posted: Wed Nov 11, 2020 1:36 pm
by ali1560
Aha....I'll check it out
and thanks for your help

Re: A plague of tale : innocence localization

Posted: Sat Nov 14, 2020 4:16 pm
by gameside
Can You upload FONT.DPC or ENGLISH.DPC?
i want to check them

Re: A plague of tale : innocence localization

Posted: Wed Nov 18, 2020 5:23 am
by mrmemmo
//------------------------------------------------
//--- 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);
}

Re: A plague of tale : innocence localization

Posted: Wed Nov 18, 2020 5:40 am
by mrmemmo
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.

Re: A plague of tale : innocence localization

Posted: Fri Nov 20, 2020 5:01 pm
by LazyCat2k3
It's LZ4.
Try compressing the unpacked file with a smaller size, fill the padding with null and edit some size references.