Help with Gateshark conditions and other formulas

Nojtuag

Well-Known Member
OP
Newcomer
Joined
Jun 1, 2020
Messages
45
Trophies
0
Age
43
XP
215
Country
United States
I need some Gateshark Guru to help with these questions. The code works, but only works at the stage selection screen. If it moves away from this screen then the code no longer works.

Let's play with Kirby Triple Deluxe

Here's the code from the database:
Code:
[99 Lives]
D3000000 10000000
24000088 00000063

Link to the structure

If we look at D3 structure:
0xD3D3000000YYYYYYYYSets the offset to YYYYYYYY


This makes no sense at all. So we're setting the offset which is 24000088 to 10000000 which that should equal to 34000088?

Questions:
1. Besides, this code only triggers if you're at the stage selection where you can walk back between stages. How do we make it so that it stays infinitive regardless which screen you're on?
2. 0xC = Repeat the following block YYYYYYYY times; which value would indicate an infinite loop? 00000000? How would we use it to do the loops?
3. How does the button trigger code works?
0xDDDD000000YYYYYYYYGATEWAY ONLY: Activates with the button code YYYYYYYY


I tried:
[Press A to activate the code]
DD000000 00000001
24000088 00000063

or

DD000000 00000001
D3000000 10000000
24000088 00000063

4. Would it be possible to set a condition to reactivate the codes every 3 seconds since 0xD0 = Ends the last conditional block?
 

Nojtuag

Well-Known Member
OP
Newcomer
Joined
Jun 1, 2020
Messages
45
Trophies
0
Age
43
XP
215
Country
United States
nvm; I think I know how the code works... took me awhile, but I did it :D

[Press A to gain 99 stars each time you collects]

DD000000 00000001 //joker command - press A (Enable this code only if you want to enable button press for the action to happen)

C0000000 FFFFFFFF - //loop how many times; All 'F' means Infinite.

D3000000 10000000 - Increase offset by YYYYYYYYY

25AA5EC0 00000063 - Offsets + value

D0000000 00000000 - Stop loop once once loop value reached (I believe this line can be remove, but I keep it just incase game crashes)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Now you are 15, you can go get a real job, somewhat.
  • T @ Texasauras:
    its like $80 bro lmao
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i'm too young and stupid and i don't have time to work
  • T @ Texasauras:
    it runs on android os
  • T @ Texasauras:
    it looks dope
  • BigOnYa @ BigOnYa:
    You get what you pay for. Go ahead and buy one those cheap Chinese units, you will see.
  • T @ Texasauras:
    bro have you seen the gfuel instagram
  • BigOnYa @ BigOnYa:
    @Texasauras why did you start a thread, ignored all the answers there, then come here to chat and ask the same thing. You gotta be like 12, bro
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Biker Mice from Mars needed a Sequel, Angry Hamsters from Uranus
  • T @ Texasauras:
    uh bro i was just asking have you seen these, help me look
  • T @ Texasauras:
    its on amazon
  • Psionic Roshambo @ Psionic Roshambo:
    Download Batocera make it your own
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    If you want GC PS2 Wii stuff like that use a PC
    +1
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, i also use my tv stick to watch YouTube and streaming services
    +1
  • BigOnYa @ BigOnYa:
    Psi those play well on the Pi5 now...
  • BigOnYa @ BigOnYa:
    @Xdqwerty yep that's what I use my stick for most anymore, streaming tv shows, movies. or even youtube. Or doing kens mum.
    +1
  • K3Nv2 @ K3Nv2:
    RG Cube is going to be good for ps2 if it's $100
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, and since the default emulator is below average i downloaded some "replacements" like snes9x for snes games for example
    +1
  • Xdqwerty @ Xdqwerty:
    And I also have my ps3
    +1
  • BigOnYa @ BigOnYa:
    Yea ps3 is a beast still to today compared to most "sticks"
  • K3Nv2 @ K3Nv2:
    If you just want pi for emulation no point when Anbernic releases new shit every two seconds
    +1
  • BigOnYa @ BigOnYa:
    What's really cool about Pi's tho is you can have multiple SD cards with different OS on each SD card and change from say a gaming machine to a full fledged pc if wanted
  • K3Nv2 @ K3Nv2:
    Plus all bios are set up and usually includes at least 128gbs or 64
  • K3Nv2 @ K3Nv2:
    Yeah but if your main goal is just to play n64 and GameCube you can save about $50 and have the portability option
    +1
    K3Nv2 @ K3Nv2: Yeah but if your main goal is just to play n64 and GameCube you can save about $50 and have the... +1