Announcement

Collapse
No announcement yet.

Is something wrong with my code or can't I use following code types for GCN games?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is something wrong with my code or can't I use following code types for GCN games?

    Hi,
    I've been trying to figure out why this code causes freezes (Wind Waker pal) :

    26CAD0CC 4226BF6B // if the value at 80CAD0CC is smaller than 4226BF6B then
    283F5018 00000002 // if the value at 803F5018 is equal 0002 then
    82200009 80CAD0CC // load the current value from 80CAD0CC this
    86900009 3F000000 // multiply it by 3F000000 (0.5) &/or this
    84200009 80CAD0CC // store the new value at 80CAD0CC &/or this
    E0000000 80008000
    26CAD0D0 42054799 // if the value at 80CAD0D0 is smaller than 42054799 then
    283F5018 00000002 // if the value at 803F5018 is equal 0002 then
    82200009 80CAD0D0 // load the current value from 80CAD0D0 &/or this
    86900009 3F000000 // multiply it by 3F000000 (0.5) &/or this
    84200009 80CAD0D0 // store the new value at 80CAD0D0 &/or this cause the freeze
    E0000000 80008000
    283F5018 00000001 // here and everything below works fine
    04CAD0D0 41354799
    04CAD0CC 41E6BF6B
    E0000000 80008000


    first I thought that I can't use Gecko Register codes for GCN games. But then I have found some codes using Gecko Registers for other GameCube games. And IDK why the code still causes freezes. I have made codes the same way for other games and everything was working fine.
    Last edited by CosmoCortney; 10-18-2014, 10:02:01 AM. Reason: information added
    My Website
    Hacking YouTube Channel


    No requests, please

  • #2
    Originally posted by CosmoCortney View Post
    86900009 3F000000
    Should be 86A00009 3F000000, according to the Gecko Codetype Documentation, assuming that you really want to multiply. The problem will be with odd values, however. I don't know how DM(L)/Devolution/Nintendont's code handlers deal with that, so I hope that you've thoroughly tested that address to make sure it's never odd, just in case.
    Last edited by M1CR0H4CK3R; 11-06-2014, 11:17:29 AM.

    Comment

    Working...
    X