Old posts about game archives and other formats.
Rafulpower
ultra-n00b
Posts: 7 Joined: Wed Nov 14, 2007 6:15 pm
Location: Brazil
Post
by Rafulpower » Wed Nov 14, 2007 6:50 pm
Hello! I am new for here.
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 » 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: 7 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: 46 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?
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 » 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: 7 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: 46 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: 7 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.
zakos
ultra-n00b
Posts: 9 Joined: Thu Feb 14, 2008 8:59 pm
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: 46 times
Contact:
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
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