VitorVilela7 / wide-snes

Super Mario World (SNES) Widescreen Project
1.6k stars 56 forks source link

An option to disable in-game music? #23

Closed TotiB closed 3 years ago

TotiB commented 3 years ago

Cheat codes for vanilla Mario World, and another no-music patch I tried don't seem to work out with the widescreen hack. Could a cheat code, or an additional patch be made that can disable music?

VitorVilela7 commented 3 years ago

Most cheat codes can be converted using the following rule:

7E00XXYY → 0030XXYY

7EZZXXYY → 40ZZXXYY (only if ZZ is not 00)

Example 1: 7E001902 → 00301902

Example 2: 7E0DB301 → 400DB301

TotiB commented 3 years ago

Turns out the code I found that disabled music had a thing with it where Mario would flash star colors for some reason.

However, I did find this ASM patch that mutes music and it works with the widescreen hack, so it was exactly what I was looking for.

The info about cheats is interesting though, definitely going to be using that second code you put!

Update: I figured out how to use the tool "AddmusicK" with the hack, and it works like a charm!