libretro / dolphin

Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.
https://dolphin-emu.org/
GNU General Public License v2.0
82 stars 66 forks source link

GameSettings support #190

Open Yqnn opened 3 years ago

Yqnn commented 3 years ago

Hello,

Are the patches from GameSettings folder supported by the Dolphin core ? Because when I run Zelda Twilight Princess (game ID: GZ2E01), it seems the $Hyrule Field Speed Hack is not applied.

Patch is defined here: https://github.com/libretro/dolphin/blob/master/Data/Sys/GameSettings/GZ2E01.ini

Thanks in advance !

dolphin.log

alice-mkh commented 3 years ago

It does support it.

But you need to explicitly apply it. Use the following file:

[OnFrame]
$Hyrule Field Speed Hack
0x8003D50C:dword:0x60000000
0x8003D528:dword:0x60000000
0x8003D540:dword:0x60000000
0x8003D55C:dword:0x60000000
0x8003D55C:dword:0x60000000
0x8003D560:dword:0x60000000
0x8003D564:dword:0x60000000
0x8003D568:dword:0x60000000
0x8003D56C:dword:0x60000000
0x8003D570:dword:0x60000000
0x8003D574:dword:0x60000000
0x8003D578:dword:0x60000000
0x8003D57C:dword:0x60000000
0x8003D580:dword:0x60000000
0x8003D584:dword:0x60000000
0x8003D588:dword:0x60000000
0x8003D58C:dword:0x60000000
0x8003D590:dword:0x60000000
0x8003D594:dword:0x60000000
0x8003D598:dword:0x60000000
0x8003D59C:dword:0x60000000
0x8003D5A0:dword:0x60000000
0x8003D5A4:dword:0x60000000
0x8003D5A8:dword:0x60000000
0x8003D5AC:dword:0x60000000
0x8003D5B0:dword:0x60000000
0x8003D5B8:dword:0x60000000
0x8003D5D4:dword:0x60000000
0x8003D5EC:dword:0x60000000
0x8003D608:dword:0x60000000

[OnFrame_Enabled]
$Hyrule Field Speed Hack

And that file must be in the save directory, not system dir. (so $your_save_dir/User/GameSettings/GZ2E01.ini)

I wonder if this could be supported OOTB somehow though.

Papermanzero commented 2 years ago

Someone has to integrate Dolphin like pcsx2. Nevertheless in some cases it is better to ignore the ini and to use own settings. Therefore an option like in mupen would be helpful (use ini or core options: ini over core options || core options over ini.