- APM3 multiple fixes
- Make Umifresh code universal - Add some missing Test menu CRCs - Add Patched Test menu CRCs (patcher soon in fixes channel)
This commit is contained in:
parent
f7727ced9b
commit
8d416a9fdb
@ -1044,6 +1044,14 @@ static InitFunction initGoonyaFunc([]()
|
||||
|
||||
}, GameID::GoonyaFighter);
|
||||
|
||||
static InitFunction initFuncGoonyaFighterTest([]()
|
||||
{
|
||||
HookAPM3(L"SDGX");
|
||||
|
||||
DWORD_PTR mainModuleBase = (DWORD_PTR)GetModuleHandle(0);
|
||||
|
||||
}, GameID::GoonyaFighterTest);
|
||||
|
||||
static InitFunction initPuyoFunc([]()
|
||||
{
|
||||
HookAPM3(L"SDFF");
|
||||
@ -1130,6 +1138,22 @@ static InitFunction initFuncBladeStrangesAPM3Test([]()
|
||||
|
||||
}, GameID::BladeStrangesAPM3Test);
|
||||
|
||||
static InitFunction initFuncDengekiBunkoFCAPM3Test([]()
|
||||
{
|
||||
HookAPM3(L"SDGC");
|
||||
|
||||
DWORD_PTR mainModuleBase = (DWORD_PTR)GetModuleHandle(0);
|
||||
|
||||
}, GameID::DengekiBunkoFCTest);
|
||||
|
||||
static InitFunction initFuncUmifreshTest([]()
|
||||
{
|
||||
HookAPM3(L"SDGU");
|
||||
|
||||
DWORD_PTR mainModuleBase = (DWORD_PTR)GetModuleHandle(0);
|
||||
|
||||
}, GameID::UmifreshTest);
|
||||
|
||||
#else
|
||||
|
||||
void __declspec(naked) setOption_x86()
|
||||
@ -1144,7 +1168,7 @@ void __declspec(naked) setOption_x86()
|
||||
}
|
||||
}
|
||||
|
||||
static InitFunction initFuncUmifresh02([]()
|
||||
static InitFunction initFuncUmifresh([]()
|
||||
{
|
||||
HookAPM3(L"SDGU");
|
||||
|
||||
@ -1153,30 +1177,13 @@ static InitFunction initFuncUmifresh02([]()
|
||||
// Windowed
|
||||
if (ToBool(config["General"]["Windowed"]))
|
||||
{
|
||||
injector::WriteMemory<BYTE>(mainModuleBase + 0x1D8FC4, 0xEB, true);
|
||||
injector::WriteMemory<BYTE>(hook::get_pattern("74 7A 68 DC 00 00 00"), 0xEB, true);
|
||||
}
|
||||
|
||||
injector::WriteMemory<BYTE>(mainModuleBase + 0x1806BF, 0xEB, true); // Skip some credit check idfk
|
||||
injector::WriteMemory<BYTE>(hook::get_pattern("75 47 53 8B 1D ? ? ? ?"), 0xEB, true); // Skip emoneyUI check
|
||||
|
||||
}, GameID::Umifresh);
|
||||
|
||||
static InitFunction initFuncUmifresh01([]()
|
||||
{
|
||||
HookAPM3(L"SDGU");
|
||||
|
||||
DWORD_PTR mainModuleBase = (DWORD_PTR)GetModuleHandle(0);
|
||||
|
||||
|
||||
// Windowed
|
||||
if (ToBool(config["General"]["Windowed"]))
|
||||
{
|
||||
injector::WriteMemory<BYTE>(mainModuleBase + 0x1D8144, 0xEB, true);
|
||||
}
|
||||
|
||||
injector::WriteMemory<BYTE>(mainModuleBase + 0x18025F, 0xEB, true); // Skip some credit check idfk
|
||||
|
||||
}, GameID::Umifresh01);
|
||||
|
||||
static InitFunction initFuncRollingGunner([]()
|
||||
{
|
||||
HookAPM3(L"SDGW");
|
||||
|
@ -617,11 +617,9 @@ void GameDetect::DetectCurrentGame()
|
||||
NesicaKey = NesicaKey::BlazBlueCentralFiction;
|
||||
isNesica = true;
|
||||
break;
|
||||
case 0x79fa2f58: // Umihara KawaseFresh!ForAC
|
||||
SetGameId(GameID::Umifresh, "Umihara KawaseFresh! For AC Update 01");
|
||||
break;
|
||||
case 0xd230e1e3: // Umihara KawaseFresh!ForAC
|
||||
SetGameId(GameID::Umifresh01, "Umihara KawaseFresh! For AC Base Version");
|
||||
case 0xd230e1e3: // Base
|
||||
case 0x79fa2f58: // Update 1
|
||||
SetGameId(GameID::Umifresh, "Umihara KawaseFresh! For AC");
|
||||
break;
|
||||
case 0x1ff0b15b: // Rolling Gunner 2.0
|
||||
case 0x3c367b7b: // Rolling Gunner 2.1
|
||||
@ -744,6 +742,12 @@ void GameDetect::DetectCurrentGame()
|
||||
case 0x671c46b5:
|
||||
SetGameId(GameID::GoonyaFighter, "GoonyaFighter");
|
||||
break;
|
||||
case 0x8506f190: // Base
|
||||
case 0x7f25027f: // GX12
|
||||
case 0x9c4ceac0: // Patched Base
|
||||
case 0x666f192f: // Patched GX12
|
||||
SetGameId(GameID::GoonyaFighterTest, "GoonyaFighter Test Menu");
|
||||
break;
|
||||
case 0x8c30fa5a:
|
||||
SetGameId(GameID::PuyoPuyoEsports, "PuyoPuyoEsports");
|
||||
break;
|
||||
@ -765,6 +769,11 @@ void GameDetect::DetectCurrentGame()
|
||||
case 0x4286c538: // FM12 Test
|
||||
case 0x0e285533: // FM13 Test
|
||||
case 0x94aababc: // FM14 Test
|
||||
case 0xfc2c76c0: // actual FM14 Test?
|
||||
case 0x537a803b: // Patched
|
||||
case 0xde2a87cd: // Patched
|
||||
case 0xe21c1708: // Patched
|
||||
case 0x101834fb: // Patched
|
||||
SetGameId(GameID::Doa6Test, "Dead or Alive 6 Test Generic");
|
||||
break;
|
||||
case 0xd0a6afbd: // GGS
|
||||
@ -775,7 +784,8 @@ void GameDetect::DetectCurrentGame()
|
||||
case 0x72F9B475:
|
||||
SetGameId(GameID::Taiko, "Taiko no Tatsujin Nijiiro");
|
||||
break;
|
||||
case 0xd9557fd6:
|
||||
case 0xd9557fd6: // Base and 1.2
|
||||
case 0x8fdfa4dd: // Patched Base and 1.2
|
||||
SetGameId(GameID::CottonRocknRollATest, "Cotton Rock n Roll A Test Menu");
|
||||
break;
|
||||
case 0x6dfc8f9a:
|
||||
@ -787,10 +797,20 @@ void GameDetect::DetectCurrentGame()
|
||||
case 0x714d4700:
|
||||
SetGameId(GameID::OtoshuDX, "Otoshu DX");
|
||||
break;
|
||||
case 0xb01b4eb8:
|
||||
case 0xc7e0776e: // Base
|
||||
case 0xb01b4eb8: // FD12
|
||||
case 0xbd0e4c01: // Patched Base
|
||||
case 0xcaf575d7: // Patched FD12
|
||||
SetGameId(GameID::BladeStrangesAPM3Test, "Blade Strangers APM3 Test Menu");
|
||||
break;
|
||||
|
||||
case 0x6288037c: // Base
|
||||
case 0xe82292da: // Patched Base
|
||||
SetGameId(GameID::DengekiBunkoFCTest, "Dengeki Bunko Fighting Climax APM3 Test Menu");
|
||||
break;
|
||||
case 0xd1707347: // Base
|
||||
case 0xc20612d0: // Patched Base
|
||||
SetGameId(GameID::UmifreshTest, "Umihara KawaseFresh! For AC Test Menu");
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
#ifdef _DEBUG
|
||||
|
@ -103,6 +103,7 @@ enum class GameID
|
||||
PengoAPM3_Test,
|
||||
VF5Esports,
|
||||
GoonyaFighter,
|
||||
GoonyaFighterTest,
|
||||
PuyoPuyoEsports,
|
||||
SFV,
|
||||
TappingSkillTest,
|
||||
@ -112,9 +113,9 @@ enum class GameID
|
||||
WMMT5DXPlus,
|
||||
GGS,
|
||||
Umifresh,
|
||||
UmifreshTest,
|
||||
RollingGunner,
|
||||
Aleste,
|
||||
Umifresh01,
|
||||
Taiko,
|
||||
WMMT5DX,
|
||||
Aleste11,
|
||||
@ -125,6 +126,7 @@ enum class GameID
|
||||
GGXrdAPM3,
|
||||
BlazBlueCrossTagBattle,
|
||||
DengekiBunkoFC,
|
||||
DengekiBunkoFCTest,
|
||||
BladeStrangesAPM3,
|
||||
BladeStrangesAPM3Test,
|
||||
KoihimeEnbuAPM3,
|
||||
|
Loading…
Reference in New Issue
Block a user