Open javiert239 opened 6 years ago
@javiert239, the problem is that, not all .tbl files are currently supported (also not all .tbl files contain text, but rather other game data, so some specific files could still having errors when encoding/decoding). Please try it out now with the test fix applied.
Many thanks for the reply. I try the fix and it works perfectly. Thanks. By the way, I was just checking the other issue post (in russian), and I learned where is the main text. The problem is the game doesn't show the special characters of my language (like "¡"). In the post in russian I see the problem was solved, but I don't undestand russian, so I don't know exactly how do it. I change the codification of the .xml file to utf8, then I converted to .dat again. But, if a convert that file again to xml. the codificaction change again. Is any way to solve that?
Just so you know, after the last updates you did, and after install the chardet package, the encoding issue still persist.
My bad, after two days testing the tools, I found with the option encode that the files indeed save the codification correctly. In other hand, the game don't acept the chatacters with accent marks, neither the "¡" or "¿" characters. Do you know a way to solve this?
@javiert239, sorry but I don't currently have a time for a game tests.
Hi, first of all, thanks for the tools for the game. Now then, I was trying to use this tools to translate the game to my language. The problem is I can't convert the most of the files .tbl to .txt or .xml. But the weird thing is I can convert some of them. Then, the few files that I converted to .txt or .xml, get corrupted. I mean, there are some lines with unrecognized characters. When I tried to convert the files back to the format .tbl, I get an error in this lines. I tried to deleted the unrecognized characters, and then I finally could convert the files to tbl. But, they got corrupted (the game give me a error when I tried it.) This is the error I get in some on the files .tbl:
I tried using python 2.7 and 3.4. You could tell me what I'm doing wrong?