Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions unlocker/Unlocker.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,40 @@ static const securom_game_t tron_evolution = {
},
};

static const securom_game_t tron_evolution_russian = {
.rsa_modulus_n = "95487472555A212CD1D8BCD8C00377",
.rsa_exponent_e = "6F54F5E33EDC54659D0BEFCBA6E181",

// Found in spot check 6
.appid = {
// 1st part (16 bytes)
0xF9, 0x83, 0x7A, 0x1D, 0x22, 0x2F, 0x64, 0x74,
0x28, 0xCB, 0x13, 0x30, 0x32, 0xD0, 0xD0, 0x0C,
// 2nd part (32 bytes)
0xE8, 0x96, 0xD4, 0xE1, 0xBD, 0xFC, 0x0E, 0x37,
0x96, 0xCB, 0xBC, 0x0F, 0xBB, 0xA5, 0x52, 0x58,
0xE8, 0x96, 0xD4, 0xE1, 0xBD, 0xFC, 0x0E, 0x37,
0xE8, 0x96, 0xD4, 0xE1, 0xBD, 0xFC, 0x0E, 0x37,
},
};

static const securom_game_t tron_evolution_polish_czech = {
.rsa_modulus_n = "5D7527DDF6D3C27FCED1F6F89F0407",
.rsa_exponent_e = "10D0D3AB8C8DED8B28435DED8C751",

// Found in spot check 6
.appid = {
// 1st part (16 bytes)
0xF9, 0x83, 0x7A, 0x1D, 0x22, 0x2F, 0x64, 0x74,
0x28, 0xCB, 0x13, 0x30, 0x32, 0xD0, 0xD0, 0x0C,
// 2nd part (32 bytes)
0xE8, 0x96, 0xD4, 0xE1, 0xBD, 0xFC, 0x0E, 0x37,
0xBD, 0x55, 0x24, 0x9C, 0xE7, 0x46, 0xD4, 0x3E,
0xE8, 0x96, 0xD4, 0xE1, 0xBD, 0xFC, 0x0E, 0x37,
0xE8, 0x96, 0xD4, 0xE1, 0xBD, 0xFC, 0x0E, 0x37,
},
};

static const char ascii_table[104] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
Expand Down
11 changes: 10 additions & 1 deletion unlocker/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,16 @@ auto main(int argc, char *argv[]) -> int
#else
auto start = GetTickCount64();

auto game = tron_evolution;
securom_game_t game;

if (argc >= 2) {
if (std::string(argv[1]) == "russian")
game = tron_evolution_russian
else if (std::string(argv[1]) == "polish" || std::string(argv[1]) == "czech")
game = tron_evolution_polish_czech
}
else
game = tron_evolution;
auto hwid = hwid_t();

hwid.init();
Expand Down