Skip to content

Commit e82c659

Browse files
committed
Add Onimusha: Way of the Sword support
1 parent a07505f commit e82c659

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

shared/sdk/GameIdentity.cpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ static constexpr ExeMapping s_exe_table[] = {
109109
// Pragmata (provisional)
110110

111111
{"pragmata", GameID::PRAGMATA},
112+
113+
// Onimusha WotS
114+
{"onimushawots", GameID::ONIMUSHA_WOTS},
115+
{"onimushawots_demo", GameID::ONIMUSHA_WOTS},
112116
};
113117

114118
void GameIdentity::detect_game() {
@@ -352,6 +356,16 @@ void GameIdentity::derive_engine_params() {
352356
m_target_name = "PRAGMATA";
353357
break;
354358

359+
case GameID::ONIMUSHA_WOTS:
360+
m_tdb_ver = 82;
361+
m_type_index_bits = 19;
362+
m_field_bits = 20;
363+
m_reengine_packed = true;
364+
m_reengine_at = true;
365+
m_game_name = "onimusha_wots";
366+
m_target_name = "ONIMUSHA_WOTS";
367+
break;
368+
355369
case GameID::Unknown:
356370
default:
357371
m_tdb_ver = 0;

shared/sdk/GameIdentity.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ enum class GameID : uint8_t {
2929
ONIMUSHA2, // Onimusha 2: Samurai's Destiny
3030
STARFORCE, // Mega Man Star Force Legacy Collection
3131
PRAGMATA,
32+
ONIMUSHA_WOTS, // Onimusha: Way of the Sword
3233
Count
3334
};
3435

0 commit comments

Comments
 (0)