Difference between revisions of "Sims2Skin"
From SimsWiki
(Auto-inserted from WakkaWikki) |
|||
(One intermediate revision by one user not shown) | |||
Line 6: | Line 6: | ||
Then comes the XML data... | Then comes the XML data... | ||
+ | <pre> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
<Sims2Package type="assets"> | <Sims2Package type="assets"> | ||
Line 18: | Line 19: | ||
<!-- END REPEATABLE --> | <!-- END REPEATABLE --> | ||
</Sims2Package> | </Sims2Package> | ||
+ | </pre> | ||
− | Following this comes the file data according to the offset and size info in the XML header. Also, the offset is relative to the end of the XML data. | + | Following this comes the file data according to the offset and size info in the XML header. Also, the offset is relative to the end of the XML data, which should also be the offset in bytes 19-22 of the file. |
There are two possible ''Types'', ''part'' and ''sim'', however, I don't know what's the difference. | There are two possible ''Types'', ''part'' and ''sim'', however, I don't know what's the difference. | ||
Obviously the "start/stop repeatable" tags don't appear in the file, thats just for your benefit. | Obviously the "start/stop repeatable" tags don't appear in the file, thats just for your benefit. | ||
− | + | ||
+ | |||
+ | [[Category:Sims 2 Modding]] |
Latest revision as of 19:39, 17 September 2012
This article is imported from the old MTS2 wiki. You can help Sims2Wiki by cleaning it up. It's original page with comments can be found at http://old_wiki.modthesims2.com/Sims2Skin
First there is some header info...
18 - Header (Sims2 Packager 1.0) 4 - Data Offset
Then comes the XML data...
<?xml version="1.0" encoding="UTF-8"?> <Sims2Package type="assets"> <!-- START REPEATABLE --> <PackagedFile> <Name>starter.package</Name> <Length>8903470</Length> <Type>part</Type> <Offset>0</Offset> <Description>Something here</Description> </PackagedFile> <!-- END REPEATABLE --> </Sims2Package>
Following this comes the file data according to the offset and size info in the XML header. Also, the offset is relative to the end of the XML data, which should also be the offset in bytes 19-22 of the file.
There are two possible Types, part and sim, however, I don't know what's the difference.
Obviously the "start/stop repeatable" tags don't appear in the file, thats just for your benefit.