killer 7 windows port RMHG unpacking /repacking issue

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
sal4
Posts: 5
Joined: Sat Dec 08, 2018 12:36 pm

killer 7 windows port RMHG unpacking /repacking issue

Post by sal4 »

Hello,
I tried to unpack and repack newer killer7 RMHG files. I used the latest killer7_RHMG.bms scirpt.
The files are extracting mostly fine, but there seem to be small differences, so its not possible to re-import.
Image

I added three example files that all have the RMHG string it it. Would it be possible to have a small update for the script?
Thanks very much for the work so far.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: killer 7 windows port RMHG unpacking /repacking issue

Post by aluigi »

Not sure what you mean about a reimport problem.
I have updated the script for removing the header from the bin files, so now you get directly the dds image.
I have also used the ID of the files for retrieving the filenames, now the names are correct but you will have some duplicates.
http://aluigi.org/bms/killer7.bms
sal4
Posts: 5
Joined: Sat Dec 08, 2018 12:36 pm

Re: killer 7 windows port RMHG unpacking /repacking issue

Post by sal4 »

Thank you for fast the reply. Extracting the files and having the dds files on its own is really great.
I wanted to extract i.e. some menu files, edit them end reimport (with reimport.bat or reimport2.bat)

I tried both reimport bat files and read section 3. I just tried to extract and reimport with the same script and the same files, with no changes. I can only assume, it might have todo with the coverage, that is not 100%.

Here are more screenshots and attached file.
Extracting titlej.pak
Image

Reimporting the files from a folder containing those files.
Image

Seems he is expecting something different, so no file can be created. I don't know much about scripting, it might be a small thing to change to make it work.

Thank you
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: killer 7 windows port RMHG unpacking /repacking issue

Post by aluigi »

Eh, you are using it in the wrong way :)
It's a very simple rule: run reimport.bat (better reimport2.bat) and select the SAME file and folder you selected during extraction.

In this way quickbms will do the same operation it did during extraction with the only different of reading files from the disk and writing them in the archive instead of reading them from the archive and writing on the disk.
sal4
Posts: 5
Joined: Sat Dec 08, 2018 12:36 pm

Re: killer 7 windows port RMHG unpacking /repacking issue

Post by sal4 »

Oh man, thanks. I will try it right now. I was thinking something is not right.

Will get back, thanks =)
sal4
Posts: 5
Joined: Sat Dec 08, 2018 12:36 pm

Re: killer 7 windows port RMHG unpacking /repacking issue

Post by sal4 »

Haha thanks! Works great!
Thank you very much! This is a big step for the k7 modding community =)
http://de.tinypic.com/r/14b5hfr/9

Where can I donate a little =)
sal4
Posts: 5
Joined: Sat Dec 08, 2018 12:36 pm

Re: killer 7 windows port RMHG unpacking /repacking issue

Post by sal4 »

Hello again
I was digging a little more in the killer7 pc files and found out that the script is sadly missing the right names extracting the files and wants to override. (I let it rename automatically to see what it extracts)
Image

Notepad shows me the containing files at the end of the files. There should be more files with a specified name i.e. ef= effect file, mm= motion file and so on.

Image

Not sure if its a big deal, but would it be possible to add these other files into the script? I assume since some of them being recognized only a little is missing. I added the specific container files.
Would be greatly appreciated,
sal
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: killer 7 windows port RMHG unpacking /repacking issue

Post by aluigi »

No solution for the names because the format doesn't have N names for N files. Names are less and the ID is often -1.