Resident Evil 5 .MSG Textool Unicode

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Resident Evil 5 .MSG Textool Unicode

Post by shadow_lonely »

Hi everyone! Could you help me export and import text from this game with unicode support?
I used those character:
ä
ç
è
é
ê
ë
ì
í
î
ï
ò
ó
ô
ö
ù
ú
û
ü
Ą
Ć
Ĕ
Ű
Ů
Ý
Ă
Đ
ą
ę
ě
ĺ
ŕ
ř
ś
š
ť
ű
ů
ý
ź
ž
ż
ă
ð
ţ
Г
Е
Ё
И
П
ь
Ў
а
б
в
г
е
ё
з
и
к
н
о
п
р
с
у
ъ
я
є
ѕ
ќ
џ
ћ
Í
Ó
Ô
à
á
â
э
Ê


I used a tool from GameVicio, this tool not support unicode. I will send files private! Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Resident Evil 5 .MSG Textool Unicode

Post by aluigi »

Usually unicode is boring to handle, because it depends by the codepage (the table with the corresponding alphabet) that has been used and this is valid with both UTF8 (1 byte minimum per char), UTF16 (2 bytes minimum per char) and the others.

So if the game reads utf8 Japanes Shift jis (932) you can't give it a "text" file that uses another code page (cyrillic, latin and so on).

Does that tool accepts an input file with the edited strings?
If it just copy&paste the input data in the new MSG file than it's enough to pass it the file that uses utf8 932.

Anyway I think there are other people on the forum that can help you for real about this game.
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Resident Evil 5 .MSG Textool Unicode

Post by shadow_lonely »

aluigi wrote:Usually unicode is boring to handle, because it depends by the codepage (the table with the corresponding alphabet) that has been used and this is valid with both UTF8 (1 byte minimum per char), UTF16 (2 bytes minimum per char) and the others.

So if the game reads utf8 Japanes Shift jis (932) you can't give it a "text" file that uses another code page (cyrillic, latin and so on).

Does that tool accepts an input file with the edited strings?
If it just copy&paste the input data in the new MSG file than it's enough to pass it the file that uses utf8 932.

Anyway I think there are other people on the forum that can help you for real about this game.


Yes! That tool accepts an input file with the edited strings. But can not support unicode character. Here is font image:

Image

With tool i have:

Rus lang:

Image

Eng lang:

Image

I want to used these chars:
ţ
Г
Е
Ё
И
П
ь
Ў
а
б
в
г


Could you help me? Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Resident Evil 5 .MSG Textool Unicode

Post by aluigi »

I have seen the source code and the files very quickly, it seems that the files are not just in unicode but they have also a sort of additional encoding and the problem is just that the 12 chars you want to use are not in the list of those covered.
Have you tried to contact the author of that tool?
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Resident Evil 5 .MSG Textool Unicode

Post by shadow_lonely »

Subject: Resident Evil 5 .MSG Textool Unicode

aluigi wrote:I have seen the source code and the files very quickly, it seems that the files are not just in unicode but they have also a sort of additional encoding and the problem is just that the 12 chars you want to use are not in the list of those covered.
Have you tried to contact the author of that tool?


I tried to contact him, but this forum is old. I think he leaved this forum. :(
Yes, i need those chars. But text file (after unpacked) not support unicode text. :(
RetroHelix
Posts: 23
Joined: Sat Aug 09, 2014 2:28 pm

Re: Resident Evil 5 .MSG Textool Unicode

Post by RetroHelix »

I was not able to find the tool you are using... :( But if the sourcecode exists you maybe just have to extend the table with your chars (0xXXXX = Г and so on)
RetroHelix
Posts: 23
Joined: Sat Aug 09, 2014 2:28 pm

Re: Resident Evil 5 .MSG Textool Unicode

Post by RetroHelix »

I was able to take a look too and it is as Aluigi said. The table for the special encoding does not cover all characters. I would try to build my own table and go with http://www.romhacking.net/utilities/647/ instead of this tool. The text seems to start at 0x40.
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Resident Evil 5 .MSG Textool Unicode

Post by shadow_lonely »

RetroHelix wrote:I was able to take a look too and it is as Aluigi said. The table for the special encoding does not cover all characters. I would try to build my own table and go with http://www.romhacking.net/utilities/647/ instead of this tool. The text seems to start at 0x40.


Thanks! I will try!