- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Discussion >
- Solution found (for now): XML tuning in .packages
- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Discussion >
- Solution found (for now): XML tuning in .packages
Posts: 3,552
Thanks: 55564 in 750 Posts
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: 422956 in 1121 Posts
- I have unpackedmod in Mods, and the appropriate entry in resouce.cfg ("DirectoryFiles unpackedmod autoupdate") -- haven't tried to put it elsewhere, I guess that would work too as long as you point the cfg to the right place.
- The naming must? should? may? be the type-as-file-ending way. "0x00000000!0x0000000000008995.0x73996beb" for instance (Note that this is an override) -- I haven't actually tried anything else, but this works for me.
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: 3,552
Thanks: 55564 in 750 Posts
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: 422956 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: 3,552
Thanks: 55564 in 750 Posts
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: 902
Thanks: 32112 in 20 Posts
Posts: 57
Thanks: 3154 in 4 Posts
For package of tunings, please note that with the 9/9/2014 patch, the game will still NOT recognize xml tuning files in packages. This remains an open issue as far as I know. |
Oh noo... I've worked so long to get custom tv channels with your hint of the xml tuning files. But nothing works. I thought I do some mistakes, but your info now let me know, it's because the update.
Do you know, whether tuning files will be recognized by the game later on? Or is it disabled for lifetime?
Posts: 902
Thanks: 32112 in 20 Posts
Posts: 57
Thanks: 3154 in 4 Posts
They work, but you have to place them in the unpackedmod folder with a special name format and change your resource.cfg file. Read SimGuruModSquad's post about issues in the "Maxis Documenation" sticky on the official forums where they explain it. |
Oh velocitygrass, now I also understand, why I can export the tuning files with your tool with the ea syntax.
Without you, nothing would work for me. Very very thanks
Posts: 3,552
Thanks: 55564 in 750 Posts
For package of tunings, please note that with the 9/9/2014 patch, the game will still NOT recognize xml tuning files in packages. This remains an open issue as far as I know. |
The "XML tuning" files from the combined file definitely work in .package as default replacement, I've tested this completely. The way I did this was by using the files from the EA naming export which your tool gives. These files are not recognized by Windows as XML, but as for example an 0x5b02819e file type. When exporting such a file back out of s4pe it is called a .bnry file instead of .xml.
When importing these files into my .package I wrote in the Type number 0x5b02819e (for example) instead of using the drop-down arrow to choose _XMLblahblah. Then wrote in the Instance number from the EA file. When this is saved it shows as a UNKN file.
This is certainly the way Zerbu did his recent buffs mod which was uploaded yesterday. As far as I can tell, this procedure with using the unpackedmod folder can be scrapped.
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: 422956 in 1121 Posts
There were no S4PE updates recently, or did I miss something here?
Anyhow, if you got it to work I'll try again following your description -- maybe I can figure out what I missed. Perhaps it's simply the type -- yours is a different one to begin with.
Edit: I've also split the last bunch of posts off into a new thread, since they are about the format and not about the tool they are made with.
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: 3,552
Thanks: 55564 in 750 Posts
Yes it makes a difference, the way you have done it is simply WRONGEDY WRONG! Lol! I started with a new package in s4pe which is empty, and Import the files from up on the top menu. This is different than copying and pasting XML text into a placeholder resource, because s4pe has identified your file as XML, which the game apparently does not want to read from a .package. Even though my test mod is written in XML, yes, s4pe recognizes it as Unknown, not as an _XML resource. So right now I think this "bug" which SG ModSquad explained is about the game not recognizing the _XML resource Type as a valid type, or some problem here because they have used a gaxillion different Type numbers instead of only a few _XML types.
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: 422956 in 1121 Posts
Thanks for the explanation. (I did the C+Ping because s4PE refused to save my files at some point and threw unhandled exceptions and so on -- but yeah, it's still doing the latter but seems like one can just ignore that )
E: Still does not work for me. I imported the files directly from /unpackedmod (so they must be identical), removed that folder afterwards of course, package is recognised by the game, but the sims cannot choose the careers =/ . The naked files were working fine.
I looked at your WeirderWalkstylesDisabled and the Camera thing for comparison; mine have different types than those (0xE882D22F and 0x73996BEB) -- I dunno, maybe the game can deal with one but not the other?
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: 3,552
Thanks: 55564 in 750 Posts
I looked at one or two of your UNKN with the Hex view and they show the same as one of my testing files, the Header info is the same and the last few bytes are the same, so I say they are fine. Your mod works for me anyway.
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: 422956 in 1121 Posts
I'll test again then. Yeah I'm sure I had it in the right place, in Mods where all my other packages are (they all work fine -- default replacements and such). I could even subfolder if I wanted to (have edited the cfg, I just lack the Neatness trait =P). So that can't be the issue. Also, the game did recognise the package -- I looked at the EAxian "Mods" list to make sure.
I'm beginning to suspect that the game has some sort of cache maybe .. ? I know I have been confused before when I tried different versions of the same thing and it seemed to "suddenly" work upon the 2nd or 3rd restart .. that was always rather late at night though, so I attributed it to me not paying attention.
I'm going to try it a couple of times now, also with new games, maybe that makes a difference. Thanks for getting back!
Nope, no worky. Tried it four times now, with different sims and neighbourhoods .. there must be something about our setup that is different. Probably this is why EA haven't gotten this to work either.
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: 32112 in 20 Posts
Could this be the reason? Does it work when you add a unpackedmod folder and the line in the Resource.cfg even if you don't use it for the mod?
Posts: 11,006
Thanks: 422956 in 1121 Posts
Will get back! Thanks!
Edit: @velocitygrass @Shimrod101 @Zerbu -- Yes! That solves it. I have a completely empty unpackedmod folder and the package is working now. Zerbu, you might want to try this for your users as well? For the buff thing?
Shimrod, is this consistent with your setup? Can you make my/your mods stop working by removing that folder in case you have one?
* clicks the "super extremely uber helpful" button a few times *
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: 32112 in 20 Posts
Posts: 11,006
Thanks: 422956 in 1121 Posts
E: Also, I need both the empty folder and the "DirectoryFiles unpackedmod autoupdate" line in the .cfg -- the folder alone won't cut it.
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: 32112 in 20 Posts
Posts: 11,006
Thanks: 422956 in 1121 Posts
(This is a general rule, yes? That the "data part" is the UI stuff and the "XML part" the things that actually happen?)
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: 32112 in 20 Posts
So, I think one could say UI comes from data and simulation comes from either only xml or an xml/data combo (I haven't seen a case where server_binary was set without server_xml or client_binary). So an incorrect xml will screw with things happening while an incorrect data will screw with either UI or both UI/simulation.
Posts: 3,552
Thanks: 55564 in 750 Posts
I've been working on the 3 mods I have already released which use Data resources, all 3 of these have a complementary XML tuning. When I add in the XML to the .package (which has the exact same values to change as the DATA file) and install this, the game is immediately whacked out. What I'm wondering is if when I am changing the exact same value in both of these files, this is like modding the same thing twice, I should alter the value in one place but not the other.
This is simply a question, and it doesn't jive particularly well with SGModSquad's description of the tuning getting out of sync if the DATA tuning doesn't match the XML tuning. But I'm getting stuck now and don't find other ways to try doing things as far as these mods of mine which are already available. I might also mention that the No Censor Mosaic mod also has a complementary XML file which is not incuded in that mod.
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: 422956 in 1121 Posts
I have always had the unpackedmod folder in place, and the autoupdate line added to the resource.cfg file. |
Yeah I guess that explains why it was all working for you =)
When I add in the XML to the .package (which has the exact same values to change as the DATA file) and install this, the game is immediately whacked out. |
I don't understand that sentence -- what "this" do you install? Can you clarify?
Edit: I also released my career thing into the wild now .. I guess that'll be a stress test whether it really, really works this way.
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: 32112 in 20 Posts
I wonder if the client_binary only settings need to be removed in tuning overrides and are only okay in the combined tuning to act as some kind of fallback or because the combined tuning is the source of both the data and xml tuning, but as soon as you have real separate tuning xml files that includes client_binary only settings, the game will complain.
Locked thread | Locked by: plasticbox Reason: obsolete | |
Who Posted
|