Hi, I am a Korean amateur localizer.
I need help localizing the game
The problem is that I extracted the file and I want to repack the file again after editing it.
I need a text extraction and insertion tool.
When "* .pck" is extracted, "* .bin" is extracted for each folder.
Can anyone help?
This is an example file.
https://drive.google.com/open?id=15gtei ... bYI80z3lSx
https://drive.google.com/open?id=1VJcXz ... xQpxXnHMCq
https://drive.google.com/open?id=1QpagK ... q4vK69tpaO
This is all file
https://drive.google.com/open?id=1cOVum ... C6VMwqKb4s
I need help
About Date A Live(PC) Text(*.bin) Extraction n Insert
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
-
- Posts: 6
- Joined: Sat Jul 13, 2019 1:08 am
Re: About Date A Live(PC) Text(*.bin) Extraction n Insert
For those bin file u can edit by using Notepad++
Take example on database.bin on Japan language, open that file on Notepad++ and scroll to right at line 10, u will see the text. But the file encode at ANSI, so u have change encode ANSI to UTF-8 to see the Japanese text

And here for day01_01a.bin on script.pck from English language, open that file on Notepad++ and scroll to right at line 69, u will see the text. This is english language so u can see the text on encode ANSI

The thing is i don't know how to replace font image on .tex file
Take example on database.bin on Japan language, open that file on Notepad++ and scroll to right at line 10, u will see the text. But the file encode at ANSI, so u have change encode ANSI to UTF-8 to see the Japanese text

And here for day01_01a.bin on script.pck from English language, open that file on Notepad++ and scroll to right at line 69, u will see the text. This is english language so u can see the text on encode ANSI

The thing is i don't know how to replace font image on .tex file
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
Re: About Date A Live(PC) Text(*.bin) Extraction n Insert
I know what you said.
However, there is a limit on the number of characters, and it seems like there is a pointer, so it needs to be modified through the program.
Also, in the case of database.bin, there are several files and scripts, which can also be a problem.
However, there is a limit on the number of characters, and it seems like there is a pointer, so it needs to be modified through the program.
Also, in the case of database.bin, there are several files and scripts, which can also be a problem.
-
- Posts: 29
- Joined: Thu Sep 10, 2015 8:22 am
Re: About Date A Live(PC) Text(*.bin) Extraction n Insert
I can deal with that bin file and the pointer with any languague!
The problem is font.code is the address of font tex file but i can't do anything to that.
The problem is font.code is the address of font tex file but i can't do anything to that.
-
- Posts: 67
- Joined: Mon Jul 20, 2015 1:12 pm
Re: About Date A Live(PC) Text(*.bin) Extraction n Insert
I think it would be possible if the encoding utf-8
-
- Posts: 1
- Joined: Sun Jul 28, 2019 12:01 am
Re: About Date A Live(PC) Text(*.bin) Extraction n Insert
haku0011 wrote:I can deal with that bin file and the pointer with any languague!
The problem is font.code is the address of font tex file but i can't do anything to that.
If you know how to deal with the script, then tell the others so anyone with the same problem will know it too.
-
- Posts: 29
- Joined: Thu Sep 10, 2015 8:22 am
Re: About Date A Live(PC) Text(*.bin) Extraction n Insert


There are many texts and files so to make a tools will make a lots of time. But I just don't know to work with font.
I will make a demo and guide you guys deal with those file.
With my ways you can write any language you want.
-
- Posts: 6
- Joined: Sat Jul 13, 2019 1:08 am
Re: About Date A Live(PC) Text(*.bin) Extraction n Insert
I know how to change texture already, take a look of my example on title.tex
Example:
Just use a script bms tool convert tex to dds in here: viewtopic.php?p=49996#p49996
When u get a dds file, i use Paint.NET to edit DDS image. After edit done, just save at A8B8G8R8 mode!
Example:

Just use a script bms tool convert tex to dds in here: viewtopic.php?p=49996#p49996
When u get a dds file, i use Paint.NET to edit DDS image. After edit done, just save at A8B8G8R8 mode!
-
- Posts: 88
- Joined: Tue May 08, 2018 7:48 pm
Re: About Date A Live(PC) Text(*.bin) Extraction n Insert
Font .code file is pretty simple.
Code: Select all
int fontSize;
int chars;
float charWidth; // (fontSize / textureWidth)
float charHeight; // (fontSize / textureHeight)
struct CharDef {
char charCode[4]; // Reversed utf8 code, null padded
float x; // (x_coordinate / textureWidth)
float y; // (y_coordinate / textureHeight)
int xoffset;
int xadvance;
} charDef[chars];