Text tool for the Ghost Recon game

How to translate the files of a game
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Text tool for the Ghost Recon game

Post by Kratos9999 »

Hi guys, someone can provide me a tool for export/import the texts of this file https://drive.google.com/file/d/0B-izXc ... p=drivesdk
This file is from Ghost Recon: Jungle Storm for PS2, I have tried make a tool using the judgereddvds source code by Swuforce, the texts are extracted, but partially,
every text line is missing 3 to 5 chars in beggining.
swuforce
Posts: 233
Joined: Thu Oct 16, 2014 4:39 pm

Re: Text tool for the Ghost Recon game

Post by swuforce »

Try to make your own script.
The format is:

Code: Select all

4 bytes - Number of textblocks
for each block
    4 bytes - Number of texts
    for each texts
       4 bytes - Size of text
       data[Size of text] - ANSI text data
       2 byte - Null
    end of text
    4 bytes - Null
end of block

Use the risen2_export_ps3 script. It's very simlar.
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Text tool for the Ghost Recon game

Post by Kratos9999 »

Ok, I'll try here
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Text tool for the Ghost Recon game

Post by Kratos9999 »

I've tried with the risen2_export and something others scripts, but I have failed. :|
In my attemps the texts are extracted, but there is no line breaks and there bytes nulls and strange symbols.
swuforce
Posts: 233
Joined: Thu Oct 16, 2014 4:39 pm

Re: Text tool for the Ghost Recon game

Post by swuforce »

Try this tool.
Kratos9999
Posts: 129
Joined: Mon Aug 22, 2016 10:30 am

Re: Text tool for the Ghost Recon game

Post by Kratos9999 »

Thanks swuforce!