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

Silent Hill Origins - ARC archive

Old posts about game archives and other formats.
Post Reply
Rafulpower
ultra-n00b
Posts: 7
Joined: Wed Nov 14, 2007 6:15 pm
Location: Brazil

Silent Hill Origins - ARC archive

Post by Rafulpower »

Hello! I am new for here. :D
I need to unpack/pack *.arc archives from Silent Hill Origins [PlayStation Portable].

I want to translate the texts for Portuguese.

Thanks.
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Post by Rheini »

Please upload some sample files. :)
(preferably not rapidshare, http://uploaded.to is quite good imho)
Rafulpower
ultra-n00b
Posts: 7
Joined: Wed Nov 14, 2007 6:15 pm
Location: Brazil

Post by Rafulpower »

Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Post by Rheini »

Had a short look. Here's my current template which might be horribly wrong:

Code: Select all

local uint fpos;

struct Entry {
	uint uk1;
	uint offset;
	fpos=FTell();
	FSeek(offset);
	uint uk2[5];
	string name;
	FSeek(fpos);
	uint uk3;
	uint uk4;
};

uint magic;
Entry directory[36]<optimize=false>;
However this archive contains only video files. Even if you managed to unpack it, you would have to somehow convert the AT3 movies.

Are there other ARC files?
Rafulpower
ultra-n00b
Posts: 7
Joined: Wed Nov 14, 2007 6:15 pm
Location: Brazil

Post by Rafulpower »

Yes, there are other ARC files!

SH.arc - 270MB

Part1 - http://uploaded.to/?id=5s5n8j (229 MB)
Part2 - http://uploaded.to/?id=ksciu1 (25 MB)

Thanks.
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Post by Rheini »

Thanks.

Code: Select all

struct Entry {
	uint FilenameOffset; // Offset in the string table
	uint Offset;
	uint Size;
	uint DecompressedSize; // 0 if it isn't compressed
};

char magic[4];
uint NumFiles;
uint OffsetData;
uint OffsetStringTable;
uint StringTableSize;

Entry directory[NumFiles];
This is the correct one. Files may be compressed (best compression level) with zlib(otherwise DecompressedSize is 0). Decompress them with zlibc.
Rafulpower
ultra-n00b
Posts: 7
Joined: Wed Nov 14, 2007 6:15 pm
Location: Brazil

Post by Rafulpower »

Wow.. thank you very much. Excuse my ignorance, but I don't know how to run zlibc.exe!

How do I do to extract files from SH.arc using zlibc.exe?

Thanks.
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Post by Rheini »

Oh I'm sorry, I didn't mention zlibc is a pure zlib de-/compressor.
It is no ARC unpacker.
You have to extract the files manually, then you can use zlibc to decompress them.
Rafulpower
ultra-n00b
Posts: 7
Joined: Wed Nov 14, 2007 6:15 pm
Location: Brazil

Post by Rafulpower »

Right.. I will try. Thank you once again. :wink:
zakos
ultra-n00b
Posts: 9
Joined: Thu Feb 14, 2008 8:59 pm

Re:

Post by zakos »

Rheini wrote:Oh I'm sorry, I didn't mention zlibc is a pure zlib de-/compressor.
It is no ARC unpacker.
You have to extract the files manually, then you can use zlibc to decompress them.
And how can I extract the files manually?I cant extract it with any app.
Which application did you use tu unpack sh.arc archive?
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Re: Silent Hill Origins - ARC archive

Post by Rheini »

A hex editor, that's why I said "manually" i.e. by hand.
I use 010 Editor, the code I posted above is a 010 binary template.
zakos
ultra-n00b
Posts: 9
Joined: Thu Feb 14, 2008 8:59 pm

Re: Silent Hill Origins - ARC archive

Post by zakos »

Rheini wrote:A hex editor, that's why I said "manually" i.e. by hand.
I use 010 Editor, the code I posted above is a 010 binary template.
Ohh,now everything is clear!
Danke Besten Rheini
Post Reply