- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Tools >
- Sims4XmlExtractor: extracts individual tuning files from the combined tuning resource (2014-10-29: v0.0.0.6: fix for STBL issue and support for object info)
- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Tools >
- Sims4XmlExtractor: extracts individual tuning files from the combined tuning resource (2014-10-29: v0.0.0.6: fix for STBL issue and support for object info)
Posts: 11,006
Thanks: 423049 in 1121 Posts
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 11,006
Thanks: 423049 in 1121 Posts
Workaround is simply to navigate to the right folder, then paste "SimulationDeltaBuild0.package" into Filename, but it's still irritating because it makes it look like that file were suddenly gone =).
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 70
@Zach: I've tried to address a few of your points in the new FAQ section. |
You weren't kidding On behalf of all current and future tuning tweakers, thanks for the in-depth writeup!
Posts: 902
Thanks: 32116 in 20 Posts
@Zach & @rebecah: You're both very welcome.
Posts: 7
Posts: 11,006
Thanks: 423049 in 1121 Posts
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 11,006
Thanks: 423049 in 1121 Posts
Windows XP SP3 here, and I'm still using 0.0.0.4. (Is there a workaround for this maybe, like enforcing the permissions on a folder? Similar to chown? I wouldn't know, not really being a Windows user)
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 902
Thanks: 32116 in 20 Posts
Sims4XmlExtractor_explicitclose.7z (51.5 KB, 28 downloads) - View custom content | ||
Date Time Attr Size Compressed Name ------------------- ----- ------------ ------------ ------------------------ 2014-10-03 13:40:51 ....A 161280 52540 Sims4XmlExtractor.exe ------------------- ----- ------------ ------------ ------------------------ 161280 52540 1 files, 0 folders |
Posts: 11,006
Thanks: 423049 in 1121 Posts
Edit: I just checked (as in, re-exported with the "explicitclose" one) and this time around I WAS able to rename the folder afterwards. So either the explicitclose thing solved that, or XP just decided to not be so stubborn for once, or .. whatever else =). Thanks!
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 7
Did you download the one where it says "Download this when in doubt"? If not, try that. |
Can you direct me to that download? I've looked all over and can't find it. Thanks! =)
Posts: 3,552
Thanks: 55573 in 750 Posts
Can you direct me to that download? I've looked all over and can't find it. Thanks! =) |
It is the 4th one in the list in the top message. The description says Full Program With All Dependencies, you know? You do not want the other files there, you install only this one file, don't attempt to install all of those files at the same time, lol.
MedievalMods and Sims3mods: Dive Cave Reset Fix, Resort Revamp, Industrial Oven Revamp, Will O' Wisp fix, UI Sounds Disabled, No Cars, Gnome Family Planner, Townies Out on the Town, No Martial Arts Clothes, Fast Skilling, etc. http://simsasylum.com/tfm/
Posts: 11,006
Thanks: 423049 in 1121 Posts
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 902
Thanks: 32116 in 20 Posts
Posts: 11,006
Thanks: 423049 in 1121 Posts
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 2
Posts: 902
Thanks: 32116 in 20 Posts
Posts: 2
Posts: 75
Thanks: 547 in 13 Posts
Also, any chance of adding such comments to the reward tag inside loot files? A CSV list of object IDs to names, to serve as the source of such comments, can be easily constructed (see attached python script and text file, though the script takes OBJD files named according to the Maxis unpacked file format).
(BTW, thank you a lot for the program, it's a true lifesaver.)
simsObjDataCSV.7z (45.4 KB, 18 downloads) - View custom content | ||
Date Time Attr Size Compressed Name ------------------- ----- ------------ ------------ ------------------------ 2014-10-20 15:08:23 ....A 955 46327 simsObjDataCSV.py 2014-10-20 15:07:50 ....A 361846 obj_list.txt ------------------- ----- ------------ ------------ ------------------------ 362801 46327 2 files, 0 folders |
||
Description: OBJ ID to OBJ Name mapping |
Posts: 902
Thanks: 32116 in 20 Posts
One thing I've been wondering is where the display name for the objects is stored. I've randomly checked the loot_Bonsai_Shape_twigs reward gardenTwigsGEN_01. Neither the 0xC0DB5AE7 nor the object tuning linked in it nor the 0x319E4F1D seem to contain the display name hash, which I suspect is 0xDEDC16DE: Bunch of Twigs. Do you happen to know where this might be stored?
In any case, thanks for the suggestion and information!
Posts: 75
Thanks: 547 in 13 Posts
One thing I've been wondering is where the display name for the objects is stored. I've randomly checked the loot_Bonsai_Shape_twigs reward gardenTwigsGEN_01. Neither the 0xC0DB5AE7 nor the object tuning linked in it nor the 0x319E4F1D seem to contain the display name hash, which I suspect is 0xDEDC16DE: Bunch of Twigs. Do you happen to know where this might be stored? |
It's in the COBJ file (0x319E4F1D). The 4 bytes starting at 08 are the STBL ID of the name, and the following 4 bytes starting at 0C are the STBL ID of the description. Little endian both.
(Incidentally, that one is simply called "Twigs", 0xD38A22E5. Might be what threw you off.)
Posts: 902
Thanks: 32116 in 20 Posts
I've tested support for extracting the name and description of all objects (where available) as a first step. My test was semi-successful. I implemented it so that if finding a related tuning fails for decimal values, it will look up the object. It did exactly that, but actually looking into the files in more detail, it reveals how flawed that approach was and is with normal numbers with a comment for the object, objects with a comment for an unrelated tuning...
The only way to properly handle these references would be to look up information based on the type of the reference which can be found in the tdesc files, but that would add a whole other level of complexity...
I can still add the functionality as it works so far as a "better than nothing" solution for now. I should be able to release that (and the STBL fix) within the next few days.
ETA: @DarkWalker: I've uploaded the new version now. After looking at the changes the object references can be narrowed down quite well with only a handful of keywords to look for (including the "reward" that you mentioned). It's still not perfect, but it should be a definite improvement over how it was. The retrieval of the objects takes relatively long, so I'll probably change that to doing it on demand, but I wanted to get this version out for now. Thanks again for the bug report and suggestion and help with the game object info.
Posts: 529
Thanks: 147 in 1 Posts
I'm a bit of a newbie when it comes to actually making mods for The Sims 4, and just get redirected to this page on every basic tutorial. Because XML extraction.
The Sims 4! Weirder Sims! Aren't they weird!? Look how weird they are! Bet you can't wait to see how weird their stories are!?
Posts: 75
Thanks: 547 in 13 Posts
Probably not the right place for this, but when I tried to run the Sims4XMLExtractor.exe it tells me Qt5Core.dll is missing. I'm guessing I need to install Qt? I'm a bit of a newbie when it comes to actually making mods for The Sims 4, and just get redirected to this page on every basic tutorial. Because XML extraction. |
You likely downloaded the update archive. Download instead the full one, currently Sims4XmlExtractor0006.7z . It's the one a bit larger than 6MB.
Posts: 164
Thanks: 15695 in 10 Posts
EDIT: I loaded up the source for this project, and the tool was failing to extract from GP01/SimulationFullBuild0.package. I edited the source to add only_match_type = true when calling p.extractResource, and the new XML files were extracted successfully.
Posts: 3,552
Thanks: 55573 in 750 Posts
http://www.modthesims.info/showthread.php?t=545916
MedievalMods and Sims3mods: Dive Cave Reset Fix, Resort Revamp, Industrial Oven Revamp, Will O' Wisp fix, UI Sounds Disabled, No Cars, Gnome Family Planner, Townies Out on the Town, No Martial Arts Clothes, Fast Skilling, etc. http://simsasylum.com/tfm/
Who Posted
|