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
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?
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
A plague of tale : innocence localization
A plague of tale : innocence localization
You do not have the required permissions to view the files attached to this post.
- ikskoks
- Moderator
- Posts: 1667
- Joined: Thu Jul 26, 2012 5:06 pm
- Location: Poland, Łódź
- Has thanked: 647 times
- Been thanked: 431 times
- Contact:
Re: A plague of tale : innocence localization
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.
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
Can You upload FONT.DPC or ENGLISH.DPC?
i want to check them
i want to check them
Re: A plague of tale : innocence localization
//------------------------------------------------
//--- 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);
}
//--- 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.
Re: A plague of tale : innocence localization
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.
-
- ultra-n00b
- Posts: 7
- Joined: Tue Aug 25, 2020 6:03 pm
- Has thanked: 7 times
- Been thanked: 1 time
Re: A plague of tale : innocence localization
It's LZ4.
Try compressing the unpacked file with a smaller size, fill the padding with null and edit some size references.
Try compressing the unpacked file with a smaller size, fill the padding with null and edit some size references.