I want to document this somewhere, but I don't really know where.
DQB2's files relating to models have a bunch of g1m and g1t all mashed together. The header first has the number of files [0,3] , then the pointers to the beggining of each file, then a bunch of data I haven't deciphered yet.
I made 2 very shoddy python files that can reinject texture files into the .unpack to reimport to the linkdata. It only works for files that have only 2, like character or weapons.
How to use:
-Have the scripts on the same directory as the unpack
-Run ModelUnpackExtractor, and write the name (including the extension) on the terminal
-It will generate a g1m and g1t file. Edit the g1t file as you would a normal g1t file.
-Run UnpackG1tReinjector, and write the name (including the extension) of the .unpack file. It will reinject the .unpack.g1t into the .unpack file.
-Reimport as normal
Example:
Has no one documented this before? Compared to everything else I find it sad that as a community we got past injecting normal textures but couldn't figure this one out.
DQB2's files relating to models have a bunch of g1m and g1t all mashed together. The header first has the number of files [0,3] , then the pointers to the beggining of each file, then a bunch of data I haven't deciphered yet.
I made 2 very shoddy python files that can reinject texture files into the .unpack to reimport to the linkdata. It only works for files that have only 2, like character or weapons.
How to use:
-Have the scripts on the same directory as the unpack
-Run ModelUnpackExtractor, and write the name (including the extension) on the terminal
-It will generate a g1m and g1t file. Edit the g1t file as you would a normal g1t file.
-Run UnpackG1tReinjector, and write the name (including the extension) of the .unpack file. It will reinject the .unpack.g1t into the .unpack file.
-Reimport as normal
Example:
Has no one documented this before? Compared to everything else I find it sad that as a community we got past injecting normal textures but couldn't figure this one out.
Attachments
Last edited by Sapphire645,