Welcome to
Mod The Sims
Online: 1308
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 4 (Who?), Viewed: 9246 times.
Search this Thread
Old 30th Aug 2004, 3:02 PM DefaultBodyShop Texture Format #1
Tashiketh
Original Poster

Warrior Gryphon



Join Date: May 2004
Posts: 9,857
Thanks: 85659 in 19 Posts
28 Achievements


Hi All,

I'm completed my analysis of the texture files found in the Sims 2 Body Shop package files.

Aside from the obvious TGA files, there are a large number of other textures. (The same as those found in the .package files when creating a custom skin)

These are actually DirectX DXT compressed textures with a custom header on top. All we need to do to convert them to standard DDS files is work out the DDS header information from the existing information.

It saves me having to write a decompression routine at any rate :D

Regards
Delphy

Old 31st Aug 2004, 6:31 PM #2
DarkMatter
Zombie Coder

Join Date: Aug 2004
Posts: 120
Thanks: 3 in 1 Posts
1 Achievements


If these are DXT compressed textures with a custom header, its most probable that they are FSH textures, the same things used in SimCity 4. Let me know what the type ID's of some sample files are, and I'll double check.
Old 6th Sep 2004, 10:10 AM #3
Tashiketh
Original Poster

Warrior Gryphon



Join Date: May 2004
Posts: 9,857
Thanks: 85659 in 19 Posts
28 Achievements


Hi DM,

The Type ID is ED534136. I tried renaming to FSH and loading up in FISHMAN but came up with invalid header.

Thing is, FSH files have pallettes but I couldn't see any information like this at all. I suspect the Sims2 textures are proper 24-bit, so they wouldn't need pallette information.
Old 8th Sep 2004, 6:19 AM #4
DarkMatter
Zombie Coder

Join Date: Aug 2004
Posts: 120
Thanks: 3 in 1 Posts
1 Achievements


Not all FSH files have pallettes. FSH files that contain DXT planes don't store a palette, just the directory and the DXT images. I'll take a look at the files once datgen.info is done, and see if they are FSH's.
Old 8th Sep 2004, 9:24 AM #5
Tashiketh
Original Poster

Warrior Gryphon



Join Date: May 2004
Posts: 9,857
Thanks: 85659 in 19 Posts
28 Achievements


Ahh okay - I dont know enough about the FSH files at the moment, but I'll take a look and see if I can work it out in the meantime

Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.