Some changes I still had lying around.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@791 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2003-02-20 17:03:47 +00:00
parent 9f52d1580a
commit 5c03d9199e
2 changed files with 12 additions and 4 deletions
+10 -2
View File
@@ -28,11 +28,11 @@ position length meaning
bits 21-31: index in file_list_offs of the file name for
this resource (only for packaged files)
4 p.flags_and_data_loc
(MSB is flags, rest is data_loc,
MSB is flags, rest is data_loc,
if MSB == 0, then of the data_loc only the low 16 bits
are used as a MEM_HANDLE (only in memory),
if MSB == 0xff, then the data_loc is an offset in the
file)
file to the actual data
0x16+8*num_packages Type information
2*num_types
t.instance_count
@@ -82,6 +82,14 @@ file_list_offs (should be directly after the path list)
8 filename (8 chars or null-terminated)
3 extension (3 chars or null-terminated)
For each package p:
p.data_loc for each type p.t:
for each instance p.t.i:
p.t.i.length
the data for the resource
As the length always is a multiple of 4, the last
few bytes may not belong to the resource itself.
Their content is unspecified.
Resources with type 'resource index' (type 4 in the 3DO sc2 starcon.pkg file)
+2 -2
View File
@@ -26,7 +26,7 @@ STRTAB (2) - string table
MUSICRES (3) - music and sound data
RES_INDEX (4) - a resource 'file'
CODE (5) - identifies code to use (the resouce file itself does not
contain any code)
contain any code)
In the current Urquan Masters, the following types are used:
KEY_CONFIG (1) - keyboard configuration (not used in the 3do packages)
@@ -37,7 +37,7 @@ SNDRES (5) - waveform audio
MUSICRES (6) - music
RES_INDEX (7) - a resource 'file'
CODE (8) - identifies code to use (the resouce file itself does not
contain any code)
contain any code)
The resource files, resinst.h, restypes.h, and respkg.h files were
originally generated from information from the .res and .typ files. The