hohenheim Posted July 9 Posted July 9 I'm trying to edit the game's textures, but they're in a format that I haven't seen mentioned anywhere. I've tried a few programs but haven't been able to. Does anyone know of a way to extract them? Textures.zip
Hazza12555 Posted July 9 Posted July 9 I believe you can use this, you just need to provide it with your .package file https://modthesims.info/d/30839/simpe-latest-version-0-75f.html
hohenheim Posted July 10 Author Posted July 10 (edited) 1 hour ago, Hazza12555 said: I believe you can use this, you just need to provide it with your .package file https://modthesims.info/d/30839/simpe-latest-version-0-75f.html Actually, I want to see the textures from the GameCube version, not the PC version. Edited July 10 by hohenheim
Moderators ikskoks Posted Thursday at 09:35 PM Moderators Posted Thursday at 09:35 PM I can see some shapes there, but I can't get it right with those samples. Do you have some bigger samples? Like background images or something like that?
Hazza12555 Posted Thursday at 10:36 PM Posted Thursday at 10:36 PM (edited) From looking at the gamecube version, i think the textures are .TXFL files which is a custom format made by Maxis. The textures are all stored in a singular .arc file, so if someone could extract from it then the textures would be there! Here's the link to the .arc file https://gofile.io/d/J6Ojvq Edit: I extracted all .TXFL file (11,443 in total) Hope this helps ikskoks to read these! (Uploaded a few at random below) random .TXFL.zip Edited Thursday at 11:13 PM by Hazza12555 New Update 1
Moderators ikskoks Posted Friday at 07:02 PM Moderators Posted Friday at 07:02 PM How did you extract ARC file? You didn't share your method. 😄 Anyway, I was able to create this script for ARC file: https://github.com/bartlomiejduda/Tools/blob/master/NEW Tools/The sims 2/The_Sims_2_ARC_script.bms And I've started to analyze "font_frankfur_s24_p0" TXFL sample, but the swizzling method seems to be custom on this one and the font doesn't look correct: No idea how to fix it at the moment.
Hazza12555 Posted Friday at 09:31 PM Posted Friday at 09:31 PM (edited) 2 hours ago, ikskoks said: How did you extract ARC file? You didn't share your method. 😄 Anyway, I was able to create this script for ARC file: https://github.com/bartlomiejduda/Tools/blob/master/NEW Tools/The sims 2/The_Sims_2_ARC_script.bms And I've started to analyze "font_frankfur_s24_p0" TXFL sample, but the swizzling method seems to be custom on this one and the font doesn't look correct: No idea how to fix it at the moment. You can use Watto Game Extractor, and just provide it with the .arc file 🙂 Edited Friday at 09:31 PM by Hazza12555 1
hohenheim Posted Saturday at 01:51 AM Author Posted Saturday at 01:51 AM 6 hours ago, ikskoks said: How did you extract ARC file? You didn't share your method. 😄 Anyway, I was able to create this script for ARC file: https://github.com/bartlomiejduda/Tools/blob/master/NEW Tools/The sims 2/The_Sims_2_ARC_script.bms And I've started to analyze "font_frankfur_s24_p0" TXFL sample, but the swizzling method seems to be custom on this one and the font doesn't look correct: No idea how to fix it at the moment. I used a BMS script from The Sims Bustin' Out. The Sims 2 has a Script but it doesn't seem to work, I assume the Bustin Out one works in all games (from 1 to Castaway), I also assumed that Maxis used some format commonly used by EA, but when I tried to use a specific program for EA game files it ended up not working (EA Graphics Manager). 1
Moderators Solution ikskoks Posted Saturday at 11:50 AM Moderators Solution Posted Saturday at 11:50 AM 21 hours ago, Hazza12555 said: You can use Watto Game Extractor, and just provide it with the .arc file Thanks for the info. 16 hours ago, hohenheim said: I used a BMS script from The Sims Bustin' Out. Thanks. I found the script. Seems to be very similar to my script and it extracts data the same way. 16 hours ago, hohenheim said: I tried to use a specific program for EA game files it ended up not working (EA Graphics Manager). Well, I am creator of EA Graphics Manager 😄 And I can tell you that FSH/SSH/MSH/XSH files supported by EA Graphics Manager are compleetely different than TXFL files attached to this topic. This just won't work, because tool wasn't designed to work with TXFL files. As for TXFL files, I was able to make some progress, but it's still not completed. I can extract some files in grayscale: Here's my extractor: https://github.com/bartlomiejduda/Tools/tree/master/NEW Tools/The sims 2/The Sims 2 TXFL Extractor Most of those files are probably PAL8 and palette is stored at the end of each file, but I couldn't figure out correct pixel format... Not sure if I can progress any furthrer without debugging the game. EDIT: Maxis logo seems to be a good sample for further analysis It looks like this in grayscale: And it should look like this in color: ui_maxis.zip Still can't get palette right. 😞 1
hohenheim Posted Saturday at 08:22 PM Author Posted Saturday at 08:22 PM 8 hours ago, ikskoks said: Thanks for the info. Thanks. I found the script. Seems to be very similar to my script and it extracts data the same way. Well, I am creator of EA Graphics Manager 😄 And I can tell you that FSH/SSH/MSH/XSH files supported by EA Graphics Manager are compleetely different than TXFL files attached to this topic. This just won't work, because tool wasn't designed to work with TXFL files. As for TXFL files, I was able to make some progress, but it's still not completed. I can extract some files in grayscale: Here's my extractor: https://github.com/bartlomiejduda/Tools/tree/master/NEW Tools/The sims 2/The Sims 2 TXFL Extractor Most of those files are probably PAL8 and palette is stored at the end of each file, but I couldn't figure out correct pixel format... Not sure if I can progress any furthrer without debugging the game. EDIT: Maxis logo seems to be a good sample for further analysis It looks like this in grayscale: And it should look like this in color: ui_maxis.zip Still can't get palette right. 😞 Wow, you're doing great, thanks for the help! I wonder if Dolphin is able to find the palettes? PPSSPP and PCSX2 have a way to do that. Maybe Dolphin has one too.
Hazza12555 Posted Saturday at 09:41 PM Posted Saturday at 09:41 PM 9 hours ago, ikskoks said: Thanks for the info. Thanks. I found the script. Seems to be very similar to my script and it extracts data the same way. Well, I am creator of EA Graphics Manager 😄 And I can tell you that FSH/SSH/MSH/XSH files supported by EA Graphics Manager are compleetely different than TXFL files attached to this topic. This just won't work, because tool wasn't designed to work with TXFL files. As for TXFL files, I was able to make some progress, but it's still not completed. I can extract some files in grayscale: Here's my extractor: https://github.com/bartlomiejduda/Tools/tree/master/NEW Tools/The sims 2/The Sims 2 TXFL Extractor Most of those files are probably PAL8 and palette is stored at the end of each file, but I couldn't figure out correct pixel format... Not sure if I can progress any furthrer without debugging the game. EDIT: Maxis logo seems to be a good sample for further analysis It looks like this in grayscale: And it should look like this in color: ui_maxis.zip Still can't get palette right. 😞 Just dumped some texture's directly from the game using an Emulator (I know the maxis logo is there so maybe you can work with it) Uploaded all the textures i dumped here I believe some are coloured and some are greyscale https://gofile.io/d/ZW0rgQ
Moderators ikskoks Posted Sunday at 06:00 AM Moderators Posted Sunday at 06:00 AM I know where the palette is. It's always at the end of the TXFL file, right after image data. The problem is that I don't know how to decode it properly. 😄 Another issue is that my gamecube unswizzling method doesn't work on some files. You can see some artifacts on thought bubbles or on fonts: By the way, here are file format specifications: https://rewiki.miraheze.org/wiki/The_Sims_2_ARC https://rewiki.miraheze.org/wiki/The_Sims_2_TXFL
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now