CensoredUsername / unrpyc

A ren'py script decompiler
Other
864 stars 157 forks source link

Decompiling translation files #14

Closed al42and closed 9 years ago

al42and commented 9 years ago

Added support for Translate, EndTranslate, TranslateString and TranslateBlock AST nodes.

Had to change escape_string to handle backslashes: don't think it will break anything.

CensoredUsername commented 9 years ago

Thanks for the contribution. I added a check so the ast nodes only get added to statement_printer_dict if they're known to the engine, otherwise it could lead to attribute errors in older ren'py versions.