Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. Wind Waker NTSC-U Notes towards 60FPS from FIX94 to anyone who maybe wants to look at it someday
  2.  
  3. random float values:
  4.  
  5. 803FC8A8 crashes when changed
  6. 803FCA88 is FOV
  7. 803FCAAC is game height
  8. 803FCB6C softlocks (?) game
  9. 80367450 is game audio pitch
  10. 803FCBA0 is zoom to top-left
  11. 803FC28C is music reverb
  12. 803FA2D4 is slope upwards running speed value
  13.  
  14. checked values for animation speeds:
  15. NOT float 0.5,1.0,2.0,30,60,300,600,0.01666666667,0.033333333334,125000,1/125000
  16. NOT int 60,30,300,600
  17.  
  18.  
  19. a ton of functions:
  20.  
  21. 80006338=Game Main Loop which at
  22. 80006458=chains down to sub_8003EC84 which does everything
  23.  
  24. sub_8003EC84 at 8003ECB0 calls 8000AF2C:
  25. 8000AF2C at 8000AFB0 calls sub_802558CC,
  26. sub_802558CC at 8025597C calls 80255D34=doesFrameLimit
  27. also:
  28. 8000AF2C at 8000BC00 calls sub_80255AB8,
  29. sub_80255AB8 at 80255B04 eventuall chains down to GXDrawDone
  30.  
  31. sub_8003EC84 at 8003ED4C chains down to sub_8003DCF8,
  32. sub_8003DCF8 eventually chains down to sub_8003DCF8
  33. sub_8003DCF8 at 8003DD0C calls DoesActorUpdate, CameraUpdate GlobalControlUpdate and sub_8002A4A4
  34.  
  35. 8002362C=DoesActorUpdate which at 8002395C actually updates actors (calling funcs such as UpdateLink)
  36. 8002A3A0=CameraUpdate
  37. 8002A6B0=GlobalControlUpdate
  38. 80122D30=UpdateLink which at 80122D3C calls 80121870=DoesUpdateLink
  39.  
  40. DoesUpdateLink at 80121EB4=gives link controller inputs
  41. DoesUpdateLink at 8012204C=updates controller input
  42. DoesUpdateLink at 80122058=chooses next animation
  43. DoesUpdateLink at 80122078=calls sub_8010959C=UpdateLinkPos
  44. DoesUpdateLink at 801220C0=does links collision checks
  45. DoesUpdateLink at 801226C8=calls sub_802EE8C0 which hooks links model to set new positions
  46.  
  47. UpdateLinkPos at 801098A8 calls sub_80108D80=CalcLinkPos
  48. CalcLinkPos at 801090C0=sets regular running speed (803FA104=1 by default)
  49. CalcLinkPos at 8010950C=adds the new xyz movement to the actual xyz coordinates
  50.  
  51.  
  52. some extras:
  53.  
  54. sub_80159390 does jumpslash logic
  55.  
  56. 8035D4B0=standard y gravity (-2.5)
  57. 8035D294 and 8035D2AC=standard y jumpslash gravity (-3)
  58. 8035DA4C=standard y sidejump gravity (-2.4)
  59. 8035D418=standard y backflip gravity (-3)
  60.  
  61. for start area before entering hyrule castle:
  62. 80AB2608=r30 in CalcLinkPos
  63. 80AB2828=link x movement=0x220(r30)
  64. 80AB282C=link y movement=0x224(r30)
  65. 80AB2830=link z movement=0x228(r30)
  66. not from CalcLinkPos, unused (?) but set:
  67. 80AB6418=link x coord
  68. 80AB641C=link y coord
  69. 80AB6420=link z coord
  70.  
  71.  
  72. patches:
  73.  
  74. write32(0x801090C0,0xC002A470); gives 60fps nearly original running speed, breaks every other calculation
  75. write32(0x80255D50,0x48000084); gives proper 60fps rendered per second
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement