Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend hash list of known startup logos #3344

Merged
merged 5 commits into from
Feb 11, 2025
Merged
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
47 changes: 46 additions & 1 deletion src/exe_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,52 @@

namespace {
// hashes of known RPG_RT startup logos
std::array<uint32_t, 5> logo_crc32 = { 0xdf3d86a7, 0x2ece66f9, 0x2fe0de56, 0x25c4618f, 0x91b2635a };
std::array<uint32_t, 33> logo_crc32 = {
0xdf3d86a7, 0x2ece66f9, 0x2fe0de56, 0x25c4618f, 0x91b2635a,

/*
The values below have been extracted from a wide range of
bootleg versions of RPG_RT.exe that have historically been in
circulation in various communities (either as part of an Editor
translation or patch). The specified version strings here refer
to the info given in either the recovered Installer packages
or is taken from accompanying Readme files & do not necessarily
give reliable information about the actual, original RPG_RT
version on which these translations & patches were based on!
*/
// Recompressed, unaltered RPG2000 logos
0x6a88587e, 0x4beedd9a, 0x1c7f224b,
// Hellsoft's bootleg "RPG Maker PRO 1.05"
0x5ae12b1c, 0x3d1cb5f1, 0x04a7f11a,
// Hellsoft's bootleg "RPG Maker PRO 1.10"
0x9307807f, 0x652529ec, 0x5e73987b,
// Hellsoft's bootleg "RPG Maker PRO 1.15"
0x2e8271cb,
// Hellsoft's translation of Rm2k3: "1.0.2"
0x4e3f7560,
// Hellsoft's translation of Rm2k3: "1.0.4" & "1.0.7"
0x59ab3986,
// Hellsoft's translation of Rm2k3: "1.0.8" & "1.0.9"
0xd333b2dd,
// French "Rabbi-Bodom" translation of Rm2k3-1.0.9.1
0x476138cb,
// "Thaiware" translation of Rm2k
0x29efaf6a, 0xfeb8f6b2, 0x265855ad,
// Thai "House of the Dev" translation of Rm2k
0xa8be4ed3, 0xc75ccc6d, 0xcea40e5f,
// Thai "Somprasongk Team" translation of Rm2k3-1.0.6
0xc9b2e174,
// Italian Translation of Rm2k (Matteo S.& Christian C.)
0x1a1ed6dd, 0xad73ccf5, 0x4ad55e84,
// Italian "RPG Maker 4.0" Patch of Rm2k
0x8afe1239,
// Brazilian version of Rm2k3-1.0.9.1
0x089fb7d8,
// Spezial-Patch by Rikku2000 (1.51 with swapped logo)
0x806b6877,
// Gnaf's Picture Patch (1.50 with swapped logo)
0xc5e846a7
};
}

EXEReader::EXEReader(Filesystem_Stream::InputStream core) : corefile(std::move(core)) {
Expand Down
Loading