Need for Speed Rivals Russian text encoding

How to translate the files of a game
SafaAlFulaij
Posts: 3
Joined: Sat May 20, 2017 5:12 am

Need for Speed Rivals Russian text encoding

Post by SafaAlFulaij »

Hello everyone.
I'm trying to understand how do the localization works in NFS Rivals.
Rivals uses FrostBite 3. I was able to extract the raw localization files and did a small tool to modify the English version.
But the English file uses ASCII characters only, while the Russian file uses some codes that I couldn't understand how they work.
English texts (ASCII):
41 63 63 65 70 74
52 65 61 63 68 65 64 20 48 65 61 74 20 31 30
52 65 61 63 68 20 48 65 61 74 20 31 30
31 30 20 48 65 61 74
42 75 73 74 65 64 20 61 20 52 61 63 65 72 20 61 74 20 48 65 61 74 20 35 20 6F 72 20 67 72 65 61 74 65 72
42 75 73 74 20 61 20 52 61 63 65 72 20 61 74 20 48 65 61 74 20 35 20 6F 72 20 67 72 65 61 74 65 72
35 20 42 75 73 74 65 72
42 75 73 74 65 64 20 61 20 52 61 63 65 72 20 61 74 20 48 65 61 74 20 38 20 6F 72 20 67 72 65 61 74 65 72
42 75 73 74 20 61 20 52 61 63 65 72 20 61 74 20 48 65 61 74 20 38 20 6F 72 20 67 72 65 61 74 65 72
38 20 42 75 73 74 65 72
42 61 6E 6B 65 64 20 35 30 30 2C 30 30 30 20 69 6E 20 6F 6E 65 20 67 6F
42 61 6E 6B 20 35 30 30 2C 30 30 30 20 69 6E 20 6F 6E 65 20 67 6F
42 69 67 67 65 72 20 50 6F 69 6E 74 73
42 75 73 74 65 64 20 61 20 46 72 69 65 6E 64
42 75 73 74 20 61 20 46 72 69 65 6E 64
42 75 64 64 79 20 42 75 73 74
42 75 73 74 65 64 20 31 30 20 52 61 63 65 72 73 20 69 6E 20 61 20 4D 75 73 74 61 6E 67
42 75 73 74 20 31 30 20 52 61 63 65 72 73 20 69 6E 20 61 20 4D 75 73 74 61 6E 67
4C 63 6E 63 65 20 6E 20 52 67 73 74 72 74 6E 20 70 6C 73
42 75 73 74 65 64 20 35 30 20 52 61 63 65 72 73

Accept
Reached Heat 10
Reach Heat 10
10 Heat
Busted a Racer at Heat 5 or greater
Bust a Racer at Heat 5 or greater
5 Buster
Busted a Racer at Heat 8 or greater
Bust a Racer at Heat 8 or greater
8 Buster
Banked 500,000 in one go
Bank 500,000 in one go
Bigger Points
Busted a Friend
Bust a Friend
Buddy Bust
Busted 10 Racers in a Mustang
Bust 10 Racers in a Mustang
Lcnce n Rgstrtn pls
Busted 50 Racers


Russian texts (order is the exact same, and each byte is actually one character, if I'm not mistaken):
9A 87 84 85 92 86 94
9E 81 88 86 84 91 85 8D 86 20 8D 87 81 89 82 85 94 20 8B 81 91 81 85 84 20 31 30
9E 81 88 86 84 99 94 20 8D 87 81 89 85 92 20 8B 81 91 81 85 84 20 31 30
B0 87 81 89 82 85 94 20 8B 81 91 81 85 84 20 31 30
A7 87 82 88 86 81 89 83 85 20 91 81 85 A1 84 8F 20 88 20 8D 87 81 89 85 82 8C 20 8B 81 91 81 85 84 20 35 20 84 8A 84 20 89 90 96 82
A7 87 82 88 86 81 89 83 86 94 20 91 81 85 A1 84 8F 83 20 88 20 8D 87 81 89 85 82 8C 20 8B 81 91 81 85 84 20 35 20 84 8A 84 20 89 90 96 82
A7 87 82 88 86 20 85 83 20 35
A7 87 82 88 86 81 89 83 85 20 91 81 85 A1 84 8F 20 88 20 8D 87 81 89 85 82 8C 20 8B 81 91 81 85 84 20 38 20 84 8A 84 20 89 90 96 82
A7 87 82 88 86 81 89 83 86 94 20 91 81 85 A1 84 8F 83 20 88 20 8D 87 81 89 85 82 8C 20 8B 81 91 81 85 84 20 38 20 84 8A 84 20 89 90 96 82
A7 87 82 88 86 20 85 83 20 38
35 30 30 20 30 30 30 20 81 86 8B 87 83 89 8A 82 85 81 20 89 20 98 83 85 8F 20 93 83 20 81 8E 84 85 20 87 83 93
9D 86 8B 87 83 89 84 86 94 20 89 20 98 83 85 8F 20 35 30 30 20 30 30 30 20 93 83 20 81 8E 84 85 20 87 83 93
B5 81 8A 94 96 82 20 81 99 8F 81 89
A7 87 82 88 86 81 89 83 85 20 9E 87 8D 91
A7 87 82 88 86 81 89 83 86 94 20 9E 87 8D 91 83
9E 87 8D 97 82 88 8F 84 95 20 83 87 82 88 86
A7 87 82 88 86 81 89 83 85 81 20 31 30 20 91 81 85 A1 84 8F 81 89 20 85 83 20 4D 75 73 74 61 6E 67
A7 87 82 88 86 81 89 83 86 94 20 31 30 20 91 81 85 A1 84 8F 81 89 20 85 83 20 4D 75 73 74 61 6E 67
9A 87 82 8E B7 92 89 84 86 82 20 8E 81 8F 8D 8C 82 85 86 90
A7 87 82 88 86 81 89 83 85 81 20 35 30 20 91 81 85 A1 84 8F 81 89

Real Text (From website, 00 is not-found strings):
00
00
Достигнут уровень погони 10
Уровень погони 10
00
Арестован гонщик с уровнем погони 5 или выше
Арест на 5
00
Арестован гонщик с уровнем погони 8 или выше
Арест на 8
00
500 000 отправлено в банк за один раз
Больше очков
00
Арестован Друг
Дружеский арест
00
Арестовано 10 гонщиков на Mustang
Предъявите документы
00


Japanese text (Same order, not sure each character takes how many bytes):
85 D6 86 97
31 30 C7 88 8A 90 86 D3 87 BD
31 30 C7 88 8A 90 86 D3 87 BD 8F 9B
31 30 C7 88 8A
35 C7 88 8A 87 AC ED 8D 93 88 AF 88 8B FC F3
35 C7 88 8A 87 AC ED 8D 93 88 AF 88 8B FC F3 8F 9B
35 BD 8C A3 88
38 C7 88 8A 87 AC ED 8D 93 88 AF 88 8B FC F3
38 C7 88 8A 87 AC ED 8D 93 88 AF 88 8B FC F3 8F 9B
38 BD 8C A3 88
31 CF 94 35 30 30 2C 30 30 30 F3 86 8D
31 CF 94 35 30 30 2C 30 30 30 F3 86 8D 8F 9B
87 B1 8E DC 87 85 92 89 8A
A7 93 89 96 8B FC F3
A7 93 89 96 8B FC F3 8F 9B
BD F9 CB 88 FC F3
4D 75 73 74 61 6E 67 94 93 88 AF 88 31 30 87 89 8B FC F3
4D 75 73 74 61 6E 67 94 93 88 AF 88 31 30 87 89 8B FC F3 8F 9B
83 C6 83 9C 83 9D 87 D5 91 A8
93 88 AF 88 35 30 87 89 8B FC F3


I'm trying to understand how this works so that I know if I can try translating the game to another language which requires Unicode.