- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Tools >
- s4pi | Updated wrapper for OBJD (CatalogResource) -- preliminary version
- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Tools >
- s4pi | Updated wrapper for OBJD (CatalogResource) -- preliminary version
Replies: 7 (Who?), Viewed: 6011 times.
#1
19th Aug 2015 at 9:01 PM
Last edited by plasticbox : 19th Aug 2015 at 11:40 PM.
Posts: 11,006
Thanks: 423038 in 1121 Posts
s4pi | Updated wrapper for OBJD (CatalogResource) -- preliminary version
A small update in OBJD to make it read the EnvironmentScoreEmotionTags correctly and also updates the tag lists. This is preliminary for two reasons:-- it's mostly built upon Inge/Snaitf's code from here (plus three handlers that weren't yet included with that), and since I've always been using these wrappers I don't really know how different they are from the release
-- it does not have a fancy dropdown yet for the tags because I'm currently not sure what's the best way to include them (TS4 has this one gigantic tag list that is a little impractical to use when all one wants to do is select between a handful of them) -- if it's going to be changed I don't really want to change this five times .. so for now it simply gives you the correct decimal value of the tag in Grid view so that you can fill in the one you want.
Valid EnvironmentScoreEmotionTags are as follows:
317 -- Mood_Angry
318 -- Mood_Bored
319 -- Mood_Confident
320 -- Mood_Cranky
321 -- Mood_Depressed
322 -- Mood_Drunk
323 -- Mood_Embarrassed
324 -- Mood_Energized
325 -- Mood_Flirty
326 -- Mood_Focused
327 -- Mood_Tense
328 -- Mood_Happy
329 -- Mood_Imaginative
330 -- Mood_Uncomfortable
331 -- Mood_Fine
332 -- Mood_Playful
333 -- Mood_Sad
334 -- Mood_Sloshed
There is also 64 -- Mood_Optimism in that list but I don't think that is actually in use. This is from S4_03B33DDF_00000000_D89CB9186B79ACB7.xml, TagCategory.
Over here Esmeralda noted that
Quote:
if you download the wrapper plasticbox posted, you must specifically unzip it with 7zip and not the unzip feature that comes with Windows or any other unarchiver. Otherwise the OBJD resource will be unusable - it will have no preview and its Grid will be greyed out. |
@Esmeralda do you happen to know why this is? Was that a general word of caution or did you have that problem with this wrapper yourself? I'm just puzzled because I zip everything I upload here with 7zip and no-one seems to have had any issues so far .. I've always thought that this was an issue specifically with github, not with s4pe wrappers per se.
Thanks to Buzzler for helping with this!
Attached files:
s4pi.CatalogResource.dll.zip (61.8 KB, 39 downloads) - View custom content | ||
189952 2015-08-20 00:14 s4pi.CatalogResource.dll --------- ------- 189952 1 file |
||
CatalogResource_src.zip (82.8 KB, 24 downloads) - View custom content | ||
0 2015-08-20 00:22 CatalogResource_src/ 7528 2015-08-19 20:35 CatalogResource_src/48C28979CatalogResource.cs 4659 2015-08-19 20:40 CatalogResource_src/A8F7B517CatalogResource.cs 102268 2015-08-20 00:14 CatalogResource_src/CatalogCommon.cs 6344 2015-08-19 20:40 CatalogResource_src/CatalogResource.csproj 10464 2015-08-19 20:33 CatalogResource_src/CBLKResource.cs 19485 2015-08-19 20:33 CatalogResource_src/CCOLResource.cs 13161 2015-08-19 20:33 CatalogResource_src/CFENResource.cs 7667 2015-08-19 20:33 CatalogResource_src/CFLRResource.cs 7364 2015-08-19 20:33 CatalogResource_src/CFLTResource.cs 9127 2015-08-19 20:33 CatalogResource_src/CFNDResource.cs 8539 2015-08-19 20:33 CatalogResource_src/CFRZResource.cs 7409 2015-08-19 20:33 CatalogResource_src/CFTRResource.cs 15637 2015-08-19 21:16 CatalogResource_src/COBJResource.cs 0 2015-08-20 00:22 CatalogResource_src/Common/ 1286 2015-08-19 20:07 CatalogResource_src/Common/ArrayExtensions.cs 4123 2015-08-19 18:40 CatalogResource_src/Common/ColorList.cs 5258 2015-08-19 18:40 CatalogResource_src/Common/MATDList.cs 3029 2015-08-19 18:40 CatalogResource_src/Common/MODLEntryList.cs 3657 2015-08-19 20:12 CatalogResource_src/Common/ObjectExtensions.cs 695 2015-08-19 20:18 CatalogResource_src/Common/ReferenceEqualityComparer.cs 5367 2015-08-19 18:40 CatalogResource_src/Common/ThumbnailList.cs 7408 2015-08-19 20:33 CatalogResource_src/CPLTResource.cs 6494 2015-08-19 20:33 CatalogResource_src/CRALResource.cs 7051 2015-08-19 20:33 CatalogResource_src/CRPTResource.cs 7760 2015-08-19 20:33 CatalogResource_src/CRTRResource.cs 8509 2015-08-19 20:33 CatalogResource_src/CSPNResource.cs 10283 2015-08-19 20:33 CatalogResource_src/CSTLResource.cs 15342 2015-08-19 20:33 CatalogResource_src/CSTRResource.cs 6593 2015-08-19 20:33 CatalogResource_src/CTPTResource.cs 17630 2015-08-19 20:33 CatalogResource_src/CWALResource.cs 3917 2015-04-26 23:20 CatalogResource_src/IJ_S4CatalogResource.csproj 0 2015-08-20 00:22 CatalogResource_src/obj/ 17627 2015-08-19 20:40 CatalogResource_src/ObjectCatalogResource.cs 22550 2015-08-19 18:50 CatalogResource_src/ObjectDefinitionResource.cs 0 2015-08-20 00:22 CatalogResource_src/Properties/ 2916 2015-08-19 18:40 CatalogResource_src/Properties/AssemblyInfo.cs 152 2015-08-20 00:14 CatalogResource_src/Properties/AssemblyVersion.cs 5797 2015-08-19 20:33 CatalogResource_src/RoofStyleResource.cs 8278 2015-08-19 20:33 CatalogResource_src/STRMResource.cs --------- ------- 391374 40 files |
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.
Advertisement
#2
19th Aug 2015 at 10:29 PM
Posts: 11,682
Thanks: 9680 in 11 Posts
I think the unzipping problem usually happens with multiple files which depend on *each other* like a .exe with its dlls. (Eg tools like s4pe complete) If you've just got .packages or just one or two dlls that don't depend on *each other* you're probably ok however you unzip.
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
#3
19th Aug 2015 at 10:33 PM
Last edited by plasticbox : 19th Aug 2015 at 11:25 PM.
Posts: 11,006
Thanks: 423038 in 1121 Posts
Ah thank you! Also, I just made a separate thread about the enum tag list stuff =) I realised I forgot to check and update the list(s?) you have in CatalogCommon >.< .. -- updated
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.
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.
#4
19th Aug 2015 at 10:54 PM
Posts: 4,161
Thanks: 70052 in 93 Posts
Quote: Originally posted by plasticbox
Esmeralda do you happen to know why this is? Was that a general word of caution or did you have that problem with this wrapper yourself? I'm just puzzled because I zip everything I upload here with 7zip and no-one seems to have had any issues so far .. I've always thought that this was an issue specifically with github, not with s4pe wrappers per se. |
I had the problem with that wrapper (the Grid for the OBJD was greyed out and the OBJD had a blank preview when I at first unzipped it with the built-in Windows Explorer-based unzip, but then when I unzipped it with 7zip it worked fine) and with everything else s4pe-related I've ever downloaded (including s4pe itself). There have been quite a few threads here mentioning the same type of problems, ever since s4pe came out.
I remember reading someone saying what the problem was (code getting corrupted if unzipping with anything other than 7Zip) way back in the early days of s4pe but can't remember who said it. It's all very strange, but it seems that as long as you use 7zip to unzip the s4pe stuff, it works fine.
(Like yourself, I zip everything I upload here with 7zip and nobody has any trouble unzipping those items. I've only seen this problem happen with s4pe-related stuff.)
#5
19th Aug 2015 at 11:30 PM
Posts: 11,006
Thanks: 423038 in 1121 Posts
Okay, I now brought the list of catalogue tags up to date (using the XML from 1.10). As far as I've tested (which was not very far) it's all working fine now, showing proper labels for everything. However there are some discrepancies between the previous version and this, such as
vs
and I didn't have any MetalSwimPinks or Insect Ingredients (ewww) at hand to check whether this is working properly now. However seeing as the release version apparently has no tags at all this should be an improvement at any rate.
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.
Quote: Originally posted by Old
Func_Turtle = 1241, Ensemble_SwimMetalPink = 1242, Ensemble_SwimBandeauCoral = 1243, Ensemble_SwimHalterRed = 1244, |
vs
Quote: Originally posted by New
Func_Turtle = 1241, Func_Ingredient_Insect = 1242, Func_Ingredient_Mushroom = 1243, Region_Residential = 1244, Region_Camping = 1245, Func_Grill_Recipe = 1247, Func_PicnicTable = 1248, Func_IceChest = 1249, Ensemble_SwimMetalPink = 1250, Ensemble_SwimBandeauCoral = 1251, Ensemble_SwimHalterRed = 1252, |
and I didn't have any MetalSwimPinks or Insect Ingredients (ewww) at hand to check whether this is working properly now. However seeing as the release version apparently has no tags at all this should be an improvement at any rate.
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.
#6
20th Aug 2015 at 2:54 AM
Posts: 2,671
Thanks: 62738 in 190 Posts
#8
20th Aug 2015 at 5:04 AM
Posts: 2,671
Thanks: 62738 in 190 Posts
Quote: Originally posted by simalary44
Really? S4PE wouldn't even run if I used WinRAR. I had to download 7zip just for S4PE. |
Huh, weird. Maybe because I have an older version (4.11) of WinRAR, and it's been a while since I updated it? Or maybe as I have a registered copy? Or maybe it's just one of those "Your mileage may vary" things? I sure hope it's not behaving differently for trial vs. registered users. Oh well, glad it works for me at least!
Who Posted
|