Important information: this site is currently scheduled to go offline indefinitely by end of the year.

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 »

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: 102 times

Re: Archive file Identification

Post by barti »

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 »

barti wrote:the link is incomplete (... in the middle)
it should work now provided you click on it instead of copying and pasting
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Archive file Identification

Post by daemon1 »

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 »

What should I use to extract it?
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Archive file Identification

Post by daemon1 »

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: 4286
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: Archive file Identification

Post by shakotay2 »

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.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
SonofKalas
beginner
Posts: 22
Joined: Wed Aug 26, 2015 10:42 pm
Has thanked: 4 times

Re: Archive file Identification

Post by SonofKalas »

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: 4286
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1147 times
Been thanked: 2242 times

Re: Archive file Identification

Post by shakotay2 »

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.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Post Reply