Super Mario Galaxy 2 [SB4E01]

Started by Doom, May 23, 2010, 08:05:20 PM

Previous topic - Next topic

jorgebus

Quote from: dcx2 on June 18, 2010, 06:46:02 AM
This is a semi-experimental code.  It is a multi-teleportation/levitation code.  It works just like the multi-teleportation.  However, if you hold b+arrow, the analog stick becomes a throttle.  Mario will begin to levitate according to the orientation of the Wiimote, with the analog stick adjusting the speed of levitation.  It takes some time to get used to.  The problem is that we need to be able to levitate in 3 dimensions, but the analog stick can only move in two, which is why I use Wiimote orientation.  And the levitation doesn't care about the camera orientation, so that can make some places (especially circular places) difficult to navigate.

On the bright side, you can go through walls.  :)

Let me know what you guys think.  I'm going to see if I can't rework it a bit to be easier to use, but I'm releasing this here in case some people want to mess with it and provide suggestions.

Multi-teleportation with levitation
C23880AC 0000001F
3D808075 618C0A00
A3CC0002 57C0056B
418200E0 57C0E007
418200D8 48000005
7FE802A6 3BFF00A0
7C000034 1C00000C
7FFF0214 57C004A5
41820010 7C6C1B78
7FFEFB78 48000060
C02C0064 EC21082A
EC21082A EC21082A
EC21082A EC21082A
C04C000C EC420072
C01F0000 EC001028
D01F0000 C04C0010
EC420072 C01F0004
EC001028 D01F0004
C04C0014 EC420072
C01F0008 EC001028
D01F0008 7FECFB78
7C7E1B78 800C0000
901E0000 800C0004
901E0004 800C0008
901E0008 48000034
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
80010034 00000000
b+z+arrow to store coordinates in slot (there are 4).  b+arrow to restore coordinates from slot.  While restoring coordinates (b+arrow, no z), the analog stick's Y axis will throttle the levitation speed.  Levitation direction will be determined by the orientation of the Wiimote.

That's epic, could you, would you port it to SMG1?

dcx2

It's not quite finished yet.  This code is evolving and I have a few more ideas.  That's another reason why I released it...I wanted to see if anyone had any ideas to potentially add to the code.  Once it's done, I can port it to SMG (and other codes, like surface swapper etc).

A little background story... (okay not really little so spoilered)

[spoiler]This all started with "coins don't disappear", which led to "1ups don't disappear" (timers are usually easy to find), and then I started messing with 1ups more, and made them bigger, then made them levitate (all by hand with Gecko.NET, at first).  I hand-teleported the 1up to Mario, and then Mario to the 1up.

All that careful research lead to the standard teleporter, which only has one slot.  After some playtime, I wished I could set more than one warp point, so then came the multi-teleporter.  Then I noticed if I kept loading the coordinates, I would be frozen in the air, and the analog stick made me move just a pixel, and it gave me an idea...levitation!  At first it was just adding one axis of the analog stick to one of Mario's coordinates.  Then two.  But how to get the third?  I considered using Wiimote data, but I needed some way to turn the movement on and off.  I considered a button, but that would make you move too fast, or too slow.  So then I decided to use just one axis of the analog stick - so if you need fine-tune control over throttle speed, push the stick all the way to one side, and then slide it around the circle slowly.  Much more precise control of throttle.[/spoiler]

I would like a way to specify warp points without actually being there.  Like how I teleported Mario to the 1up, by hand.  The problem is identifying which object you want to teleport to in-game...I was thinking about trying to use P2's grab to specify the coordinates to teleport to.  Or if I had a list to cycle through, I could make the selected object bigger with a size modifier so you knew which one you were selecting.

I'm also only 90% certain I like the button activators.  But it's not too bad; you don't shoot star bits if you press b off screen.

There are also other issues I might address, like freezing your coordinates during the store in case you are moving.  Otherwise you end up storing the position Mario was in when you let go, when you probably intended to store the position when you pressed store.

wiiztec

Quote from: dcx2 on June 18, 2010, 03:18:14 PM
(and other codes, like surface swapper etc).

That should be easy since I've already ported the surface type selector
If there's any code at all that you want to be button activated, or even able to toggle on & off, and I have the game, just PM me and I'll make it happen

dcx2

Thanks mrdefender!  The code is now fixed.  Enjoy  :cool:

Vahkiti

I have another request. Cosmic Clone spawner. Basically it would spawn cosmic clones at will by pressing some button combination. It would have no real use of course but it would be funny to see. :P

Credit to Crashdance22 for the awesome banner. =D

dcx2

Multi-teleportation, levitation, and P2GrabWarp
C23880AC 00000022
3D808075 618C0A00
A3CC0002 57C0056B
418200F8 57C0E007
418200F0 48000005
7FE802A6 3BFF00B8
7C000034 1C00000C
7FFF0214 57C004A5
41820028 57C00463
4082000C 7C6C1B78
48000010 3D808000
618C1828 818C0000
7FFEFB78 48000060
C02C0064 EC21082A
EC21082A EC21082A
EC21082A EC21082A
C04C000C EC420072
C01F0000 EC001028
D01F0000 C04C0010
EC420072 C01F0004
EC001028 D01F0004
C04C0014 EC420072
C01F0008 EC001028
D01F0008 7FECFB78
7C7E1B78 800C0000
901E0000 800C0004
901E0004 800C0008
901E0008 48000034
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
80010034 00000000

Publish P2GrabWarp Coordinates via pointer in gr8
C2362938 0000000E
48000005 7F6802A6
3B7B0050 3F408000
635A1828 937A0000
839B000C 901B000C
2C1C0000 40820040
2C000000 41820038
3B800014 7F9C0214
83BC0000 93BB0000
83BC0004 93BB0004
83BC0008 93BB0008
48000014 00000000
00000000 00000000
00000000 7C7A1B78
60000000 00000000


This is an evolution of the multi-teleportation with levitation code.  This code DOES require using p2's wiimote (I will be working on this step next so we won't need p2!)

When p2 grabs anything -- a 1up, an enemy, a coin -- the coordinates at the moment of first grasping will be stored in the second code.  The second code also publishes a pointer to its data in gr8.

The first code works exactly like the previous code...except if you hold c while storing coordinates; then it will store the P2GrabWarp coordinates instead of Mario's.

To recap...

Four slots, defined by the arrow keys, referred to as [other]

b+z+[other] will store Mario's current coordinates
b+c+z+[other] will store P2GrabWarp coordinates
b+[other] will load the coordinates from that slot
b+[other]+[Analog Stick Y Axis] will levitate in a direction according to the Wiimote's orientation

Recapitator

#216
EDIT: nevermind. I didn't see we had a Multi-Teleporter when I wrote this.

mothersbrain

Could anyone please make the Daredevil Code from the SMG for SMG2? It would be greatly appreciated, i need i bigger challenge.

Also, how about a code that makes coins no longer give you health. So you have to beat a level with 3 hits.

dcx2

Recapitator - There are four (and counting) teleportation codes.  Which one do you want ported?  What do you want buttons 1 and 2 to do?  I'm guessing that you just want the standard teleporter (one slot), and 1 stores while 2 restores, or something like that?

mothersbrain - I don't know about a daredevil code, but I can probably make the game insta-kill you when you get hit no matter how much health you have.  This will prevent the annoying 1-life-warning sound.  And the coins-don't-heal shouldn't be too hard, either.  It might take me a while to find some free time though, so someone else might beat me to it...

mothersbrain

#219
Quote from: dcx2 on June 20, 2010, 11:26:31 PM
Recapitator - There are four (and counting) teleportation codes.  Which one do you want ported?  What do you want buttons 1 and 2 to do?  I'm guessing that you just want the standard teleporter (one slot), and 1 stores while 2 restores, or something like that?

mothersbrain - I don't know about a daredevil code, but I can probably make the game insta-kill you when you get hit no matter how much health you have.  This will prevent the annoying 1-life-warning sound.  And the coins-don't-heal shouldn't be too hard, either.  It might take me a while to find some free time though, so someone else might beat me to it...

ah ok, that will work. although i think it might be too challenging lol, but i'd like to give it a go. at least until somebody does the coin thing which is a little more lenient on the player.

I was also thinking a Time Limit mode would be a fun challenge, it would be cool to turn the speed runs on for every level so that you have to be very precise. Obviously the 5 minutes will be not enough for some levels but we could just turn it off for those.

dcx2

Here you go.  These were all actually relatively easy to do.  http://wiird.l0nk.org/forum/index.php/topic,5791.msg53012.html#msg53012

By the way, I'm going to delete your superfluous thread.  In the future, make sure to put requests into the pre-existing thread for the game.  We don't want a million different requests for the same game clogging up the view, and some hackers will ignore you if they think you're trying too hard to get a request.  I know you're new here, so I'm going easy on you.  :)

mothersbrain

#221
Quote from: dcx2 on June 21, 2010, 01:55:23 AM
Here you go.  These were all actually relatively easy to do.  http://wiird.l0nk.org/forum/index.php/topic,5791.msg53012.html#msg53012

By the way, I'm going to delete your superfluous thread.  In the future, make sure to put requests into the pre-existing thread for the game.  We don't want a million different requests for the same game clogging up the view, and some hackers will ignore you if they think you're trying too hard to get a request.  I know you're new here, so I'm going easy on you.  :)

awesome! thanks man! you even made it like the 2d games where you can get hit twice with power up...just what i was thinking about

mothersbrain

#222
I have some more requests.

- make all levels have the time limit activated (i think its 3 or 5 minutes?)

- Would it be possible for someone to edit this speed code to allow mario to slowly gain momentum, and reach a speed of about half of what he reaches in this? kind of like the 2d marios run button. combine that with the timed level code and youve got yourself a new game mode where you have to run through the levels like the 2d games. would be AMAZING.

Speed Up (Down Button) [ZiT]
28750A02 FFFB0004
C23AEC9C 00000003
3D804080 618C0000
9181FFFC C001FFFC
D01D0278 00000000
E0000000 80008000
2A750A02 FFFB0004
043AEC9C D01D0278
E0000000 80008000


-A yoshi color modifier

wiiztec

Quote from: mothersbrain on June 21, 2010, 04:39:40 PM
- Would it be possible for someone to edit this speed code to allow mario to slowly gain momentum, and reach a speed of about half of what he reaches in this? kind of like the 2d marios run button. combine that with the timed level code and youve got yourself a new game mode where you have to run through the levels like the 2d games. would be AMAZING.

Here http://wiird.l0nk.org/forum/index.php/topic,5791.msg53094.html#msg53094
If there's any code at all that you want to be button activated, or even able to toggle on & off, and I have the game, just PM me and I'll make it happen

mothersbrain

#224
Quote from: wiiztec on June 21, 2010, 08:39:48 PM
Quote from: mothersbrain on June 21, 2010, 04:39:40 PM
- Would it be possible for someone to edit this speed code to allow mario to slowly gain momentum, and reach a speed of about half of what he reaches in this? kind of like the 2d marios run button. combine that with the timed level code and youve got yourself a new game mode where you have to run through the levels like the 2d games. would be AMAZING.

Here http://wiird.l0nk.org/forum/index.php/topic,5791.msg53094.html#msg53094

you are the fucking man.
EDIT: i tested it and it goes half speed, but it doesnt start slower and accellerate. i dont know if its possible to do though. but thanks for the code. it would be even cooler if it started at marios normal run and built up to half speed over a few second.