I recently found out some things about the .lua files in the dtz's of the games, and that you can actually add Action Replay and Gameshark codes in them from Project64.
NERD had made it alittle more difficult by compiling the.lua's to an unreadable format. But with this method you can add cheats to different games without having to turn them off and on while switching games like you had to do before. And these cheats will always work and wont need any updating.
Unpack the original DTZ of Oot v1.2 should be named this
N-3038_e.dtz
and you should end up with a metapack_temp folder
Replace the original .lua's with the one attached below after adding cheats
Repack the dtz, add it to oot v1.2 + profit
MORE CHEATS FOR OTHER GAMES TO COME - CHECK THE ATTACHED FILES!
NERD had made it alittle more difficult by compiling the.lua's to an unreadable format. But with this method you can add cheats to different games without having to turn them off and on while switching games like you had to do before. And these cheats will always work and wont need any updating.
Unpack the original DTZ of Oot v1.2 should be named this
N-3038_e.dtz
and you should end up with a metapack_temp folder
Replace the original .lua's with the one attached below after adding cheats
Repack the dtz, add it to oot v1.2 + profit
MORE CHEATS FOR OTHER GAMES TO COME - CHECK THE ATTACHED FILES!
Code:
--Widescreen
n64MemWrite16(0x80025188, 0x2402)
n64MemWrite32(0x80092718, 0x3C073FE3)
--30fps (Textbox Scenes Freeze)
n64MemWrite8(0x801C7861, 0x2)
if(n64MemRead8(0x800F1C91) == 0xA) then --If the Speed Time Day/Night Cycle is 000A
n64MemWrite8(0x800F1C91,0x7) --Change Speed Time Day/Night Cycle to 0007 (default 000A)
elseif(n64MemRead16(0x801DB49E) == 0x3148) then --If Link is Jumping
n64MemWrite16(0x801DB35C,0xBF34) --Change Gravity to BF34
elseif(n64MemRead16(0x801DB49E) == 0x2708) then --If Link is Crawling
n64MemWrite8(0x801C7861,0x3) --Change to 20 FPS
elseif(n64MemRead8(0x801DBB14) == 0xA) then --If Link is throwing Hookshot/Longshot
n64MemWrite8(0x801C7861,0x3) --Change to 20 FPS
elseif(n64MemRead16(0x801DB49E) == 0x2900) then --If Link make a Z Targeting Front Slash
n64MemWrite16(0x801DB35C,0xBF34) --Change Gravity to BF34
elseif(n64MemRead16(0x801DB49E) == 0x2950) then --If Link make a Z Targeting Left Jump
n64MemWrite16(0x801DB35C,0xBF34) --Change Gravity to BF34
elseif(n64MemRead16(0x801DB49E) == 0x2988) then --If Link make a Z Targeting Right Jump
n64MemWrite16(0x801DB35C,0xBF34) --Change Gravity to BF34
elseif(n64MemRead16(0x801DB49E) == 0x29D0) then --If Link make a Z Targeting Backward Jump
n64MemWrite16(0x801DB35C,0xBF34) --Change Gravity to BF34
--Infinite Rupee's
n64MemWrite8(0x8011C04C, 0x1)
--Infinite Timer's
n64MemWrite8(0x8011C211, 0x32) --All Other Timer's
n64MemWrite8(0x8011C215, 0xb4) --Escape From Gannon's Tower
--Infinite Items, Ammo & Magic
n64MemWrite8(0x8011AD0F, 0x9) --Arrow's
n64MemWrite8(0x8011AD14, 0x9) --Bombchu's
n64MemWrite8(0x8011AD0E, 0x9) --Bomb's
n64MemWrite8(0x8011AD0D, 0x9) --Deku Nuts's
n64MemWrite8(0x8011AD12, 0x9) --Deku Seed's
n64MemWrite8(0x8011AD0C, 0x9) --Deku Stick's
n64MemWrite16(0x8011ACB0, 0x140) --Energy
n64MemWrite8(0x8011ACB9, 0x8) --Magic
n64MemWrite8(0x8011ACBA, 0x1) --Magic
n64MemWrite8(0x8011ACBC, 0x1) --Magic
n64MemWrite8(0x8011ACB3, 0x60) --Magic
n64MemWrite8(0x8011AD1A, 0x9) --Magic Beans
--Give All Quest Status Items
n64MemWrite32(0x8011AD24, 0x30FFFFFF)
--Give All Equipment
n64MemWrite16(0x8011AD1C, 0x7777)
--Give All Keys, Compass's & Map's
n64MemWrite32(0x8011AD28, 0x77777777)
n64MemWrite8(0x8011AD31, 0x77)
n64MemWrite8(0x8011AD3F, 0x99)
n64MemWrite16(0x8011AD41, 0x999)
n64MemWrite8(0x8011AD47, 0x9)
n64MemWrite8(0x8011AD49, 0x9)
n64MemWrite8(0x8011AD4C, 0x9)
--Give All Items
n64MemWrite8(0x8011ACF8, 0x4) --Fire Arrow
n64MemWrite8(0x8011ACFE, 0xc) --Ice Arrow
n64MemWrite8(0x8011AD04, 0x12) --Light Arrow
n64MemWrite8(0x8011ACFC, 0x9) --Bombchu
n64MemWrite8(0x8011ACF6, 0x2) --Bombs
n64MemWrite8(0x8011AD00, 0xe) --Boomerang
n64MemWrite8(0x8011ACF5, 0x1) --Deku Nut
n64MemWrite8(0x8011ACF4, 0x0) --Deku Stick
n64MemWrite8(0x8011ACF7, 0x3) --Fairy Bow
n64MemWrite8(0x8011ACFA, 0x6) --Fairy Slingshot
n64MemWrite8(0x8011ACFD, 0xa) --Hookshot
n64MemWrite8(0x8011ACFD, 0xb) --Longshot
n64MemWrite8(0x8011AD01, 0xf) --Lens of Truth
n64MemWrite8(0x8011ACF9, 0x5) --Din's Fire
n64MemWrite8(0x8011ACFF, 0xd) --Fairie's Wind
n64MemWrite8(0x8011AD05, 0x13) --Nayru's Love
n64MemWrite8(0x8011AD02, 0x10) --Magic Beans
n64MemWrite8(0x8011AD03, 0x11) --Megaton Hammer
n64MemWrite8(0x8011ACFB, 0x7) --Fairy Ocarina
n64MemWrite8(0x8011ACFB, 0x8) --Ocarina of Time
n64MemWrite8(0x8011AD21, 0x1) --Quiver (Hold's 30 Arrows)
--Max Defense
n64MemWrite8(0x8011AD4F, 0x14)
--Max Heart Containers
n64MemWrite16(0x8011ACAE, 0x140)
--Max Gold Skulltulas Killed
n64MemWrite8(0x8011AD51, 0x64)
Attachments
Last edited by iiTzSamurai,