Correction; a little bit more info.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2732 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Meep-Eep
2007-04-09 17:30:14 +00:00
parent 0f262b70ab
commit 8fd5753917
+21 -4
View File
@@ -114,8 +114,11 @@ Resources with type 'resource index' (type 4 in the 3DO sc2 starcon.pkg file)
are files with the same format as this .pkg file itself. are files with the same format as this .pkg file itself.
The information above is gathered from the resource library sources itself. The information above, about the format used on the 3DO, is gathered from
The information below is induced from the packed files themselves. the resource library sources itself.
The information below, about the format used on the PC, and for SC1,
is induced from the packed files themselves.
The format used in SC1 is somewhat different. The differences are listed The format used in SC1 is somewhat different. The differences are listed
here: here:
@@ -130,10 +133,24 @@ here:
0x12 2 number of packages in the file (num_packages) 0x12 2 number of packages in the file (num_packages)
0x14 2 ? 0x14 2 ?
packmem_list_offs packmem_list_offs
4 as above 4 as for the 3DO
2 if this is a packaged file: multiply by 4 to get 2 if this is a packaged file: the listed size is the actual
size of the resource. No multiplication by 2 or 4 as
on other platforms.
The format used in SC2 is different yet again. The differences to the 3DO
version are listed here:
0x10 1 number of types of packages present in the file (num_types)
0x11 1 unknown
packmem_list_offs
4 as for the 3DO
2 if this is a packaged file: multiply by 2 to get
the length of this package. the length of this package.
The part pointed to by file_list_offs is frequently followed by a bit of
unused space, which may contain garbage.
Initial version of this file 2002-10-10 by Serge van den Boom. Initial version of this file 2002-10-10 by Serge van den Boom.