S3SR Scripts
Over the past few months I have been working with aWT (markjs) to create a tool for quickly editing of OBJD/CASP files via script, with the intention of allowing modders to make changes to the Build/Buy/CAS object categories (such as Sims MX's Recategorizer or Moryrie's Store Stuff Made Shiftable), without the need for modders to upload their own OBJD/CASP .packaage files. The trouble with using someone elses modded OBJD/CASP files is it can lead to game crashes, lockups , duplicates, conflicts, and version mismatches from game patches or decrapified content.
The Sims 3 Scripter (s3sr) uses the s3pi library (s3pe) and will export and modify the users own objects from their game install and merge the changes to a fresh .package file regardless of version, or whether their items are decrapified. In doing so, this should prevent any mismatched versions in the users override directory and help with game stability. S3SR is available for download via aWT's blog. You will need to run the s3sr.exe once before running any script, to allow it to grab your installation paths and enable correct processing of the scripts.
As it stands now, various mods can make use of this tool for altering such things as clothing categories, object categories, prices, wallplacement flags (up/down movement), enabling hidden objects, and much more. The benefits are that the s3sr scripts are easily editable by anyone, only change what is necessary, only include the necessary files, export existing OBJD/CASP files directly from the users own package/dbc files, and best of all the mod doesn't need updating after every patch, as the user can simply run the script again to apply changes to new patch version.
Anach's Catalogue Fixes 0.5
Consider this an early release for testing purposes with the intention of making s3sr more commonly known and provide an example base script for other modders to build upon.
Originally this mod was intended to accompany Sims MX's recategorizer mod, and as it stands now, this mod will make a few changes to object and clothing categories of various Sims 3 items similar to the recategorizer in an attempt to fix a few of EA's slack jawed attempts at categorisation. In fact I have been also working on converting the Recategorizer to s3sr script format, but lack of time between myself and Sims MX as well as the sheer amount of entries that need to be added, has meant it is not quite ready for release.
There are two scripts provided ( One for Clothing and one for Buy mode). After configuring s3sr, all you need do is double-click the script, which will then create a freshly merged .package of any changes made with the same file name as the script. Drop the new .package into your mods folder and you are good to go.
Note: If your Store stuff has been extracted to your mods directory instead of being installed via launcher, be sure to set the "Alternate directory path" within s3sr, so the store items can be found. Also you will need to place the new script created .package into an override folder with a high priority than your store packages.
Changes -
Buy:
foodTruckFootprint - LN Food truck parking space purchasable
carTruckFood - LN Food Truck purchasable
carCelebGift - LN Celeb reward car purchasable
tvWallCelebGift2x1 - Celeb TV reward purchasable
electricGuitar - HELS Guitar purchasable for community lots
AmyTestObject - WA Test object available in Debug
RefrigeratorDrawerReward - Opportunity Reward fridge purchasbale
Clothing:
ShoesPirate - Pirate boots removed from swimwear
ShoesBeachFlippers - Flippers only in swimwear and no longer valid for random.
afBodyWeddBridesmaid - Bridesmaid dress only in formal wear
afBodyWeddBridesmaidTackyBow Bridesmaid dress only in formal wear
afBodyWeddBridesmaidTackyFlower Bridesmaid dress only in formal wear
Download my Mod
Download S3SR
Credits:
aWK - for creating s3sr
Peter/Inge Jones - for s3pi
Sims MX - recategorizer.
Sims 3 Catalogue Fixes
Use of undefined constants causes assumptions!