Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Wind Waker NTSC-U Notes towards 60FPS from FIX94 to anyone who maybe wants to look at it someday
- random float values:
- 803FC8A8 crashes when changed
- 803FCA88 is FOV
- 803FCAAC is game height
- 803FCB6C softlocks (?) game
- 80367450 is game audio pitch
- 803FCBA0 is zoom to top-left
- 803FC28C is music reverb
- 803FA2D4 is slope upwards running speed value
- checked values for animation speeds:
- NOT float 0.5,1.0,2.0,30,60,300,600,0.01666666667,0.033333333334,125000,1/125000
- NOT int 60,30,300,600
- a ton of functions:
- 80006338=Game Main Loop which at
- 80006458=chains down to sub_8003EC84 which does everything
- sub_8003EC84 at 8003ECB0 calls 8000AF2C:
- 8000AF2C at 8000AFB0 calls sub_802558CC,
- sub_802558CC at 8025597C calls 80255D34=doesFrameLimit
- also:
- 8000AF2C at 8000BC00 calls sub_80255AB8,
- sub_80255AB8 at 80255B04 eventuall chains down to GXDrawDone
- sub_8003EC84 at 8003ED4C chains down to sub_8003DCF8,
- sub_8003DCF8 eventually chains down to sub_8003DCF8
- sub_8003DCF8 at 8003DD0C calls DoesActorUpdate, CameraUpdate GlobalControlUpdate and sub_8002A4A4
- 8002362C=DoesActorUpdate which at 8002395C actually updates actors (calling funcs such as UpdateLink)
- 8002A3A0=CameraUpdate
- 8002A6B0=GlobalControlUpdate
- 80122D30=UpdateLink which at 80122D3C calls 80121870=DoesUpdateLink
- DoesUpdateLink at 80121EB4=gives link controller inputs
- DoesUpdateLink at 8012204C=updates controller input
- DoesUpdateLink at 80122058=chooses next animation
- DoesUpdateLink at 80122078=calls sub_8010959C=UpdateLinkPos
- DoesUpdateLink at 801220C0=does links collision checks
- DoesUpdateLink at 801226C8=calls sub_802EE8C0 which hooks links model to set new positions
- UpdateLinkPos at 801098A8 calls sub_80108D80=CalcLinkPos
- CalcLinkPos at 801090C0=sets regular running speed (803FA104=1 by default)
- CalcLinkPos at 8010950C=adds the new xyz movement to the actual xyz coordinates
- some extras:
- sub_80159390 does jumpslash logic
- 8035D4B0=standard y gravity (-2.5)
- 8035D294 and 8035D2AC=standard y jumpslash gravity (-3)
- 8035DA4C=standard y sidejump gravity (-2.4)
- 8035D418=standard y backflip gravity (-3)
- for start area before entering hyrule castle:
- 80AB2608=r30 in CalcLinkPos
- 80AB2828=link x movement=0x220(r30)
- 80AB282C=link y movement=0x224(r30)
- 80AB2830=link z movement=0x228(r30)
- not from CalcLinkPos, unused (?) but set:
- 80AB6418=link x coord
- 80AB641C=link y coord
- 80AB6420=link z coord
- patches:
- write32(0x801090C0,0xC002A470); gives 60fps nearly original running speed, breaks every other calculation
- write32(0x80255D50,0x48000084); gives proper 60fps rendered per second
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement