- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Discussion >
- XMLs and Game Packs
- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Discussion >
- XMLs and Game Packs
Posts: 4,471
Thanks: 3629 in 16 Posts
I am attaching an example where I changed the minutes of marshmallow roasting from 7-10 minutes to 1 minute. (I was trying to do another mod that wasn't taking, and I thought I would do a quick test and grab something super easy. My goal really isn't to have 1 minute toasted marshmallows.) This mod does not work in my game. The sims still take the 7-10 minutes.
MB - Outdoor Retreat - MARSHMALLOW TEST.rar (1.1 KB, 27 downloads) - View custom content | ||||||||||
Size Packed Ratio Date Time Attr CRC Meth Ver ------------------------------------------------------------------------------- MB - Outdoor Retreat - MARSHMALLOW TEST.package 1002 1002 100% 14-01-15 20:52 .....A. 9AAB33AD m0b 2.9 ------------------------------------------------------------------------------- 1 1002 1002 100% |
Posts: 2,671
Thanks: 62691 in 190 Posts
With Outdoor Retreat game pack, I was able to extract the file (S4_62E94D38_00000002_F10287740C1C4EB0) from the SimulationFullBuild0 that came with that pack and extract the contents. However, I am noticing that very easy changes that I make to the XMLs aren't being recognized by the game. I was wondering if it was just me? Has anyone tried it yet? |
Well, the interaction you're overriding appears to only be the staging for the actual interaction, 19B0F (campfire_RoastMarshmallows) which bases the length of a marshmallow roast off a commodity on the campfire object. I tried tuning that to finish earlier, but didn't see any success at that either. So I figured I'd try something that would really show, thinking maybe the animations were long enough that it took that long to finish no matter how low it was tuned.
Changed the ages allowed specification near the end of the interaction to remove CHILD. Did that to both the 19B0F and your original 19B13 resources. Crap - children can still roast marshmallows.
Tried overriding the object XML to remove the SA completely. It still shows up on the pie menu and they can still roast marshmallows.
WTF?
Now I'm going to try something drastic to see if it's even parsing the XML from the package, introduce a malformed XML tag into the mix and I should get an exception generated. Let's see what happens...
Posts: 2,671
Thanks: 62691 in 190 Posts
Now I'm going to try something drastic to see if it's even parsing the XML from the package, introduce a malformed XML tag into the mix and I should get an exception generated. Let's see what happens... |
Well, ?good news? That broke the roast marshmallow action completely and generated an exception, so that's progress?
EDIT: It's very strange, no matter what I try changing (at least regarding the compfire roasting) nothing seems to matter unless I break something completely and then it disappears.
EDIT2: Tried changing something else even simpler (the text that the forest ranger says when they introduce themselves to a different valid string ID) and again no luck. Double-checked that it wasn't backed by a SIMDATA resource and it isn't.
Just as a guess, but I'd lay money on it: My guess is it's a
Posts: 2,671
Thanks: 62691 in 190 Posts
Posts: 4,471
Thanks: 3629 in 16 Posts
Edit: Oh, and you've had a reply:
SimGuruEugi writes:
When overriding XML resources for Outdoor Retreat, make sure the group ID is set to 2. Let me know if that addresses your issues. |
Posts: 11,006
Thanks: 422688 in 1121 Posts
(There have been new tdescs provided too btw, have you seen that?)
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: 4,471
Thanks: 3629 in 16 Posts
Edit: Yes, I downloaded those last night. Thank-you!
Posts: 2,671
Thanks: 62691 in 190 Posts
Thank-you for struggling with me! I thought I was losing my mind |
Me too, but in my case it was a short trip! I kept trying different things thinking I must be overlooking something basic. Which I was, I'd just never seen the bit about the group in documentation. I wonder if the group needs to be set for CC recolors and such as well?
Edit: Oh, and you've had a reply: |
Thanks for checking, I'd have figured it was too early in the morning for any possibility of a reply.
Edit: Oh, and I guess I lost my bet, lol.
Posts: 4,471
Thanks: 3629 in 16 Posts
I don't know about CC recolors. I saw at least one questionable post elsewhere that could have gone around it. I am not sure if a more legit approach needs the new group number, however.
Posts: 3,552
Thanks: 55533 in 750 Posts
I wonder if the group needs to be set for CC recolors and such as well? |
_IMG can be overridden without changing the Group#, so I think that s4pe is showing the correct Group# for all the standard assets for modding purposes. XML is a special circumstance inside that combined file.
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: 327
Thanks: 11306 in 18 Posts
Posts: 4,471
Thanks: 3629 in 16 Posts
And looking back at the file that I originally extracted to get the pack's XML's has the hint in it. I just didn't notice before: S4_62E94D38_00000002_F10287740C1C4EB0.
Posts: 15
Thanks: 277 in 2 Posts
With Outdoor Retreat game pack, I was able to extract the file (S4_62E94D38_00000002_F10287740C1C4EB0) from the SimulationFullBuild0 that came with that pack and extract the contents. However, I am noticing that very easy changes that I make to the XMLs aren't being recognized by the game. I was wondering if it was just me? Has anyone tried it yet? I am attaching an example where I changed the minutes of marshmallow roasting from 7-10 minutes to 1 minute. (I was trying to do another mod that wasn't taking, and I thought I would do a quick test and grab something super easy. My goal really isn't to have 1 minute toasted marshmallows.) This mod does not work in my game. The sims still take the 7-10 minutes. |
Hi Madame Butterfly. First, I'd like to thank you for all the wonderful mods you've created. I have several of them in my game. I hope you can answer a question for me.
In the past, I created a lot of simple tuning mods for Sims 3 and am hoping to do the same for Sims 4, however, I have run into a problem with Outdoor Retreat. I am unable to extract the XMLs for the game pack. I had no trouble extracting them for the base game, but when I try to extract from The Sims 4 > GP01 > SimulationFullBuild0.package It doesn't work. Am I trying to extract from the wrong file?
I feel fairly stupid for not being able to figure this out. Thanks in advance for any help you can provide.
Posts: 3,552
Thanks: 55533 in 750 Posts
I am unable to extract the XMLs for the game pack. I had no trouble extracting them for the base game, but when I try to extract from The Sims 4 > GP01 > SimulationFullBuild0.package It doesn't work. Am I trying to extract from the wrong file? |
I lifted out that combined file from the Fullbuild using s4pe, so I have a copy of it on my harddrive. Then I used the Extractor on it and it worked fine.
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: 4,471
Thanks: 3629 in 16 Posts
Did you make a back-up copy of the file and place it elsewhere on your hard drive first, and then try resource>export>to file on S4_62E94D38_00000002_F10287740C1C4EB0 on that back-up copy?
(Edit: Sniped by Shimrod. )
Posts: 15
Thanks: 277 in 2 Posts
@SimmerDeb Did you make a back-up copy of the file and place it elsewhere on your hard drive first, and then try resource>export>to file on S4_62E94D38_00000002_F10287740C1C4EB0 on that back-up copy? (Edit: Sniped by Shimrod. ) |
Thanks for your replies Shimrod and MB. Evidently, I have no clue what I'm doing. I have a copy of the SimulationFullBuild0.package from GP01 open right now in s4pe. I see _RIG files, CASP files, etc., but I don't see S4_62E94D38_00000002_F10287740C1C4EB0 or anything remotely similar.
Sorry to ask you to handhold a newbie, but I can assure you that your help is greatly appreciated.
Posts: 4,471
Thanks: 3629 in 16 Posts
Posts: 15
Thanks: 277 in 2 Posts
Do you know how to filter for instance numbers? Like in this case, 0xF10287740C1C4EB0 in that instance box on the bottom of the screen? |
No, I didn't. However, I just played around with it trying to figure it out and isolated UNKN 0x62E94D38. Is this the file I need to resource > export to file?
Thanks.
Posts: 15
Thanks: 277 in 2 Posts
Do you know how to filter for instance numbers? Like in this case, 0xF10287740C1C4EB0 in that instance box on the bottom of the screen? |
Okay, that worked! Thank you so much. One more question. Originally, how did you know that UNKN 0x62E94D38 contained the XMLs?
Thanks again.
Posts: 4,471
Thanks: 3629 in 16 Posts
Okay, that worked! Thank you so much. One more question. Originally, how did you know that UNKN 0x62E94D38 contained the XMLs? |
I took an educated guess because the instance number was the same for the base game. I wasn't the one who originally found the base game file, however.
Posts: 86
Thanks: 2173 in 8 Posts
Posts: 2,671
Thanks: 62691 in 190 Posts
Posts: 86
Thanks: 2173 in 8 Posts
Yes, if you want to override the XML you need that group set. If you use my extractor it should be already set on the extracted file - not sure about s4s. |
Thanks , I don't know what I'm doing wrong then But at least I know the group change is right.
I'm using your extractor (thank you, thank you, thank you!!) to get the binaries and then the velocitygrass' extractor to get the XML because it has the option to add the names from the STBLs.
Posts: 2,671
Thanks: 62691 in 190 Posts
I'm using ... the velocitygrass' extractor to get the XML because it has the option to add the names from the STBLs. |
The old extractor is known to cause problems with the XML for various game packs, I'm not sure about this latest one, but I know it can produce corrupt XML even once you have a combined tuning file extracted from the binaries. If you must have the STBL strings, you'll probably be safer to use S4S to get the extracted XML - or use vgrass's extractor to get the strings but when you do the actual edits use the results from my extractor for the actual mod.
Posts: 86
Thanks: 2173 in 8 Posts
The old extractor is known to cause problems with the XML for various game packs, I'm not sure about this latest one, but I know it can produce corrupt XML even once you have a combined tuning file extracted from the binaries. If you must have the STBL strings, you'll probably be safer to use S4S to get the extracted XML - or use vgrass's extractor to get the strings but when you do the actual edits use the results from my extractor for the actual mod. |
Ok, I'll do that, thank you!
Who Posted
|