Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Radiant on Fri 30/09/2016 22:20:46

Title: Decompile a .tra?
Post by: Radiant on Fri 30/09/2016 22:20:46
Is it possible to decompile a .tra back into a .trs file?
Title: Re: Decompile a .tra?
Post by: Crimson Wizard on Fri 30/09/2016 22:27:23
Quote from: Radiant on Fri 30/09/2016 22:20:46
Is it possible to decompile a .tra back into a .trs file?
It should be technically possible, because there is basically a key/value map of strings inside. Maybe there are even programs for this somewhere in "unofficial" translation communities.

The code related to reading tra file into dictionary of strings:
https://github.com/adventuregamestudio/ags/blob/master/Engine/ac/translation.cpp#L126