Disgeae 6 [DAT STRING files]

How to translate the files of a game
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Disgeae 6 [DAT STRING files]

Post by MuslimCyberGames »

Image
DISGAEA 6 Complete (STEAM)

Hello, can anyone help me to make some script for extrac/import for this game?

I attach some file for the test.

Thank for helping.
NoobInCoding
Posts: 127
Joined: Sat Aug 07, 2021 9:49 am

Re: Disgeae 6 [DAT STRING files]

Post by NoobInCoding »

this is the 010 template for your file:

Code: Select all

//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//
//      File: Disgeae6String.bt
//   Authors: NoobInCoding
//   Version: 1.0
//------------------------------------------------
int Count;
struct{
    int BlockSize;
    int Index;
    int IDLen;
    char ID[IDLen];
    struct{
        int StrLen;
        char Str[StrLen];
    }Langs[6]<optimize=false>;
}Block[Count]<optimize=false>;


I don't have time to build a tool for that but you can use the structure to build a tool or edit the file.
LinkOFF
Posts: 88
Joined: Thu Aug 11, 2016 6:52 pm

Re: Disgeae 6 [DAT STRING files]

Post by LinkOFF »

You can drag .dat file to extract ALL languages to the .txt file or use command to get specific language.
UPD: Rebuild mode.

Code: Select all

Disgaea6StringTool.exe extract string.dat en

Code: Select all

Disgaea6StringTool.exe rebuild string.dat string_en.txt string_new.dat
Last edited by LinkOFF on Sat Jul 02, 2022 3:44 pm, edited 3 times in total.
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Re: Disgeae 6 [DAT STRING files]

Post by MuslimCyberGames »

Thank you for helping me and answering me post. I gonna to test it.
LinkOFF
Posts: 88
Joined: Thu Aug 11, 2016 6:52 pm

Re: Disgeae 6 [DAT STRING files]

Post by LinkOFF »

Tool updated.
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Re: Disgeae 6 [DAT STRING files]

Post by MuslimCyberGames »

I test and work for the String.dat, but the other dat files with contains a string text, get error.

Like this:
Image

I attach dat files from the database folder.
LinkOFF
Posts: 88
Joined: Thu Aug 11, 2016 6:52 pm

Re: Disgeae 6 [DAT STRING files]

Post by LinkOFF »

MuslimCyberGames wrote:I test and work for the String.dat, but the other dat files with contains a string text, get error.

Each file has different struct similar to string.dat. I can't make tool for all of them.
Terminator2222
Posts: 44
Joined: Sat Jun 20, 2015 1:42 pm

Re: Disgeae 6 [DAT STRING files]

Post by Terminator2222 »

Check out this tools too: https://github.com/ProgSys/pg_disatools - PG Disatools

It's still in alpha... so...

It has:
- Disa PC File Manager
- Sprite Sheet Editor
- Data Editor

"This tool allows you to edit some .DAT files. The file formats are not hardcoded you can easily edit them or add new formats. You can find the definition files at resources/dataFiles.

Base supported files:

DUNGEON.DAT - Contains all maps, that can appear in the menu of the teleport lady.
HOSPITAL.DAT - Contains the conditions you need to achieve to get the rewards from the hospital.
CHAR_C.DAT - Contains all the characters and their attributes.
CHAR_C - Like CHAR just used unicode strings.
CHAR_K - Like CHAR just used unicode strings.
MUSICSHOP - Contains all the music you can buy.
MAGIC - Contains all the spells and their attributes.
HABIT - Contains job titles and their attributes.
CHARHELP - Contains descriptions of all characters.
"

* TX2 Editor
* Map Viewer