Moderator: sylux102

Sonic in SM64

Flotonic
Advanced Member
Flotonic
Advanced Member
Joined: 2:40 PM - Nov 22, 2012

5:08 PM - Oct 24, 2013 #1

Play as Sonic in SM64
This was made using some notes that I compiled for SM64 recently. I will release those soon.

Videos:
http://www.youtube.com/watch?v=Sj_jpU7JOWc http://www.youtube.com/watch?v=gosM2nAvcjg

Download the patch here:
http://www.mediafire.com/?mcdvxywu0c11c2g

Credits:
  • A close friend of mine - Making the demonstration video.
  • Forrest - Using Toad's Tool to edit some of Mario's colors.
  • Flotonic - Locating and editing the data in the rom that had to be edited, using a converter of my own to convert Sonic's data to the game's format.
If you use this to make Sonic 64 or something else, please link back to this forum topic or the video.

Post something below to let us know what you think!
Last edited by Flotonic on 4:11 AM - Oct 25, 2013, edited 3 times in total.
Quote
Like
Share

GANONdork123
Advanced Member
GANONdork123
Advanced Member
Joined: 8:23 PM - Jun 19, 2013

12:04 PM - Oct 25, 2013 #2

Flotonic wrote:Play as Sonic in SM64
This was made using some notes that I compiled for SM64 recently. I will release those soon.

Videos:
http://www.youtube.com/watch?v=Sj_jpU7JOWc http://www.youtube.com/watch?v=gosM2nAvcjg

Download the patch here:
http://www.mediafire.com/?mcdvxywu0c11c2g

Credits:
  • A close friend of mine - Making the demonstration video.
  • Forrest - Using Toad's Tool to edit some of Mario's colors.
  • Flotonic - Locating and editing the data in the rom that had to be edited, using a converter of my own to convert Sonic's data to the game's format.
If you use this to make Sonic 64 or something else, please link back to this forum topic or the video.

Post something below to let us know what you think!
a cool thing you can do is replace marios jumping animation with one that would suit sonic better
GANONdork123

Quote
Like
Share

Kazeshin
Newbie
Kazeshin
Newbie
Joined: 11:00 PM - Oct 25, 2013

11:06 PM - Oct 25, 2013 #3

i made a physics addon to this;
Video+download
if anyone is interested, here are my ASM notes:

high walk speed

(sometimes i noted down RAM addresses, sub 245000)

802653B4: LUI AT, 0x3F85 <-speed multiplicator for each frame
802653B8: MTC1 AT, F18
802653BC: LWC1 F16, 0x0054 (T8)
802653C0: MUL.S F6, F16, F18

802653CC: LUI AT, 0x4348 <-max speed

802653E8: LUI AT, 0x4348 <-max speed
floats, boviously.

for the camera, i did the following:
861C:
LUI T0, $8034
LWC1 F2, $B1C4 (T0)
LUI AT, $428C
MTC1 AT, F4
C.LT.S F2, F4
NOP
BC1T $END
NOP
LUI AT, $3F24
MTC1 AT, F4
MUL.S F2, F2, F4
SWC1 F2, $c5A4 (T0)

//END:
JR RA

i also thought about making the controls less sensitive, but that looks weird in the air. got to fix tat later (ignore every address except the first);

Code: Select all

80248328: LW T0, 0x0020 (SP)
LUI AT, $3F00
MTC1 AT, F2

8024832C: LH T9, 0x0000 (T0)
80248330: SLTI AT, T9, 0xFFF9
80248334: BEQ AT, R0, 0x80248358
80248338: NOP
80248340: LH T1, 0x0000 (T0)
80248344: ADDIU T2, T1, 0x0006
80248348: MTC1 T2, F8
8024834C: NOP
80248350: CVT.S.W F10, F8
MUL.S F10, F10, F2
80248354: SWC1 F10, 0x0004 (T0)

8024835C: LH T4, 0x0000 (T0)
80248360: SLTI AT, T4, 0x0008
80248364: BNEZ AT, 0x80248388
80248368: NOP
80248370: LH T6, 0x0000 (T0)
80248374: ADDIU T7, T6, 0xFFFA
80248378: MTC1 T7, F160
8024837C: NOP
80248380: CVT.S.W F18, F16
MUL.S F18, F18, F2
80248384: SWC1 F18, 0x0004 (T0)

8024838C: LH T9, 0x0002 (T0)
80248390: SLTI AT, T9, 0xFFF9
80248394: BEQ AT, R0, 0x802483B8
80248398: NOP
802483A0: LH T2, 0x0002 (T0)
802483A4: ADDIU T1, T2, 0x0006
802483A8: MTC1 T1, F4
802483AC: NOP
802483B0: CVT.S.W F6, F4
MUL.S F6, F6, F2
802483B4: SWC1 F6, 0x0008 (T0)

802483BC: LH T4, 0x0002 (T0)
802483C0: SLTI AT, T4, 0x0008
802483C4: BNEZ AT, 0x802483E8
802483C8: NOP
802483D0: LH T7, 0x0002 (T0)
802483D4: ADDIU T5, T7, 0xFFFA
802483D8: MTC1 T5, F8
802483DC: NOP
802483E0: CVT.S.W F10, F8
MUL.S F10, f10, F2
802483E4: SWC1 F10, 0x0008 (T0)
Quote
Like
Share

adrianor13
Newbie
Joined: 10:32 PM - Oct 25, 2013

11:45 PM - Oct 25, 2013 #4

this makes it 200% more cooler (add them 1 by 1) this is the first code:

8107EC40 8162
8107EC42 3E00
8107EC38 FEC1
8107EC3A 7A00
8107EC20 0000
8107EC22 5E00
8107EC28 0000
8107EC2A AB00
8107EC70 BB00
8107EC72 0000
8107EC68 BB00
8107EC6A 0000
8107EC80 EFDD
8107EC82 7800
8107EC88 EFDD
8107EC8A 7800
8107ECA0 0000
8107ECA2 5000
8107EC98 0000
8107EC9A 8700
8033B177 0001
81265366 41AF
81265380 4604
812653A8 1000
812653CE 75EF
812653EE 75EF
D133AFA0 4000
8133B1C4 426C
81252924 2400
8125292E 4291
802524CA 0001
802524CF 0082
80252F12 0001
80252F17 0082
8025303E 0001
80253043 0082
8025305A 0001
8025305F 0082
8025323A 0001
8025323F 0082
802643D2 0001
802643D7 0082
8026094A 0001
8026094F 0082
80262EFE 0001
80262F03 0082
80263082 0001
80263087 0082
802677A6 0001
802677AB 0082
80268086 0001
8026809B 0082
802682A2 0001
802682A7 0082
802682F2 0001
80268307 0082
8126B828 2400
8133B724 0000
8133B726 0000
8033B22C 00E8
8133B178 FFFF
8008EFBA 0000
80095512 0000
80096AEA 0000
81253B50 0000
81253B52 0000
D133AFA0 0020
8107EC20 C878
D133AFA0 0020
8107EC22 0500
D133AFA0 0020
8107EC28 C878
D133AFA0 0020
8107EC2A 0500
D133AFA0 0020
8107EC70 BF2B
D133AFA0 0020
8107EC72 0300
D133AFA0 0020
8107EC68 BF2B
D133AFA0 0020
8107EC6A 0300
D133AFA0 0020
8107ECA0 C878
D133AFA0 0020
8107ECA2 0500
D133AFA0 0020
8107EC98 C878
D133AFA0 0020
8107EC9A 0500

here is the second one:

D133AFA0 8020
8107EC20 C878
D133AFA0 8020
8107EC22 0500
D133AFA0 8020
8107EC28 C878
D133AFA0 8020
8107EC2A 0500
D133AFA0 8020
8107EC70 BF2B
D133AFA0 8020
8107EC72 0300
D133AFA0 8020
8107EC68 BF2B
D133AFA0 8020
8107EC6A 0300
D133AFA0 8020
8107ECA0 C878
D133AFA0 8020
8107ECA2 0500
D133AFA0 8020
8107EC98 C878
D133AFA0 8020
8107EC9A 0500
810EE060 802B
810EE062 D680
D133AFA0 0000
810B1676 0000
D133AFA0 0000
810B1686 0000
D133AFA0 0000
810B1696 0000
D133AFA0 0000
810B16A6 0000
D133AFA0 0020
810B1674 FFFF
D133AFA0 0020
810B1676 42FF
D133AFA0 0020
810B1684 FFFF
D133AFA0 0020
810B1686 42FF
D133AFA0 0020
810B1694 FFFF
D133AFA0 0020
810B1696 42FF
D133AFA0 0020
810B16A4 FFFF
D133AFA0 0020
810B16A6 42FF
D133AFA0 8020
810B1674 FFFF
D133AFA0 8020
810B1676 42FF
D133AFA0 8020
810B1684 FFFF
D133AFA0 8020
810B1686 42FF
D133AFA0 8020
810B1694 FFFF
D133AFA0 8020
810B1696 42FF
D133AFA0 8020
810B16A4 FFFF
D133AFA0 8020
810B16A6 42FF
D033AFA1 0020
8133B196 0001
D033AFA1 0000
8133B196 0000
D033AFA0 0008
8133B1C4 4300
D033AFA0 0004
8133B1C4 1000
D033AFA0 0008
810B1674 0060
D033AFA0 0008
810B1676 E4A2
D033AFA0 0008
810B1684 0060
D033AFA0 0008
810B1686 E4A2
D033AFA0 0008
810B1694 0060
D033AFA0 0008
810B1696 E4A2
D033AFA0 0008
810B16A4 0060
D033AFA0 0008
810B16A6 E4A2

Warning: DO NOT ever combine these 2 parts into 1 code! The .cht file will not work correctly if you do! Put on before title screen to enable correctly

He is able to run very fast, front spin while jumping, can jump high and far, can run underwater (side effect is swim in gas), removes overall buttons, and can't get hurt from falling. For Super Sonic, press L or L + A to change to Super Sonic's colors with sparkling effect on (release to return to normal). Also while Holding L, you can go through enemies! Hold D-pad Up while running to activate Sonic Boost with transparent blue sparkles! Press D-pad Down to stop the Sonic Boost if needed.
Quote
Like
Share

Joined: 5:36 PM - Oct 05, 2013

6:00 PM - Oct 26, 2013 #5

Nice modd flotonic, that really cool :)
Quote
Like
Share

Bren
Advanced Member
Bren
Advanced Member
Joined: 6:15 PM - Oct 09, 2013

4:21 AM - Oct 29, 2013 #6

Wow , that looks good . Did you use toads tools for this?
Quote
Like
Share

Flotonic
Advanced Member
Flotonic
Advanced Member
Joined: 2:40 PM - Nov 22, 2012

8:33 PM - Oct 29, 2013 #7

Thanks, everyone! B-)

Toad's Tool was used only to edit Mario's colors. For converting Sonic's Display Lists, I used a converter of my own.
Quote
Like
Share

Hayate
Newbie
Hayate
Newbie
Joined: 3:58 PM - Jan 28, 2014

1:19 PM - Jan 30, 2014 #8

Wow nice mod ! Isn't that the Sonic Adventure DC model ?
Quote
Like
Share

Kilat
Newbie
Kilat
Newbie
Joined: 8:04 AM - May 18, 2014

8:07 AM - May 18, 2014 #9

I've got a problem. I patched this to a U rom and all I get it well... this.

Mario's arms have dissapeared. So far Gameplay is normal, and I have all of my cheats deactivated but... yeah
Last edited by Kilat on 8:16 AM - May 18, 2014, edited 1 time in total.
Quote
Like
Share

NewSuperMoiWii
Advanced Member
NewSuperMoiWii
Advanced Member
Joined: 7:19 AM - May 25, 2013

3:35 PM - May 18, 2014 #10

Patch it in a extended SM64 Rom, instead of a regular Rom.
Quote
Like
Share