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,278
Trophies
3
XP
12,043
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,239
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
    Veho @ Veho: Software update might improve it.