Rein Posted December 2, 2023 Share Posted December 2, 2023 I am looking for a way to unpack the .fdata in the game, I've heard there was a BMS Script that would do this, sadly I wasn't able to get the script before the site closed. Also any other info on the extraction of the files would be a very helpful to newcomers and myself. Link to comment Share on other sites More sharing options...
ikskoks Posted December 2, 2023 Share Posted December 2, 2023 Can you upload some sample files to hosting site like mega.nz or google drive and then share a public link here? Link to comment Share on other sites More sharing options...
Solution ailephi Posted December 3, 2023 Solution Share Posted December 3, 2023 try this one im not sure if this is the correct one since i cant test it myself Comtype ZLIB Get FILETOTALSIZE asize if FILETOTALSIZE > 128 Set IDRKOFFSET long 0x10 Do Goto IDRKOFFSET Print "%IDRKOFFSET%" Getdstring MAGICVERSION 8 Get ENTRYSIZE longlong Get COMPSIZE longlong Get DECOMPSIZE longlong Get ENTRYTYPE long Get FILEKTID long Get TYPEINFOKTID long Set SKIP long ENTRYSIZE Math SKIP - COMPSIZE Math SKIP - 0x2C Goto SKIP 0 SEEK_CUR Savepos TEMP Print "%TEMP%" String FNAME p "0x%08x." FILEKTID String FEXT p "%08x" TYPEINFOKTID If TYPEINFOKTID == 0x563bdef1 Set FULLNAME string "g1m/" String FNAME + "g1m" String FULLNAME + FNAME Elif TYPEINFOKTID == 0x6fa91671 Set FULLNAME string "g1a/" String FNAME + "g1a" String FULLNAME + FNAME Elif TYPEINFOKTID == 0xafbec60c Set FULLNAME string "g1t/" String FNAME + "g1t" String FULLNAME + FNAME Elif TYPEINFOKTID == 0x20a6a0bb Set FULLNAME string "kidsobjdb/" String FNAME + "kidsobjdb" String FULLNAME + FNAME Elif TYPEINFOKTID == 0x5153729b || TYPEINFOKTID == 0xb340861a Set FULLNAME string "mtl/" String FNAME + "mtl" String FULLNAME + FNAME Elif TYPEINFOKTID == 0x8e39aa37 || TYPEINFOKTID == 0xbe144b78 Set FULLNAME string "ktid/" String FNAME + "ktid" String FULLNAME + FNAME Elif TYPEINFOKTID == 0x56efe45c || TYPEINFOKTID == 0xbbf9b49d Set FULLNAME string "grp/" String FNAME + "grp" String FULLNAME + FNAME Elif TYPEINFOKTID == 0xbbd39f2d Set FULLNAME string "srsa/" String FNAME + "srsa" String FULLNAME + FNAME Elif TYPEINFOKTID == 0x0d34474d Set FULLNAME string "srst/" String FNAME + "srst" String FULLNAME + FNAME Else Set FULLNAME string FEXT String FULLNAME + "/" String FNAME + FEXT String FULLNAME + FNAME Endif Savepos OFFSET If COMPSIZE == DECOMPSIZE Get MAGIC long 0 OFFSET If MAGIC == 1194412127 Set FULLNAME string "g1h/" String FNAME p "0x%08x." FILEKTID String FNAME + "g1h" String FULLNAME + FNAME Endif Log FULLNAME OFFSET DECOMPSIZE Else Set MEMORY_FILE binary "" Append Do Get ZSIZE short Get Junk longlong Savepos OFFSET If DECOMPSIZE > 16384 Clog MEMORY_FILE OFFSET ZSIZE 16384 Math DECOMPSIZE - 16384 Else Clog MEMORY_FILE OFFSET ZSIZE DECOMPSIZE Math DECOMPSIZE - DECOMPSIZE Endif Math OFFSET + ZSIZE Goto OFFSET While DECOMPSIZE > 0 Append Get LSIZE asize MEMORY_FILE GetVarChr MAGIC MEMORY_FILE 0 long Print "%MAGIC%" If MAGIC == 1194412127 Set FULLNAME string "g1h/" String FNAME p "0x%08x." FILEKTID String FNAME + "g1h" String FULLNAME + FNAME Endif Log FULLNAME 0 LSIZE MEMORY_FILE Endif Math ENTRYSIZE x 0x10 Math IDRKOFFSET + ENTRYSIZE While IDRKOFFSET < FILETOTALSIZE Endif 1 Link to comment Share on other sites More sharing options...
Rein Posted December 4, 2023 Author Share Posted December 4, 2023 On 12/2/2023 at 3:46 PM, ikskoks said: Can you upload some sample files to hosting site like mega.nz or google drive and then share a public link here? https://drive.google.com/file/d/1A_4bPDVbcv3QfnYXjB9Y3NK0hpNckF7o/view?usp=drive_link I found out there is Also .bin files that are more than likely the characters, This has just random .fdata and 1 .bin Link to comment Share on other sites More sharing options...
ikskoks Posted December 4, 2023 Share Posted December 4, 2023 Script posted above by @ailephi works fine with your fdata files. Link to comment Share on other sites More sharing options...
Rein Posted December 4, 2023 Author Share Posted December 4, 2023 Now I just need a way to unpack the .bin files for the characters Link to comment Share on other sites More sharing options...
RRRR Posted December 20, 2023 Share Posted December 20, 2023 On 12/5/2023 at 7:26 AM, Rein said: Now I just need a way to unpack the .bin files for the characters The .bin file you uploaded is just a video file. Script posted above by @ailephi works well, and you can access most resources with just that. P.S You will need Joschuka's Noesis plugin for g1m files. Link to comment Share on other sites More sharing options...
Rein Posted January 2 Author Share Posted January 2 On 12/20/2023 at 1:13 AM, RRRR said: The .bin file you uploaded is just a video file. Script posted above by @ailephi works well, and you can access most resources with just that. P.S You will need Joschuka's Noesis plugin for g1m files. Where are the Characters files for servants and masters? Link to comment Share on other sites More sharing options...
Rein Posted January 2 Author Share Posted January 2 18 hours ago, Rein said: Where are the Characters files for servants and masters? I found them, I'm stuck now on how to get the textures on the models? Link to comment Share on other sites More sharing options...
elior316 Posted March 11 Share Posted March 11 hey everyone, I'm new here but I wanted to ask you somthing, I want to know how to get the 3d models files for make a cosplay for miyamoto iori. I want to print his swords, but I don't know how to extract the files. I tried to do it with ryujinx emulator on nsp file game but It didn't work for me. I saw that you share here some bin and fdata files but how to open and use them? please help me thank you elior On 1/2/2024 at 10:33 PM, Rein said: I found them, I'm stuck now on how to get the textures on the models? how did you find them? Link to comment Share on other sites More sharing options...
elior316 Posted March 11 Share Posted March 11 On 12/3/2023 at 4:58 AM, ailephi said: try this one im not sure if this is the correct one since i cant test it myself Comtype ZLIB Get FILETOTALSIZE asize if FILETOTALSIZE > 128 Set IDRKOFFSET long 0x10 Do Goto IDRKOFFSET Print "%IDRKOFFSET%" Getdstring MAGICVERSION 8 Get ENTRYSIZE longlong Get COMPSIZE longlong Get DECOMPSIZE longlong Get ENTRYTYPE long Get FILEKTID long Get TYPEINFOKTID long Set SKIP long ENTRYSIZE Math SKIP - COMPSIZE Math SKIP - 0x2C Goto SKIP 0 SEEK_CUR Savepos TEMP Print "%TEMP%" String FNAME p "0x%08x." FILEKTID String FEXT p "%08x" TYPEINFOKTID If TYPEINFOKTID == 0x563bdef1 Set FULLNAME string "g1m/" String FNAME + "g1m" String FULLNAME + FNAME Elif TYPEINFOKTID == 0x6fa91671 Set FULLNAME string "g1a/" String FNAME + "g1a" String FULLNAME + FNAME Elif TYPEINFOKTID == 0xafbec60c Set FULLNAME string "g1t/" String FNAME + "g1t" String FULLNAME + FNAME Elif TYPEINFOKTID == 0x20a6a0bb Set FULLNAME string "kidsobjdb/" String FNAME + "kidsobjdb" String FULLNAME + FNAME Elif TYPEINFOKTID == 0x5153729b || TYPEINFOKTID == 0xb340861a Set FULLNAME string "mtl/" String FNAME + "mtl" String FULLNAME + FNAME Elif TYPEINFOKTID == 0x8e39aa37 || TYPEINFOKTID == 0xbe144b78 Set FULLNAME string "ktid/" String FNAME + "ktid" String FULLNAME + FNAME Elif TYPEINFOKTID == 0x56efe45c || TYPEINFOKTID == 0xbbf9b49d Set FULLNAME string "grp/" String FNAME + "grp" String FULLNAME + FNAME Elif TYPEINFOKTID == 0xbbd39f2d Set FULLNAME string "srsa/" String FNAME + "srsa" String FULLNAME + FNAME Elif TYPEINFOKTID == 0x0d34474d Set FULLNAME string "srst/" String FNAME + "srst" String FULLNAME + FNAME Else Set FULLNAME string FEXT String FULLNAME + "/" String FNAME + FEXT String FULLNAME + FNAME Endif Savepos OFFSET If COMPSIZE == DECOMPSIZE Get MAGIC long 0 OFFSET If MAGIC == 1194412127 Set FULLNAME string "g1h/" String FNAME p "0x%08x." FILEKTID String FNAME + "g1h" String FULLNAME + FNAME Endif Log FULLNAME OFFSET DECOMPSIZE Else Set MEMORY_FILE binary "" Append Do Get ZSIZE short Get Junk longlong Savepos OFFSET If DECOMPSIZE > 16384 Clog MEMORY_FILE OFFSET ZSIZE 16384 Math DECOMPSIZE - 16384 Else Clog MEMORY_FILE OFFSET ZSIZE DECOMPSIZE Math DECOMPSIZE - DECOMPSIZE Endif Math OFFSET + ZSIZE Goto OFFSET While DECOMPSIZE > 0 Append Get LSIZE asize MEMORY_FILE GetVarChr MAGIC MEMORY_FILE 0 long Print "%MAGIC%" If MAGIC == 1194412127 Set FULLNAME string "g1h/" String FNAME p "0x%08x." FILEKTID String FNAME + "g1h" String FULLNAME + FNAME Endif Log FULLNAME 0 LSIZE MEMORY_FILE Endif Math ENTRYSIZE x 0x10 Math IDRKOFFSET + ENTRYSIZE While IDRKOFFSET < FILETOTALSIZE Endif how to use it? on what emulator and on what file? I used ryujinx and nsp file Link to comment Share on other sites More sharing options...
elior316 Posted March 11 Share Posted March 11 (edited) that's the files I tried to extract with ryujinx but I don't know how to open them Edited March 11 by elior316 Link to comment Share on other sites More sharing options...
sinnerclown Posted October 29 Share Posted October 29 Hello, I think these files are localization files, can the export import tool be made? https://www.mediafire.com/file/ypvw0zrcbf4nio4/170b1e1e.rar/file Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now