Difference between revisions of "E86B1EEF"

From SimsWiki
Jump to: navigation, search
(Auto-inserted from WakkaWikki)
 
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
{{OldWikiEntry}} Lists all compressed Files specified in the Index of the [[http:''www.modthesims2.com/wiki/Packages .package]] Header.
+
{{Resource tgi
 +
|short = DIR
 +
|long = Directory of compressed files
 +
}}
  
There are two possible Structures, First the long format:
+
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.
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:
+
==Format==
repeat
+
4 type
+
4 group id
+
4 instance id
+
4 (real) Uncompressed Filesize
+
end repeat
+
  
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]]
+
;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=
 +
*[[Packages]]
 +
 
 +
{{OldWikiEntryCleaned}}
 +
 
 +
[[Category:Sims 2 Modding]]
 +
[[Category:InternalFormats]]
 +
[[Category:FormatsByTGI]]

Latest revision as of 15:13, 17 September 2012

E86B1EEF
Short name: DIR
Long name: Directory of compressed files

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.

[edit] 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

[edit] 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.

[edit] 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