ROM Hack Suggestion Extracting .DAT Files from Fire Emblem: Three Houses for Rom-Hacking?

xXDungeon_CrawlerXx

Well-Known Member
OP
Member
Joined
Jul 29, 2015
Messages
2,092
Trophies
1
Age
28
Location
Liverpool
XP
3,720
Country
Hey Guys,

I wonder if it may be possible to extract/rebuild the .dat-files inside the romFS of Fire Emblem: Three Houses.
upload_2019-8-5_12-12-42.png


I'd like to extract/edit Ingame Models of that game, if possible.
 

xXDungeon_CrawlerXx

Well-Known Member
OP
Member
Joined
Jul 29, 2015
Messages
2,092
Trophies
1
Age
28
Location
Liverpool
XP
3,720
Country
QuickBMS + arslan.bms script will unpack files without correct filenames. It can't replace files in archives.
Tried it
upload_2019-8-5_15-1-21.png


Where can I find the IDX File for it?


EDIT:
Using the filecutter.bms gives me two 2048kb files
upload_2019-8-5_15-7-44.png


but renaming them to DATA.idx and use the arslan.bms doesn't work either. (DATA1.bin and DATA1.idx are in the same folder)

Mind explaining how to extract the bin files and sharing the bms files you use?
 
Last edited by xXDungeon_CrawlerXx,

bqio

Active Member
Newcomer
Joined
Mar 30, 2017
Messages
30
Trophies
0
Age
25
XP
207
Country
Russia
All text files have a header:
0x1 0x1 0x20 0x10

Starting at file 30776, begin the SARC archives.

File 70, 71, 72, 73, 74, 537 are font graphics.

Compressed archives have a structure:

uint32 size uncompressed chunk
uint32 chunk count
uint32 uncompressed file size

For I to chunk count
uint32 compressed chunk size with meta

chunk:
uint32 $size
[$size]: zlib data

Maybe someone else knows information.
 
Last edited by bqio,
  • Like
Reactions: xXDungeon_CrawlerXx

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,257
Trophies
3
XP
12,006
Country
Poland
Starting at file 30776, begin the SARC archives.
Hmm, arcording to quickbms script SARC archives are between 65a3-65d6.

They contain some textures (bntx) like profile images of students, cursors, loading parts when game is booting, chapter background, etc + 2D layouts (bflyt) for them, animation data (bflan) + sometimes shaders (bnsh+bushvt).

Edit: Now I understand you are using custom tool from other topic. But in this case has some issues.

So for now we have
- SARC archives (contains BNTX textures, BFLYT layouts, BFLAN animations, BNSH+BUSHVT shaders) - can be opened with Switch Toolbox
- KTSR files (probably sound files)
- GT1 textures (they can containt many texture files and contains also mipmaps) - Can be opened with Switch Toolbox (some of them are crashing because of mipmap error)

Some files after decompressing with quickbms (f.e. 8e3) and linkdata tool are still compressed with zlib. After uncompressing they are not readable.

Pretty messed up thing. :D
 
Last edited by masagrator,

bqio

Active Member
Newcomer
Joined
Mar 30, 2017
Messages
30
Trophies
0
Age
25
XP
207
Country
Russia
Hmm, arcording to quickbms script SARC archives are between 65a3-65d6.

They contain some textures (bntx) like profile images of students, cursors, loading parts when game is booting, chapter background, etc + 2D layouts (bflyt) for them, animation data (bflan) + sometimes shaders (bnsh+bushvt).

Edit: Now I understand you are using custom tool from other topic. But in this case has some issues.

So for now we have
- SARC archives (contains BNTX textures, BFLYT layouts, BFLAN animations, BNSH+BUSHVT shaders) - can be opened with Switch Toolbox
- KTSR files (probably sound files)
- GT1 textures (they can containt many texture files and contains also mipmaps) - Can be opened with Switch Toolbox (some of them are crashing because of mipmap error)

Some files after decompressing with quickbms (f.e. 8e3) and linkdata tool are still compressed with zlib. After uncompressing they are not readable.

Pretty messed up thing. :D

I found only 1 .g1tg file (GT1G0600 magic). The rest are either inside the zlib archives, or I made a mistake in unpacking.

Edit: I write a tool that gets .ktss from .ktsl2stbin and converts to .wav using vgmstream.

Screenshot_1.png

Screenshot_2.png
 
Last edited by bqio,
  • Like
Reactions: phaie

Yanda

Well-Known Member
Member
Joined
Aug 26, 2015
Messages
140
Trophies
0
XP
705
Country

Nevermore

Well-Known Member
Member
Joined
Jun 16, 2014
Messages
357
Trophies
0
XP
1,238
Country
United States
So for the Updates, is it something we can extract as files, or is it diffs instead?

I'm really curious as to what they've added/changed.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    B @ btjunior: @Xdqwerty 16