ZSR Forums

=> Majora's Mask => Topic started by: DeathBasket on July 11, 2013, 11:08:57 PM



Title: Majora's Mask Randomiser
Post by: DeathBasket on July 11, 2013, 11:08:57 PM
This is a hack I made of Majora's Mask  that randomises the items you get from NPCS, chests, etc. based on your file name - the same name will always get the same items.

Links on this page:
http://pastebin.com/M0asDmXy (updated again, purple tunic)

While I don't think there should be any remaining major bugs at least, I can't guarantee it's completely fixed. Thanks to GoronGuy for finding a ton of them by the way. Anyway, have fun.


Title: Re: Majora's Mask Randomiser
Post by: GoronGuy on July 12, 2013, 12:12:29 AM
Thank you!

We are going to have tons of fun with this.


Title: Re: Majora's Mask Randomiser
Post by: cafde on July 12, 2013, 04:00:59 AM
While playing the vc inject, I came across a few problems (all on the seed "P"). First, I had already gotten goron and zora masks from the deku/zora mask cutscenes and when I went to get deku mask from the goron mask cutscene I didn't get it (or anything). Next, I could get any reward from the great fairy after getting magic. I also didn't get any reward from the witch in the hut after I healed her (I wonder if either of these have to do with not having deku mask...I doubt it though).

Edit-Also, when I defended the ranch from the aliens I got blue potion without getting a new bottle instead of getting a new milk bottle.


Title: Re: Majora's Mask Randomiser
Post by: Venick409 on July 12, 2013, 05:31:14 AM
I ran into the same issues as Cafde. Could not get pictobox/whatever it would of been. I also got Goron and Deku, but couldn't get Zora when I tried to from where you get Goron Mask. making it impossible to finish the game.

I haven't done the aliens yet, so can't report on that.


Title: Re: Majora's Mask Randomiser
Post by: DeathBasket on July 12, 2013, 11:28:56 AM
By the sounds of it I've missed one of the instances where the Goron checks your inventory so I'm looking into that one now. Since you didn't have Deku mask, you couldn't get the Great Fairy's mask (or whatever she was supposed to give you) because you require it for the cutscene to trigger. I don't know about the pictobox so I'll see what happens.
Also, that you didn't get a bottle with the potion isn't really a bug; only some bottled items actually give you a new bottle with them and there's not a lot I can do about it. You are always guaranteed one bottle anyway though and that's enough to finish the game.

Edit: Goron mask issue fixed, I accidentally had the Goron mask's item ID my appearing in my item table twice... sorry! I'll go check out pictobox now.

Edit 2: The way this game works really is weird. If you can always get the pictobox after saving Koume, you can't give the postman Mama's letter on night 3 and vice versa. So, be warned, by fixing this you'll probably only ever be able to get the pictobox (or what replaces it) once.

Anyway, these are fixed so I'll upload what should now be the finished version of this.


Title: Re: Majora's Mask Randomiser
Post by: GoronGuy on July 12, 2013, 01:02:17 PM
By the way Death, You should join irc.speedrunslive.com #MM on IRC


Title: Re: Majora's Mask Randomiser
Post by: DeathBasket on July 12, 2013, 01:29:33 PM
New version is up, links here:
http://pastebin.com/A8FKbRYx

I'm going to play for a while on VC just to check the bugs were fixed. I'm hoping nothing else needs to be done because I'm kind of tired of hacking this game for the moment.


Title: Re: Majora's Mask Randomiser
Post by: DeathBasket on July 13, 2013, 11:52:59 AM
Well someone found a bug where you could get Couple's Mask twice but it seems really rare that it would ever happen. I went and uploaded a new version anyway (links in this topic have been updated), I'm really sorry if you had to download this multiple times now. I don't plan on updating it any more after this.
Also, GlitchesAndStuff found a softlock that happens if you show a bottled item to some NPCs or signs, so beware of that.


Title: Re: Majora's Mask Randomiser
Post by: Hornlitz on July 13, 2013, 10:57:07 PM
This is seriously hilarious. I love it XD

Also, I was playing with a filename "FrankerZ", and I opened the chest with Fire Arrows and got Fire Arrows, but they didn't appear in my inventory. Not sure if that was a mistake in programming or just some random glitch, but it looks like it makes this seed impossible. I know you said you were done updating this, but I just wanted to mention that.


Title: Re: Majora's Mask Randomiser
Post by: cafde on July 14, 2013, 12:50:03 AM
You got another item. The dungeon item chests will always show the bow/elemental arrows above your head but you'll get a different item.


Title: Re: Majora's Mask Randomiser
Post by: Jimmie1717 on July 14, 2013, 01:50:23 AM
Not sure if this was intended or not, but on the VC when I buy chu's from the bomb shop it always acts as if its a new item (link turns around and holds them above his head.) It really isn't a problem but it keeps you from buying 20 chu's with 69 rupees.


Title: Re: Majora's Mask Randomiser
Post by: pwbluesky on July 14, 2013, 02:03:02 AM
Is there a specific program needed to run this ROM? I tried Proj 64 1.6 and 2.0, and it was a dark screen on 1.6 and it said "you need the n64 expansion pak" for 2.0. :/


Title: Re: Majora's Mask Randomiser
Post by: cafde on July 14, 2013, 02:21:29 AM
Make sure the memory is set to 8mb in settings


Title: Re: Majora's Mask Randomiser
Post by: pwbluesky on July 14, 2013, 02:59:24 AM
It works now, thank you!


Title: Re: Majora's Mask Randomiser
Post by: DeathBasket on July 14, 2013, 01:30:28 PM
Not sure if this was intended or not, but on the VC when I buy chu's from the bomb shop it always acts as if its a new item (link turns around and holds them above his head.) It really isn't a problem but it keeps you from buying 20 chu's with 69 rupees.

Unfortunately this is necessary as there are some situations where not having a text box appear will cause a softlock because the game was expecting one and won't advance without it.


Title: Re: Majora's Mask Randomiser
Post by: Hornlitz on July 14, 2013, 04:04:34 PM
You got another item. The dungeon item chests will always show the bow/elemental arrows above your head but you'll get a different item.

Would the same thing have happened with the Great Fairy Mask? Cause it appears to have given it to me twice, once from the Great Fairy and once from somewhere else.


Title: Re: Majora's Mask Randomiser
Post by: cafde on July 14, 2013, 07:10:59 PM
It should be the same case with great fairy mask, but I think there is a bug with it as I did not get anything new from it in a race last night. Also I'm not sure if it could be fixed but if you get postman's hat from another source and then try to get a reward from the postman, it checks for the postman's hat and you don't get any reward.


Title: Re: Majora's Mask Randomiser
Post by: DekuScrub on July 17, 2013, 04:21:22 AM
Interesting note: with the generic filename 'Link' instead of getting the bomber's notebook Jim gives you a bow. This results in seeing an (ironic) interesting easter egg coming back from getting the moon's te-errm, the kamaro's mask...  ;)


Title: Re: Majora's Mask Randomiser
Post by: cafde on July 17, 2013, 06:20:43 AM
There's another thing I came across in an any% race tonight. I knew milk was fish because when I did aliens at the ranch it gave me fish. Later, though, when I went to buy milk from the ingo bros. to get a fish to be able to bottle dupe they ended up just selling me milk. I guess this is an oversight?


Title: Re: Majora's Mask Randomiser
Post by: DeathBasket on July 24, 2013, 02:32:39 PM
There's another thing I came across in an any% race tonight. I knew milk was fish because when I did aliens at the ranch it gave me fish. Later, though, when I went to buy milk from the ingo bros. to get a fish to be able to bottle dupe they ended up just selling me milk. I guess this is an oversight?

Isn't the milk they sell you different to normal milk or something?
Anyway, I will be going back to this because I've found out about a few problems now. I'll probably have to remove wallets/FD mask from the randomiser to make certain goals actually possible (or just make Majora kid always give you an item while keeping important things off the moon if people still want FD). I'll take a look at some things that apparently don't work properly too and probably make a few changes to the randomisation. I guess you can expect an updated version in the next few days.


Title: Re: Majora's Mask Randomiser
Post by: mmFruit on July 30, 2013, 09:29:34 AM
remains aren't randomised I assume?


Title: Re: Majora's Mask Randomiser
Post by: GoronGuy on July 30, 2013, 11:00:29 AM
remains aren't randomised I assume?

Correct.

Just for consistency


Title: Re: Majora's Mask Randomiser
Post by: DeathBasket on August 25, 2013, 11:51:19 PM
remains aren't randomised I assume?

I didn't see any point in randomising them. Also, they seem to like crashing the game :(

So anyway, a month after I said I'd update this (lol) I'm actually doing it. I've fixed all situations I've heard of where an item isn't given because you already had what it was meant to be (this was a bug I introduced by fixing something else before) except with the couple's mask, great fairy mask and bomber's notebook because I can't reproduce those, I'm always given an item. If anyone can give me a filename where it doesn't work I'll check it out. Details on the new version below.

New items:
Seahorse
Gorman bros' milk
Hot spring water
Tingle maps (if there is space in the list, I'd rather not reprogram anything)

Item availability fixes:
Beating Clock Town shooting minigame always gives big quiver (or equivalent)
Beating swamp shooting minigame always gives biggest quiver (or equivalent)
200 rupees in the bank always gives adult wallet (or equivalent)
Ocean spider house always gives giant wallet (or equivalent)
Big/biggest bomb bags (or equivalent) can always be bought regardless of the one you have
Hero's shield (or equivalent) in Clock Town shop can always be bought
Majora kid on the moon will always give you FD (or equivalent)

Other stuff:
Wallet sizes have changed. Maximums are now 250, 500 and 999 which prevents a wallet from becoming unobtainable by replacing the all-night mask, since at least one of the wallets should be somewhere you can find it. I'll probably change the upgrade and bought versions of swords to be the same (I think they're different at the moment) because I think it makes more sense. Trading items will be kept off the moon.

Due to the changes I'm making, this version won't be backwards compatible with the others. If you're going to race, make sure everybody is playing the same version (I'll do something to make them easily distinguishable). Race goals that should now be possible:
Any%
X number of masks
Full item screen (except bottles)
X number of songs
Equipment upgrades
etc.

I'll try and get this out tomorrow but it may be pushed back a little if I find any other things that need fixing or if I can't find the motivation. :)


Title: Re: Majora's Mask Randomiser
Post by: GoronGuy on August 26, 2013, 05:48:55 AM
Not a big fan of not being able to get random items from the banker


Title: Re: Majora's Mask Randomiser
Post by: Jeville on August 26, 2013, 07:59:14 AM
Not a big fan of not being able to get random items from the banker
But you're okay with the other upgrade stuff not being randomized? This would just make it more streamlined with those others. The 1000 and 5000 rupee deposit rewards might still be randomized unless rupee/piece of heart rewards are left untouched.


Title: Re: Majora's Mask Randomiser
Post by: GoronGuy on August 26, 2013, 01:09:36 PM
But you're okay with the other upgrade stuff not being randomized? This would just make it more streamlined with those others. The 1000 and 5000 rupee deposit rewards might still be randomized unless rupee/piece of heart rewards are left untouched.

80% of all the items I have received have been a lot more useful than a silly wallet upgrade


Title: Re: Majora's Mask Randomiser
Post by: DeathBasket on August 26, 2013, 01:35:14 PM
Not a big fan of not being able to get random items from the banker

When I say he always gives that item, I mean the item ID is always set to adult wallet. However, adult wallet itself is randomised so he will still be giving you a random item. This just avoids issues with the banker and the guy in ocean spider house giving you the same stuff. The same thing goes for the shooting galleries where in the current version if you find the biggest quiver before doing either shooting gallery, you're locked out of two items. The item IDs are fixed so that you aren't locked out of them, but the item you get from it is always random.

But you're okay with the other upgrade stuff not being randomized? This would just make it more streamlined with those others. The 1000 and 5000 rupee deposit rewards might still be randomized unless rupee/piece of heart rewards are left untouched.

All upgrades are still randomised. Sorry if I wasn't clear, I was tired lol. The reason rupee and heart piece rewards are not randomised is because they are not distinguishable from each other; somebody giving you 50 rupees is exactly the same as you picking up 50 rupees from a dodongo regardless of the get item cutscene and every single heart piece in the game is the same item. If rupees get mixed with other items, you run the risk of not being able to get any money at all and could lock yourself out of getting bombs or other items you need to buy.


Title: Re: Majora's Mask Randomiser
Post by: Jeville on August 26, 2013, 04:00:14 PM
Full item screen (except bottles)
Since there should be a bought version of the bottle not randomized, it is possible with this legitimate bottle duplication (http://www.youtube.com/watch?v=Cx2mc0glq9Y) glitch if no bottle can be found in a chest to duplicate with stop-time for some file names. Being in Deku/Goron/Zora form guarantees getting a bottle stolen (after getting the bow to unlock item stolen mechanic) so it's not really a gamble. Considering only one legitimate bottle can be obtained, would the randomiser race allow either of those glitches to be legitimate use, or consider it done with just the one bottle?


Title: Re: Majora's Mask Randomiser
Post by: DeathBasket on August 26, 2013, 09:26:07 PM
Considering only one legitimate bottle can be obtained, would the randomiser race allow either of those glitches to be legitimate use, or consider it done with just the one bottle?

You could get three: red potion bottle, beavers, Dampé. If anyone seriously wanted to race a category where you must have 6 bottles, that dupe would have to be allowed; the only other way to get the bottles is if you were lucky and got a filename where extra bottles can be bought. Besides, banning any helpful glitch in a race of this wouldn't be a good idea.

Anyway, the new version is close to being done now. I haven't been able to add Tingle maps because they apparently do nothing when you get them from somewhere other than Tingle, so it seems pointless. I'll probably be able to get it up in a few hours' time.


Title: Re: Majora's Mask Randomiser
Post by: DeathBasket on August 27, 2013, 12:41:39 AM
Okay, new version is up, download links on this page:
http://pastebin.com/A8FKbRYx

This should be the final release and everything should now work as intended. As I said, it's not backwards compatible so make sure everyone has the same version before you race. Most importantly though, have fun with it.


Title: Re: Majora's Mask Randomiser
Post by: cafde on September 08, 2013, 10:32:41 PM
Another overlooked thing: Buying milk/chateau from the barkeeper acts like buying milk from the gormon bros. did in previous versions.


Title: Re: Majora's Mask Randomiser
Post by: Jimmie1717 on September 12, 2013, 05:39:43 PM
I forgot to post this from a few days ago, but it appears romani mask is still broken. In a race a few days ago I had the romani mask in my inventory and when I helped cremia get the milk to clock town she just gave me the 100r/hug reward, no random item.


Title: Re: Majora's Mask Randomiser
Post by: Indextic on October 25, 2013, 02:03:54 AM
two questions!
1: is it possible to randomize boss remains in with the rest of the items?
2: is it possible to randomize heart pieces in with the rest of the items?

if yes, do you think you could make a version of this where absolutely everything (including bombs/bombchus) is randomized? some files would be unbeatable of course but i just think it would be funny


Title: Re: Majora's Mask Randomiser
Post by: Jimmie1717 on October 28, 2013, 12:18:00 AM
New Randomizer (Oct 24)
Download here: http://pastebin.com/M0asDmXy

Things fixed:
All Transformation Masks work in the Majora Fight (Giant's Mask will Softlock)
5 Deku Drop has been taken out of item list (Left over from OoT that is not used in the game)