Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

About Date A Live(PC) Text(*.bin) Extraction n Insert

Featured Replies

  • Author
  • Localization

OneCombo, posted Fri Jul 26, 2019 2:32 pm (50021)


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
  • Author
  • Localization

HorrorTroll, posted Sat Jul 27, 2019 3:12 pm (50035)


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

Image

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

Image

The thing is i don't know how to replace font image on .tex file
  • Author
  • Localization

OneCombo, posted Sat Jul 27, 2019 4:44 pm (50038)


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.
  • Author
  • Localization

haku0011, posted Sat Jul 27, 2019 4:56 pm (50039)


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.
  • Author
  • Localization

OneCombo, posted Sat Jul 27, 2019 5:07 pm (50041)


I think it would be possible if the encoding utf-8
  • Author
  • Localization

Hoshi_VNM, posted Sun Jul 28, 2019 12:06 am (50046)


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.
  • Author
  • Localization

haku0011, posted Sun Jul 28, 2019 9:17 am (50051)


Image
Image

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.
  • Author
  • Localization

HorrorTroll, posted Sun Jul 28, 2019 10:31 am (50052)


I know how to change texture already, take a look of my example on title.tex

Example: Image

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!
  • Author
  • Localization

akintos, posted Sun Jul 28, 2019 4:28 pm (50057)


Font .code file is pretty simple.

Code:
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];
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.