Falling Skies: The Game - HNK/FILES archives

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Falling Skies: The Game - HNK/FILES archives

Post by AlphaTwentyThree »

Hi there guys!
I can't make anything from this format, is anybody interested to look at it? Would be marvellous to look at the contents! :)
Here are some samples: http://xvz067ppbx.1fichier.com/
Thanks in advance!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Falling Skies: The Game - HNK/FILES archives

Post by aluigi »

I used a simple trick and it worked :)
http://aluigi.org/papers/bms/others/falling_skies.bms
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Falling Skies: The Game - HNK/FILES archives

Post by AlphaTwentyThree »

Hey cool - thanks a lot Luigi! :)
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Falling Skies: The Game - HNK/FILES archives

Post by makc_ar »

How all files to unpack?
.hnk: https://yadi.sk/d/EFPkDfLRboScG
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Falling Skies: The Game - HNK/FILES archives

Post by aluigi »

In that case you can try to replace:

Code: Select all

        if NAME != ""
            log NAME OFFSET ENTRY_SIZE
        endif
with

Code: Select all

        #if NAME != ""
            log NAME OFFSET ENTRY_SIZE
        #endif
and it will dump everything.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Falling Skies: The Game - HNK/FILES archives

Post by makc_ar »

The script incorrectly packs archive and game doesn't work
aluigi help me plz.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Falling Skies: The Game - HNK/FILES archives

Post by aluigi »

The reimporting is ok, there is not even compression involved.
Probably the game doesn't accept the modified data because it expects a certain size or there are some other checks.
Remember to try modifying only one file and deleting all the others.
viidii
Posts: 3
Joined: Fri Oct 31, 2014 8:55 pm

Re: Falling Skies: The Game - HNK/FILES archives

Post by viidii »

I'm so glad this page is the only place talking about Hnk format file.
Aluigi do you know how to take out things from this hnk/file?
(it's from other game called Rise of the guardian)
here: http://www.mediafire.com/download/25ceq ... d+jack.zip
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Falling Skies: The Game - HNK/FILES archives

Post by aluigi »

I used the same script posted above and it worked perfectly.
Have you tried it?
viidii
Posts: 3
Joined: Fri Oct 31, 2014 8:55 pm

Re: Falling Skies: The Game - HNK/FILES archives

Post by viidii »

Yeah I saw your earlier script, but is it use for command line or it's a .bms file open with a application?
How to use your script? (I really need help because I can't find tutorial teach me... :cry: )
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Falling Skies: The Game - HNK/FILES archives

Post by aluigi »

Very simple:
http://quickbms.aluigi.org

  • launch quickbms.exe (double click on the executable, it works also from command-line if you prefer)
  • select the script
  • select the archive
  • enter in the output folder where you want to extract the files

That's all, it's really very simple to use.
viidii
Posts: 3
Joined: Fri Oct 31, 2014 8:55 pm

Re: Falling Skies: The Game - HNK/FILES archives

Post by viidii »

Ah thanks! Thanks so much :D