Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,542,164
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 05-05-24 09:00 PM
Guest: Register | Login

Main - Posts by Mattrizzle

Pages: 1 2 3 4 5 6 7 8 9 10

Mattrizzle
Posted on 07-02-07 12:24 AM, in SMB2 Music Patch! (rev. 2 of 07-03-07 05:35 PM) Link | Quote | ID: 51356


Red Cheep-cheep
Level: 33

Posts: 126/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
Two SMW tracks that I converted to the SMAS N-SPC format:
Main Map
Vanilla Dome

Should I include all of the SMW Map tracks as extra tracks in the patch?
(except for the Special World music, as repointing all of that data would take forever )

Also, thanks to the information at http://smw-vip.hp.infoseek.co.jp/, I've updated my document of SMAS' N-SPC commands to include all of the equivalent values in SMW's engine. You can grab it here:
http://mattrizzle.16bitzone.com/docs/spc_scale.txt

Edit: The music tempos are now boosted by 1.

____________________

Mattrizzle
Posted on 07-02-07 05:00 PM, in Adding overworld music Link | Quote | ID: 51609


Red Cheep-cheep
Level: 33

Posts: 127/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
Posted by HyperHacker
Can the instrument samples not be ported?
It's possible, just not with this program. It would involve finding where the SMRPG samples are in an SPC RAM dump, copying and pasting them at the end of the sample bank in SMW(78200) and changing the tables to point to them. Of course, not all of the SMRPG samples would fit, as SMW only has one bank of samples. SMRPG has a buttload of them.

I'm forgetting to mention that you'd also have to make new instruments which use the SMRPG samples.

____________________

Mattrizzle
Posted on 07-02-07 07:20 PM, in SMB2 Music Patch! (rev. 3 of 07-03-07 05:18 PM) Link | Quote | ID: 51634


Red Cheep-cheep
Level: 33

Posts: 128/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
Posted by Pac
Those conversions are great! However, I expected that they'd use the SMAS intruments... or are they the same as SMW's?
SMAS has two samples that SMW doesn't: The trumpet and timpani, and most of the instruments SMW uses are different from those in SMAS (mainly in how they're tuned; some have other differences). For these conversions, I ported SMW's instruments to SMAS, but still used the SMAS percussion (the difference isn't very noticeable).

Edit: After listening to the conversions again, the tempos of both seem to be a little slow.

To blackhole89 (or anyone else that knows about the SMW and SMAS music formats): Is the tempo conversion below accurate?

SMW tempo + 1 = SMAS tempo

Edit 2: As blackhole89 suggested, I made two test SPCs with one looping 100-tick note, and experimented with the tempos in SMAS. With the formula for calculating a tick that he gave, I figured one value had to give an error (512/[0] ms). I tried 00 in SMAS and a second note never played. For SMW, FF produced the same result. So I actually believe what I typed above to be accurate.

____________________

Mattrizzle
Posted on 07-05-07 05:06 PM, in A music patch request thread Link | Quote | ID: 52515


Red Cheep-cheep
Level: 33

Posts: 129/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
Posted by Stifu
Somewhat off topic: I haven't closely followed the new music-related finds, but is there any way I could use any of it for Super Mario Kart ?
Yes. Aside from being compressed, Super Mario Kart uses the same format as Super Mario All-Stars and many other first-party games.

____________________

Mattrizzle
Posted on 07-05-07 10:33 PM, in Super Mario World 2: Yoshi Color Correction Patch (rev. 2 of 07-14-07 08:58 AM) Link | Quote | ID: 52569


Red Cheep-cheep
Level: 33

Posts: 130/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
What always bothered me about Yoshi's Island is that the Yoshis are colored differently in the game itself than they are in the intro (light brown Yoshi; red boots instead of dark brown Yoshi; different-colored boots for each Yoshi) A while ago, I made a patch that corrects this, but I figured this would be more useful to those who are working on a YI hack (I'm not).

Get it here: smw2_yoshicolorfix.zip

This also switches the order that the red and pink Yoshis appear in the levels, so that they match the order on the map screen.

____________________

Mattrizzle
Posted on 07-06-07 12:54 AM, in SMB2 Music Patch! Link | Quote | ID: 52607


Red Cheep-cheep
Level: 33

Posts: 131/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
Posted by Bio
All this just gave me an idea, aren't most music stored in the SPC-700's RAM during aren't used during level(only the current level music, the star music, the POW music and the SFX can be used). If we make it so, insted of transfering the whole bank, it transfer the one it alway use and then the current music at a specific area of RAM, we could get much bigger music and have them placed anywhere in the ROM.
What you just described sounds exactly like how Super Mario Kart, Yoshi's Island, etc. handle the music. If you want to get some custom code running as you described, you might want to check out those games (I have very little knowledge of 65816 assembly, but I can tell they do this by looking at the SPC RAM).

But the list of music that would have to be loaded on a per-level basis is:
Current level music
Death
Game Over
Boss Defeated
Level Cleared
Starman
POW
Secret Exit


____________________

Mattrizzle
Posted on 07-08-07 04:30 AM, in SMB2 Music Patch! (rev. 2 of 07-16-07 01:35 PM) Link | Quote | ID: 53142


Red Cheep-cheep
Level: 33

Posts: 132/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
I've added all of the sound effects I'm going to add, but it seems I've hit yet another snag...

SMW Castle= 0x75F bytes
SMW2 Castle= 0x5BA bytes
SMK Koopa Beach= 0x5E0 bytes
SMK Rainbow Road= 0x783 bytes
Size of blank space 1 (2627-2A47) in N-SPC RAM= 0x421 bytes
Size of blank space 2 (BC8C-BFBF) in N-SPC RAM= 0x334 bytes

Unless the last tune is a shorter one than those listed above, or I chop up and scatter the pieces of a song, I won't be able to add anything in slot 0x18.

____________________

Mattrizzle
Posted on 07-10-07 05:48 AM, in Adding overworld music Link | Quote | ID: 53599


Red Cheep-cheep
Level: 33

Posts: 133/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
Posted by MadMikeXP 3

1.With music patches and now people making custom songs, can a music patch and customized spc's coexist without conflict within a rom ? example ? clean rom---> old DW music patch or MATT's patch---> hack with music patch and OW custom music. is it possible added with other graphics, asm and other modifications ?

The custom SPCs use SMW's pre-N-SPC music format, while the current music patches use SMAS' N-SPC format, meaning that they would conflict.

____________________

Mattrizzle
Posted on 07-13-07 05:01 PM, in Super Mario World 2: Yoshi Color Correction Patch (rev. 2 of 07-14-07 09:08 AM) Link | Quote | ID: 54552


Red Cheep-cheep
Level: 33

Posts: 134/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
If someone wants to upload it there, that would be alright with me.

Also, I forgot to make a note that this was made for the US version 1.0 ROM. It hasn't been tested on any other version.

EDIT: The patch has now been uploaded at Romhacking.net.

____________________

Mattrizzle
Posted on 07-13-07 08:57 PM, in U SHAL NOW TURN IN 2 UR AVATAR Link | Quote | ID: 54615


Red Cheep-cheep
Level: 33

Posts: 135/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
I become the Bob-omber. Here, have a Bob-omb!

Sssssssss... pffft.

Aw man, it's a dud. Let me try another one...

Sssssssss...
KABOOM!

____________________

Mattrizzle
Posted on 07-18-07 08:47 PM, in SMB2 Music Patch! Link | Quote | ID: 55997


Red Cheep-cheep
Level: 33

Posts: 136/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
I've now sorted it out, which means the level music bank is finished!

Music track 18 is Pipe Island from Yoshi's Safari.

I should note that the music programmers for Yoshi's Safari and Yoshi's Cookie wasted a lot of space, as they didn't use the call loop command at all! By adding this command throughout the track, I've reduced its size from 70B bytes to a mere 3F6 bytes.

____________________

Mattrizzle
Posted on 07-24-07 05:45 PM, in SMB2 Music Patch! Link | Quote | ID: 57455


Red Cheep-cheep
Level: 33

Posts: 137/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
I just wanted to tell you that I will no longer make a new post each time I have a new preview SPC to show you. Instead, I will edit the track list to include a link to the preview of a new track.

However, expect me to make a new post when I release the patch (which shouldn't be too far into the future), or to answer any questions.

____________________

Mattrizzle
Posted on 07-26-07 04:39 PM, in Donkey Kong Country level editor? Link | Quote | ID: 58357


Red Cheep-cheep
Level: 33

Posts: 138/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
Someone named cfh on the Donkey Kong Universe Forum is recreating the DKC engine, which he will eventually make a level builder for. You can find some demos of the engine here.

However, this isn't the same thing as hacking the ROM. If you want to do that, here's the next best thing:
DKC ROM Documents by giangurgolo

You'll need a hex editor such as XVI32 or Translhextion to edit the data.

Note that the info here is for the U.S. version 1.0 ROM.

____________________

Mattrizzle
Posted on 08-04-07 04:38 AM, in Solar Soundtrack discussion/suggestion/whatever thread Link | Quote | ID: 59907


Red Cheep-cheep
Level: 33

Posts: 139/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
Posted by blackhole89
...the "SMW format", which I prefer referring to as the "SMW-native format", being the alpha version of N-SPC which is used in Super Mario World and not really anywhere else as far as I know...
I just wanted to add that I know of two other games which use this SMW-native music format: Pilotwings (no surprise, as it was being worked on at the same time as SMW) and Panel de Pon/Tetris Attack (strange, as it was released in 1995; the N-SPC format was already the standard).

Not absolutely necessary, but how hard would it be to add a feature which can convert a WAV file to a BRR sample, and insert it into a ROM? I know this would be limited, as a single sample can take up a buttload of space.

Also, will you add support for editing the sound effects?

____________________

Mattrizzle
Posted on 08-05-07 08:15 PM, in Solar Soundtrack discussion/suggestion/whatever thread Link | Quote | ID: 60020


Red Cheep-cheep
Level: 33

Posts: 140/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
>>60018

About the format of sound effects:
For many games (Kirby's Dream Course, Super Mario Kart, & Yoshi's Safari to name a few), the sounds are in exactly the same format as the music, aside from the fact that the header commands aren't used (echo & tempo).

However, the sound effects of Super Mario World and Super Mario All-Stars are a bit more limited. For one, they can only use one channel. Also, only these commands can be used: E0, F1, F2, and F9.

As with a single channel in a pattern, 00 ends the sound. In addition to this, FF makes the sound loop until another one is played on the same channel (as with the drum roll sound in SMW).

Blackhole89, if you need to know more about this, just ask me.

____________________

Mattrizzle
Posted on 08-07-07 10:48 PM, in New Custom Sprites Link | Quote | ID: 60778


Red Cheep-cheep
Level: 33

Posts: 142/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
Posted by mimic
I have a problem with the giant koopa, when it's in it's shell it shows a tile from the banzai bill in sp4, but it shows the shell when it is killed. Yes I have downloaded spritetool v.131 and replaced all the sprites from that rar. and put them all in the sprites folder and I reinserted all the sprites I have and it still does the same thing. Is there something I'm doing wrong?
mikeyk altered more than just the sprites in the new version. Did you extract everything from the RAR and overwrite all of the outdated files in your sprite tool folder? At first, I had the same problem until I realized I didn't do that.

Posted by Ice Man
Thanks for fixing the Koopa, too. Now I just need to know how to make it use 32x32 instead of 24x32.
You can easily make it 32x32 by following these instructions:
1. In the ASM file, edit the displacement maps as follows...

HORIZ_DISP:	

dcb $08,$F8,$08,$F8
dcb $F8,$08,$F8,$08


...and for the shell:

HORIZ_DISP2:

dcb $F8,$08,$F8,$08
VERT_DISP2:
dcb $F0,$F0,$00,$00
dcb $F0,$F0,$00,$00


2. Make the following changes to the CFG file:

Object clipping, table offset (0-F): [9]
Sprite clipping, table offset (0-3B): [16]


Posted by mikeyk
* Added some support for carryable, kicked, and carried sprites. To programmers: If $14C8,x > 8, the default handling runs with the "acts like" setting. After the default handling, the custom sprite's "MAIN" routine is called. There you can handle extra stuff needed like changing the graphics.
Spiffy! Now perhaps I can work on custom SMB3 Koopas that function separately from the default SMW ones, and a--

*trampled by an angry mob for not working on the SMB2 music patch*

____________________

Mattrizzle
Posted on 08-08-07 12:21 AM, in New Custom Sprites (rev. 3 of 08-08-07 04:14 PM) Link | Quote | ID: 60819


Red Cheep-cheep
Level: 33

Posts: 143/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
Two more glitches:
  1. In this screenshot, I carried a giant Green Koopa to the goal. That sprite is a regular Mushroom.

  2. The coin a sprite becomes when the goal post is touched ($14C8: #$06) is also glitched. However, this instance can be fixed by altering the Giant Koopa's assembly.

On another note, $14C8: #$10 turns any sprite into a mushroom. That is another status you may want to avoid giving alternate mappings. Never mind.

____________________

Mattrizzle
Posted on 08-08-07 01:31 AM, in Solar Soundtrack discussion/suggestion/whatever thread Link | Quote | ID: 60840


Red Cheep-cheep
Level: 33

Posts: 144/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
Posted by blackhole89
Is there something like a master table of sound effect track pointers, and if yes (I'd assume so), where is it?
Here are those locations in Super Mario All-Stars' SPC RAM. Note that these addresses don't include the spc dump header.

166D-173B Sound effect instrument table (23 instruments; 9 bytes each)
[I don't know what the 70 70 00 10 bytes are, but the rest is like the music instrument settings, aside from the fact that the last tuning byte doesn't exist.]
173C-17D7 Sound effect pointer table (I/O port 4, $1DFC in SMW; 78 sounds)
17D8-1865 Sound effect pointer table (I/O port 1, $1DF9 in SMW; 71 sounds)

And the corresponding locations for SMW:
5570-561A Sound effect instrument table (19 instruments; 9 bytes each)
561B-5682 Sound effect pointer table (I/O port 4, $1DFC in SMW; 52 sounds)
5683-56D6 Sound effect pointer table (I/O port 1, $1DF9 in SMW; 42 sounds)

As I have said before, the sounds written to I/O port 2 ($1DFA) are hardcoded.

____________________

Mattrizzle
Posted on 08-08-07 04:20 PM, in New Custom Sprites (rev. 2 of 08-08-07 04:23 PM) Link | Quote | ID: 61037


Red Cheep-cheep
Level: 33

Posts: 145/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
Thanks to the info mikeyk just gave, I've found a way to fix the other problems with the Giant Koopa. Just replace the main routine with the following:

        dcb "MAIN"

PHB
PHK
PLB
LDA $14C8,x
CMP #$00 ; \ When in null status...
BEQ NoGfx ; / ...skip custom routine
CMP #$02 ; \ When killed...
BEQ InShell ; / ...use shell graphics
CMP #$0C ; \ When being transformed into an item at the goal...
BEQ NoGfx ; / ...skip custom routine
CMP #$09 ; \ When carryable, kicked, or being carried...
BCS InShell ; / ...use shell graphics
JSR SUB_GFX1
JSR CODE_START
NoGfx:
PLB
RTL
InShell:
JSR ShellGfx
PLB
RTL



____________________

Mattrizzle
Posted on 08-08-07 08:52 PM, in SMB2 Music Patch! Link | Quote | ID: 61099


Red Cheep-cheep
Level: 33

Posts: 146/202
EXP: 226509
Next: 2670

Since: 04-21-07
From: United States

Last post: 2430 days
Last view: 2390 days
The arrangement of the SPC data in the Kirby's Dream Course was wasteful, and I got tired of trying to reduce the size of the track, so I decided to go with the Course Select tune from Stunt Race FX. I have the tune sounding fairly decent, but then I realized that SMAS has no cymbal instrument. Instead of looking through the SPC dump of Stunt Race FX for the sample, my short attention span caused me to start experimenting with custom sprites. Yeah, that pretty much sums it up.

Honestly, I want to just stop adding more map music in and move on to the ending bank.

____________________
Pages: 1 2 3 4 5 6 7 8 9 10


Main - Posts by Mattrizzle

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.235 seconds. (330KB of memory used)
MySQL - queries: 133, rows: 165/165, time: 0.223 seconds.