The Legend of Zelda: Four Swords Adventures (GCN/WIIRD/PAL)

Game Hacks, Trainers, Cheats

Moderator: Ralf@gc-forever

Post Reply
Ralf@gc-forever
Posts: 2885
Joined: Sun Mar 16, 2014 9:31 am

The Legend of Zelda: Four Swords Adventures (GCN/WIIRD/PAL)

Post by Ralf@gc-forever » Wed Apr 23, 2014 3:05 pm

The Legend of Zelda: Four Swords Adventures [G4SP01]

Code: Select all


Enable Test Maps (Stage Select) [Ralf]
04406AD0 38000001

Enable Tingle's Tower (Single Player Mode) [Ralf]
06004000 00000040
801F0340 2800000A
41820010 806D8F40
38C00000 98C3007E
483FCB78 806D8F40
9803007E 806D90E8
48137478 806D8F40
38000000 9803007E
806D90E8 481373F0
0413B428 4BEC8C04
0413B49C 4BEC8B80
04400B8C 4BC03474
08402134 60000000
2002010C 00000000
044023E4 60000000
04409C30 38000001
04409C34 9804007E
0052A31A 000000FF

Freeze Time On/Off (Press A + Z/B) [Ralf]
2854BD70 00000300
00545651 00000000
E2000001 80008000
2854BD70 00000110
00545651 00000001
E2000001 80008000

Have 4 Links (Mini-Games) [Ralf]
06003B00 00000014
88630082 281D000A
41820008 48257348
48257310 00000000
0425AE1C 4BDA8CE4

Walk Through Walls On/Off (Press B + DPad Up/Down) [Ralf]
2854BD70 00000204
0426FB24 9421FF10
E2000001 80008000
2854BD70 00000208
0426FB24 4E800020
E2000001 80008000

Play Bucking Bronco (Single Player Mode) [Ralf]
04400B8C 38000000
04400BA0 38C00002

Play Cucco Wranglers (Single Player Mode) [Ralf]
04400B8C 38000001
04400BA0 38C00002

Play Volley By Golly (Single Player Mode) [Ralf]
04400B8C 38000004
04400BA0 38C00002

Play Monster Hunting (Single Player Mode) [Ralf]
04400B8C 38000003
04400BA0 38C00002

Play Monster Hunting Returns (Single Player Mode) [Ralf]
04400B8C 38000006
04400BA0 38C00002

Play Bonus Course (Single Player Mode) [Ralf]
04400B8C 38000007
04400BA0 38C00001

Note: Use with 'Walk Through Walls' and 'Have 4 Links' code.

Beta Tingle's Tower [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3231302E
004894BB 00000032
024894BC 00003130
00489813 00000032
02489814 00003130
0455A264 32313000
0455E57C 32313000


BETA SUB-STAGE CODES

Play Beta Sub-Stage Level 1 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3031322E
004894BB 00000030
024894BC 00003132
00489813 00000030
02489814 00003132
0455A264 30313200
0455E57C 30313200

Play Beta Sub-Stage Level 2 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3032322E
004894BB 00000030
024894BC 00003232
00489813 00000030
02489814 00003232
0455A264 30323200
0455E57C 30323200

Play Beta Sub-Stage Level 3 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3033322E
004894BB 00000030
024894BC 00003332
00489813 00000030
02489814 00003332
0455A264 30333200
0455E57C 30333200

Play Beta Sub-Stage Level 4 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3034322E
004894BB 00000030
024894BC 00003432
00489813 00000030
02489814 00003432
0455A264 30343200
0455E57C 30343200

Play Beta Sub-Stage Level 5 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3035322E
004894BB 00000030
024894BC 00003532
00489813 00000030
02489814 00003532
0455A264 30353200
0455E57C 30353200

Play Beta Sub-Stage Level 6 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3036322E
004894BB 00000030
024894BC 00003632
00489813 00000030
02489814 00003632
0455A264 30363200
0455E57C 30363200

Play Beta Sub-Stage Level 7 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3037322E
004894BB 00000030
024894BC 00003732
00489813 00000030
02489814 00003732
0455A264 30373200
0455E57C 30373200

Play Beta Sub-Stage Level 8 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3038322E
004894BB 00000030
024894BC 00003832
00489813 00000030
02489814 00003832
0455A264 30383200
0455E57C 30383200


HYRULE WORLD ATLAS MAPS

Lake Hylia 1 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
044554A0 48000024
0447FE94 3130302E
004894BB 00000031
024894BC 00003030
00489813 00000031
02489814 00003030
0455A264 31303000
0455E57C 31303000

Lake Hylia 2 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3131302E
004894BB 00000031
024894BC 00003130
00489813 00000031
02489814 00003130
0455A264 31313000
0455E57C 31313000

The Coast [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3130312E
004894BB 00000031
024894BC 00003031
00489813 00000031
02489814 00003031
0455A264 31303100
0455E57C 31303100

Village of the Blue Maiden [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3130322E
004894BB 00000031
024894BC 00003032
00489813 00000031
02489814 00003032
0455A264 31303200
0455E57C 31303200

The Mountain Path 1 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3130332E
004894BB 00000031
024894BC 00003033
00489813 00000031
02489814 00003033
0455A264 31303300
0455E57C 31303300

The Mountain Path 2 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3131312E
004894BB 00000031
024894BC 00003131
00489813 00000031
02489814 00003131
0455A264 31313100
0455E57C 31313100

The Mountain Path 3 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
044554A0 48000024
0447FE94 3131322E
004894BB 00000031
024894BC 00003132
00489813 00000031
02489814 00003132
0455A264 31313200
0455E57C 31313200

The Field [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3130342E
004894BB 00000031
024894BC 00003034
00489813 00000031
02489814 00003034
0455A264 31303400
0455E57C 31303400

The Swamp [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3130352E
004894BB 00000031
024894BC 00003035
00489813 00000031
02489814 00003035
0455A264 31303500
0455E57C 31303500

Hyrule Castle 1 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3130362E
004894BB 00000031
024894BC 00003036
00489813 00000031
02489814 00003036
0455A264 31303600
0455E57C 31303600

Hyrule Castle 2 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3131352E
004894BB 00000031
024894BC 00003135
00489813 00000031
02489814 00003135
0455A264 31313500
0455E57C 31313500

Lost Woods [Ralf]
04170928 48000038
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3130372E
004894BB 00000031
024894BC 00003037
00489813 00000031
02489814 00003037
0455A264 31303700
0455E57C 31303700

Desert of Doubt 1 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3130382E
004894BB 00000031
024894BC 00003038
00489813 00000031
02489814 00003038
0455A264 31303800
0455E57C 31303800

Desert of Doubt 2 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3131362E
004894BB 00000031
024894BC 00003136
00489813 00000031
02489814 00003136
0455A264 31313600
0455E57C 31313600

Frozen Hyrule [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0447FE94 3130392E
004894BB 00000031
024894BC 00003039
00489813 00000031
02489814 00003039
0455A264 31303900
0455E57C 31303900

The End 1 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
0445568C 48000024
04465478 480005D0
0447FE94 3131332E
004894BB 00000031
024894BC 00003133
00489813 00000031
02489814 00003133
0455A264 31313300
0455E57C 31313300

The End 2 [Ralf]
04400B8C 3800000A
04400BA0 38C00003
044554A0 48000024
0447FE94 3131342E
004894BB 00000031
024894BC 00003134
00489813 00000031
02489814 00003134
0455A264 31313400
0455E57C 31313400

Note: Some stages may require the 'Walk Through Walls' code turned on.


Disable Background Music [Ralf]
48000000 805582C0
DE000000 80008180
1400004C 00000000
E0000000 80008000

Background Music Modifier [Ralf]
C24737D0 00000002
3FC00100 63DE00xx
60000000 00000000

xx = Song ID


Song IDs

00 - chijou
01 - fanfare
02 - item
03 - shinden
04 - boss
05 - result
06 - title
07 - atemonoya
08 - bochi
09 - dangeon
0A - death_mt
0B - water_field
0C - ganon
0D - shadow_link
0E - rain_field
0F - hime

10 - village
11 - mori
12 - sabaku
13 - ganon_room
14 - shiro
15 - snow
16 - tenku
17 - uranai
18 - ura_dangeon
19 - muteki_f
1A - select
1B - crystal_room
1C - miko
1D - kumo
1E - niwa
1F - shade

20 - sword_fanfare
21 - battle_zako
22 - escape
23 - hakken
24 - hogyoku
25 - tingle_house
26 - ending_demo
27 - fanfare_win
28 - ending
29 - house
2A - daiyousei
2B - shade_2
2C - arasuji
2D - fanfare_lv2
2E - house_yami
2F - save

30 - dark_village


Play Ending Theme [Ralf]
C24737D0 00000002
3FC00100 63DE0028
60000000 00000000

User avatar
etatto
Posts: 5
Joined: Mon Mar 21, 2016 9:08 pm

Re: The Legend of Zelda: Four Swords Adventures (GCN/WIIRD/PAL)

Post by etatto » Fri Mar 25, 2016 8:24 pm

On the Dolphin wiki page for Four Swords Adventures, there is a Gecko code to enable widescreen for the NTSC version:
C2046FC8 00000004
3DC03FAA 61CEAAAB
91C21000 C1E21000
ED0F0232 ED494024
60000000 00000000

I try to port it to the PAL version with 2 Dolphin RAM dumps (NTSC + PAL):
C2047C58 00000004
3DC03FAA 61CEAAAB
91C21000 C1E21000
ED0F0232 ED494024
60000000 00000000

Unfortunately the code is working under doplhin, but not on GC: I get a black screen...
Since I am a noob in GeckoCode/ASM, if someone is able to give me an explanation, it would be great :D
Ralf@gc-forever
Posts: 2885
Joined: Sun Mar 16, 2014 9:31 am

Re: The Legend of Zelda: Four Swords Adventures (GCN/WIIRD/PAL)

Post by Ralf@gc-forever » Fri Mar 25, 2016 11:17 pm

The following ASM instruction in the Dolphin wiki page code

91C21000 stw r14,4096(r2)

overwrites data that is in use by the game:

80467CE4: 1C63000C mulli r3,r3,12
80467CE8: C0421000 lfs f2,4096(r2) <---
80467CEC: 80810008 lwz r4,8(r1)

The author of the code forgot to save and restore the original value at this memory address.

However, there's already a suitable floating-point constant (1.3333) in the r2/rtoc area. So, we can use this constant in the code:

C2047C58 00000002
C1E282D4 ED0F0232
ED494024 00000000
User avatar
etatto
Posts: 5
Joined: Mon Mar 21, 2016 9:08 pm

Re: The Legend of Zelda: Four Swords Adventures (GCN/WIIRD/PAL)

Post by etatto » Sat Mar 26, 2016 2:33 pm

Thanks Ralf!
But it still puzzles me: If the code overwrites data, how can it work even under Dolphin? :-\
Vague Rant
Posts: 37
Joined: Fri Apr 20, 2012 3:16 pm

Re: The Legend of Zelda: Four Swords Adventures (GCN/WIIRD/PAL)

Post by Vague Rant » Sat May 21, 2022 8:58 am

Code: Select all

D-Pad Control [Vague Rant]
0413B158 60000000
KelSolaar
Posts: 25
Joined: Mon Dec 26, 2022 5:09 pm

Re: The Legend of Zelda: Four Swords Adventures (GCN/WIIRD/PAL)

Post by KelSolaar » Mon Dec 26, 2022 5:10 pm

Are there any working 16:9 gecko codes for this or for the NTSC version? None of the ones on the Dolphin site is working for me. The game loads with alot of garbled codes when activating them on the Gamecube.
Ralf@gc-forever
Posts: 2885
Joined: Sun Mar 16, 2014 9:31 am

Re: The Legend of Zelda: Four Swords Adventures (GCN/WIIRD/PAL)

Post by Ralf@gc-forever » Mon Oct 23, 2023 6:48 am

Code: Select all


Invincibility [Ralf]
04277220 38600001

Infinite Hearts [Ralf]
042772F4 3BE00000

Start Level With Max Extra Heart Containers [Ralf]
0425AABC 38000020
0425AC6C 38000020
084A5270 00000008
20020004 00000000

Start Level With Blue Bracelet (Take Half Damage) [Ralf]
04247A6C 38600001

Start Level With Power Bracelet (Have Super Power) [Ralf]
04247AB0 38600001

Infinite Force Fairies [Ralf]
043D01CC 60000000

Start Level With Max Force Fairies [Ralf]
0413FE4C 38600063

Quick Force Gem Gain [Ralf]
0648CA58 00000024
00000002 0000000A
00000028 00000064
000000C8 0000012C
00000190 00000258
000005DC 00000000

Ultra Quick Force Gem Gain [Ralf]
0648CA58 00000024
00000004 00000014
00000050 000000C8
00000190 00000258
00000320 000003E8
000007D0 00000000

Start Level With 2000 Force Gems [Ralf]
0425AB3C 48000028
0425AB64 380007D0

Lose Less Force Gems When Taking Damage [Ralf]
04254960 38840019
0425496C 38800019
042549F4 3884000A
04254A00 3880000A
04254A88 38840002
04254A94 38800002

Lose More Force Gems When Taking Damage [Ralf]
04254960 38840064
0425496C 38800064
042549F4 38840028
04254A00 38800028
04254A88 3884000A
04254A94 3880000A

Never Lose Force Gems When Taking Damage [Ralf]
04254964 60000000
04254974 60000000
042549F8 60000000
04254A08 60000000
04254A8C 60000000
04254A9C 60000000

Four Sword Has Always Max Power [Ralf]
042F7800 60000000

Four Sword: 1000 Force Gems Needed For Max Power [Ralf]
042F77FC 2C1E03E8
0444713C 23A003E8
04560CA0 447A0000

Four Sword: 5000 Force Gems Needed For Max Power [Ralf]
042F77FC 2C1E1388
0444713C 23A01388
04560CA0 459C4000

Unlock All Adventure Mode Levels [Ralf]
043C5218 3800FFFF
043C521C 90040028

Items Have Max Level (On Pickup) [Ralf]
0423D958 38A00002
0425DE94 38A00002

Disable Giant Bomb Timer [Ralf]
0434A6D0 3C007FFF

Breath Underwater [Ralf]
042894C0 3C607FFF
042898A8 3C007FFF
042899B4 3C007FFF

Post Reply