Post subject: How do I use an Ocarina of Time cheat? (L to Levitate)
Joined: 2/25/2006
Posts: 407
I'm trying to get this to work for a Japanese v1.0 ROM (unmodified) Press L To Levitate (PJ64 code) D01C84B5 0020 811DAA90 40CB Nothing tells me if that's RDRAM, ROM, System Bus etc. and I've tried a few things and none of them work. The Code Converter says the codes are unsupported. I've been reading http://tasvideos.org/Bizhawk/Cheat.html and to me that doesn't really help me understand why it isn't working... --------------------------- Emulator Error --------------------------- The code you entered is not supported by BizHawk. --------------------------- OK ---------------------------
Ryzen 3700X, ASUS Crosshair VIII Hero (WiFi) Motherboard, 32GB 3600MHz RAM, MSI Geforce 1070Ti 8GB, Windows 10 Pro x64 http://tasvideos.org/Nach/FranpaAlert.html
Joined: 2/25/2006
Posts: 407
Am still looking for any info on what to do. Lol I just realized I linked to Majora's Mask for the first code... Whoops! Still, the PJ64 codes for OoT don't work or rather they work but not correctly, it makes you always levitate instead of only when holding L. Edit: looks like only 811DAA90 40CB code works while the D01C84B5 0020 code is what is unsupported and that is what ties the behaviour to the L button.
Ryzen 3700X, ASUS Crosshair VIII Hero (WiFi) Motherboard, 32GB 3600MHz RAM, MSI Geforce 1070Ti 8GB, Windows 10 Pro x64 http://tasvideos.org/Nach/FranpaAlert.html
EZGames69
He/They
Publisher, Reviewer, Expert player (4460)
Joined: 5/29/2017
Posts: 2761
The code you entered is not supported by BizHawk.
[14:15] <feos> WinDOES what DOSn't 12:33:44 PM <Mothrayas> "I got an oof with my game!" Mothrayas Today at 12:22: <Colin> thank you for supporting noble causes such as my feet MemoryTAS Today at 11:55 AM: you wouldn't know beauty if it slapped you in the face with a giant fish [Today at 4:51 PM] Mothrayas: although if you like your own tweets that's the online equivalent of sniffing your own farts and probably tells a lot about you as a person MemoryTAS Today at 7:01 PM: But I exert big staff energy honestly lol Samsara Today at 1:20 PM: wouldn't ACE in a real life TAS just stand for Actually Cease Existing
P.JBoy
Any
Editor
Joined: 3/25/2006
Posts: 850
Location: stuck in Pandora's box HELLPP!!!
Whilst the Mupen core itself supports them, the BizHawk cheat handler doesn't have any support for conditional cheat codes and so there's no way to do the code conversion (same with other cores such as GBA).
Lil_Gecko
He/Him
Player (98)
Joined: 4/7/2011
Posts: 520
franpa wrote:
Am still looking for any info on what to do. Lol I just realized I linked to Majora's Mask for the first code... Whoops! Still, the PJ64 codes for OoT don't work or rather they work but not correctly, it makes you always levitate instead of only when holding L. Edit: looks like only 811DAA90 40CB code works while the D01C84B5 0020 code is what is unsupported and that is what ties the behaviour to the L button.
A gameshark code starting with D means it's a condition. It means "When the value of 801C84B5 is 0020 then do the code underneath" which is write the value 40CB to 811DAA90. If you want this to work you will have to write a Lua script. EDIT :
Language: lua

while true do if mainmemory.readbyte(0x01C84B5)==0x20 then mainmemory.write_u16_le(0x01DAA90,0xCB40); end; emu.frameadvance(); end;
Note that 0x20 is the value of L being pressed but you can change this value if you want another button
Joined: 2/25/2006
Posts: 407
That works, thank you very much for taking the time to write a working example Lil_Gecko!
Ryzen 3700X, ASUS Crosshair VIII Hero (WiFi) Motherboard, 32GB 3600MHz RAM, MSI Geforce 1070Ti 8GB, Windows 10 Pro x64 http://tasvideos.org/Nach/FranpaAlert.html