More Awesome Than You!

TS3/TSM: The Pudding => Pudding Factory => Topic started by: Anach on 2011 January 21, 02:56:47



Title: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Anach on 2011 January 21, 02:56:47
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 purchasable

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 (http://www.mediafire.com/?2lhv7xu87lnr0)
Download S3SR (http://awtmk.blogspot.com/2010/11/s3sr.html)


Credits:
aWT - for creating s3sr
Peter/Inge Jones - for s3pi
Sims MX - recategorizer.



Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 (s3sr tool)
Post by: Anach on 2011 January 22, 07:33:57
S3SR Scripts
Over the past few months I have been working with aWT (http://awtmk.blogspot.com/) (markjs (http://www.moreawesomethanyou.com/smf/index.php?action=profile;u=61234)) to create a tool for quickly editing of OBJD/CASP files via script, with the intention of allowing modders to make batch changes to the Build/Buy/CAS object categories (such as Sims MX's Recategorizer (http://linna.modthesims.info/download.php?t=382062) or Moryrie's Store Stuff Made Shiftable (http://www.moreawesomethanyou.com/smf/index.php/topic,19716.0.html)), without the need for modders to upload their own OBJD/CASP .packaage files. The trouble with using someone else's 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 (http://awtmk.blogspot.com/2010/11/s3sr.html) (s3sr) uses the s3pi library (s3pe (http://sourceforge.net/projects/sims3tools/)) and will export and modify the user's own objects from their game install and merge the changes to a fresh named .package file, regardless of version, or whether their items are decrapified. In doing so, this should prevent any mismatched versions in the user's override directory and help with game stability. S3SR is available for download via aWT's blog (http://awtmk.blogspot.com/2010/11/s3sr.html). 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. More options are being added as the tool evolves. 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.


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: rednotdead on 2011 January 22, 18:16:16
Just a quick question.  I installed the script editor then ran the two files.  In my mod folder now I have Anach_BUY_Fixes  package file which is 20kb but I dont have a Anach_CAS_Fixes_Store package.  Is this correct i.e. the files both merged into 1 package file?
Also noticed that since I ran s3sr Overwatch no longer functions and when I click on the Town Hall all I get is 'no interaction available'.


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Anach on 2011 January 23, 03:36:30
Just a quick question.  I installed the script editor then ran the two files.  In my mod folder now I have Anach_BUY_Fixes  package file which is 20kb but I dont have a Anach_CAS_Fixes_Store package.  Is this correct i.e. the files both merged into 1 package file?
Also noticed that since I ran s3sr Overwatch no longer functions and when I click on the Town Hall all I get is 'no interaction available'.

s3sr doesn't alter your game in anyway. There is no possible way it will change overwatch or anything to do with script mods or any other mods. It only creates the new package files, neither of which will alter anything to do with overwatch. Clear your cache files, check with delphy's dashboard. As for the CAS_Fxies package, you may have to grab the latest s3sr, there was a last minute fix for CAS files as it wasn't reading them correctly.


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Anach on 2011 June 09, 14:50:58
Sounds like it's having trouble writing the file.  What is your output package path set to and have you extracted the script from the zip before trying to run it?

FYI. I plan on releasing a major update to this script in the coming week. It's just taking me longer than expected to get everything together.


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Inge on 2011 June 15, 17:46:00
So what does one download to get the buyable food truck and foodtruck space?   Mine stopped working with Generations, or so I am told.


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Anach on 2011 June 15, 17:51:10
Download s3sr from awt's blog. Run s3sr once to setup paths. Then double click the buy mode script in my package. It will take the OBJDs from your game folder, modify it and save to a new package. The script can be easily edited in notepad if you don't want the other changes. Place the new package into your overrides folder.


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Inge on 2011 June 15, 18:07:20
Oh...  Well I was really just looking for a working buyable food truck to send my users to, as mine broke with generations (or so I am told - I rarely play any more so I have no idea)


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Anach on 2011 June 15, 18:53:28
Oh...  Well I was really just looking for a working buyable food truck to send my users to, as mine broke with generations (or so I am told - I rarely play any more so I have no idea)

You could upload your edit of my script and point people to the tool. Then you wont need to worry about future updates or game version differences.


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Inge on 2011 June 15, 19:24:22
They're not that sort of people really.  :)


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Anach on 2011 June 15, 19:50:33
They're not that sort of people really.  :)

Which is why they are in this predicament. :)


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Anach on 2011 July 07, 16:13:33
As requested here are the reward objects for buy/debug. Just copy this to notepad, save as an .s3sr file, then double click the new file to run it (after you have downloaded and run the s3sr program at least once).

Code:
[BASE]
{BodySculptor}
OBJD Instance:0x0000000000000EA3 RoomCategoryFlags:0x00000000 FunctionCategoryFlags:0x40000000 FunctionSubCategoryFlags:0x0000080400000000 RoomSubCategoryFlags:0x0000000000000000

{FoodReplicator}
OBJD Instance:0x0000000000000E98 RoomCategoryFlags:0x00000400 FunctionCategoryFlags:0x40000000 FunctionSubCategoryFlags:0x0000080400000000 RoomSubCategoryFlags:0x0000000000000000

{Teleporter}
OBJD Instance:0x0000000000000E95 RoomCategoryFlags:0x00000000 FunctionCategoryFlags:0x40000000 FunctionSubCategoryFlags:0x0000080400000000 RoomSubCategoryFlags:0x0000000000000000

{CollectionHelper}
OBJD Instance:0x0000000000000EEE RoomCategoryFlags:0x00000000 FunctionCategoryFlags:0x40000000 FunctionSubCategoryFlags:0x0000000400000000 RoomSubCategoryFlags:0x0000000000000000

{MoodletManager}
OBJD Instance:0x0000000000000E96 RoomCategoryFlags:0x00000000 FunctionCategoryFlags:0x40000000 FunctionSubCategoryFlags:0x0000080400000000 RoomSubCategoryFlags:0x0000000000000000


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: graccichen on 2011 July 08, 06:02:22
I'm trying to fix ClassicTallUggBoots_byAniaOrazova (currently enabled for everything) using s3sr - so far I have:

[STORE]
{ClassicTallUggBoots_byAniaOrazova}
CASP Instance:0x04E067D2269962FF ClothingCategory: ?

I'm stuck at ClothingCategory. How do you find the right Clothing Category, for example (Everyday, Sleepwear) for shoes?


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Anach on 2011 July 08, 07:57:16
I'm trying to fix ClassicTallUggBoots_byAniaOrazova (currently enabled for everything) using s3sr - so far I have:

[STORE]
{ClassicTallUggBoots_byAniaOrazova}
CASP Instance:0x04E067D2269962FF ClothingCategory: ?

I'm stuck at ClothingCategory. How do you find the right Clothing Category, for example (Everyday, Sleepwear) for shoes?

Ok, for the codes for the categories. Open up the extracted package in s3pe. Make your desired changes to the category using the GRID button, then in the right-hand pane you will see ClothingCategory and the value you need, which in my case is 0x00200008. Mine is enabled for sleepwear and valid for random. Your script would then look as below.

Code:
[STORE]
{ClassicTallUggBoots_byAniaOrazova}
CASP Instance:0x04E067D2269962FF ClothingCategory:0x00200008







Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: simsmx on 2011 July 10, 13:30:31
As requested here are the reward objects for buy/debug. Just copy this to notepad, save as an .s3sr file, then double click the new file to run it (after you have downloaded and run the s3sr program at least once).

The Collection Helper is missing "BuildBuyProductStatusFlags:0x61", otherwise it won't show up in the catalog. Here's the script you should run. I've included the fox sculpture (Criminal career reward).

Code:
{CollectionHelper}
OBJD Instance:0x0000000000000EEE BuildBuyProductStatusFlags:0x61 MovementFlags:0x00000000 RoomCategoryFlags:0x00000000 FunctionCategoryFlags:0x40000000 FunctionSubCategoryFlags:0x0000000400000000 RoomSubCategoryFlags:0x0000000000000000

{TheFox}
OBJD Instance:0x0000000000000EE9 BuildBuyProductStatusFlags:0x61 MovementFlags:0x00000000 RoomCategoryFlags:0x00000000 FunctionCategoryFlags:0x40000000 FunctionSubCategoryFlags:0x0000000400000000 RoomSubCategoryFlags:0x0000000000000000


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: graccichen on 2011 July 14, 04:19:34
Baa Anach, this method is very useful, and I don't even have modding experience. I tried to fix the Modern Minimalist clock that thought it was a gate, as well as making it shiftable. It seems to be working:

[STORE]
{ClockWallModMin}
OBJD Instance:0x00000000000F45D5 ObjectTypeFlags:0x00000040 WallPlacementFlags:0x002C002

So far I've been fixing items by extracting them to packages from the original sims3pack and then reading them in s3pe. If I wanted to recategorize something from the base game or an EP or SP, where would I find it?


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Anach on 2011 July 14, 04:25:46
Baa Anach, this method is very useful, and I don't even have modding experience. I tried to fix the Modern Minimalist clock that thought it was a gate, as well as making it shiftable. It seems to be working:

[STORE]
{ClockWallModMin}
OBJD Instance:0x00000000000F45D5 ObjectTypeFlags:0x00000040 WallPlacementFlags:0x002C002

So far I've been fixing items by extracting them to packages from the original sims3pack and then reading them in s3pe. If I wanted to recategorize something from the base game or an EP or SP, where would I find it?

The base/EP/SP stuff is located in the relevant GameData\Shared folder of your installation folder.





Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Indiasong on 2011 July 30, 16:38:13
When I click on the file, I have a message s3sr has stopped working.
I set all the paths before, output in the override folder. Anything I can do?


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Anach on 2011 July 30, 18:03:19
When I click on the file, I have a message s3sr has stopped working.
I set all the paths before, output in the override folder. Anything I can do?

Make sure you have the latest s3sr.

Are you running your own script or my script?


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Indiasong on 2011 July 31, 17:25:56
I have downloaded the latest, and I am clicking on your scripts.


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Anach on 2011 July 31, 18:15:43
I have downloaded the latest, and I am clicking on your scripts.
There's nothing obvious I can think of that would cause that. Check the s3sr directory for a log file.


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Indiasong on 2011 August 01, 19:31:43
Can't find any. And I have deleted the buy debug and fridge files, but I can't use the buy all because it conflicts with faster reading mods.


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: midge on 2011 October 19, 20:23:49
willl you be updating for pets as the cas does not work, I would be most grateful if you did, thank you.


Title: Re: Anach's Sims 3 Catalogue Fixes 0.5 - 21 Janurary 2011 [s3sr - script]
Post by: Anach on 2011 October 20, 02:38:21
Soon as I get pets I will look into it.