« View previous topic | View next topic » |
![]() ![]() ![]() |
Index » F-Zero X » F-Zero X Music Replacement Guide (Updated 2018-02-02) |
Major props to RemixRave for revamping the guide.
A. Requirements
In order to replace music & sounds in F-Zero X, you need the following:
B. Setting up your tune
F-Zero X's music plays at a sample rate of 22050khz. Each music-sound file has a maximum file size which you’ll need to use as a guide when importing your music.
In order to make your music sound great in-game, do the following:
C. N64 Sound Tool
Finally, it's time to utilize the Sound Tool. This tool enables us to view, export, delete, and import music available in N64 games. For F-Zero X, we're pretty lucky that music isn't separated into different instruments, so this should be fairly straightforward.
D. Looping
Here's a small guide for converting between loop rates. This will work super well if you get your music off a site like smashcustommusic.com or already know the beginning/end loop points already.
You have to use this formula:
SampleOriginal is what the original sample rate point was.
SampleNew is what the new sample rate point is.
FrequencyNew is what the new frequency is.
FrequencyOriginal is what the old frequency was.
You'll need to rearrange the formula to get your desired resutls. I'll provide an example of this below:
Let's say we're trying to convert a 44100Hz music track into a 4000Hz music track. Our beginning loop point in our 44100Hz music track is 7721856 samples and we are trying to find out what the equivalent sample rate is in our 4000Hz music track.
Let's rearrange our formula so it equals SampleNew.
Now we sub in our values.
Our original frequency is 44100Hz
Our new frequency is 4000Hz
Our original sample is 7721856 samples.
When subbed in, we get:
If you round, you get 85133462 which is indeed the correct new sample rate after changing a 44100Hz tune to 4000Hz.
E. Ending
By now you have imported your music into the game. If you find it too loud, you can easily reduce the volume of it in Audacity without affecting the filesize. Seamless looping is by far the hardest thing in this tutorial and I do not have any idea on how to make seamless loops occur consistently.
Filesizes
This is is not everything. Some of these sounds I have no idea what they are. I've only listed familiar tracks and sounds.
Largest to smallest:
Name | Instrument* | Filesize |
Credits Theme | 0029 | 6.83 MB (7,163,568 bytes) |
Silence | 002A | 2.85 MB (2,997,616 bytes) |
Big Blue | 0024 | 2.55 MB (2,683,792 bytes) |
Port Town | 0016 | 2.46 MB (2,585,904 bytes) |
White Land | 0012 | 2.11 MB (2,222,320 bytes) |
Mute City | 0014 | 2.03 MB (2,135,952 bytes) |
Sand Ocean/Fire Field | 0015 | 2.01 MB (2,110,672 bytes) |
Red Canyon | 0007 | 2.00 MB (2,101,264 bytes) |
Sector Alpha | 0013 | 1.89 MB (1,992,592 bytes) |
Devil's Forest | 0001 | 1.80 MB (1,898,448 bytes) |
Title Theme | 0019 | 1.60 MB (1,683,216 bytes) |
Death Race | 0042 | 1.34 MB (1,410,928 bytes) |
Car Select | 001A | 864 KB (885,744 bytes) |
Results | 0032 | 864 KB (885,744 bytes) |
After-Race Results | 000F | 864 KB (885,744 bytes) |
Game Over | 002E | 560 KB (574,064 bytes) |
Leaderboard/Settings | 002C | 502 KB (514,800 bytes) |
Machine Destroyed | 0025 | 364 KB (373,200 bytes) |
Finish! | 0020 | 270 KB (277,232 bytes) |
Race Beginning | 001B | 233 KB (239,408 bytes) |
Title Intro | 0000 | 226 KB (231696 bytes) |
Male falling off track | 0035 | 121 KB (124,368 bytes) |
Car Select Sound Effect | 0040 | 117 KB (120,720 bytes) |
Announcer: "See you again! Hahaha" | 0030 | 108 KB (111,440 bytes) |
Female falling off track | 0036 | 106 KB (109,360 bytes) |
Announcer: "Too bad, you lost your machine." | 0031 | 102 KB (105,328 bytes) |
Announcer: "Way to go, it's a new record!" | 002F | 98.8 KB (101,232 bytes) |
Announcer: "Pour(?) it on, you're way out in front!" | 003B | 94.1 KB (96,368 bytes) |
Announcer: "Yeah! The final lap!" | 0023 | 93.1 KB (95,344 bytes) |
Boost noise? | 0038 | 83.8 KB (85,872 bytes) |
Announcer: "Yeah! First place!" | 0046 | 80.6 KB (82,544 bytes) |
Announcer: "Alright! First place!" | 0034 | 80.3 KB (82,288 bytes) |
Announcer: "Bingo! Hahaha" | 0002 | 80.2 KB (82,160 bytes) |
Announcer: "You're going the wrong way!" | 003E | 79.4 KB (81,392 bytes) |
Machine Explosion | 0006 | 72.2 KB (74,032 bytes) |
Announcer: "You got booze power!" | 0022 | 68.6 KB (70,256 bytes) |
Announcer: "Finish!" | 003D | 68.3 KB (70,000 bytes) |
And now I am too lazy to continue. You can figure out the rest by going into N64 Sound Bank and clicking "Rip All Sound Banks." This gives you some super slowed down F-Zero tracks and the filesize for each of them. Match them up in the Sound Tool and do whatever.
*Instrument is related to N64 Sound Tool. The Soundbank must be 00 else you won't see any instruments.
If anything is unclear in the guide, please message some of the folks on the F-Zero Nexus and F-Zero Online Discord channels. I'm usually hanging around on there so a response on there will be much quicker.
---
(2018-02-02) - Major props to RemixRave for revamping the guide using what I discovered and refining it! Things should make more sense.
(2018-02-16) - Differentiated between a few sounds present on the table (title, car select, menu sfx) (EDIT 2) Added size for the Title Intro
(2018-07-0 - Added in information about converting sample rates between different frequencies.
Philippe Brodier wrote: |
Thank you very much for sharing this Optimus, I really like to import new musics or voices in F-Zero X climax someday. Unfortunatly Audacity doesn't work on my computer at the moment ... |
Any time! I was inspired to look into changing music in FZX because of your mod and RemixRave's excellent FZ remixes. I'm pretty thankful that all the tools needed to do so existed. I'm not very good at coding, haha...
Regarding your Audacity problem, I'm interested if I can somehow help you troubleshoot it.
I managed to use Audacity by downloading an older version for Windows 2000 (I have XP pack 2 ...)
I followed your tutorial but I got stuck when I tried to reinject the mono wav file I had from Audacity (the file is really big, 118 mb, rate 7000, that is may be the problem, the original mp3 was 3.2 mb, I must messed up somewhere) the program freezed like forever. I didn't try again but I will ! Also I stopped at this step so I didn't try to loop the file.
Make sure to set your Project Rate to 4000 and make sure your track is 16-bit. If the file size is still too big, try experimenting with the sample rate and project rate though it shouldn't be 100mb. Also, what music are you using? I could try doing it for you then write out the steps I performed.
I used this track https://www.youtube.com/watch?v=_-6bE4UqABQ, then made it mp3 with this site https://youzik.com/fr at 3.2 mb, then made it 16 bits and mono with Audacity, then got a 118 mb with audacity, then got stuck with the n64 sound tool.
It will be nice to have the guitar remix in FZX Climax and may be some expansion kit musics too. Anyway I really hope this can work ! It will be really cool to finally hear other musics in FZX (I love the original but damn !) Thank you for the help !
Philippe Brodier wrote: |
I used this track https://www.youtube.com/watch?v=_-6bE4UqABQ, then made it mp3 with this site https://youzik.com/fr at 3.2 mb, then made it 16 bits and mono with Audacity, then got a 118 mb with audacity, then got stuck with the n64 sound tool. It will be nice to have the guitar remix in FZX Climax and may be some expansion kit musics too. Anyway I really hope this can work ! It will be really cool to finally hear other musics in FZX (I love the original but damn !) Thank you for the help ! |
I managed to shrink it down to 2.85MB but I'm having difficulty recreating what I did; it keeps turning out all high pitched in N64 Sound Tool when played at 22000 and I can't figure out why. If your file ends up as 118MB I recommend attempting the procedures again. Doing this is really hit and miss sometimes, especially with longer files. The reason it worked with Max. Velocity's Silence so easily is because the music, when cropped, is short and easy to work with. For Guitar Arrange Silence, I somehow managed to fit all 3 minutes into a single 2.85MB audio file but it required a lot of experimentation, to the point where I don't know how I did it.
I can send you the audio file if you wish.
But regarding the file being 118MB, I'm thinking you may have forgotten to tamper with the Project Rate and Sample Rate. If you change the sample rate to 4000 yet leave the project rate at 44100, then you'll get a very large file. However, if you shrink the project rate it'll reduce the file size.
I also lack knowledge in how audio is outputted in the game. I have no idea how it increases the sample rate from 4000 to 22000.
I am looking into what the Project Rate actually does right now, hopefully letting me understand this stuff a little better. What I'm getting out of it is that it seems to affect audio quality. Yet when I assign a track a sample rate of 4000, then assign the project rate something lower, it still sounds high pitched @22000 which doesn't make sense.
Yes please give a link, I really like to see if I can include it in the mod
I'll try again with audacity during next week with some more test to see if I can manage to get other musics with reduced size files like you did.
If it does work and the audio quality is ok I will release a 1.3 version of the mod someday for sure !
Here you go!
https://drive.google.com/open?id=0B4tTe4UC66k3VTVrU2JCM2NxTm8
Getting the music this small requires a bit of experimentation. The procedure I made above works very well with music that is about the same length as music present in the game. Longer music is a lot more tricky.
I tried the file you made and ineed it does work !!!
The sound/music quality is quite inferior to the original, the modulation is also higher and I can't hear boost sound/voices enough that way but it's very nice to have a new music in FZX ! Also the loop doesn't work but may be you didn't program it.
Thank you very much for taking the time to create the tutorial and sharing that Silence arrange wav file ! I hope it's possible to get better audio quality with the musics, I'll try some audacity myself to see what I can get. Between the guitar arrange album, the remix from Tony Thai and those we can find on the net there is a lot to do with custom musics, voices and sounds on F-Zero X ! Thanks again !
Philippe Brodier wrote: |
I tried the file you made and ineed it does work !!! The sound/music quality is quite inferior to the original, the modulation is also higher and I can't hear boost sound/voices enough that way but it's very nice to have a new music in FZX ! Also the loop doesn't work but may be you didn't program it. Thank you very much for taking the time to create the tutorial and sharing that Silence arrange wav file ! I hope it's possible to get better audio quality with the musics, I'll try some audacity myself to see what I can get. Between the guitar arrange album, the remix from Tony Thai and those we can find on the net there is a lot to do with custom musics, voices and sounds on F-Zero X ! Thanks again ! |
I did not include the loop in that file. Sorry about that! You can reduce the sound volume without it affecting the filesize. I'll include that in the main topic.
For anyone reading this right now, this guide is now outdated! I am currently working on a newer one which should guarantee better results for your music and has better advice on making proper loops. If you want help, please message me on Discord; I'm on F-Zero Nexus and F-Zero Online and I usually reply quickly.
Big thanks for the guide and the recent update to it.
Noticed tho reopening wav files shows them at 32 bit float instead of 16bit pcm.
Ive notice also that if you want more then 1 song in the same rom do not hit INJECT IN PLACE until your songs are loaded.
If you hit INJECT on each song the next one will say its too big to fit regardless of file size or loop.
Sad thing is the file sizes of each song. If you want the songs to fit more then likely youll have to butcher the song,in the case of guitar arrange songs youll have to cut the 2nd part of the song just to perhaps fit any file size above whiteland.
Best bet is to have seperate rom files with each song you want/inject into credits and swap credits on your custom track in the fz ep editor
Took the liberty to dive into each sound,some i cant tell exactly what they are but for those that wish to replace all sounds this is the best i could provide.
00 CTL
If anyone reading this has modded the ROM, would you be able post a ROM for us with no music? There's nothing against the music, granted, but sometimes it's nice to hear just the sound effects and the hum of the engine. Right?
Sorry for the very late reply. I don't check back at this guide often unless there's an issue with it. If you have questions check on the F-Zero Nexus Discord. Much easier to communicate there in my opinion.
To answer your question, it's not hard to do such a thing. All you need is a blank audio file which could be legitimately a millisecond long, easily done in Audacity. Afterwards you just replace every single music track with it and you're good. Not much to it. I don't think this site would allow anyone to share roms on here. Sorry about that.
you can always share a ips patch tho.
or go the gameshark route,this is the best ive found for no music durring race
diffrent bass sounds/no in game music
800ACFE1 0000
if you want doffrent sounding fx just try a higher value then the last 2 digits
Index » F-Zero X » F-Zero X Music Replacement Guide (Updated 2018-02-02) |
|
![]() ![]() |
|