Angry Birds Series (*.DAT)

How to translate the files of a game
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Angry Birds Series (*.DAT)

Post by Ekey »

Info about localization format. It maybe useful for someone :)

Code: Select all

struct DATHeader
{
    DWORD   dwID; //KA3D
    DWORD   dwDataSize; // dwSize - 8
};

struct SUBHeader
{
    DWORD   dwID; //TEXT
    DWORD   dwDataSize; // dwSize - 16
    SHORT   sVersion; // 1
};

struct LANGHeader
{
    DWORD   dwID; //LDAT
    DWORD   dwHeaderSize;
    SHORT   sLangsCount;
};

for(int i = 0; i < LANGHeader.sLangsCount; i++)
{
  struct LANGEntry
  {
      SHORT   sLangNameLength;
      BYTE    pLangName[LANGEntry.sLangNameLength]
  };
}

struct LBLHeader
{
    DWORD   dwID; //LIDS
    DWORD   dwLabelsDataSize; // -2
    SHORT   sLabelsCount;
};

struct LBLGEntry
{
    SHORT   sLabelNameLength;
    BYTE    pLabelName[LBLGEntry.sLabelNameLength]
};

for(int i = 0; i < LANGHeader.sLangsCount; i++)
{
  struct STRHeader
  {
      DWORD   dwID; //TXGP
      DWORD   dwStringsDataSize;
  };

  struct STRGEntry
  {
      SHORT   sStringDataLength;
      BYTE    pString[STRGEntry.sStringDataLength]
  };
}
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Series (*.DAT)

Post by LolHacksRule »

Can someone make a tool for these files? There were some existing but the links to them are dead...
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Series (*.DAT)

Post by LolHacksRule »

Bump plz?
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Angry Birds Series (*.DAT)

Post by Delutto »

No samples = no tool.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Classic Series (*.DAT)

Post by LolHacksRule »

Here's the localization and font files from ABClassic v8.0.1. They are a little different from each other. KA3D src (bin is on SourceForge): https://github.com/pent0/ka3d/
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Series (*.DAT)

Post by LolHacksRule »

Bump?
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Series (*.DAT)

Post by LolHacksRule »

Bump again?
swuforce
Posts: 233
Joined: Thu Oct 16, 2014 4:39 pm

Re: Angry Birds Series (*.DAT)

Post by swuforce »

Tool by bacter.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Series (*.DAT)

Post by LolHacksRule »

THANK YOU SO MUCH! I WAS LOOKING FOR THAT TOOL! THANK YOU SO MUCH FOR THE ARCHIVAL!