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,722
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,722
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,297
Trophies
3
XP
12,075
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,242
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
  • Materia_tofu @ Materia_tofu:
    im not a very bright individual, but we live and we learn
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
    The Real Jdbye @ The Real Jdbye: you can report it and request deletion