September 3, 20241 yr Hi, I have file with SFS expansion. I used QuickBMS to export from this file. It contain TXT files. idstring "SFS1" get FILES short for i = 1 <= FILES get NAMEL short getDstring NAME NAMEL get OFFSET long savepos MYOFF goto OFFSET get SIZE long math OFFSET += 4 goto MYOFF log NAME OFFSET SIZE next i So... QB work great when we replace file with the same or less size. Have you any idea where I find any "repacker" or how pack this file with different size of replace files? PS. Forcing in the QB corrupts the file. Subtitle.zip Edited September 28, 20241 yr by Pikor
September 3, 20241 yr Supporter 5 hours ago, Pikor said: Hi, [...] So... QB work great when we replace file with the same or less size. Have you any idea where I find any "repacker" or how pack this file with different size of replace files? PS. Forcing in the QB corrupts the file. Hi, there may be game-specific repackers but quickbms is the only "universal" repacker I know of. The problem with oversized repacked files is like so: say the white rectangle is a replacement file with bigger size. So it will damage the beginning of file 2 on repacking. symbolic picture of packed archive So you need to cut all 4 files from the archive and concatenate them (binary) again with file 1 replaced. But there might be offsets in the archive header which need to be corrected then. Generally it's not that simple. So you urgently need to understand the structure of the archive for such. (Just a wild guess, maybe someone knows better?) Edited September 3, 20241 yr by shak-otay
September 3, 20241 yr Localization 8 hours ago, Pikor said: Have you any idea where I find any "repacker" or how pack this file with different size of replace files? So, it's Culpa Innata, right? I can probably make text tool.
September 3, 20241 yr Author 5 minutes ago, EmptyMan said: So, it's Culpa Innata, right? I can probably make text tool. Yep 🙂 You probably know is an another file (CutScene.sfs) keeping cutscenes subtitle but not only txt (nif, KF, dat). I will be VERY thankfull if you try make a tool. 3 hours ago, shak-otay said: Hi, there may be game-specific repackers but quickbms is the only "universal" repacker I know of. The problem with oversized repacked files is like so: say the white rectangle is a replacement file with bigger size. So it will damage the beginning of file 2 on repacking. symbolic picture of packed archive So you need to cut all 4 files from the archive and concatenate them (binary) again with file 1 replaced. But there might be offsets in the archive header which need to be corrected then. Generally it's not that simple. So you urgently need to understand the structure of the archive for such. (Just a wild guess, maybe someone knows better?) Thanks for explanation. I trying the same method with another game file and there everything worked fine. Probably engine can handle that "messy" file 😛
September 4, 20241 yr Localization 15 hours ago, Pikor said: Yep Text tool @Pikor, please upload the CutScene.sfs file for analysis.
September 4, 20241 yr Author Works perfectly 😉 I'm uploading all of them if you'd need any of them. https://gofile.me/7i7Sv/6RqswHVvw Edited September 19, 20241 yr by Pikor
September 13, 20241 yr Localization Solution Tools were made by Kurt, a member of a Spanish team who undertook to translate the game. The team provided me with these tools, which also enabled me to undertake the French translation of the game. These tools work perfectly and take care of all the changes that need to be made to the game to translate it, the sfs, nif and BG(x) files as well as the game.dat file, which contains a few texts. Tools_CI_v0.3.rar CI_gamedat.7z
September 15, 20241 yr Author In Tools_CI_v0.3 don't work SFS section. After I press Browse Button nothing happen, but rest seems work perfect. Thanks 🙂
September 16, 20241 yr Localization Yes, indeed. the GUI drives bms scripts. The one that handles SFS files is missing. The designer of these tools had designed a bms script for extraction and reimport, but the latest developments in Quickbms with the Repack functions have rendered his script useless. culpainnata_importar_cutscene_v081-Beta.7z
September 18, 20241 yr Author On 9/16/2024 at 4:15 PM, Ghylard said: The designer of these tools had designed a bms script for extraction and reimport, but the latest developments in Quickbms with the Repack functions have rendered his script useless. Even with the included quickbms in Tools_CI_v0.3.zip? Presumably the code behind the browsing butons must have been removed in version 3, because in the other buttons show the "OpenFileDialog" (even run Tools_CI_v.0.3.exe alone without rest of files). And file you attached seems be only importer. Edited September 19, 20241 yr by Pikor
October 13, 20241 yr Author @Ghylard I have a question. Do you happen to know where some of the puzzle.bg items are and how to access them? For example: . The puzzle.bg file is the background, but some of the tiles with graphics are in the charnorm.trk and chardown.trk file, I think.
November 11, 20241 yr Author On 9/16/2024 at 4:15 PM, Ghylard said: Yes, indeed. the GUI drives bms scripts. The one that handles SFS files is missing. The designer of these tools had designed a bms script for extraction and reimport, but the latest developments in Quickbms with the Repack functions have rendered his script useless. culpainnata_importar_cutscene_v081-Beta.7z 1.95 kB · 6 downloads I have fixed this script. From now on, it can be used to package the CutScene.sfs file without worrying about text length. Place the extracted files in the configuration below: Extracted\Data\CutScene\<the rest of the folders> Extracted\CutScene\<the rest of the folders> Place CutScenes.sfs next to the BMS script file. Run Import.bat -> command in: quickbms.exe -G -w -r -a "Data" culpainnata_importar_cutscene_v081-Beta.bms CutScene.sfs Extracted CutScenesBMS.zip Edited November 11, 20241 yr by Pikor
July 14, 20251 yr Author I am also posting the sample .trk files I mentioned above. Maybe someone will be able to write a tool to extract the graphics from them and inject them back. This is how it looks in TextureFinder: trk_sample.zip
September 1, 2025Sep 1 Author I managed to create a script that splits TRK files into RAW555 with conversion to RAW888. How to use: The attached package contains *.hexbm files in the folders. Based on these files, the script splits TRK files and then injects the modified files. TRK - game file with RGB555 graphics HEXBM - imhex bookmarks file. Contains offsets how to cut. TRK_to_RGB888_RAW.py -> Converting from TRK to RAW: - run the script and select the *.hexbm file, then the corresponding *.trk file. (for example: avlb0100.hexbm and avlb0100.trk) The script will create a folder with graphics. Editing graphics (after editing the file, overwrite it! The names and location of the graphics must remain in the same place!): These are RAW files, so you need to edit them with Photoshop, for example. The graphics files contain information about height and width. Set the rest as shown below. Save as Photoshop Raw. RGB888_RAW_to_TRK.py -> Converting from RAW to TRK: - select the trk file. Based on the trk file name, the script will automatically find the *.hexbm file and the folder with the graphics. TRK Cutter.zip Edited September 1, 2025Sep 1 by Pikor
Create an account or sign in to comment