• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

GSUB's SIMPLE Step-By-Step Music Hacking Guide for the Masses!

Rep

Smash Apprentice
Joined
Jul 27, 2006
Messages
172
Anyone else have weak sound? Like, the files work fine, the music just has weak bass. Is this a limitation of the .hps format and how the game handles music?

Edit: I compiled a simple program that you put your time (in seconds) into, and it outputs your hex value (based on the (32000xtime)(16/14)+15 equation

This saves you from having to manually do the calculation and then do a dec to hex conversion.

If you want to copy the hex number from the terminal window, click the top left button and go to quick edit mode. Then u can just select it and hit "enter" to copy.

http://www.mediafire.com/?z02s2bsyemh3js1
 

iffy525

Smash Apprentice
Joined
Aug 30, 2011
Messages
135
Wait, you have to make the hps files longer? Is that explained in this guide?
I would like to know this too. I acquired the iso from sreeepyk@gmail.com, but even though it said there was nothing but audio changes, the opening movie was changed. I would like an iso with nothing changed but the lengthening of the audio tracks, I just don't know how to do it.

EDIT: Whatever, I just replaced a bunch of the stuff with the original audio and video.
 

Eemil98

Smash Rookie
Joined
Nov 9, 2011
Messages
1
Hi all!

I'm new here, so I don't understand some things very well. I was able to do .hps music file, but I have issues with looping. My song's total length is 2 minutes and 30 seconds, but when I make test from my song after hexing and play the test, my song loops from second 56 to beginning? Does anyone know why is that? Also I tried to make new hammer music. (Hammer item) That too goes beginning on too early. :urg: My upper song was replace for menu theme (menu01.hps).

Thanks in advance
-Eemil

PS. I just found something strange from My_Offsets.txt. Here is my offsets:


Reading HPS and new DSPs...
HPS Sample rate: 32000
HPS Channels: 2
L DSP Sample rate: 32000
R DSP Sample rate: 32000

offset:00000080 length:00008000 secs:1.792 total secs:0.000
offset:000100a0 length:00008000 secs:1.792 total secs:1.792
offset:000200c0 length:00008000 secs:1.792 total secs:3.583
offset:000300e0 length:00008000 secs:1.792 total secs:5.375
offset:00040100 length:00007f40 secs:1.781 total secs:7.166
offset:0004ffa0 length:00007f20 secs:1.779 total secs:8.947
offset:0005fe00 length:00007f20 secs:1.779 total secs:10.727
offset:0006fc60 length:00007f20 secs:1.779 total secs:12.506
offset:0007fac0 length:00007f20 secs:1.779 total secs:14.285
offset:0008f920 length:00007f20 secs:1.779 total secs:16.065
offset:0009f780 length:00007f20 secs:1.779 total secs:17.844
offset:000af5e0 length:00007f20 secs:1.779 total secs:19.623
offset:000bf440 length:00007f20 secs:1.779 total secs:21.403
offset:000cf2a0 length:00007f20 secs:1.779 total secs:23.182
offset:000df100 length:00007f20 secs:1.779 total secs:24.961
offset:000eef60 length:00007f20 secs:1.779 total secs:26.740
offset:000fedc0 length:00007f20 secs:1.779 total secs:28.520
offset:0010ec20 length:00007f20 secs:1.779 total secs:30.299
offset:0011ea80 length:00007f20 secs:1.779 total secs:32.078
offset:0012e8e0 length:00007f20 secs:1.779 total secs:33.858
offset:0013e740 length:00007f20 secs:1.779 total secs:35.637
offset:0014e5a0 length:00007f20 secs:1.779 total secs:37.416
offset:0015e400 length:00007f20 secs:1.779 total secs:39.196
offset:0016e260 length:00007f20 secs:1.779 total secs:40.975
offset:0017e0c0 length:00007f20 secs:1.779 total secs:42.754
offset:0018df20 length:00007f20 secs:1.779 total secs:44.534
offset:0019dd80 length:00007f20 secs:1.779 total secs:46.313
offset:001adbe0 length:00007f20 secs:1.779 total secs:48.092
offset:001bda40 length:00007f20 secs:1.779 total secs:49.872
offset:001cd8a0 length:00007f20 secs:1.779 total secs:51.651
offset:001dd700 length:00007f20 secs:1.779 total secs:53.430
offset:001ed560 length:00007f20 secs:1.779 total secs:55.210
Loop in menu01.hps from offset 001ed560 back to 00040100
32 audio blocks, 56.989 seconds
closing files...

:end of list:
So, why there reads 56.989 seconds? It's menu01.hps length! And then, why my own theme goes to same length? Sorry my english
 

KnitePhox

Smash Lord
Joined
Oct 17, 2005
Messages
1,838
Location
Chicago, IL
Anyone else have weak sound? Like, the files work fine, the music just has weak bass. Is this a limitation of the .hps format and how the game handles music?

Edit: I compiled a simple program that you put your time (in seconds) into, and it outputs your hex value (based on the (32000xtime)(16/14)+15 equation

This saves you from having to manually do the calculation and then do a dec to hex conversion.

If you want to copy the hex number from the terminal window, click the top left button and go to quick edit mode. Then u can just select it and hit "enter" to copy.

http://www.mediafire.com/?z02s2bsyemh3js1

WOOOOW i just saw your post >_____________>. well at least the addition of mine gives ppl options? heh.

I have created a Microsoft Excel formula grid for making the equation part { [(32000*EndTime)(16/14)]+15 } as easy as inputting only the EndTime and getting the HEXADECIMAL result immediately. No more outside calculations for this, one number and press enter. Done.

works with excel '07 for sure, as its what i used to make it. (should work in '03 and '10)

http://www.mediafire.com/?v5h5seupb4naa80
 

hot$

Smash Ace
Joined
May 17, 2007
Messages
536
Location
Manassas, VA
edit... now my only problem is, after i have created my new song file! i go to insert it into gc tool and it says file too large? i dont know why / how to fix that.. ><
 

KnitePhox

Smash Lord
Joined
Oct 17, 2005
Messages
1,838
Location
Chicago, IL
my cmd is not recognizing my hps file.. it says "old_kb.kps is not recoginzed as an internal or external command, program or bath file."

i cant figure it out. ive tried changing the stage.. also i had the hps_"old_KB.kps" before and that didnt do anything so i removed the first hps thinking it would help but nah..

anyone have any clue?
:/
possibly cuz it's not spelled exactly the same. Maybe??? Check for spaces and underscores aside from capitals, etc.

basically, copy/paste..? Mite work. Dunno tho.
 

Leviathan741

Smash Ace
Joined
Nov 25, 2008
Messages
604
Location
Columbia, Missouri
So when I put in hps_insert file_name_here.hps songnameL.wav songnameR.wav > My_Offsets.txt (with approrpiate names, etc on step 4), it says cannot open hps file and asks for me to pick a program to open it and never creates the temp hps file.
 
G

genkaku

Guest
is there an alternate way to download hssbm.rar?
[edit] I was linked to a copy, PM me and I can forward the link.
 

iffy525

Smash Apprentice
Joined
Aug 30, 2011
Messages
135
I was so excited about finishing my second version of my hacked melee, with what was supposed to be many improvements over the first one I did. The main improvement was that all the track's volumes were normalized (using mp3gain), but to my dismay, they ended up being waaay to quiet (it was so bad that I had to throw it away)! I was so mad. So anyways, does anyone have a recommended normal volume? The default of 89db on mp3gain is too quiet, so I was thinking 100db, but does anyone else have any input on this? Thanks.
 

Steelia

Smash Champion
Joined
Sep 23, 2007
Messages
2,523
Location
Home.
I was so excited about finishing my second version of my hacked melee, with what was supposed to be many improvements over the first one I did. The main improvement was that all the track's volumes were normalized (using mp3gain), but to my dismay, they ended up being waaay to quiet (it was so bad that I had to throw it away)! I was so mad. So anyways, does anyone have a recommended normal volume? The default of 89db on mp3gain is too quiet, so I was thinking 100db, but does anyone else have any input on this? Thanks.
It all depends on the music you have. Some songs are stronger than others sound-wise, so it's all a matter of luck really. Once you do this long enough you'll recognize when to amp up the sound.

I notice themes from classic video games (8-bit, 16-bit, etc.) always tend to need a loudness increase, whereas more heavy modern songs can stay at the level they're at.

Of course... if you're not too sure about how loud a song is, just keep the source WAV files you used, so you can increase their volume later and put them back in. In my case, I make my songs a little louder than normal, but I put the in-game music levels down so I can hear sound effects and such. I find that easier. :p
 

ChinesePanda777

Smash Apprentice
Joined
Oct 11, 2009
Messages
110
Location
Oregon
Trying this out, if I followed the optional step (double/triple checked I did it right too) and still get clicks/pops/cracks, is there anything else I can do to prevent those?
 

BeLia

Smash Rookie
Joined
Jul 16, 2008
Messages
21
Nvm I fixed the problem, I just find the part 4 really confusing, I didn't know where to type the name of my file exactly.
 

some1rational

Smash Cadet
Joined
Feb 27, 2008
Messages
30
EDIT: ok got it, I'm an idiot LOL and i double posted. To make up for it...

Great tutorial <3 it works!
 

Perfectchaos345

Smash Rookie
Joined
Sep 28, 2012
Messages
1
Yes, this is old thread, but could anyone help me how to make own hacked iso from own dumped iso (copied from the original disk)? I really am interested about ssbm hacking, but I'd like to do it legally. Version I have is PAL.
Thanks!
 

felipe_9595

Smash Lord
Joined
Apr 9, 2010
Messages
1,431
Location
Chile
Yes, this is old thread, but could anyone help me how to make own hacked iso from own dumped iso (copied from the original disk)? I really am interested about ssbm hacking, but I'd like to do it legally. Version I have is PAL.
Thanks!
Use GC-Rebuilder to extract the files from your iso, delete the 15 min movie file ( Search for the .mth that weights 400 mb), and start using the 15min hps for your hacks. Profit.
 

UnderTheAir

Smash Rookie
Joined
Jan 26, 2012
Messages
7
Use GC-Rebuilder to extract the files from your iso, delete the 15 min movie file ( Search for the .mth that weights 400 mb), and start using the 15min hps for your hacks. Profit.
I'm also a bit confused about this. How many stages can you use 15min hps's for with the 400mb gone? And where do you even get the 15min hps to use in the first place?
 

Zoe9571

Smash Rookie
Joined
Oct 23, 2012
Messages
1
This is all great stuff, but I tried to download it and my computer won't let me.
 

Theftz22

Smash Lord
Joined
Mar 21, 2008
Messages
1,030
Location
Hopewell, NJ
So when I put in hps_insert file_name_here.hps songnameL.wav songnameR.wav > My_Offsets.txt (with approrpiate names, etc on step 4), it says cannot open hps file and asks for me to pick a program to open it and never creates the temp hps file.
I'm having the same issue. Anyone know the fix?
 

Gamerlolwind

Smash Rookie
Joined
Jun 6, 2013
Messages
16
big thanx for your well written, easy to follow and use guide, GSUB! :)
i used it to make my menu01.hps and opening.hps music from this song:



works like a charm, YAY

i did it on my windows 7 home premium 32bit laptop: )
 

Szopanator

Smash Rookie
Joined
Aug 19, 2013
Messages
11
So I keep having THIS problem when I try to replace my .hps "pura.hps is bigger than original file.
I can't replace smaller files with a bigger one."
 

ShockSlayer

Smash Cadet
Joined
Feb 19, 2011
Messages
58
Use GC-rebuilder instead, You have to extract the whole .iso to a directory first, but you can rebuild it with whatever size pura.hps you want.
 

Szopanator

Smash Rookie
Joined
Aug 19, 2013
Messages
11
to a directory being like making it into the gale01 file? if not please explain what you mean

edit: what I tried didn't mean so please explain what you mean by a directory if possible
edit 2: uhhh I may have figured it out


So i pieced it together and figured it out, thankyou
 

TerryJ

Smash Journeyman
Joined
Apr 12, 2010
Messages
488
Location
BEST COAST, WA
NNID
1337-1337-1337
3DS FC
1337-1337-1337
So I've followed each step and made a new HPS file then converted it to a WAV to listen to it and it's nowhere near the right amount of time. Minutes have been cut off. I suspect that it's because I didn't use the right offset for my end time but this is all it gave me:

DSPADPCM v2.3 - DSP-ADPCM encoder
Copyright 2001 Nintendo. All rights reserved.


DSPADPCM v2.3 - DSP-ADPCM encoder
Copyright 2001 Nintendo. All rights reserved.

hps_insert v1.1 by GodF.
All necessary parameters are in place.
***
Reading HPS and new DSPs...
HPS Sample rate: 32000
HPS Channels: 2
L DSP Sample rate: 32000
R DSP Sample rate: 32000

offset:00000080 length:00008000 secs:1.792 total secs:0.000
offset:000100a0 length:00008000 secs:1.792 total secs:1.792
offset:000200c0 length:00007f80 secs:1.785 total secs:3.583
offset:0002ffe0 length:00007f80 secs:1.785 total secs:5.368
offset:0003ff00 length:00007f80 secs:1.785 total secs:7.152
offset:0004fe20 length:00007f80 secs:1.785 total secs:8.937
offset:0005fd40 length:00007f80 secs:1.785 total secs:10.721
offset:0006fc60 length:00007f80 secs:1.785 total secs:12.506
offset:0007fb80 length:00007f80 secs:1.785 total secs:14.291
offset:0008faa0 length:00007f80 secs:1.785 total secs:16.075
offset:0009f9c0 length:00007f80 secs:1.785 total secs:17.860
offset:000af8e0 length:00007f80 secs:1.785 total secs:19.644
offset:000bf800 length:00007f80 secs:1.785 total secs:21.429
offset:000cf720 length:00007f80 secs:1.785 total secs:23.213
offset:000df640 length:00007f80 secs:1.785 total secs:24.998
offset:000ef560 length:00007f80 secs:1.785 total secs:26.782
offset:000ff480 length:00007f80 secs:1.785 total secs:28.567
offset:0010f3a0 length:00007f80 secs:1.785 total secs:30.352
offset:0011f2c0 length:00007f80 secs:1.785 total secs:32.136
offset:0012f1e0 length:00007f80 secs:1.785 total secs:33.921
offset:0013f100 length:00007f80 secs:1.785 total secs:35.705
offset:0014f020 length:00007f80 secs:1.785 total secs:37.490
offset:0015ef40 length:00007f80 secs:1.785 total secs:39.274
offset:0016ee60 length:00007f80 secs:1.785 total secs:41.059
offset:0017ed80 length:00007f80 secs:1.785 total secs:42.844
offset:0018eca0 length:00007f80 secs:1.785 total secs:44.628
offset:0019ebc0 length:00007f80 secs:1.785 total secs:46.413
offset:001aeae0 length:00007f80 secs:1.785 total secs:48.197
offset:001bea00 length:00007f80 secs:1.785 total secs:49.982
offset:001ce920 length:00007f80 secs:1.785 total secs:51.766
offset:001de840 length:00007f80 secs:1.785 total secs:53.551
offset:001ee760 length:00007f80 secs:1.785 total secs:55.336
offset:001fe680 length:00007f80 secs:1.785 total secs:57.120
offset:0020e5a0 length:00007f80 secs:1.785 total secs:58.905
offset:0021e4c0 length:00007f60 secs:1.783 total secs:60.689
offset:0022e3a0 length:00007f60 secs:1.783 total secs:62.472
offset:0023e280 length:00007f60 secs:1.783 total secs:64.255
offset:0024e160 length:00007f60 secs:1.783 total secs:66.038
Loop in old_kb.hps from offset 0024e160 back to 000200c0
38 audio blocks, 67.820 seconds
closing files...
 

Doq

Smash Lord
Joined
Dec 28, 2012
Messages
1,037
Location
The Lab, Sweet Home, OR
So I've followed each step and made a new HPS file then converted it to a WAV to listen to it and it's nowhere near the right amount of time. Minutes have been cut off. I suspect that it's because I didn't use the right offset for my end time but this is all it gave me:

DSPADPCM v2.3 - DSP-ADPCM encoder
Copyright 2001 Nintendo. All rights reserved.


DSPADPCM v2.3 - DSP-ADPCM encoder
Copyright 2001 Nintendo. All rights reserved.

hps_insert v1.1 by GodF.
All necessary parameters are in place.
***
Reading HPS and new DSPs...
HPS Sample rate: 32000
HPS Channels: 2
L DSP Sample rate: 32000
R DSP Sample rate: 32000

offset:00000080 length:00008000 secs:1.792 total secs:0.000
offset:000100a0 length:00008000 secs:1.792 total secs:1.792
offset:000200c0 length:00007f80 secs:1.785 total secs:3.583
offset:0002ffe0 length:00007f80 secs:1.785 total secs:5.368
offset:0003ff00 length:00007f80 secs:1.785 total secs:7.152
offset:0004fe20 length:00007f80 secs:1.785 total secs:8.937
offset:0005fd40 length:00007f80 secs:1.785 total secs:10.721
offset:0006fc60 length:00007f80 secs:1.785 total secs:12.506
offset:0007fb80 length:00007f80 secs:1.785 total secs:14.291
offset:0008faa0 length:00007f80 secs:1.785 total secs:16.075
offset:0009f9c0 length:00007f80 secs:1.785 total secs:17.860
offset:000af8e0 length:00007f80 secs:1.785 total secs:19.644
offset:000bf800 length:00007f80 secs:1.785 total secs:21.429
offset:000cf720 length:00007f80 secs:1.785 total secs:23.213
offset:000df640 length:00007f80 secs:1.785 total secs:24.998
offset:000ef560 length:00007f80 secs:1.785 total secs:26.782
offset:000ff480 length:00007f80 secs:1.785 total secs:28.567
offset:0010f3a0 length:00007f80 secs:1.785 total secs:30.352
offset:0011f2c0 length:00007f80 secs:1.785 total secs:32.136
offset:0012f1e0 length:00007f80 secs:1.785 total secs:33.921
offset:0013f100 length:00007f80 secs:1.785 total secs:35.705
offset:0014f020 length:00007f80 secs:1.785 total secs:37.490
offset:0015ef40 length:00007f80 secs:1.785 total secs:39.274
offset:0016ee60 length:00007f80 secs:1.785 total secs:41.059
offset:0017ed80 length:00007f80 secs:1.785 total secs:42.844
offset:0018eca0 length:00007f80 secs:1.785 total secs:44.628
offset:0019ebc0 length:00007f80 secs:1.785 total secs:46.413
offset:001aeae0 length:00007f80 secs:1.785 total secs:48.197
offset:001bea00 length:00007f80 secs:1.785 total secs:49.982
offset:001ce920 length:00007f80 secs:1.785 total secs:51.766
offset:001de840 length:00007f80 secs:1.785 total secs:53.551
offset:001ee760 length:00007f80 secs:1.785 total secs:55.336
offset:001fe680 length:00007f80 secs:1.785 total secs:57.120
offset:0020e5a0 length:00007f80 secs:1.785 total secs:58.905
offset:0021e4c0 length:00007f60 secs:1.783 total secs:60.689
offset:0022e3a0 length:00007f60 secs:1.783 total secs:62.472
offset:0023e280 length:00007f60 secs:1.783 total secs:64.255
offset:0024e160 length:00007f60 secs:1.783 total secs:66.038
Loop in old_kb.hps from offset 0024e160 back to 000200c0
38 audio blocks, 67.820 seconds
closing files...
Because hps_insert doesn't write a whole new HPS file (well it does, but it uses the existing one as a base) and the structure of the old HPS is used. I see you are attempting to make an HPS on Dream Land 64? Try making a loop on swm_15min.hps, then renaming to old_kb.hps. If that doesn't help I'll write a guide on how to use GC Rebuilder with modified HPS files.
 

TerryJ

Smash Journeyman
Joined
Apr 12, 2010
Messages
488
Location
BEST COAST, WA
NNID
1337-1337-1337
3DS FC
1337-1337-1337
Because hps_insert doesn't write a whole new HPS file (well it does, but it uses the existing one as a base) and the structure of the old HPS is used. I see you are attempting to make an HPS on Dream Land 64? Try making a loop on swm_15min.hps, then renaming to old_kb.hps. If that doesn't help I'll write a guide on how to use GC Rebuilder with modified HPS files.
I think I figured out what I did wrong. I suck at math so I kinda failed this step:​
[(32000*EndTime)(16/14)]+15
Not entirely sure what to do here.
 

Doq

Smash Lord
Joined
Dec 28, 2012
Messages
1,037
Location
The Lab, Sweet Home, OR
I think I figured out what I did wrong. I suck at math so I kinda failed this step:​
Not entirely sure what to do here.
From your last post you said minutes were cut off so I assumed some of the song wasn't inserted. For the formula, just put it into a calculator.
 

TerryJ

Smash Journeyman
Joined
Apr 12, 2010
Messages
488
Location
BEST COAST, WA
NNID
1337-1337-1337
3DS FC
1337-1337-1337
From your last post you said minutes were cut off so I assumed some of the song wasn't inserted. For the formula, just put it into a calculator.
I didn't realize that I could use parentheses in windows calculator, neat. From what you've pointed out to me is that the old_kb.hps is too short so instead I've tried using the swm_15min.hps instead but when I make a test .wav of temp.hps it finishes conversion almost immediately and the song is only 2 seconds long. What am I doing wrong?

Also, using GC Rebuilder it should be as easy as just renaming the file to old_kb.hps and then replacing it and rebuilding the iso to fit it, correct?
 

Doq

Smash Lord
Joined
Dec 28, 2012
Messages
1,037
Location
The Lab, Sweet Home, OR
I didn't realize that I could use parentheses in windows calculator, neat. From what you've pointed out to me is that the old_kb.hps is too short so instead I've tried using the swm_15min.hps instead but when I make a test .wav of temp.hps it finishes conversion almost immediately and the song is only 2 seconds long. What am I doing wrong?

Also, using GC Rebuilder it should be as easy as just renaming the file to old_kb.hps and then replacing it and rebuilding the iso to fit it, correct?
1. Use Chipamp with Winamp. Plays .HPS files directly, no need for a test.wav. I think it's more reliable than Halley's stuff.
2. If you're following the instructions carefully, the command you should input is
Code:
hps_insert swm_15min.hps left.wav right.wav
replacing left.wav with your audio's left channel and right.wav for the right channel.
3. Yes that is correct, however be sure the GCM's filesize is less than (exactly) 1.35 GB (1,459,978,240 bytes)
 

TerryJ

Smash Journeyman
Joined
Apr 12, 2010
Messages
488
Location
BEST COAST, WA
NNID
1337-1337-1337
3DS FC
1337-1337-1337
1. Use Chipamp with Winamp. Plays .HPS files directly, no need for a test.wav. I think it's more reliable than Halley's stuff.
I already use Winamp but I never thought to look for a plugin to play the HPS files. It seems it can play my HPS file perfectly when the test.wav failed me.

2. If you're following the instructions carefully, the command you should input is
Code:
hps_insert swm_15min.hps left.wav right.wav
replacing left.wav with your audio's left channel and right.wav for the right channel.
Yeah, I haven't messed up that part.

3. Yes that is correct, however be sure the GCM's filesize is less than (exactly) 1.35 GB (1,459,978,240 bytes)
I went through the readme of GC-Rebuilder and it said just that. I made sure it's that size after rebulding it. My current problem now is when I try to boot the ISO with Wiiflow (DIOS MIOS), the Wii either crashes and I get error codes or it just boots to a black screen.

I'm gonna try and start from the beginning again and see what comes of it. I may have messed something up along the line.
 
Top Bottom