READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Silent Hill Origins *.arc and Obscure *.hvp archives

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

Silent Hill Origins *.arc and Obscure *.hvp archives

Post by Rafulpower » Wed Nov 14, 2007 6:50 pm

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

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: 40 times
Contact:

Post by Rheini » Thu Nov 15, 2007 12:52 am

Wrong forum. Needs to be moved into Game Archive Research.

Rafulpower
ultra-n00b
Posts: 8
Joined: Wed Nov 14, 2007 6:15 pm
Location: Brazil

Post by Rafulpower » Sun Nov 18, 2007 4:25 pm

I'm sorry. I posted in the wrong place. It can move without problem. Thank you.

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

Post by Rheini » Sun Nov 18, 2007 11:53 pm

Please upload some sample files. :)
(preferably not rapidshare, http://uploaded.to is quite good imho)

Rafulpower
ultra-n00b
Posts: 8
Joined: Wed Nov 14, 2007 6:15 pm
Location: Brazil

Post by Rafulpower » Mon Nov 19, 2007 4:43 pm


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

Post by Rheini » Tue Nov 20, 2007 1:39 am

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: 8
Joined: Wed Nov 14, 2007 6:15 pm
Location: Brazil

Post by Rafulpower » Tue Nov 20, 2007 8:57 pm

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: 40 times
Contact:

Post by Rheini » Tue Nov 20, 2007 11:10 pm

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: 8
Joined: Wed Nov 14, 2007 6:15 pm
Location: Brazil

Post by Rafulpower » Wed Nov 21, 2007 3:35 am

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: 40 times
Contact:

Post by Rheini » Wed Nov 21, 2007 3:39 am

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: 8
Joined: Wed Nov 14, 2007 6:15 pm
Location: Brazil

Post by Rafulpower » Wed Nov 21, 2007 3:42 am

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 » Sat Feb 16, 2008 1:36 pm

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: 40 times
Contact:

Re: Silent Hill Origins *.arc and Obscure *.hvp archives

Post by Rheini » Sat Feb 16, 2008 2:11 pm

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 and Obscure *.hvp archives

Post by zakos » Sat Feb 16, 2008 2:20 pm

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