Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Test Subject
Original Poster
#1 Old 28th Oct 2018 at 5:50 AM
Default How to decompile .package files in general? (Wii Sims Game)
Hello!

Apologies if I'm putting this in the wrong place. Not sure where this question fits exactly, as I haven't been on MTS in a while.

So .package files are for mods. I've modded for years now and get how that works. Here's the wrinkle:

There's a Wii Sims game I've ripped to work on my computer, and I want to decompile its files so I can dump things such as textures, text, and audio files. The game's files are also .package.

Does anyone now how to convert/decompile .package to another format/find what's stored inside? All the guides I find are for base modding like "You don't need to decompile .package, put it in your mods folder." but that isn't applicable to what I'm doing. Opening .package in stuff like S4PE or similar programs doesn't work either since this game is built very differently from the ground up.

Again, if this is misplaced, so sorry! I'd be happy to repost it elsewhere if someone would direct me.

Thank you!
Advertisement
One horse disagreer of the Apocalypse
#2 Old 28th Oct 2018 at 9:52 AM
Quote: Originally posted by Dentface
Opening .package in stuff like S4PE or similar programs doesn't work either since this game is built very differently from the ground up.


Not sure what you mean. Differently from what you were expecting, or something else? If you mean "differently from a sims game made for the Wii" I'd be surprised if the package differed between platforms - I'd expect the package to be the same but the .exe and the .dlls to have some differences. That is, as long as both sources you are comparing are from the same sims game (ie both sims 4)

"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Test Subject
Original Poster
#3 Old 28th Oct 2018 at 10:13 AM
Quote: Originally posted by Inge Jones
Differently from what you were expecting, or something else? If you mean "differently from a sims game made for the Wii" I'd be surprised if the package differed between platforms - I'd expect the package to be the same but the .exe and the .dlls to have some differences. That is, as long as both sources you are comparing are from the same sims game (ie both sims 4)


That's just the thing, I'm not extracting TS4 from console. I'm extracting a MySims game and The Sims 3 for Wii, both of which are not constructed like TS4 or TS3 for PC for that matter. So the .package files from these games don't open in S4PE.
Lab Assistant
#4 Old 28th Oct 2018 at 11:49 AM
The package file format have a few versions. Some examples: SimCity uses 3.0, TS4 uses 2.1, TS3 used 2.0, TS2 used 1.1 and 1.0. S3PE and S4PE probably both check if the package file has the correct version for the corresponding game, there might be an option in one of those for removing this restriction. You should check with version your package files are and use the editor most likely to work with it. You can check the version with a hex editor (bytes 5-8 is major, bytes 9-12 is minor), but it might be easier if you just dump the first 12 bytes here so can I tell you what version it is.
One horse disagreer of the Apocalypse
#5 Old 28th Oct 2018 at 1:55 PM
MySims! Oh well it's not the same game I guess that's why the files are different.

"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Test Subject
Original Poster
#6 Old 9th Nov 2018 at 4:37 AM
Quote: Originally posted by Fogity
The package file format have a few versions. Some examples: SimCity uses 3.0, TS4 uses 2.1, TS3 used 2.0, TS2 used 1.1 and 1.0. S3PE and S4PE probably both check if the package file has the correct version for the corresponding game, there might be an option in one of those for removing this restriction. You should check with version your package files are and use the editor most likely to work with it. You can check the version with a hex editor (bytes 5-8 is major, bytes 9-12 is minor), but it might be easier if you just dump the first 12 bytes here so can I tell you what version it is.


Hi! Thanks for this info!

I think this is what you were referring to?

Quote:
4650 4244 0000 0003 0000 0000 0000 0000 0000 0000 0000 0000 08cb e320 3c4d 93b9 0000 0000 0000 2bdd 221c c640 0002 bde8 0000 0000 0000 0000 0000 0000 0000 0002 0000 0000 221c c640 0000 0000 0000 0000 ac05 35dc 29b0 740f 0000 0000 0000 0000 424e 4b62 0500 000b 0002 02e0 0000 0000 0000 0000 0000 002c 0000 01f4 0000 0360 0000 050c 0000 0690 0000 0824 0000 099c 0000 0b04 0000 0b78 0000 0bf8 0000 0cc4 5054 0600 fd80 0103 8503 0159 faa0 0104 8c01 0488 0400 000d c098 ff00 0001 a001
Lab Assistant
#7 Old 10th Nov 2018 at 1:16 PM
Yeah, so that is version 3.0 of the package file format. As I mentioned, this is used by SimCity and neither of the other PC Sims games.
I suggest trying to open them using this SimCity package editor: https://community.simtropolis.com/f...999-simcitypak/

It might then be possible for you to extract the resources and use some of the other sims tools to work with them further.
Test Subject
Original Poster
#8 Old 10th Nov 2018 at 8:16 PM
Quote: Originally posted by Fogity
Yeah, so that is version 3.0 of the package file format. As I mentioned, this is used by SimCity and neither of the other PC Sims games.
I suggest trying to open them using this SimCity package editor: https://community.simtropolis.com/f...999-simcitypak/

It might then be possible for you to extract the resources and use some of the other sims tools to work with them further.


Thanks for your continued help! Unfortunately, when I open the .package files from the game in SimCityPak, it either crashes the program or says it's an invalid package file. Not really sure where to go from here. Again, thanks so much for your help!
Lab Assistant
#9 Old 11th Nov 2018 at 9:07 AM
That is a bummer. Now when I look closer I see that it is encoded in big endian as opposed to little endian, that will definitely prevent you for using one of the other tools. I sadly do not have time to help you any further.
Back to top