mzxrules Posted April 14, 2013 Share Posted April 14, 2013 How can you make it so that Child Link can use the Hookshot/Longshot without softlocking the game? Someone mentioned that it was possible to do in another thread of mine, but never explained how. Link to comment Share on other sites More sharing options...
0 SanguinettiMods Posted April 14, 2013 Share Posted April 14, 2013 To use the hookshot:0xC348B8: change 0014 to 0015 (this will break it for adult Link though) Display list pointers: Hookshot in hand: 0xB9D07C and 0xB9D084 FPS view: 0xB9D0D0 Spike: 0xC3473C (3C19 xxxx 2739 xxxx) Chain: 0xC34858 (3C0F xxxx 25EF xxxx) Circle: 0xB07E54 (3C0E xxxx 8328 001E 25CE xxxx) 1 Link to comment Share on other sites More sharing options...
0 Mallos31 Posted April 15, 2013 Share Posted April 15, 2013 I sense lots of assembly to make it work for both... Link to comment Share on other sites More sharing options...
0 giadrosich Posted April 15, 2013 Share Posted April 15, 2013 Yeah, otherwise the game freezes up if you just change the "regular" item offset to have both adult and link use the hookshot. Link to comment Share on other sites More sharing options...
0 Jason777 Posted April 15, 2013 Share Posted April 15, 2013 If you guys can locate those offsets in the RAM, I could do a hack similar to the one I made for Young Link being able to use the bow. Link to comment Share on other sites More sharing options...
0 DeathBasket Posted April 15, 2013 Share Posted April 15, 2013 I don't remember if I kept my notes for this. Making it usable for both at the same time just means changing a variable and the display list pointers depending on which Link is loaded. If you put the models in gameplay_keep or something you might not even have to do that. You'll still need to change that one variable between 14 (adult) and 15 (child) but that would be only a few lines of code. Link to comment Share on other sites More sharing options...
0 Airikita Posted April 15, 2013 Share Posted April 15, 2013 To use the hookshot:0xC348B8: change 0014 to 0015 (this will break it for adult Link though) Display list pointers: Hookshot in hand: 0xB9D07C and 0xB9D084 FPS view: 0xB9D0D0 Spike: 0xC3473C (3C19 xxxx 2739 xxxx) Chain: 0xC34858 (3C0F xxxx 25EF xxxx) Circle: 0xB07E54 (3C0E xxxx 8328 001E 25CE xxxx) Circle: 0xB07E54 -> when I grab the 8-digit hex value, I get: 0603CB48, which means the pointer is at 0x3CB48 in object_link_boy? But when I look at object_link_boy in UoT, there's no 0x3CB48 in the list... the file itself doesn't go past 0x37800. Link to comment Share on other sites More sharing options...
0 DeathBasket Posted April 15, 2013 Share Posted April 15, 2013 Signed numbers; the actual address will be 0x0602CB48. Link to comment Share on other sites More sharing options...
0 Airikita Posted April 15, 2013 Share Posted April 15, 2013 Signed numbers; the actual address will be 0x0602CB48. Yet the offset for the pointer is actually 0x2CB78, even though the last byte is 48? Link to comment Share on other sites More sharing options...
0 Jason777 Posted April 15, 2013 Share Posted April 15, 2013 UoT assumes that an occurence of an E7 command is the start of a display list. While this logic may work for some, it will not work for all display lists; 0x2CB48 is the true start of the display list. Link to comment Share on other sites More sharing options...
0 wareya Posted April 15, 2013 Share Posted April 15, 2013 Some display lists are overlapped segments. The full deku stick literally contains the broken deku stick, for example. This is one of the situations where UoT would "break". Link to comment Share on other sites More sharing options...
0 Airikita Posted April 16, 2013 Share Posted April 16, 2013 Alright, makes sense then. EDIT: I activated the Hookshot for kid Link, re-pointed all the display list pointers to Link's hand model to test it out, and it still crashes. I'm assuming that I need to use the actual Hookshot model from adult Link for it to work? I'm guessing that the chain has a special animation property that OoT needs for the Hookshot to work properly? EDIT 2: video: So the chain shows up fine, but it seems the pointer is glitching up (I used Link's hand model to replace everything) Link to comment Share on other sites More sharing options...
0 Airikita Posted April 17, 2013 Share Posted April 17, 2013 I found the missing item to the Hookshot. I have it working now, no need for any more help. You were missing this SanguinettiMods: Hookshot Holster (FPS): 0xB907598 (3C0F xxxx 25EF xxxx) I thank SoulofDiety for helping me locate it. EDIT: working hookshot test: Link to comment Share on other sites More sharing options...
0 PwnzLPs Posted April 4, 2015 Share Posted April 4, 2015 Airikita, your offset that you have in your post is incorrect. It should be: 0xB07598 (3C0F xxxx 25EF xxxx) Found that out with a little process of elimination. Link to comment Share on other sites More sharing options...
Question
mzxrules
How can you make it so that Child Link can use the Hookshot/Longshot without softlocking the game? Someone mentioned that it was possible to do in another thread of mine, but never explained how.
Link to comment
Share on other sites
13 answers to this question
Recommended Posts