Difference between revisions of "E86B1EEF"

From SimsWiki
Jump to: navigation, search
(Auto-inserted from WakkaWikki)
 
(Cleaned up and added info from Packages)
Line 1: Line 1:
{{OldWikiEntry}} Lists all compressed Files specified in the Index of the [[http:''www.modthesims2.com/wiki/Packages .package]] Header.
+
=E86B1EEF (DIR)=
 +
The purpose of these resources is to spead up the loading of a DAT file by showing exactly what is compressed inside it. They are directories of all the compressed files in an archive. Accordingly, their structure is quite simple.
  
There are two possible Structures, First the long format:
+
==Format==
repeat
+
4 type
+
4 group id
+
4 instance id
+
4 the Unknown dWord from the [[http:''www.modthesims2.com/wiki/Packages .package]] Header located on Offset 60 ( I call it Class ID)
+
4 (real) Uncompressed Filesize
+
end repeat
+
  
the other one:
+
;repeated
repeat
+
;DWORD
4 type
+
:Type ID of the file
4 group id
+
;DWORD
4 instance id
+
:Group ID of the file
4 (real) Uncompressed Filesize
+
;DWORD
end repeat
+
:Instance ID of the file
 +
;DWORD
 +
:Instance2/Resource ID (only when index format of [[DBPF]] is 7.1)
 +
;DWORD
 +
:Size of the decompressed file in Hex
  
I don't know when to use wich Format, but checking if the Filesize can be devided by 20 or 16 did work so far to determin the type. I think the short format is used, when the Class ID's of all stored Files are 0. [[Category:Modding]]
+
==Notes==
 +
 
 +
These files are found as DIR/Directory by the reader and are automatically modified by it during changes to dat files.
 +
 
 +
It is HIGHLY reccommended that you modify the Directory after editing any compressed file before saving the dat if you are working manually in hex or making your own program.
 +
 
 +
=See also=
 +
*[[Packages]]
 +
 
 +
{{OldWikiEntryCleaned}}
 +
 
 +
[[Category:Modding]]
 +
[[Category:InternalFormats]]
 +
[[Category:FormatsByTGI]]

Revision as of 22:07, 1 August 2006

Contents

E86B1EEF (DIR)

The purpose of these resources is to spead up the loading of a DAT file by showing exactly what is compressed inside it. They are directories of all the compressed files in an archive. Accordingly, their structure is quite simple.

Format

repeated
DWORD
Type ID of the file
DWORD
Group ID of the file
DWORD
Instance ID of the file
DWORD
Instance2/Resource ID (only when index format of DBPF is 7.1)
DWORD
Size of the decompressed file in Hex

Notes

These files are found as DIR/Directory by the reader and are automatically modified by it during changes to dat files.

It is HIGHLY reccommended that you modify the Directory after editing any compressed file before saving the dat if you are working manually in hex or making your own program.

See also

This article is imported from the old MTS2 wiki. It's original page, with comments, can be found at http://old_wiki.modthesims2.com/E86B1EEF

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox