ROM Hack [MHXX] Custom Jukebox Playlist

SupahTofu

Member
Newcomer
Joined
Sep 3, 2016
Messages
15
Trophies
0
Age
31
XP
77
Country
United States
glad youre online, im having problem with converting wav to mca, maybe something wrong with my phyton, tha batch is just automatic close can you help?


ah got it problem solve, its environment path stuff on my computer


What'd you do to change environment path? I'm having same problem
 

justln

Well-Known Member
Member
Joined
Aug 16, 2013
Messages
718
Trophies
0
XP
604
Country
Music sounds much better, no more crackling with the updated file at post #20.

Just a tip, edit the 3_wav2mca_mhx.bat and remove the --mhx or else it won't output correctly. I used Audacity, Effect, Amplify option and entered -5, the music isn't that loud and comparable to the tracks ingame.
 
Last edited by justln,

1NSaNe

Active Member
OP
Newcomer
Joined
Mar 16, 2014
Messages
36
Trophies
0
Age
35
XP
176
Country
Edited first message with all new stuff. IF you keep having problems post here and ill try to solve.
 

Kromlech

Active Member
Newcomer
Joined
Dec 21, 2010
Messages
32
Trophies
0
XP
145
Country
United States
I'm trying to replace the deviant music, which I figured was "bgm_em_Named.mca".
However it's not working, and I'm not even sure which step was the point of failure.

First, drag and drop is straight up non-functional. I had to open a command window and type the Bat followed by the filename of the wav.

3_wav2mca_mhx.bat [filename].wav​

This starts up the wav2DSP converter, but then the MCAtool.py has an error.

I had to remove the --mhx argument from the .bat, because it kept failing at that point every time I tried it.

usage: mcatool.py [-h] [-v] input [input ...]
mcatool.py: error: unrecognized arguments: --mhx
Not sure why it's an unrecognized argument. Is there a file I'm missing that isn't included in the MHtools download?

Also, the path I put my MCA is:

/mhxx/arc/sound/bgm/battle/wav/bgm_em_Named.mca

Is that not correct? I assume the deviant theme is the one called "named" because in Japan they are "two-named" monsters. No other filename looks like it would fit.

I tried both suggestions in post 22 and post 23 and neither create a working MCA for me.

So to summarize:
I don't know why my drag and drop isn't working, even though my environment variables are correct. Typing it into CMD the hard way can start the bat, though.
I don't know why it can't recognize "--MHX" as an argument. Missing file?
I don't know if that's the right path and filename to replace the deviant battle theme.
 

Ryxian

New Member
Newbie
Joined
Apr 2, 2017
Messages
2
Trophies
0
Age
29
XP
51
Country
United States
Alright so I've managed to find a way to create MCAs reliably. You have to run the WAV through the wav2dsp app in /tools/, and then drag the WAV or the DSP into the mcatool python file, also in /tools/. This will leave you with a WAV, DSP, and MCA file of the song.
Also, is it possible to replace textures and sound effects and other stuff in the game? Just for fun of course.
 

Ryxian

New Member
Newbie
Joined
Apr 2, 2017
Messages
2
Trophies
0
Age
29
XP
51
Country
United States
Alright so I've managed to find a way to create MCAs reliably. You have to run the WAV through the wav2dsp app in /tools/, and then drag the WAV or the DSP into the mcatool python file, also in /tools/. This will leave you with a WAV, DSP, and MCA file of the song.
Also, is it possible to replace textures and sound effects and other stuff in the game? Just for fun of course.
Except it doesn't seem to work.
 

1NSaNe

Active Member
OP
Newcomer
Joined
Mar 16, 2014
Messages
36
Trophies
0
Age
35
XP
176
Country
So to summarize:
I don't know why my drag and drop isn't working, even though my environment variables are correct. Typing it into CMD the hard way can start the bat, though.
I don't know why it can't recognize "--MHX" as an argument. Missing file?
I don't know if that's the right path and filename to replace the deviant battle theme.

Put it outside arc folder, like this:
/mhxx/sound/bgm/battle/wav/bgm_em_Named.mca
 

Kromlech

Active Member
Newcomer
Joined
Dec 21, 2010
Messages
32
Trophies
0
XP
145
Country
United States
Put it outside arc folder, like this:
/mhxx/sound/bgm/battle/wav/bgm_em_Named.mca
Ah ha, yes that was it. Moving it made it work. Thank you very much!

Also would you happen to know the path and name to replace the LR/HR gathering hall song?
 

Kromlech

Active Member
Newcomer
Joined
Dec 21, 2010
Messages
32
Trophies
0
XP
145
Country
United States
Does anyone know what songs correspond to the following file names, shown here:

Mid01
Mid02

I have no idea what these are. I made a mid01 mca but I can't find in game where it's supposed to play.

Yukumo
Cocotte
Pokke

The obvious answer is the 3 returning villages, but it's not replacing the music in Yukumo for me, with a properly named and placed file, so I don't think that's it. (and why would village BGM be in the battle folder?)

Map01 though map24. Has anyone mapped out which is which? I would think these are the songs that play for a monster that doesn't have a theme of its own on a given map, but I don't know which number corresponds to which map.

And again, if anybody knows how to swap the LR meeting hall BGM, I'd love to know it.
 

Kibido

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
641
Trophies
0
Age
31
XP
692
Country
Italy
I'm trying to edit the quest clear bgm but it doesn't loop, and I don't understand how the looping works in general since the original tune abruptly cuts off at 45 seconds anyway.

I'd like to then work on the Kokoto village and the found item bgm. The latter is an arc file; I've found a tool to unpack it into an mca but I can't find anything to repack it back into an arc. Any ideas?
Also wondering how I'm going to make the village bgm loop properly. Either there's a way or I'll just make a 5 hour version.
 

dasding

Well-Known Member
Member
Joined
Oct 25, 2015
Messages
272
Trophies
0
Website
twitter.com
XP
1,365
Country
Germany
I'm trying to edit the quest clear bgm but it doesn't loop, and I don't understand how the looping works in general since the original tune abruptly cuts off at 45 seconds anyway.

I'd like to then work on the Kokoto village and the found item bgm. The latter is an arc file; I've found a tool to unpack it into an mca but I can't find anything to repack it back into an arc. Any ideas?
Also wondering how I'm going to make the village bgm loop properly. Either there's a way or I'll just make a 5 hour version.
i updated the mod tools to rev06, which now supports looping, you will need to know the sample number of the start and the end of the loop (e.g. can find them with audacity)

usage:
wav2dsp.exe wavefile
python mcatool.py -mhx -ls 0 -le 0 wavefile
 
Last edited by dasding,

Kibido

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
641
Trophies
0
Age
31
XP
692
Country
Italy
i updated the mod tools to rev06, which now supports looping, you will need to know the sample number of the start and the end of the loop (e.g. can find them with audacity)
usage: python mcatool.py -mhx -ls 0 -le 0 mcafile

Thank you for the updates. My lazy ass wonders if there's anything wrong with just making 1 hour loops of all the stuff we edit, instead of neatly finding the loop sample numbers.
 

dasding

Well-Known Member
Member
Joined
Oct 25, 2015
Messages
272
Trophies
0
Website
twitter.com
XP
1,365
Country
Germany
Thank you for the updates. My lazy ass wonders if there's anything wrong with just making 1 hour loops of all the stuff we edit, instead of neatly finding the loop sample numbers.
the RAM of your 3ds is limited ;)

it's pretty easy with audacity to find the numbers:
vWHglIJ.png
 
Last edited by dasding,

Kibido

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
641
Trophies
0
Age
31
XP
692
Country
Italy
All good with the looping.

About the found item sound? It's in romfs/arc/sound/rt_j02.arc, and once extracted it's item_gets.mca. How exactly do I repack it back into an arc?
 

tuksoil

New Member
Newbie
Joined
Apr 17, 2017
Messages
4
Trophies
0
Age
36
XP
51
Country
I just edited the "3_wav2mca_mhx.bat" so that i can convert the WAV into MCA.
It did convert the WAV file but it's not an MCA file though, it became .DSP instead.
question is, is this the same as .MCA? so i can just rename it? I'm stuck with this.
Thanks in advance.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: It will actually make it worse