Jump to content
  • 0

Randomizing Chests, people who give masks and shops in MM?


TyranitarTime
 Share

Question

Recommended Posts

  • 0

As it stands, I don't know if I'm even going to finish this now. The randomisation and making sure items are accessible is not a problem, but there's a lot of things that can still potentially make the game unbeatable which I did not anticipate. I'll think about this for a while because I did want to finish this, it's just going to be a lot more work than I expected.

Link to comment
Share on other sites

  • 0

Basically, each time an NPC wants to give you a mask or whatever, they'll check your inventory to decide if they gave you that item before. Since things have been randomised, let's say as an example you could get Kafei's Mask from Grog in place of the Bunny Hood; if you then went to the Mayor's Residence and talked to the mayor's wife, she'll see that you already have Kafei's Mask and therefore you'll never be able to get the item she should give to you. In some situations this could prevent you from getting key items, which is something I really wanted to avoid.

I'll take one more look tomorrow because I'm thinking I can probably find a quick way around this, otherwise I guess I'll just release what's done already.

Link to comment
Share on other sites

  • 0

I'm probably about half way to finding all the checks I need but it does involve having to play through most of the game, so it's taking a while (not that I mind actually playing for once). Once I find the rest I'll make sure I've found and fixed all the bugs caused by the stuff I've changed and then test it out a bit. Hopefully it'll be fully playable in three or four days and then I'll see what I can do about making a wad file for it so it can be played on VC too, though I haven't had any luck trying to inject Majora's Mask ROMs before so somebody else might need to try that.

Link to comment
Share on other sites

  • 0

Sorry this has taken such a long time, I just really haven't had much motivation to work on it for a while. That said, the bulk of the work left to do is just copying the main part of the hack to my ROM (again) and then I'll play through it for a bit (again) to make sure everything works. I should be able to release this later tonight or tomorrow.

 

I'll make a patch or whatever tomorrow, I'm tired now.

Edited by DeathBasket
Link to comment
Share on other sites

  • 0

PPF patch to apply to a normal Majora's Mask (U) ROM: (link removed while I fix this up)

 

I'm trying to get it working for VC but I'm just getting freezes after the Nintendo logo so far. I'll try a few more times but maybe someone else will be able to get it to work.

  • Like 1
Link to comment
Share on other sites

  • 0

I didn't keep very good notes. Basically this though:

 

 

  Reveal hidden contents

 

 

This probably isn't very useful for you.

  • Like 1
Link to comment
Share on other sites

  • 0

It's a bit buggy.

 

With a file name of DungRush, I got Kamaro's mask instead of Bremen's. When I visited Kamaro I got nothing.

Someone with a file name Tortus got obtained two Goron Masks, one from Mikau, one from Darunia.

The Lens of truth chest will sometimes disappear giving no item.

Link to comment
Share on other sites

  • 0

I didn't test transformation masks because I got lazy and just uploaded what I had after about 5 minutes actual testing yesterday. I know about the Kamaro bug but I thought I had fixed it, must have forgot to change something in the final ROM...

 

I guess I'll go back and fix these soon.

 

 

  On 7/5/2013 at 5:29 PM, mzxrules said:

 

The Lens of truth chest will sometimes disappear giving no item.

 

Under what circumstances/with which items in inventory, if you know? This is something I haven't seen but it may be related to some stuff in the chest's actor that got changed (which I doubt).

 

 

Also, re: VC inject, I know of no tool that can compress the ROM using the format used in Majora's Mask wads, though I have found a tool to decompress the romc files it doesn't handle recompressing them. I'll see what I can do but a wad file isn't looking likely right now. 

Compression is not the issue, I made a four byte change to the normal ROM (NTSC injected in a PAL wad, works unedited) and it didn't work. I'll try again...

Link to comment
Share on other sites

  • 0

The title screen shows up for me. I don't have problems running the ROM itself in project64 or Nemu, might be that you're using a plugin that blacks out the screen instead of blurring (which plugin does this? Jabo's 1.5/1.6?).

 

Progress! I've got the VC inject working (turns out there's a romc version that is uncompressed, OoT uses it). However, the game crashes as soon as you load your file, which doesn't happen on PC emulators that I've tried. I'm guessing this would happen on an N64 too, time to figure out what the problem is and how to fix it. Probably something to do with the filesystem because the program I used to insert files raped it (also why the patch is >20MB).

 

No filesystem errors, the VC emulator is just more like real hardware in that it's picky about which order you put instructions in... I'm a bad programmer anyway.

 

The next release will hopefully fix the bugs pointed out here and probably change a few things around based on what I noticed while watching GoronGuy streaming this. While I want to keep the game beatable, I'll probably change some things that could prevent 100% completion, but who wants to go for 100% in a randomiser anyway? I'd really like to keep any% and all masks possible though. Also, there will definitely be a VC release for anyone wanting to play on Wii.

 

I'm going to spend a while finding any VC crashes before I get to fixing this up - if I know what I shouldn't be doing in my code then I won't run into problems later on.

Edited by DeathBasket
Link to comment
Share on other sites

  • 0

Now that I've found out just how broken this is... I guess it could take a while longer to fix than I thought.

 

To do:

fix chests

fix bottles

fix Kamaro

check out a load of other bugs

 

Hopefully I can get it working properly soon.

 

 

Edit: Okay, a lot of things should be fixed with what I've found now - as I thought, a few items were being randomised multiple times (mainly because of my bad coding, though also because there are invalid item values being thrown around by the game somewhere... ?) . I also found the code that gives you bottle items is different that what is used for all other items, so the bottle randomisation outside of shops will actually work now. As for chests, they are also different than I expected; the best I can do for them is to change the item they give you but not what Link will be holding over his head.

 

The next release should fix everything and will also increase the number of items being randomised. Hopefully there will be a wad file too if I can figure out somewhere to put my code that won't crash on VC (something is overwriting it which doesn't happen on other emulators). I'll see what I can do about that.

 

I doubt I'll do a lot tomorrow, going to the beach probably for most of the day...

Edited by DeathBasket
Link to comment
Share on other sites

  • 0

Okay, what I have (should have) now fixed:

  • NPCs who gave wrong items due to re-randomisation (something was being reset or the game used an invalid item value). This affected Grog and Kamaro and I'm pretty sure it was the cause of getting two Goron masks that was mentioned above.
  • Chests - found the part I was missing that would give you 5 rupees instead of an item. However, because of the way chests work, I can't have the correct item/text displayed, you'll have to check the pause menu.
  • Bottles - they use a different function to put the items in your inventory than other items, probably because they need to be distinguishable.
  • Postman not taking Mama's letter - I'm not too sure what was happening with this but it's fixed anyway.
  • Red rupee chest softlock in Pirate's Fortress - what is this I don't even the game was using an invalid item, I didn't even change anything there.
  • Lens of Truth chest crash - seems to be due to invalid items again, the last 3 or 4 times I tested it was fine.

This is everything on my list bar one thing that I cannot reproduce. Please tell me if anybody who played the version I released found anything else so I can fix it and release a (hopefully) fixed version ASAP. I will start working on a VC compatible version now since I need to figure out what area of memory to use for the hack that it won't mess with.

Link to comment
Share on other sites

  • 0

Fixed. The problem is that since it is in the middle of the Deku Scrub's text, it expects another text box before it will continue and this won't appear if you already had the item. I should be fine to start reworking the hack for VC compatibility now, so I guess I'll get on with that.

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.