From 8d9061ac39ee8841557ce461c48fdc2791ec8a20 Mon Sep 17 00:00:00 2001 From: "kostamarino@hotmail.com" Date: Wed, 19 Oct 2011 21:03:08 +0300 Subject: [PATCH] Possible fix for random crashes with plenty of games(like Mario Galaxy) and issue 4568 (please test). Gameini database changes that affects Black & Bruised, BLOODY ROAR(R): PRIMAL FURY, CASPER, Karaoke Revolution Party, Wii Music, TMNT. --- Data/User/GameConfig/G2BE5G.ini | 13 ++++++++++++- Data/User/GameConfig/G2BP7D.ini | 12 ++++++++++++ Data/User/GameConfig/GBLE52.ini | 15 +++++++++++++-- Data/User/GameConfig/GBLP52.ini | 22 +++++++++++++++------- Data/User/GameConfig/GCPE6S.ini | 17 +++++++++++++++-- Data/User/GameConfig/GCPP6S.ini | 14 ++++++++++++-- Data/User/GameConfig/GK9EA4.ini | 12 ++++++++++-- Data/User/GameConfig/R64E01.ini | 13 ++++++++++++- Data/User/GameConfig/R64J01.ini | 17 +++++++++++++++++ Data/User/GameConfig/R64K01.ini | 17 +++++++++++++++++ Data/User/GameConfig/R64P01.ini | 17 +++++++++++++++++ Data/User/GameConfig/RTME41.ini | 17 +++++++++++++++++ Data/User/GameConfig/RTMP41.ini | 17 +++++++++++++++++ Source/Core/DolphinWX/Src/Main.cpp | 1 - 14 files changed, 186 insertions(+), 18 deletions(-) create mode 100644 Data/User/GameConfig/R64J01.ini create mode 100644 Data/User/GameConfig/R64K01.ini create mode 100644 Data/User/GameConfig/R64P01.ini create mode 100644 Data/User/GameConfig/RTME41.ini create mode 100644 Data/User/GameConfig/RTMP41.ini diff --git a/Data/User/GameConfig/G2BE5G.ini b/Data/User/GameConfig/G2BE5G.ini index 421ecf417a..25ee8fe471 100644 --- a/Data/User/GameConfig/G2BE5G.ini +++ b/Data/User/GameConfig/G2BE5G.ini @@ -2,6 +2,17 @@ [Core] Values set here will override the main dolphin settings. [EmuState] The Emulation State. 1 is worst, 5 is best, 0 is not set. EmulationStateId = 4 -EmulationIssues = No sound/bad sound +EmulationIssues = Needs LLE audio for sound ingame. [OnFrame] Add memory patches to be applied every frame here. [ActionReplay] Add action replay cheats here. +[Video] +ProjectionHack = 0 +PH_SZNear = 0 +PH_SZFar = 0 +PH_ExtraParam = 0 +PH_ZNear = +PH_ZFar = +[Gecko] +[Video_Settings] +SafeTextureCache = True +SafeTextureCacheColorSamples = 512 diff --git a/Data/User/GameConfig/G2BP7D.ini b/Data/User/GameConfig/G2BP7D.ini index d730c87189..462c5eff83 100644 --- a/Data/User/GameConfig/G2BP7D.ini +++ b/Data/User/GameConfig/G2BP7D.ini @@ -2,5 +2,17 @@ [Core] Values set here will override the main dolphin settings. [EmuState] The Emulation State. 1 is worst, 5 is best, 0 is not set. EmulationStateId = 4 +EmulationIssues = Needs LLE audio for sound ingame. [OnFrame] Add memory patches to be applied every frame here. [ActionReplay] Add action replay cheats here. +[Video] +ProjectionHack = 0 +PH_SZNear = 0 +PH_SZFar = 0 +PH_ExtraParam = 0 +PH_ZNear = +PH_ZFar = +[Gecko] +[Video_Settings] +SafeTextureCache = True +SafeTextureCacheColorSamples = 512 diff --git a/Data/User/GameConfig/GBLE52.ini b/Data/User/GameConfig/GBLE52.ini index a3e059d1ae..198f4eeb94 100644 --- a/Data/User/GameConfig/GBLE52.ini +++ b/Data/User/GameConfig/GBLE52.ini @@ -1,7 +1,18 @@ # GBLE52 - BLOODY ROAR(R): PRIMAL FURY [Core] Values set here will override the main dolphin settings. [EmuState] The Emulation State. 1 is worst, 5 is best, 0 is not set. -EmulationIssues = Black screen afther logos -EmulationStateId = 1 +EmulationIssues = Needs real xfb for videos to display and LLE audio for video sound. +EmulationStateId = 4 [OnFrame] Add memory patches to be applied every frame here. [ActionReplay] Add action replay cheats here. +[Video] +ProjectionHack = 0 +PH_SZNear = 0 +PH_SZFar = 0 +PH_ExtraParam = 0 +PH_ZNear = +PH_ZFar = +[Gecko] +[Video_Settings] +UseXFB = True +UseRealXFB = True diff --git a/Data/User/GameConfig/GBLP52.ini b/Data/User/GameConfig/GBLP52.ini index 6cb0a7a23a..a7eca2fb72 100644 --- a/Data/User/GameConfig/GBLP52.ini +++ b/Data/User/GameConfig/GBLP52.ini @@ -1,10 +1,18 @@ # GBLP52 - BLOODY ROAR(R): PRIMAL FURY - -[EmuState] -#The Emulation State. -EmulationStateId = 2 -EmulationIssues = 60Hz Display only -[OnFrame] -[ActionReplay] +[Core] Values set here will override the main dolphin settings. +[EmuState] The Emulation State. 1 is worst, 5 is best, 0 is not set. +EmulationIssues = Needs real xfb for videos to display and LLE audio for video sound. +EmulationStateId = 4 +[OnFrame] Add memory patches to be applied every frame here. +[ActionReplay] Add action replay cheats here. [Video] ProjectionHack = 0 +PH_SZNear = 0 +PH_SZFar = 0 +PH_ExtraParam = 0 +PH_ZNear = +PH_ZFar = +[Gecko] +[Video_Settings] +UseXFB = True +UseRealXFB = True diff --git a/Data/User/GameConfig/GCPE6S.ini b/Data/User/GameConfig/GCPE6S.ini index 1d9cd9266b..d483b5b255 100644 --- a/Data/User/GameConfig/GCPE6S.ini +++ b/Data/User/GameConfig/GCPE6S.ini @@ -1,7 +1,20 @@ # GCPE6S - CASPER [Core] Values set here will override the main dolphin settings. [EmuState] The Emulation State. 1 is worst, 5 is best, 0 is not set. -EmulationStateId = 5 -EmulationIssues = +EmulationStateId = 4 +EmulationIssues = Needs real xfb for videos to appear and LLE audio for them to have sound. [OnFrame] Add memory patches to be applied every frame here. [ActionReplay] Add action replay cheats here. +[Video] +ProjectionHack = 0 +PH_SZNear = 0 +PH_SZFar = 0 +PH_ExtraParam = 0 +PH_ZNear = +PH_ZFar = +[Gecko] +[Video_Settings] +UseXFB = True +UseRealXFB = True +[Video_Hacks] +DlistCachingEnable = False diff --git a/Data/User/GameConfig/GCPP6S.ini b/Data/User/GameConfig/GCPP6S.ini index 88dcd47ab0..b088ab6a74 100644 --- a/Data/User/GameConfig/GCPP6S.ini +++ b/Data/User/GameConfig/GCPP6S.ini @@ -1,10 +1,20 @@ # GCPP6S - Casper Spirit Dimensions [Core] Values set here will override the main dolphin settings. [EmuState] The Emulation State. 1 is worst, 5 is best, 0 is not set. -EmulationStateId = 2 -EmulationIssues = Bad transparencies +EmulationStateId = 4 +EmulationIssues = Needs real xfb for videos to appear and LLE audio for them to have sound. [OnFrame] Add memory patches to be applied every frame here. [ActionReplay] Add action replay cheats here. [Video] ProjectionHack = 0 +PH_SZNear = 0 +PH_SZFar = 0 +PH_ExtraParam = 0 +PH_ZNear = +PH_ZFar = [Gecko] +[Video_Settings] +UseXFB = True +UseRealXFB = True +[Video_Hacks] +DlistCachingEnable = False diff --git a/Data/User/GameConfig/GK9EA4.ini b/Data/User/GameConfig/GK9EA4.ini index 47ba05e7d0..78dcce6e94 100644 --- a/Data/User/GameConfig/GK9EA4.ini +++ b/Data/User/GameConfig/GK9EA4.ini @@ -1,7 +1,15 @@ # GK9EA4 - Karaoke Revolution Party [Core] Values set here will override the main dolphin settings. [EmuState] The Emulation State. 1 is worst, 5 is best, 0 is not set. -EmulationStateId = 1 -EmulationIssues = Need Microphone to play this game. +EmulationStateId = 4 +EmulationIssues = Needs Microphone set in a gamecube pad slot to play this game. [OnFrame] Add memory patches to be applied every frame here. [ActionReplay] Add action replay cheats here. +[Video] +ProjectionHack = 0 +PH_SZNear = 0 +PH_SZFar = 0 +PH_ExtraParam = 0 +PH_ZNear = +PH_ZFar = +[Gecko] diff --git a/Data/User/GameConfig/R64E01.ini b/Data/User/GameConfig/R64E01.ini index 281224d780..d38abcbb03 100644 --- a/Data/User/GameConfig/R64E01.ini +++ b/Data/User/GameConfig/R64E01.ini @@ -1,6 +1,17 @@ # R64E01 - RVL Wii Music [Core] Values set here will override the main dolphin settings. [EmuState] The Emulation State. 1 is worst, 5 is best, 0 is not set. -EmulationStateId = 2 +EmulationStateId = 4 +EmulationIssues = [OnFrame] Add memory patches to be applied every frame here. [ActionReplay] Add action replay cheats here. +[Video] +ProjectionHack = 0 +PH_SZNear = 0 +PH_SZFar = 0 +PH_ExtraParam = 0 +PH_ZNear = +PH_ZFar = +[Gecko] +[Video_Hacks] +EFBEmulateFormatChanges = True diff --git a/Data/User/GameConfig/R64J01.ini b/Data/User/GameConfig/R64J01.ini new file mode 100644 index 0000000000..6b2a66b752 --- /dev/null +++ b/Data/User/GameConfig/R64J01.ini @@ -0,0 +1,17 @@ +# R64J01 - RVL Wii Music +[Core] Values set here will override the main dolphin settings. +[EmuState] The Emulation State. 1 is worst, 5 is best, 0 is not set. +EmulationStateId = 4 +EmulationIssues = +[OnFrame] Add memory patches to be applied every frame here. +[ActionReplay] Add action replay cheats here. +[Video] +ProjectionHack = 0 +PH_SZNear = 0 +PH_SZFar = 0 +PH_ExtraParam = 0 +PH_ZNear = +PH_ZFar = +[Gecko] +[Video_Hacks] +EFBEmulateFormatChanges = True diff --git a/Data/User/GameConfig/R64K01.ini b/Data/User/GameConfig/R64K01.ini new file mode 100644 index 0000000000..e59730ce2b --- /dev/null +++ b/Data/User/GameConfig/R64K01.ini @@ -0,0 +1,17 @@ +# R64K01 - RVL Wii Music +[Core] Values set here will override the main dolphin settings. +[EmuState] The Emulation State. 1 is worst, 5 is best, 0 is not set. +EmulationStateId = 4 +EmulationIssues = +[OnFrame] Add memory patches to be applied every frame here. +[ActionReplay] Add action replay cheats here. +[Video] +ProjectionHack = 0 +PH_SZNear = 0 +PH_SZFar = 0 +PH_ExtraParam = 0 +PH_ZNear = +PH_ZFar = +[Gecko] +[Video_Hacks] +EFBEmulateFormatChanges = True diff --git a/Data/User/GameConfig/R64P01.ini b/Data/User/GameConfig/R64P01.ini new file mode 100644 index 0000000000..4ada809cd4 --- /dev/null +++ b/Data/User/GameConfig/R64P01.ini @@ -0,0 +1,17 @@ +# R64P01 - RVL Wii Music +[Core] Values set here will override the main dolphin settings. +[EmuState] The Emulation State. 1 is worst, 5 is best, 0 is not set. +EmulationStateId = 4 +EmulationIssues = +[OnFrame] Add memory patches to be applied every frame here. +[ActionReplay] Add action replay cheats here. +[Video] +ProjectionHack = 0 +PH_SZNear = 0 +PH_SZFar = 0 +PH_ExtraParam = 0 +PH_ZNear = +PH_ZFar = +[Gecko] +[Video_Hacks] +EFBEmulateFormatChanges = True diff --git a/Data/User/GameConfig/RTME41.ini b/Data/User/GameConfig/RTME41.ini new file mode 100644 index 0000000000..1da1d64564 --- /dev/null +++ b/Data/User/GameConfig/RTME41.ini @@ -0,0 +1,17 @@ +# RTME41 - TMNT +[Core] Values set here will override the main dolphin settings. +[EmuState] The Emulation State. 1 is worst, 5 is best, 0 is not set. +EmulationStateId = 4 +EmulationIssues = +[OnFrame] Add memory patches to be applied every frame here. +[ActionReplay] Add action replay cheats here. +[Video] +ProjectionHack = 0 +PH_SZNear = 0 +PH_SZFar = 0 +PH_ExtraParam = 0 +PH_ZNear = +PH_ZFar = +[Gecko] +[Video_Settings] +DisableFog = True diff --git a/Data/User/GameConfig/RTMP41.ini b/Data/User/GameConfig/RTMP41.ini new file mode 100644 index 0000000000..3886311fc2 --- /dev/null +++ b/Data/User/GameConfig/RTMP41.ini @@ -0,0 +1,17 @@ +# RTMP41 - TMNT +[Core] Values set here will override the main dolphin settings. +[EmuState] The Emulation State. 1 is worst, 5 is best, 0 is not set. +EmulationStateId = 4 +EmulationIssues = +[OnFrame] Add memory patches to be applied every frame here. +[ActionReplay] Add action replay cheats here. +[Video] +ProjectionHack = 0 +PH_SZNear = 0 +PH_SZFar = 0 +PH_ExtraParam = 0 +PH_ZNear = +PH_ZFar = +[Gecko] +[Video_Settings] +DisableFog = True diff --git a/Source/Core/DolphinWX/Src/Main.cpp b/Source/Core/DolphinWX/Src/Main.cpp index b5e9de4960..709c2b4b53 100644 --- a/Source/Core/DolphinWX/Src/Main.cpp +++ b/Source/Core/DolphinWX/Src/Main.cpp @@ -510,7 +510,6 @@ void Host_UpdateTitle(const char* title) wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_UPDATETITLE); event.SetString(wxString::FromAscii(title)); main_frame->GetEventHandler()->AddPendingEvent(event); - Host_UpdateMainFrame(); } void Host_UpdateBreakPointView()