ROM Hack Rip MRF music format

memoca

Well-Known Member
OP
Newcomer
Joined
Sep 22, 2016
Messages
49
Trophies
0
Location
Australia
XP
193
Country
Australia
the music in my rom is in the .mrf format. how do i rip that? (the screenshot is a mac, but i have a windows virtual machine installed so it won't matter if the ripping program is for windows)
 

Attachments

  • Screen Shot 2016-09-22 at 10.33.25 AM.png
    Screen Shot 2016-09-22 at 10.33.25 AM.png
    28.8 KB · Views: 215

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,404
Country
United Kingdom
the music in my rom is in the .mrf format. how do i rip that? (the screenshot is a mac, but i have a windows virtual machine installed so it won't matter if the ripping program is for windows)
What game is that? I try to keep on top of odd audio formats used in DS games ( http://gbatemp.net/threads/the-various-audio-formats-of-the-ds.305167/ ) and have never seen that. Without knowing what game it is I can not say much more.
I see a SDAT, even a SMAP file which can be nice to look at, but the MRF is new. I have seen a few games use SDAT for sound effects and the like and kick music to a more workable format.
Edit. Might as well make this its own thread.
 

memoca

Well-Known Member
OP
Newcomer
Joined
Sep 22, 2016
Messages
49
Trophies
0
Location
Australia
XP
193
Country
Australia
it's littlest pet shop: beach friends. i know it's babyish, i played it as a kid. but i really like the music in it so i wanted to rip it.

i have checked the sdat, it only has sound effects. i'm a noob so idk how to open the smap.
 
Last edited by memoca,

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,404
Country
United Kingdom
Should have elaborated a bit there. SMAP is a helper file for the SDAT format that is usually deleted by the devs, when one was found in Zoids it helped reverse engineer the format. It serves no purpose but is cool so I thought I would mention it.

If all the effects are in the SDAT then you have the cheat way and use an emulator to rip things. Normally for emulator stuff you want a sound test or something like that but if you can edit the SDAT to remove or reduce volumes to 0 then you can just rip it using an emulator and not have to worry about trying to remove channels.

You can also help yourself out if you like -- one of those mrf files is probably the same as the other so you can always extract say the jungle one and then overwrite a more commonly played/more accessible one.

If we do have to rip things properly and emulators/line out cables are not OK then I guess we can try to learn about the format. I have not looked at it yet but going by the file sizes it is not going to be simple wave files like many custom formats. At those sizes I am expecting some kind of sequenced/tracker music a la SSEQ or midi or something -- 20 bytes for some of those is nothing. This can get tricky as you have to figure out everything so I do suggest emulator/line out but step one would be open it in a hex editor and see what it looks like.
 

memoca

Well-Known Member
OP
Newcomer
Joined
Sep 22, 2016
Messages
49
Trophies
0
Location
Australia
XP
193
Country
Australia
thanks for telling me about the use of smap, i understand it now.

i'd much rather learn about the mrf format, however if we can't find any useful information i could try the emulator method.
 

memoca

Well-Known Member
OP
Newcomer
Joined
Sep 22, 2016
Messages
49
Trophies
0
Location
Australia
XP
193
Country
Australia
i apologise for replying to this so late. i have been both busy and lazy.
i opened one of the .mrf files in hex edit and this is what it looks like.
(i don't have any experience with this sort of thing so i basically have no idea what i'm doing. i apologise for being a huge noob and relying on you, i'm really trying to learn.)
 

Attachments

  • Screen Shot 2016-10-25 at 6.43.15 PM.png
    Screen Shot 2016-10-25 at 6.43.15 PM.png
    10.9 KB · Views: 181

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,404
Country
United Kingdom
If they are that small I would usually compare a bunch to see how similar they are. Also if you can overwrite one with another and see what goes that would be good.

It is far too small to be a wave file of any great use and the general hex that is there would not make for much to happen.
With all the 00s in there I half wonder if it is not a glorified piano roll; making a music format is hard and that is about as simple as it gets. General idea would be each hex value (or byte or maybe 16 bits) would be a note and the game plays each one in order and maybe 00 is a blank note or end previous note or something. The start or the end might be something else (might set the beats per minute, might set the instrument).

After this start playing with the values -- don't randomly overwrite things but try things out such that you learn something. Replace a bunch of the 0500 and maybe a load of others with 0400 and see what happens. It is not going to allow you to rip it right away but if you understand roughly what goes then it will help you.
 

memoca

Well-Known Member
OP
Newcomer
Joined
Sep 22, 2016
Messages
49
Trophies
0
Location
Australia
XP
193
Country
Australia
What game is that? I try to keep on top of odd audio formats used in DS games ( http://gbatemp.net/threads/the-various-audio-formats-of-the-ds.305167/ ) and have never seen that. Without knowing what game it is I can not say much more.
I see a SDAT, even a SMAP file which can be nice to look at, but the MRF is new. I have seen a few games use SDAT for sound effects and the like and kick music to a more workable format.
Edit. Might as well make this its own thread.

i know this thread is very old. BUT AFTER YEARS I FINALLY FOUND OUT HOW TO RIP THIS MUSIC. I HAVE NEVER BEEN HAPPIER OH MY GOD

it turns out, the STRM is in the SDAT. but vgmstream didnt show anything other than the sound effects. opening this rom in MKDS modifier can convert the STRM files into WAV, giving me the music i wanted.

though i appreciate you trying to help, thanks for that :3c
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,404
Country
United Kingdom
Yeah saw this in my alerts and did not immediately recognise it.

Anyway never feel bad about bumping a ROM hacking thread when you have some information to share, much less good information that someone else could use to rip or otherwise save them some hassle at the start of a hacking session.
 
  • Like
Reactions: memoca

memoca

Well-Known Member
OP
Newcomer
Joined
Sep 22, 2016
Messages
49
Trophies
0
Location
Australia
XP
193
Country
Australia
Yeah saw this in my alerts and did not immediately recognise it.

Anyway never feel bad about bumping a ROM hacking thread when you have some information to share, much less good information that someone else could use to rip or otherwise save them some hassle at the start of a hacking session.
makes me wonder what the mrf files are actually used for.. but at least i found the answer i was looking for.
 

memoca

Well-Known Member
OP
Newcomer
Joined
Sep 22, 2016
Messages
49
Trophies
0
Location
Australia
XP
193
Country
Australia
They must simply be short jingles (with sounds from the .sdat used as instruments) that play at various points in the game, as they look far too small to be full songs.
that makes sense. some of the music in the game was also split into separate jingles instead of a whole song, which are played together in gameplay.

the sequel to the game uses mrf but didnt use the jingle splitting technique. it instead separates the songs by intro, loop (middle) and endings. the first title in the series didnt use splitting at all but did have mrf too. (the one i referenced in my original post is the second title). so its a bit confusing..
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BigOnYa @ BigOnYa: Interesting. The macphone +2