theHunter™: Call of the Wild .tab .arc

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

theHunter™: Call of the Wild .tab .arc

Post by makc_ar »

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

Re: theHunter™: Call of the Wild .tab .arc

Post by aluigi »

makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: theHunter™: Call of the Wild .tab .arc

Post by makc_ar »

Thanks a lot aluigi!
reveng3
Posts: 12
Joined: Sat Aug 13, 2016 10:43 pm

Re: theHunter™: Call of the Wild .tab .arc

Post by reveng3 »

Help me pls :cry:

Image
padruga
Posts: 3
Joined: Mon Jun 12, 2017 1:36 pm

Re: theHunter™: Call of the Wild .tab .arc

Post by padruga »

aluigi wrote:http://aluigi.org/bms/thehunter.bms


Hi aluigi!
Looks like for provided to you for experiments arc/tab files it is working well, i can unpack game23.arc and see *.fsb files. But for the rest of the files it is give error:

Code: Select all

- GUI mode activated, remember that the tool works also from command-line
  where are available various options like folder scanning, filters and so on

- select the BMS script to use
- select the input archives/files to extract, type * or "" for whole folder and subfolders
- select the output folder where extracting the files
- open input file L:\arctool\game0.tab
- open script L:\arctool\quickBMS\COTW.bms
- set output folder L:\arctool\Output

  offset   filesize   filename
--------------------------------------
- enter in folder L:\arctool
  coverage file 0     0%   0          3060       . offset 00000000
- open input file L:\arctool\game0.TAB
- enter in folder L:\arctool
- open input file L:\arctool\game0.ARC
  00000010 1129337938 00000000.dat

Error: the compressed zlib/deflate input is wrong or incomplete (-3)
Info:  algorithm   1
       offset      00000010
       input size  0x00000178 376
       output size 0x43505452 1129337938
       result      0xffffffff -1

Error: the uncompressed data (-1) is bigger than the allocated buffer (1129337938)

Last script line before the error or that produced the error:
  26  clog "" OFFSET SIZE XSIZE 1


Is it possible that you looking into that? Here is folder with few different files: https://mega.nz/#F!mwgihLLJ!y2eDrL0PmjpmKTWqkGkTxg

UPD:
add thehunterCOTW.zip archive with files generated by filecutter and *.tab files.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: theHunter™: Call of the Wild .tab .arc

Post by aluigi »

The bad news is that there is no way to guess if an archived file is compressed or not compressed or just stored "as-is" without the header.
So the only solution is trying to guess it, script 0.1.2
padruga
Posts: 3
Joined: Mon Jun 12, 2017 1:36 pm

Re: theHunter™: Call of the Wild .tab .arc

Post by padruga »

You mean archived files inside the *.arc, right? Or maybe should i provide something more?
But as i see - everything, probably, works perfect. After extracting i can see *.dat, *.avt, *.waaw, ... and even very few DDS and BIK files, which can be opened as is. Funny thing that there is one video from previous "thehunter:classic" game with the dog, and also i found one DDS related to "Mad Max" game. So i guess now there is only need to understand how to operate with all another files :)

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

Re: theHunter™: Call of the Wild .tab .arc

Post by aluigi »

That's all, no need to provide other things :)
It's just that in the ARC archives some files are compressed, others are non-compressed and others are just stored as-is (non-compressed without the header usually adopted)

Edit: I was checking the archives provided in the first post and honestly I don't know if there are compressed files at all, they are almost all without the 16 bytes header.. anyway who cares, now it works :D
padruga
Posts: 3
Joined: Mon Jun 12, 2017 1:36 pm

Re: theHunter™: Call of the Wild .tab .arc

Post by padruga »

aluigi, i found here is one pretty interesting case that, i think, may be interesting for you? If it is not or this post is stupid or anything like that - feel free to delete it :)

So here is what i get after using your tool: http://imgur.com/jqzzZzj
And here after using another one on the same arc/tab file: http://imgur.com/y9Yo5iP

Funny thing that i get it after attempt to unpack game files with the tool for "Just Cause 3" game, from here: https://justcause3mods.com/mods/modified-gibbeds-tools/
So you can download game23.arc/tab files from link above and test it. Github: https://github.com/tim42/gibbed-justcause3-tools-fork

One more time. I do not complain. I was ready to give up when i type request here, but after you update your tool - i start to google again anything that can help and found this. So after i see this result i think that, maybe, it will be interesting for you, but i do not know if it is or maybe tools for JC3 is way different kind of software than your... So i just try to be kind man :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: theHunter™: Call of the Wild .tab .arc

Post by aluigi »

These tab/arc formats are used in some games with some small differences.