Join also our Discord channel! Click here.

Archive file Identification

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
SonofKalas
beginner
Posts: 22
Joined: Wed Aug 26, 2015 10:42 pm
Has thanked: 4 times

Archive file Identification

Post by SonofKalas » Fri Dec 04, 2015 5:22 am

an acquaintance of mine asked for my help identifying and extracting this file
https://mega.nz/#!sBQHkQwD!bFivjIfqvUn7 ... u7stVx5KpE
I've never encountered this before and I'm not sure how to go about extracting it.
I Think It's engine specific, but i'm not sure.
It comes from the PC port of Tales of Zestria, which I have been told uses It's own engine But I'm not 100%.
any INFO or Help would be greatly appreciated.
Last edited by SonofKalas on Fri Dec 04, 2015 6:27 pm, edited 1 time in total.

barti
veteran
Posts: 148
Joined: Sun Apr 01, 2012 12:44 pm
Has thanked: 51 times
Been thanked: 101 times

Re: Archive file Identification

Post by barti » Fri Dec 04, 2015 4:54 pm

the link is incomplete (... in the middle)

SonofKalas
beginner
Posts: 22
Joined: Wed Aug 26, 2015 10:42 pm
Has thanked: 4 times

Re: Archive file Identification

Post by SonofKalas » Fri Dec 04, 2015 6:28 pm

barti wrote:the link is incomplete (... in the middle)
it should work now provided you click on it instead of copying and pasting

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2135
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 52 times
Been thanked: 1664 times

Re: Archive file Identification

Post by daemon1 » Fri Dec 04, 2015 8:46 pm

This is very easy. This is just a cache of game files, with no names. Not compressed. You can extract them all.

First number is number of files, then for each file: id, size, offset.

If you need names, you should look for other files. Or in case they are hashed, you must guess them.

SonofKalas
beginner
Posts: 22
Joined: Wed Aug 26, 2015 10:42 pm
Has thanked: 4 times

Re: Archive file Identification

Post by SonofKalas » Fri Dec 04, 2015 9:25 pm

What should I use to extract it?

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2135
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 52 times
Been thanked: 1664 times

Re: Archive file Identification

Post by daemon1 » Fri Dec 04, 2015 9:36 pm

You need to write a program or script for that. But are you sure you need 23536 files without names? What you would do with them?

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3137
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 835 times
Been thanked: 1701 times

Re: Archive file Identification

Post by shakotay2 » Fri Dec 04, 2015 10:07 pm

SonofKalas wrote:What should I use to extract it?
you could try out the below bms script.
But be warned! Use it on your own risk!
It also requires the following preparations:
Copy the first 0x44F44 bytes from FILE.CACHE into a new FILE.TAB.
Then rename FILE.CACHE to FILE.ARC.
Run quickbms, select the script then the tab file.
(Maybe kill quickbms after 2 or 3 seconds to check whether the extracted bin files are correct.)

Code: Select all

# TalesOfZestria, untested
# script for QuickBMS http://quickbms.aluigi.org

open FDDE "tab" 0
open FDDE "arc" 1

set EXT string "bin"

get ARC_SIZE asize 1
get TAB_SIZE asize
goto 4

for i = 0
    savepos CURR_OFF
    if CURR_OFF >= TAB_SIZE
        cleanexit
    endif
    get NAME_CRC long
    get FSIZE long
    get OFFSET long

    math OFFSET += 282436
   
    string NAME p= "%08x.%s" NAME_CRC EXT
    log NAME OFFSET FSIZE 1
next i
Last edited by shakotay2 on Fri Dec 04, 2015 10:12 pm, edited 1 time in total.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

SonofKalas
beginner
Posts: 22
Joined: Wed Aug 26, 2015 10:42 pm
Has thanked: 4 times

Re: Archive file Identification

Post by SonofKalas » Fri Dec 04, 2015 10:09 pm

daemon1 wrote:You need to write a program or script for that. But are you sure you need 23536 files without names? What you would do with them?
It's not for me but for someone who asked me to help them figure out how to extract it

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3137
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 835 times
Been thanked: 1701 times

Re: Archive file Identification

Post by shakotay2 » Fri Dec 04, 2015 11:16 pm

adding 282440 to the offset might be the better choice:
bf9c740f.jpg
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

Post Reply