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

Extracting files from .arc

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
bwesty
ultra-n00b
Posts: 6
Joined: Tue Jan 05, 2010 8:10 am
Has thanked: 1 time

Extracting files from .arc

Post by bwesty »

Hello All,

I was wondering if somebody had a spare minute or two, to assist me in extracting the files from either of the two .arc files presented in sample at this link http://www.sendspace.com/file/hutu2u. I tried using the method described in this link viewtopic.php?f=15&t=2845 which seemed to work because it listed the amount of files present, but not the filenames, and then I didn't know how to manually extract the files.

Thanks
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Extracting files from .arc

Post by aluigi »

the archive doesn't seem to contain the names of the files and seems the some of these arc files (for example igc.arc) contain other arc files inside them, anyway the following script for quickbms does the job:

Code: Select all

get XFA10 long
if XFA10 != 0xfa10
    cleanexit
endif
get FILES long
get BASE_OFF long
get DUMMY long

get FULLNAME basename
string FULLNAME += "_"

for i = 0 < FILES
    get CRC long
    get OFFSET long
    get ZSIZE long
    get SIZE long

    set NAME string FULLNAME
    string NAME += i
    if SIZE == 0
        log NAME OFFSET ZSIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
next i
bwesty
ultra-n00b
Posts: 6
Joined: Tue Jan 05, 2010 8:10 am
Has thanked: 1 time

Re: Extracting files from .arc

Post by bwesty »

Thankyou very much for your script. I think I managed to extract all the files from both .arc files but I stopped there because there were thousands of files with no names or extensions. Later I will try to ascertain what some of them are.

EDIT: You are 100% correct, inside igc.arc are other .arc files which then either have files or U8 archives
bwesty
ultra-n00b
Posts: 6
Joined: Tue Jan 05, 2010 8:10 am
Has thanked: 1 time

Re: Extracting files from .arc

Post by bwesty »

Unfortunately the script only worked for the first few archives inside igc.arc

EDIT: The script only worked for the first 10 files of igc.arc, there are close to 300 arc files in igc.arc. I tried editing the script but I havent got it to work yet.
bwesty
ultra-n00b
Posts: 6
Joined: Tue Jan 05, 2010 8:10 am
Has thanked: 1 time

Re: Extracting files from .arc

Post by bwesty »

The contents of this post was deleted because of possible forum rules violation.
bwesty
ultra-n00b
Posts: 6
Joined: Tue Jan 05, 2010 8:10 am
Has thanked: 1 time

Re: Extracting files from .arc

Post by bwesty »

I need some help creating a script to unpack some files I believe to be archived. I have been trying very hard by myself to learn how to do it but I need a few pointers. A typical file that I am trying to extract are located http://www.sendspace.com/file/j78d8z I estimate there are about 10-15 of 290 which are composed in this manner. I was fortunate enough to unpack the first 10 using the above script.

This is all I know so far. All of the aforementioned 10-15 files begin with 01 0F. Then there are another four bytes which I thought might be a file count figure, however the hex numbers are way too high for this. Then we have another 12 bytes which are insignificant then the first file name commences. I have uploaded a screenshot of a typical file loaded in a hex editor just in case someone recognises something which might be of assistance to me.

P.S sorry the screenshot is so large

EDIT: Now I am thinking that a file such as this is actually an fsb file, therefore I will be directing my attention towards decrypting an fsb file.
You do not have the required permissions to view the files attached to this post.
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 660 times

Re: Extracting files from .arc

Post by AlphaTwentyThree »

I'm also working on the format right now. I think it's helpful to mention that the files are from Silent Hill: Shattered Memories. My script is basically the same as Luigi's (seems as if I'm slowly getting the hang of QuickBMS ;) ) but it only works for the PS2 and Wii version, but not for the DATA.ARC from the PSP version.

Look at this thread I accidentially opened: viewtopic.php?f=10&t=4245&start=0&st=0&sk=t&sd=a
As soon as I understand the hash reverse, we'll have file names. :)
BTW, those FSB archives you mentioned are contained in these *.fev files (at least I guess that's the extension) you took a screenshot from. Just cut the data before "FSB4" and save it as *.fsb. Then you can extract it with fsbext. However this doesn't work for all of the FSB files I've encountered.

Edit: The file names can't be reversed from the CRC values but I've researched a bit more on those formats. I'm now writing an extensive script that also includes an extension allocator. I'll post here if the status is advanced enough.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)
Post Reply