Banner
Views: 942,938,277
Time:
6 users online: Djief, exodustx0, Isikoro, mish1, Nirv, ZX497 - Guests: 70 - Bots: 92 Users: 52,436 (2,012 active)
Latest: cyphehjaw
Tip: If your level contains elements that temporarily change the music to a global song (such as a P-Switch or a Star), that music will not stop playing after the intended end time if the music bypass setting is set to 00.
Not logged in.
Music changer V2.0 + Tutorial on how to use it
Forum Index - Non-SMW Hacking - Super Mario 64 Hacking - ASM & Data Repository - Music changer V2.0 + Tutorial on how to use it
Pages: « 1 » Link
This allows you to have 3 Different musics in 30 different levels, or to have 6 different musics in 1 level and 3 different musics in 28 levels (look at the tutorial at the end of the video!)

Tutorial/video for this:
http://www.youtube.com/watch?v=7HdLLbF7IHU

Download:
http://bin.smwcentral.net/u/21427/MCCI.ppf

more codes here:
https://sites.google.com/site/kazemario64/


857EC (210 Bytes):

allways 7 bytes;
[XX] [A1 M1] [A2 M2] [A3 M3]
XX Level ID for nexz 6 bytes
AX Collission type
MX Music type
after that, repeat this.
you can also just insert an invalid level id, to skip this.

858C0 (I Called it out of a part of Mario's Behavior. do it however you want or use my patch) :
//START
ADDIU SP, SP, $FFE8
SW RA, $0014 (SP)


//Get Level ID
LUI T2, $8033
LH T3, $ddf8 (T2)

//get Loop length
LUI T4, $802C
ORI T5, T4, $A8BE
ORI T4, T4, $A7EC


//LOOP 858dc
LBU T2, $0000 (T4)
BNE T3, T2, $LOOPEND 2
NOP

//get current collission
LUI V0, $8034
LW V0, $B1D8 (V0)
LH V0, $0000 (V0)

ADDIU T7, T4, $0006

//SUBLOOP 858f8
LBU T6, $0001 (T4)
LBU A1, $0002 (T4)
ADDIU T4, T4, $0002
BEQ T6, V0, $SET MUSIC
NOP
BNE T7, T4, $SUBLOOP
NOP


//LOOPEND
ADDIU T4, T4, $0001
BNE T4, T5, $LOOP
NOP
BEQ R0, R0, $END
NOP

//SET MUSIC 85928

/CHECK
LUI T0, $8022
LH T0, $261C (T0)
ANDI T5, T0, $3F
BEQ T5, A1, $END
NOP
JAL $80320544
OR A0, R0, R0

//END 85944
LW RA, $0014 (SP)
ADDIU SP, SP, $0018
JR RA
nop

//LOOPEND 2 85954
ADDIU T4, T4, $0007
BNE T4, T5, $LOOP
NOP
BEQ R0, R0, $END
NOP



Level ID list
#HAUNTED_HOUSE 0x0004
#COOL_COOL_MOUNTAIN 0x0005
#INSIDE_CASTLE 0x0006
#HAZY_MAZE 0x0007
#SHIFTING_SAND_LAND 0x0008
#BOB_OMB_BATTLEFIELD 0x0009
#SNOWMANS_LAND 0x000A
#WET_DRY_WORLD 0x000B
#JOLLY_ROGER_BAY 0x000C
#TINY_HUGE_ISLAND 0x000D
#TICK_TOCK_CLOCK 0x000E
#RAINBOW_RIDE 0x000F
#CASTLE_GROUNDS 0x0010
#BOWSER_FIRST_COURSE 0x0011
#VANISH_CAP 0x0012
#BOWSERS_FIRE_SEA 0x0013
#SECRET_AQUARIUM 0x0014
#BOWSER_THIRD_COURSE 0x0015
#LETHAL_LAVA_LAND 0x0016
#DIRE_DIRE_DOCKS 0x0017
#WHOMPS_FORTRESS 0x0018
#PICTURE_AT_END 0x0019
#CASTLE_COURTYARD 0x001A
#PEACH_SECRET_SLIDE 0x001B
#METAL_CAP_COURSE 0x001C
#WING_CAP 0x001D
#BOWSER_FIRST_BATTLE 0x001E
#RAINBOW_CLOUDS 0x001F
#BOWSER_SECOND_BATTLE 0x0021
#BOWSER_THIRD_BATTLE 0x0022
#TALL_TALL_MOUNTAIN 0x0024
who sucks at ASM now, Tarek?
#swag

hope, this will get implemented to object importer 19 :3
Thank You

--------------------
guest6777's Youtube Channel

--------------------



Kario: Hello, i love much this site Smw Central!

Can you reupload the patch? The link is down.

--------------------
My SM64 Hacks

Super Mario 64 Shining Stars (151-star hack) Release

Shining Stars 2: Mirror Madness
_________________________________________

lol
Originally posted by pieordie1
Can you reupload the patch? The link is down.

done
Originally posted by Kazeshin
Originally posted by pieordie1
Can you reupload the patch? The link is down.

done

Thanks :D

--------------------
My SM64 Hacks

Super Mario 64 Shining Stars (151-star hack) Release

Shining Stars 2: Mirror Madness
_________________________________________

lol
Pages: « 1 » Link
Forum Index - Non-SMW Hacking - Super Mario 64 Hacking - ASM & Data Repository - Music changer V2.0 + Tutorial on how to use it

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2021 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks