Sims2Skin
From SimsWiki
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.