ZSR Forums
November 24, 2024, 10:15:21 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: ZSR Forums are back - read only!
 
   Home   Help Search Members Login Register  
Pages: [1] 2
  Print  
Author Topic: Get Item Manipulation Discussion  (Read 39603 times)
mzxrules
Admin
Ultimate Mega Guay

Posts: 901


Wrong warp expert


« on: February 05, 2015, 03:57:41 AM »

Explanation:
http://pastebin.com/FqqFQLvA

Videos:
https://www.youtube.com/watch?v=13xHP6YsdWU Any% bottles theory
https://www.youtube.com/watch?v=OVuZv5-wuBo OoT3D version

Docs:

Some explanation stuff: http://www.reddit.com/r/speedrun/comments/2usz7c/oot_get_light_arrows_in_the_deku_tree/

NTSC 1.0 Chest list (should be same for all "vanilla" oots): http://pastebin.com/gEcbRZTj


Get item table, aka the list of items you can obtain via a hold up animation. For the purposes of this glitch, chests will write their contents to the variable in question as a negative value. So 0x100 - the index column = value written by a particular chest.

http://wiki.cloudmodding.com/oot/Get_Items_(ovl_player_actor)#Get_Item_Table


Theoretical list of items obtainable from the trick for NTSC 1.0. Some values may change during runtime which is where the next file comes into play:
https://docs.google.com/spreadsheets/d/1iC55h-oy3NAIW739yNQ8Cg9QNpDGTyVRys_NLHpnG_o/edit#gid=0


Listing of values that change during runtime within the space used in the "glitched" get item table. Purple = values that change, pink is unrelated:
http://imgur.com/DW4PJSP


Cool Images:

http://puu.sh/fuYSb/8013814d1c.gif
« Last Edit: February 10, 2015, 01:56:26 AM by mzxrules » Logged

Quote from:  Leigh Rogers
Braid
This is art because the music is classical music, and the graphics are done with a pen. The story is something about a woman. I could not understand much of this to be honest, which makes it even more likely to be an art.
Fishaman P
Regular Guay

Posts: 25


12 Year Old Grill


« Reply #1 on: February 05, 2015, 06:24:23 AM »

By NTSC, do you mean the US release, or actual NTSC, i.e. US and JAP?
Logged

Quote
What dos RBA stand for?
Reverse Bel-Air.
mzxrules
Admin
Ultimate Mega Guay

Posts: 901


Wrong warp expert


« Reply #2 on: February 05, 2015, 06:41:38 AM »

There's a one byte difference between NTSC U and J for n64 releases, and it certainly isn't within the data I dumped. This is what I mean by NTSC 1.0
Logged

Quote from:  Leigh Rogers
Braid
This is art because the music is classical music, and the graphics are done with a pen. The story is something about a woman. I could not understand much of this to be honest, which makes it even more likely to be an art.
Jckf
Deku Scrub

Posts: 1



Email
« Reply #3 on: February 05, 2015, 05:43:28 PM »

The weird Navi glitch, where she gets stuck in the bottom left behind the camera, looks to behave just like if an item was hovering in your face. Zfg got it on stream yesterday but didn't do anything with it, so when it happened to me I continued as normal to see what it'd do. No recording, but it crashed my console as expected. It skips the dialog box when picking up the item though, so perhaps it has some value. Looks like it also prevents interacting with doors.

Regular seeds + map crash:
https://www.dropbox.com/s/wx5rga2s5hmhqj4/IMG_20150205_053252.jpg?dl=0
https://www.dropbox.com/s/z3bcyn4r115sxmm/IMG_20150205_053257.jpg?dl=0
https://www.dropbox.com/s/5rr80hqemit2dkg/IMG_20150205_053307.jpg?dl=0
https://www.dropbox.com/s/e9noual4f49rsvx/IMG_20150205_053319.jpg?dl=0

Weird Navi + nuts + map crash:
https://www.dropbox.com/s/itn8uzg7qmrpta4/IMG_20150205_173138.jpg?dl=0
https://www.dropbox.com/s/dtajwbhnztegya8/IMG_20150205_173146.jpg?dl=0
https://www.dropbox.com/s/ma1h9xcdfajz2du/IMG_20150205_173200.jpg?dl=0
https://www.dropbox.com/s/vgqqwjgee8brarz/IMG_20150205_173213.jpg?dl=0
« Last Edit: February 05, 2015, 06:45:33 PM by Jckf » Logged
mzxrules
Admin
Ultimate Mega Guay

Posts: 901


Wrong warp expert


« Reply #4 on: February 06, 2015, 04:46:57 AM »

Those screenshots are pretty useless. The only useful info is the RCP hanging, which is not unexpected based on what I know so far about the glitch.
Logged

Quote from:  Leigh Rogers
Braid
This is art because the music is classical music, and the graphics are done with a pen. The story is something about a woman. I could not understand much of this to be honest, which makes it even more likely to be an art.
mzxrules
Admin
Ultimate Mega Guay

Posts: 901


Wrong warp expert


« Reply #5 on: February 06, 2015, 10:16:12 AM »

Important variables:

Link's instance is at 801DAA30. Link's X coordinate is + 0x24 to this if you're not smart enough to know how to convert real addresses.

0x0424 from the start of Link's instance is the "get item" byte value
0x066C from the start of Link's instance is a series of flags for different states that Link can be in.

066C
 0x20 - Stops Link and other enemies from walking/performing actions. There seem to be more variables than this one. Walking While Talking is triggered when this variable is zeroed when it shouldn't

066E
 0x04 - Seems to be used for collecting items? This is the bit that when set causes Link to receive an item when surfacing the water.
Logged

Quote from:  Leigh Rogers
Braid
This is art because the music is classical music, and the graphics are done with a pen. The story is something about a woman. I could not understand much of this to be honest, which makes it even more likely to be an art.
Nethox
Deku Scrub

Posts: 4


« Reply #6 on: February 06, 2015, 05:05:35 PM »

That's very useful, do you happen to have an MHS save file handy? Also, is there a page somewhere where all of your notes can be found? I'd love to help but I wouldn't want to re-invent the wheel.

Thanks
« Last Edit: February 06, 2015, 08:24:28 PM by mzxrules » Logged
mzxrules
Admin
Ultimate Mega Guay

Posts: 901


Wrong warp expert


« Reply #7 on: February 06, 2015, 09:13:17 PM »

The MHS sticky has one for Mupen re-recording. Converting it for other versions of Mupen is pretty easy, since all you have to do is solve for the offset to the start of ram used in the MHS save, subtract the known addresses by that constant (giving you the real N64 addresses) and then find the new constant starting point to the ram for the version of Mupen you're using, then just do maths.

I don't have very many notes about this particular glitch (hoping someone will give me a list of things they tested), but I've got some documentation of Link's actor here:
http://wiki.cloudmodding.com/oot/Ovl_player_actor
Logged

Quote from:  Leigh Rogers
Braid
This is art because the music is classical music, and the graphics are done with a pen. The story is something about a woman. I could not understand much of this to be honest, which makes it even more likely to be an art.
mzxrules
Admin
Ultimate Mega Guay

Posts: 901


Wrong warp expert


« Reply #8 on: February 07, 2015, 10:12:17 AM »

Ok, some more info (some old, some new).

Crashing is caused by lifting an item. The reason for this is complex, and I'm not 100% on this explanation.

Here's roughly how things normally work:
* Link runs into an item or opens a chest
* The game calls whatever function to make Link hold an item over his head and collect it.
* The value at 0x424 from Link's instance is grabbed to perform a lookup of the Get Item table
* The object id is used to pre-fetch an object_gi file. This file contains the model that Link will hold over his head.
* When the game is ready to render the item being held over Link's head, the game copies the get item model id variable from the Get Item table (after making it a positive value) into 0x852 from Link's instance. This number sets the specific model to render, and is an index into another table of data that contains the proper references for pointing to the model within the object_gi file we loaded into memory earlier.

Now, here's where things go wrong with GIM. When you collect an item and do GID, you load the object_gi file and lock the model id variable to that of the model of the item you interrupted. When you jump into the water and surface, the game completely skips the routine for pre-fetching the proper object_gi file, but changes the "shader" to that of the new item. This results in the game not being able to find the proper start of the model, which then likely causes it to read a bad display list which then causes the RCP to flip out.

This is related to the new stuff Skater found somewhat with the Anju collection delay.

When you set up GIM and then receive a pocket cucco from Anju, you will swap object_gi files from whatever item you used to do the GID with the pocket egg object_gi, resulting in crazy graphical glitches because the object_gi file is swapped several frames before gi model id is updated.

You can also change the object_gi file loaded by simply holding up a trade item while GID is set up. This can either cause instantaneous graphical errors or no perceivable effect (though I feel like odd effects happening occurs less often).

However, this doesn't come close to explaining how Skater is able to get different items with the new trick
« Last Edit: February 15, 2015, 05:25:41 PM by mzxrules » Logged

Quote from:  Leigh Rogers
Braid
This is art because the music is classical music, and the graphics are done with a pen. The story is something about a woman. I could not understand much of this to be honest, which makes it even more likely to be an art.
Chain
Regular Guay

Posts: 42



Email
« Reply #9 on: February 10, 2015, 04:54:52 AM »

Just been looking at your google doc and apparently items like boomerang and hammer are impossible to obtain with this glitch. Is this because the chests necessary to obtain them don't exist (i.e a chest which has master sword) or is it some other reason?
Logged
mzxrules
Admin
Ultimate Mega Guay

Posts: 901


Wrong warp expert


« Reply #10 on: February 10, 2015, 06:05:18 AM »

the "item (desc)" column lists all the items that should be obtainable with this glitch (0x80-0xFF), plus the valid items you get normally (0x00-0x7C).

If it's not there, there's a small chance of manipulating the chest contents (that's an aspect that I still need to look into more), but if that's impossible it isn't.

New Info:

Bombs (+10) chest can be used to get item #200. BA/RBAing this item is completely useless since it hits a section of the visited room flags in forest that is never touched.

I think Skater was able to use GID to double collect on chests. If true, this would be useful mostly for small key chests.
Logged

Quote from:  Leigh Rogers
Braid
This is art because the music is classical music, and the graphics are done with a pen. The story is something about a woman. I could not understand much of this to be honest, which makes it even more likely to be an art.
Chain
Regular Guay

Posts: 42



Email
« Reply #11 on: February 10, 2015, 01:50:49 PM »

According to your table big poe should be impossible to get but I managed to get it in BotW after grabbing a stick, humping the compass chest and jumping in water. The game would keep crashing but if I pointed the camera in the right direction it wouldn't crash (this is on emulator). It gave me a text box with two options (in japanese so I couldn't read but it had the numbers 10 and 50) and if I picked the second option quite a few of the textures unloaded.

I dunno if this is expected or not but I'm happy to make a video if necessary.
Logged
GlitchesAndStuff
Site Editor
Special Guay

Posts: 254


Feel free to ask me anything


« Reply #12 on: February 10, 2015, 04:25:22 PM »

According to your table big poe should be impossible to get but I managed to get it in BotW after grabbing a stick, humping the compass chest and jumping in water. The game would keep crashing but if I pointed the camera in the right direction it wouldn't crash (this is on emulator). It gave me a text box with two options (in japanese so I couldn't read but it had the numbers 10 and 50) and if I picked the second option quite a few of the textures unloaded.

I dunno if this is expected or not but I'm happy to make a video if necessary.
Not sure what part of the table you were reading but it states on the table that you can get a big poe from the compass chest or a key chest (192 and 190). I haven't actually seen the text for it though, and what you said about camera angles sounds very promising if it also means we can get N64 to not crash
Logged
Gutiger
Deku Scrub

Posts: 4


Email
« Reply #13 on: February 14, 2015, 01:58:03 AM »

According to your table big poe should be impossible to get but I managed to get it in BotW after grabbing a stick, humping the compass chest and jumping in water. The game would keep crashing but if I pointed the camera in the right direction it wouldn't crash (this is on emulator). It gave me a text box with two options (in japanese so I couldn't read but it had the numbers 10 and 50) and if I picked the second option quite a few of the textures unloaded.

I'm curious if it's possible to get a bottle using BotW GIM with this method if you don't have a bottle already. I've tried for a while to get the Green Bubble to hit me while I pick up a Deku Stick while exiting the crawlspace in BotW, but it seems to be just barely out of reach. (Maybe if you have Bombchus to propel you into it it'd be possible?)

As well I tried placing a Bombchu down, quickly entering and exiting the crawlspace and then hitting the stick and having the Bombchu's damage activate GIM, but this as well seems to be just a few frames away from possible, however it needs more testing.

 IIRC the only two ways to get a bottle with the crawlspace GIM method right now are Deku Tree and Zora's Domain, if we could do it in BoTW it'd open new possibilities for puzzles and bingos.
« Last Edit: February 14, 2015, 08:04:01 AM by Gutiger » Logged
Sveet
Deku Scrub

Posts: 17



Email
« Reply #14 on: February 14, 2015, 08:42:31 AM »

I was watching a stream of someone who had a consistent method, I want to say it was Runnerguy. He was trying things you did, none of them succeeded. Even if you have the bombchu explode on the frame you grab the stick, the explosion acts the same as if you pulled ocarina to damage buffer. The green skull still flies around but the explosion doesn't tick.

I checked back the next day and he was doing this method. If you have a fairy and bombchus, you go into the room where the bombchus are (under an bombable floor right in front of the main entrance). He saved his game so the floor was open already, used bombchus to damage himself to 1/2 heart as he walked to the main room, then threw the deku stick into the river where the green skull would go. Then he clipped through the bombchu door wall and drowned while going back up into the main room, and during the fairy revive animation he grabbed the stick. I forget which chest he was using, probably the small key, but it gave a different item every time.
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!