ROM Hack Help - Extracting content from .dat files of the ROMFS and repacking them

SWRosetta

Well-Known Member
OP
Newcomer
Joined
Mar 30, 2015
Messages
45
Trophies
0
Age
27
XP
151
Country
Hi guys , i am having some issues with Rom Hacking.

Recently i got into the files of Mario Sports Supestars (CIA) and got the ROMFS folder.

The game is enterily compressed and 99% of the files are compresed in various .dat files.

My question is , does anybody know how to open these files to extract the contents?

I was looking forward to possibly mod this game , specifically the voices and music.

Here are some screenshots of the ROMFS

LexTQL9.png
lmAHmSt.png
Xzb65Ij.png


I mainly am looking for the sounds of this game , which i am guessing are inside the na folder.

Please if anybody knows how to start solving this i would appreciate it so much , i have done some research but i'm not having any luck solving this on my own.
 

SWRosetta

Well-Known Member
OP
Newcomer
Joined
Mar 30, 2015
Messages
45
Trophies
0
Age
27
XP
151
Country
Anybody? I see all my topics have been ignored through the years , but i would think at least 1 person could help me out.
 

SWRosetta

Well-Known Member
OP
Newcomer
Joined
Mar 30, 2015
Messages
45
Trophies
0
Age
27
XP
151
Country
Thanks for replying.

I posted the images though. the romfs_ext is the main folder.
LexTQL9.png

this is the na folder
lmAHmSt.png

this is the ma folder
Xzb65Ij.png

this is the ca folder
jGJXgGR.png

And this is the .crr folder
ZYiDA0U.png

i'm guessing the sounds are inside the na folder , because of the size.
 

SWRosetta

Well-Known Member
OP
Newcomer
Joined
Mar 30, 2015
Messages
45
Trophies
0
Age
27
XP
151
Country
Ok so the hex editor says this with the files inside the na folder.
Y6DULD3.png
VD72ARG.png
eK6d2oO.png

I only get that the fs2 is somehow a SARC file and the fs1 has BGM apparently , the other one is confusing.
 

SWRosetta

Well-Known Member
OP
Newcomer
Joined
Mar 30, 2015
Messages
45
Trophies
0
Age
27
XP
151
Country
I wasnt succesful. The SARC as well as others are compressed inside the DAT file , and the fs2.dat doesnt seem to be opened with SARC tools.
 

onepiecefreak

Kuriimu 2 Developer
Member
Joined
Aug 12, 2015
Messages
526
Trophies
0
XP
1,759
Country
Germany
Ok, fs1.dat is definitly the music. I don't know how to extract it yet, but at least we know that for sure. I will come back to that file later, but since I have no knowledge of music I would only be able to extract the files but not to create a player or something like that to hear the sounds.

fs2.dat... Yh, SARC, huh... the header would let you suggest that. But beside that it's in no case a simple archive. Also I don't the compression method if there was one in use. That will be interesting.

fs0.dat, absolutely no idea. If that are the voices I would say the beginning is some sort of index, following the file data (so the voices maybe).
But as stated for fs1.dat, I'm not able to write a player or something. Only extraction and repacking then.

What I find curious is, that this is a mario game from Nintendo but doesn't seem to rely on much standard formats.
 
  • Like
Reactions: SWRosetta

onepiecefreak

Kuriimu 2 Developer
Member
Joined
Aug 12, 2015
Messages
526
Trophies
0
XP
1,759
Country
Germany
fs2.dat is indeed a SARC archive. It's very small and seems to be a modified version. But fs2.dat only contains of 3 CRO0 files. CRO0 are some sort of DLLs for the 3DS:
https://www.3dbrew.org/wiki/CRO0

fs1.dat is a NUS3 archive. I found out it's the audio format of Smash Bros. 4 for example. And also found an editor for them:
https://github.com/DanSyor/NUS3BANK-Editor

fs0.dat is a complete riddle to me. Sry. Until I found one that helps me understand it I can't do something about it.
 
Last edited by onepiecefreak,
  • Like
Reactions: SWRosetta

SWRosetta

Well-Known Member
OP
Newcomer
Joined
Mar 30, 2015
Messages
45
Trophies
0
Age
27
XP
151
Country
Thanks!

I found out about fs1.dat a while ago.

It contains the Menu music of the game and the music samples in the collection room sound test.

The music used in the actual game + the voices are in fs0.dat , that's why the file is so big.

Ironically that's the one file i need and the only one i can't open out of these (i don't think fs2.dat has something important to me)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    These videos are soooo dry
  • Psionic Roshambo @ Psionic Roshambo:
    Please click all suspicious links sent your email
    +1
  • BigOnYa @ BigOnYa:
    What to do today? Cut grass for 3-4 hours, or just get drunk and play video games... Hmm
    +1
  • BigOnYa @ BigOnYa:
    I need a remote controlled mower, so I can sit on the couch and do both.
  • BigOnYa @ BigOnYa:
    Sounds good to me, video games and booze it is then.
    +1
  • denpafan @ denpafan:
    Good choice
    +1
  • BigOnYa @ BigOnYa:
    Now what to play, Starfield or Fallout4. And what to drink, beer or Whiskey and Coke. Such tough decisions.
  • BigOnYa @ BigOnYa:
    Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog:
  • rqkaiju2 @ rqkaiju2:
    THIS IMAGE IS SO SCARY WTF. THAT SURE AS HELL IS NOT A CAT THATS LIKE A FUCKING DEMON

    Untitled2.png
  • Psionic Roshambo @ Psionic Roshambo:
    Bonus points for running things over with the lawn mower?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Monster truck Lawn Mower extreme
    +1
  • BakerMan @ BakerMan:
    she was an apple appstore girl
    he was an uptodown boy
  • Psionic Roshambo @ Psionic Roshambo:
    He was an android boy
  • Psionic Roshambo @ Psionic Roshambo:
    She said see ya later boy lol
  • BakerMan @ BakerMan:
    something something boomer and r/im14andthisisdeep "ThAt'S tHe UnFoRtUnAtE sTaTe Of OuR mOdErN sOcIeTy"
  • BakerMan @ BakerMan:
    except they'd criticize you for having a phone in the first place lmao
  • Psionic Roshambo @ Psionic Roshambo:
    In my day we used smoke signals and liked it!!!
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    5G gives you covid!! Kills bees and lets the devil control your sperm!!! *Walks away frothing at the mouth*
    +1
  • BakerMan @ BakerMan:
    back in my day we just talked in person to communicate, and used books for entertainment, now pull yourself up by the bootstraps and develop a sense of work ethic, ya darn whippersnappers!
  • NormalCatelol @ NormalCatelol:
    "lets the devil control you sperm!!!" iwantsummadat!
  • BakerMan @ BakerMan:
    talk about a semen demon
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    I got logged out of my GBAtemp account. First thing I think: "O SHIT DID I GET BANNED"
  • NormalCatelol @ NormalCatelol:
    oh noes!!!!!
    NormalCatelol @ NormalCatelol: oh noes!!!!!