Users browsing this thread: 1 Guest(s)
Extract and repack QPK/QPI pairs from otome game Genso Manège
#1
Hi, I'd like to ask for some help because I want to extract and repack the files from the game Genso Manège to translate both the texts/dialogues and the UI images (and others) into my native language (Spanish).

The files are in QPK/QPI format (they come in pairs, where the QPI file seems to contain metadata about the QPK, and the QPK holds the actual internal files). I searched on Google and found a script that allows extracting these files (https://github.com/IcySon55/Kuriimu/issu...-443008887, thanks to IcySon55), but it has several limitations:
  • It extracts files with the .qfi extension, which makes it impossible to determine which scene they belong to when dealing with scripts/dialogues. These should ideally have a .ks extension, since if you open the .qfi files in Notepad++, they display correctly and even indicate their expected extension.
  • The extracted file pair needs to be renamed to DATA0.QPK and DATA0.QPI before extraction, which is tedious because you have to keep renaming them constantly.

I also noticed something that might be important when creating a tool to repack the modified files. If you open KS.QPK directly with 010 Editor (or any hex editor) and change a letter in the text, the modification appears correctly in the game. However, if you add or remove letters or paragraphs, the game freezes. I assume this happens because the game verifies file sizes, line lengths, or maybe even checks offsets and sizes somewhere in the code.

Additional info:
  • KS.QPK / KS.QPI → Contain character dialogues and on-screen text (thoughts, descriptions, etc.).
  • CSV.QPK / CSV.QPI → Seem to contain CSV-like files (though the script assigns them a .qfi
    extension). These files store character IDs, chapters, scenes, etc.
  • IMAGE.QPK / IMAGE.QPI → Contain character sprites and possibly backgrounds. These files can be opened with UABE, AssetStudio, or similar tools since they have a UnityFS header when viewed in a hex editor after extraction.
  • SCENE.QPK / SCENE.QPI → Contain UI images and (I think) backgrounds. These also have a UnityFS header when extracted using the LinqPad5 script.

I have attached a Drive link that contains the game files, the game's DLL files (which I extracted using IL2CPPDumper in case they are useful), and also a screenshot showing what seem to be two CSV files inside CSV.QPK/CSV.QPI.
Any help would be greatly appreciated!  Heart Smile Thanks in advance.

https://drive.google.com/drive/folders/1...sp=sharing
Reply
Thanked by:


Forum Jump: