Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Text Dump

Need help translating games in other languages? Have your language problems solved here.
Post Reply
Naroax
beginner
Posts: 30
Joined: Sat Aug 30, 2014 6:44 pm
Has thanked: 7 times
Been thanked: 1 time

Text Dump

Post by Naroax »

Hi :)

This is my first topic, all tho, It's not a request to translate a game or extract something, It's more like " show me how ".

I'll just go straight to subject, I love reading game scripts, ( not BMS/Maxscripts lol ) i mean games transcripts, the whole script that contains everything that has been said in the game.

Text Dump from games is already possible, and to check that you can look up on the internet for MGS 1 script, so does somebody have any idea how to do that? I would love to extract texts and translate them to my native language :)

Thanks in advance.

EDIT : and about not uploading any samples is because I have a game but I don't know where is the file that contains text/dialogue from the whole game.
GMMan
veteran
Posts: 139
Joined: Fri Nov 05, 2010 10:14 pm
Been thanked: 56 times

Re: Text Dump

Post by GMMan »

Localization data are commonly stored in XML, CSV, text flat file, or a custom binary format. The first three are easy to modify, while the last is harder. To find those files, first you'll have to extract whatever archive the files are in, if applicable. Then, use a file searching program to search for a known string, and pin down the file the text is in. Open it with a hex editor or text editor, and if the format isn't too odd, you can go modify it. An important thing to consider is encoding and font support. If the game does not support the encoding you want to translate into, you're mostly out of luck. Fortunately, more games are being written with Unicode support. The font issue is a tricky one. Most fonts are rendered into a raster texture, and you'll have to make corresponding font definition files so the game can locate each glyph. This can get difficult for languages with unique characters for each word (such as with Chinese). You'll also need to find a font that actually looks nice in-game.
Currently researching: Alpha Prime scripting (AI and mods)
Queued: EE .cache repacking, CustomPak repacking, Gameloft Scrambled Zip multitool, GRAF Extractor Skeleton repacking, Gun Metal filenames CRC
Naroax
beginner
Posts: 30
Joined: Sat Aug 30, 2014 6:44 pm
Has thanked: 7 times
Been thanked: 1 time

Re: Text Dump

Post by Naroax »

Thanks for the reply Gmman, now I'm not a coder and I'm keen to this field, only interested in texts at the moment :)

care to write a quick tuto if you may of course :) or are there any tools to do such thing?
GMMan
veteran
Posts: 139
Joined: Fri Nov 05, 2010 10:14 pm
Been thanked: 56 times

Re: Text Dump

Post by GMMan »

I'm not sure if there's a catch-all localization app. In any case, the minimum tool you need is a hex editor. With a hex editor, you can explore binary files. If you state what game you're working on, maybe we can track down the file for you.
Currently researching: Alpha Prime scripting (AI and mods)
Queued: EE .cache repacking, CustomPak repacking, Gameloft Scrambled Zip multitool, GRAF Extractor Skeleton repacking, Gun Metal filenames CRC
Naroax
beginner
Posts: 30
Joined: Sat Aug 30, 2014 6:44 pm
Has thanked: 7 times
Been thanked: 1 time

Re: Text Dump

Post by Naroax »

Thanks a lot Gmman, alright the game is Asassin's Creed 3, the English of that period was amazing so I would love to get the script for the game.
Post Reply