Broken Sword 5 - the Serpent's Curse .txa

How to translate the files of a game
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Broken Sword 5 - the Serpent's Curse .txa

Post by makc_ar »

Game: http://store.steampowered.com/app/26294 ... ents_Curse
Image
Image

Someone tool export_import?

Code: Select all

//------------------------------------------------
//--- 010 Editor v8.0 Binary Template
//
//      File: Broken Sword 5 (*.txa) Template
//   Authors: Shegorat
//   Version: 1.0
//      Game: Broken Sword 5 - the Serpent's Curse
//  Category: Text resource
// File Mask: *.txa
//  ID Bytes:
//   History:
//------------------------------------------------

struct {
    char id[8];
    uint32 count;

    struct {
        uint32 id;
        uint32 offset;
    } offsets[count];

    struct {
        string str;
    } strings[count] <optimize=false>;
   
} header;
swuforce
Posts: 233
Joined: Thu Oct 16, 2014 4:39 pm

Re: Broken Sword 5 - the Serpent's Curse .txa

Post by swuforce »

Try my script.
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Broken Sword 5 - the Serpent's Curse .txa

Post by Delutto »

Broken Sword 5 TXA Text Tool (PC)
By Delutto
Broken_Sword_5_TXA_Text_Tool_By_Delutto.7z
Last edited by Delutto on Tue Mar 20, 2018 2:09 am, edited 1 time in total.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Broken Sword 5 - the Serpent's Curse .txa

Post by makc_ar »

Thanks a lot my friends!

@swuforce
How about insert russian.txa in general.vt7a?
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Broken Sword 5 - the Serpent's Curse .txa

Post by Delutto »

makc_ar wrote:How about insert russian.txa in general.vt7a?
You can do this by hand.
With a HEX Editor, open general.vt7a and:
- Search for DE94F30C (languages/russian.txa CRC provided by your .list)
- Next 4 bytes are the FileOffset, change to 00A06201 (End of file)
- Next 4 bytes are FileSize, change to your russian.txa file size
- Next 4 bytes are File Compressed Size (zlib), change to 00000000 (This means that file is not compressed.)
- Open your russian.txa with a HEX Editor e copy all data and paste on end of general.vt7a.
- Save mod general.vt7a and test on game.

If game doesn't have any file verification, should works.

Image

PS: Have you tried use the REIMPORT 2?
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Broken Sword 5 - the Serpent's Curse .txa

Post by makc_ar »

Image

I added lines in code swuforce

Image
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Broken Sword 5 - the Serpent's Curse .txa

Post by Delutto »

Nice!
Soon will be you making the tools and answering the requests!
I'm glad in be helpful.