[gnome-games/wip/exalm/dolphin-settings: 2/2] game-cube: Enable Hyrule Field Speed Hack for TLoZ: Twilight Princess
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/dolphin-settings: 2/2] game-cube: Enable Hyrule Field Speed Hack for TLoZ: Twilight Princess
- Date: Sun, 11 Apr 2021 19:24:33 +0000 (UTC)
commit 7829fe1e78826a27538d4b3a2149d0b3eb94957f
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Apr 12 00:06:47 2021 +0500
game-cube: Enable Hyrule Field Speed Hack for TLoZ: Twilight Princess
Add a GameSettings override to enable that cheat to avoid slowdowns.
plugins/game-cube/src/game-cube.gresource.xml | 8 ++++++
plugins/game-cube/src/game-settings/GZ2E01.ini | 35 ++++++++++++++++++++++++++
plugins/game-cube/src/game-settings/GZ2J01.ini | 35 ++++++++++++++++++++++++++
plugins/game-cube/src/game-settings/GZ2P01.ini | 35 ++++++++++++++++++++++++++
plugins/game-cube/src/meson.build | 8 +++++-
5 files changed, 120 insertions(+), 1 deletion(-)
---
diff --git a/plugins/game-cube/src/game-cube.gresource.xml b/plugins/game-cube/src/game-cube.gresource.xml
new file mode 100644
index 00000000..dabfe43e
--- /dev/null
+++ b/plugins/game-cube/src/game-cube.gresource.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gresources>
+ <gresource prefix="/org/gnome/Games/plugins/game-cube">
+ <file>game-settings/GZ2E01.ini</file>
+ <file>game-settings/GZ2J01.ini</file>
+ <file>game-settings/GZ2P01.ini</file>
+ </gresource>
+</gresources>
diff --git a/plugins/game-cube/src/game-settings/GZ2E01.ini b/plugins/game-cube/src/game-settings/GZ2E01.ini
new file mode 100644
index 00000000..2e0f17f7
--- /dev/null
+++ b/plugins/game-cube/src/game-settings/GZ2E01.ini
@@ -0,0 +1,35 @@
+[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
diff --git a/plugins/game-cube/src/game-settings/GZ2J01.ini b/plugins/game-cube/src/game-settings/GZ2J01.ini
new file mode 100644
index 00000000..2e0f17f7
--- /dev/null
+++ b/plugins/game-cube/src/game-settings/GZ2J01.ini
@@ -0,0 +1,35 @@
+[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
diff --git a/plugins/game-cube/src/game-settings/GZ2P01.ini b/plugins/game-cube/src/game-settings/GZ2P01.ini
new file mode 100644
index 00000000..455469c9
--- /dev/null
+++ b/plugins/game-cube/src/game-settings/GZ2P01.ini
@@ -0,0 +1,35 @@
+[OnFrame]
+$Hyrule Field Speed Hack
+0x8003d63c:dword:0x60000000
+0x8003d658:dword:0x60000000
+0x8003d670:dword:0x60000000
+0x8003d68c:dword:0x60000000
+0x8003d690:dword:0x60000000
+0x8003d694:dword:0x60000000
+0x8003d698:dword:0x60000000
+0x8003d69c:dword:0x60000000
+0x8003d6a0:dword:0x60000000
+0x8003d6a4:dword:0x60000000
+0x8003d6a8:dword:0x60000000
+0x8003d6ac:dword:0x60000000
+0x8003d6b0:dword:0x60000000
+0x8003d6b4:dword:0x60000000
+0x8003d6b8:dword:0x60000000
+0x8003d6bc:dword:0x60000000
+0x8003d6c0:dword:0x60000000
+0x8003d6c4:dword:0x60000000
+0x8003d6c8:dword:0x60000000
+0x8003d6cc:dword:0x60000000
+0x8003d6d0:dword:0x60000000
+0x8003d6d4:dword:0x60000000
+0x8003d6d8:dword:0x60000000
+0x8003d6dc:dword:0x60000000
+0x8003d6e0:dword:0x60000000
+0x8003d6e4:dword:0x60000000
+0x8003d6e8:dword:0x60000000
+0x8003d704:dword:0x60000000
+0x8003d71c:dword:0x60000000
+0x8003d738:dword:0x60000000
+
+[OnFrame_Enabled]
+$Hyrule Field Speed Hack
diff --git a/plugins/game-cube/src/meson.build b/plugins/game-cube/src/meson.build
index 0d06f252..49ab86b0 100644
--- a/plugins/game-cube/src/meson.build
+++ b/plugins/game-cube/src/meson.build
@@ -8,9 +8,15 @@ c_args = [
'-DG_LOG_DOMAIN="GamesGameCube"'
]
+game_cube_resources = gnome.compile_resources (
+ 'game-cube',
+ 'game-cube.gresource.xml',
+ c_name: 'resources'
+)
+
shared_module (
'games-' + plugin_name + '-plugin',
- vala_sources,
+ vala_sources + game_cube_resources,
dependencies: gnome_games_dep,
c_args: c_args,
install: true,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]