Lord Darcy
26th May 2008, 02:54 PM
=================================================================
How to update custom fridges and computers to enable latest EP functions
=================================================================
Each EP adds new functions to many existing objects. The most notable examples are computers and fridges. Computers are updated by virtually every EP to include new EP-specific functions. Fridges were updated first by OFB (Make/Make Many), then by Seasons (Get Leftovers/Stock), and again by FreeTime (Serve Platter).
However, most of custom objects are cloned from base game objects, either because they were made before EPs came out, or because the creator chose to retain base game compatibility.
Sometimes we can get lucky and can enjoy all new EP-specific functions without losing reverse compatibility, like doors or wardrobes. But more often than not, we can't have both.
Some creators update their creations whenever new features are introduced by each EP, offering separate versions for each EP. But the majority of custom objects remain outdated. So we are left with gorgeous custom fridges that Sims can't take out leftovers from, or stylish custom TVs that Sims can't watch movies on or tinker with.
I have been providing "Updater Packages" of various types of custom objects for FreeTime in this MATY thread (http://www.moreawesomethanyou.com/smf/index.php/topic,11264.msg317089.html#msg317089). (Similar thread for Apartment Life (http://www.moreawesomethanyou.com/smf/index.php/topic,13002.msg370726.html#msg370726)) Go read it if you have some experience in SimPE. This tutorial may be too long-winded for you, as it was written with people in mind who have no previous experience in SimPE, with more detailed step-by-step instruction and plenty of screenshots.
In this tutorial, I'll explain how to update custom fridges and computers to the latest EP (currently FreeTime), as they are in the highest demand for update. Basically, the same method can be applied to most of other objects as well.
You can get required "Updater Packages" for other kinds of objects in the above MATY thread.
[How to Update Custom Fridges]
For this tutorial, I'll use this fridge from 4ESF (http://www.4eversimfantasy.net/kitchen7.htm).
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763955_LdDarcy_Tute_UpdateFridge_Original.jpg
You can see that this fridge has only base game functions.
1. Get "Updater Package" for Fridges
Download attached FreeTime "Updater Package" for fridges and extract to convenient folder.
:new: There are 2 versions of updater packages. Pick only one of them.
:here: Fridge_UpdatedResources_FT_20080425.rar: Fridges updated with this version will make the game crash while being loaded in pre-Pets EPs. It can only be used for Pets or later EPs. This version is for end-users who wish to update their downloaded fridges only for personal use.
:here: Fridge_UpdatedResources_FT_BaseGameCompatible.rar: This version is for object creators who wish to update their fridges to FreeTime without losing base game compatibility.
Note that it was originally made for fridges cloned from base game. For fridges cloned from later EPs, you also have to change all BHAVs to 0x8007 format (http://www.moreawesomethanyou.com/smf/index.php/topic,11989.0.html), and fix the version bit in OBJD to 139 (decimal) (http://www.moreawesomethanyou.com/smf/index.php/topic,12542.0.html).
You can see 4 subfolders in the Windows Explorer.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763957_LdDarcy_Tute_UpdateFridge_01.jpg
(Sorry for unrecognizable characters in the pic. As I use Korean version of Windoze, I couldn't help it. But the important bits are all in English so rest assured. :))
2. Opening your custom fridge in SimPE
Back up your custom fridge first, in case you mess up something.
Open the custom fridge you want to update in SimPE.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763958_LdDarcy_Tute_UpdateFridge_02.jpg
You can use File - Open In - Downloads if you want to open the custom fridge directly from your Downloads folder.
3. Finding the right type of resources to add or edit
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763959_LdDarcy_Tute_UpdateFridge_03.jpg
The left top window is Resource Tree, and the right top window is Resource List.
(If you can't find those 2 windows in your SimPE, reset the layout in Extra - Preferences - SimPE Settings - reset Layout.)
Take a look at Resource Tree window on the left.
Resources are grouped by various Types. Each Type has 4-lettered acronym at the end of name, e.g. BCON for Behaviour Constant or TTAB for Pie Menu Functions. You need to look for the same acronyms as subfolder names you've extracted at Step 1.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763960_LdDarcy_Tute_UpdateFridge_04.jpg
4. Adding a new Behaviour Function (BHAV)
Select Behaviour Function (BHAV) in the Resource Tree window. Fridges cloned from base game have only 3 BHAVs. The rest of resources will be filtered out of Resource List window, leaving only 3 BHAVs visible.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763962_LdDarcy_Tute_UpdateFridge_05.jpg
In the Resource List window, press Instance tab once to sort resources by Instance number. Don't be confused with Instance (high).
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763963_LdDarcy_Tute_UpdateFridge_06.jpg
Back to Windows Explorer. Open BHAV folder. You'll find 2 files, one with .simpe and the other with .xml extension.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763964_LdDarcy_Tute_UpdateFridge_07.jpg
Take a look at the filename of .simpe file.
42484156-00000000-FFFFFFFF-00001002.simpe
The bold part indicates Instance number. In SimPE's Resource List window, see if you can find the matching BHAV with the same Instance number of 0x00001002. You'll find none.
It means that new BHAV was added to fridges by one of later EPs. You must add it to your custom fridge to make it fully functioning.
Right-click on blank space of Resource List window and select Add.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763965_LdDarcy_Tute_UpdateFridge_08.jpg
Go to BHAV folder and select .xml file.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763966_LdDarcy_Tute_UpdateFridge_09.jpg
A new BHAV with the Instance number of 0x00001002 will appear in Italic. Save.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763967_LdDarcy_Tute_UpdateFridge_10.jpg
:here: If you CAN find an existing BHAV with the same Instance number of 0x00001002, it means that your custom fridge was cloned from one of EPs. Instead of adding a new BHAV, you must replace existing BHAV.
Right-click on 0x00001002 BHAV and select Replace, go to BHAV folder and select the file with .simpe extension.
:here: In case you're updating other types of objects, and there are multiple resources in the subfolder, you have to repeat it to every resource.
5. Replacing Pie Menu Functions (TTAB)
Pie Menu of an object is made up of Pie Menu Functions (TTAB) and Pie Menu Strings (TTAs). They are updated almost always whenever new functions are added to objects by EPs.
(There are exceptions, but I won't discuss them right now.)
Without updating Pie Menus, new functions will not come up when you're clicking on objects.
Select Pie Menu Functions (TTAB) in Resource Tree window. Most objects have only one TTAB resource, so there is little room for confusion. Select TreeTable in Resource List window.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763968_LdDarcy_Tute_UpdateFridge_11.jpg
Look at Plugin View window. As you can see, none of EP functions (Make/Make Many, Get Leftovers etc.) are present.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763969_LdDarcy_Tute_UpdateFridge_12.jpg
Right-click on TreeTable in Resource List window and select Replace.
This time, there is no need to find correct resource with the same Instance number, as there is only one TTAB resource for fridges.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763970_LdDarcy_Tute_UpdateFridge_13.jpg
Go to TTAB folder and select the file with .simpe extension. A confirmation dialog box (Resource Changed) will pop up. Select Yes.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763971_LdDarcy_Tute_UpdateFridge_14.jpg
New unknown (UNK) lines will appear in Plugin View. Save.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763972_LdDarcy_Tute_UpdateFridge_15.jpg
6. Replacing Pie Menu Strings (TTAs)
By now you must have got some hang of it - missing resources must be added, while existing resources must be replaced.
Like TTAB, fridges have only one TTAs. Select Pie Menu Strings (TTAs) in Resource Tree window, and select [Pie Menu Strings] in Resource List window. Right-click on it and select Replace. Go to TTAs folder and select the file with .simpe extension. Yes to dialog box.
Pie menu strings for EP features will appear at the bottom of the list. Save.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763973_LdDarcy_Tute_UpdateFridge_16.jpg
7. Replacing Text Lists (STR#)
Back to Windows Explorer. Go to STR folder. Note the Instance number in the filename.
53545223-00000000-FFFFFFFF-00000100.simpe
You know the drill. Back to SimPE, select Text Lists (STR#) in Resource Tree window.
Find the correct resource to replace by the Instance number. (In this case, Attributes)
Right-click on Attributes and select Replace. Go to STR folder and select the file with .simpe extension. Yes to dialog box. Save.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763974_LdDarcy_Tute_UpdateFridge_17.jpg
Congratulations, you're done!
Now all functions up to FreeTime are enabled for this lovely fridge.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763956_LdDarcy_Tute_UpdateFridge_Updated.jpg
Whenever new EP adds new features to existing objects, "Updater Package" must be remade. If you want to know how to make "Updater Package", this post (http://www.moreawesomethanyou.com/smf/index.php/topic,11264.msg320229.html#msg320229) will be of help.
-------------------------------------------------------------------------
Please move this post to the appropriate forum if it's not the right place to post something like this.
How to update custom fridges and computers to enable latest EP functions
=================================================================
Each EP adds new functions to many existing objects. The most notable examples are computers and fridges. Computers are updated by virtually every EP to include new EP-specific functions. Fridges were updated first by OFB (Make/Make Many), then by Seasons (Get Leftovers/Stock), and again by FreeTime (Serve Platter).
However, most of custom objects are cloned from base game objects, either because they were made before EPs came out, or because the creator chose to retain base game compatibility.
Sometimes we can get lucky and can enjoy all new EP-specific functions without losing reverse compatibility, like doors or wardrobes. But more often than not, we can't have both.
Some creators update their creations whenever new features are introduced by each EP, offering separate versions for each EP. But the majority of custom objects remain outdated. So we are left with gorgeous custom fridges that Sims can't take out leftovers from, or stylish custom TVs that Sims can't watch movies on or tinker with.
I have been providing "Updater Packages" of various types of custom objects for FreeTime in this MATY thread (http://www.moreawesomethanyou.com/smf/index.php/topic,11264.msg317089.html#msg317089). (Similar thread for Apartment Life (http://www.moreawesomethanyou.com/smf/index.php/topic,13002.msg370726.html#msg370726)) Go read it if you have some experience in SimPE. This tutorial may be too long-winded for you, as it was written with people in mind who have no previous experience in SimPE, with more detailed step-by-step instruction and plenty of screenshots.
In this tutorial, I'll explain how to update custom fridges and computers to the latest EP (currently FreeTime), as they are in the highest demand for update. Basically, the same method can be applied to most of other objects as well.
You can get required "Updater Packages" for other kinds of objects in the above MATY thread.
[How to Update Custom Fridges]
For this tutorial, I'll use this fridge from 4ESF (http://www.4eversimfantasy.net/kitchen7.htm).
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763955_LdDarcy_Tute_UpdateFridge_Original.jpg
You can see that this fridge has only base game functions.
1. Get "Updater Package" for Fridges
Download attached FreeTime "Updater Package" for fridges and extract to convenient folder.
:new: There are 2 versions of updater packages. Pick only one of them.
:here: Fridge_UpdatedResources_FT_20080425.rar: Fridges updated with this version will make the game crash while being loaded in pre-Pets EPs. It can only be used for Pets or later EPs. This version is for end-users who wish to update their downloaded fridges only for personal use.
:here: Fridge_UpdatedResources_FT_BaseGameCompatible.rar: This version is for object creators who wish to update their fridges to FreeTime without losing base game compatibility.
Note that it was originally made for fridges cloned from base game. For fridges cloned from later EPs, you also have to change all BHAVs to 0x8007 format (http://www.moreawesomethanyou.com/smf/index.php/topic,11989.0.html), and fix the version bit in OBJD to 139 (decimal) (http://www.moreawesomethanyou.com/smf/index.php/topic,12542.0.html).
You can see 4 subfolders in the Windows Explorer.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763957_LdDarcy_Tute_UpdateFridge_01.jpg
(Sorry for unrecognizable characters in the pic. As I use Korean version of Windoze, I couldn't help it. But the important bits are all in English so rest assured. :))
2. Opening your custom fridge in SimPE
Back up your custom fridge first, in case you mess up something.
Open the custom fridge you want to update in SimPE.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763958_LdDarcy_Tute_UpdateFridge_02.jpg
You can use File - Open In - Downloads if you want to open the custom fridge directly from your Downloads folder.
3. Finding the right type of resources to add or edit
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763959_LdDarcy_Tute_UpdateFridge_03.jpg
The left top window is Resource Tree, and the right top window is Resource List.
(If you can't find those 2 windows in your SimPE, reset the layout in Extra - Preferences - SimPE Settings - reset Layout.)
Take a look at Resource Tree window on the left.
Resources are grouped by various Types. Each Type has 4-lettered acronym at the end of name, e.g. BCON for Behaviour Constant or TTAB for Pie Menu Functions. You need to look for the same acronyms as subfolder names you've extracted at Step 1.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763960_LdDarcy_Tute_UpdateFridge_04.jpg
4. Adding a new Behaviour Function (BHAV)
Select Behaviour Function (BHAV) in the Resource Tree window. Fridges cloned from base game have only 3 BHAVs. The rest of resources will be filtered out of Resource List window, leaving only 3 BHAVs visible.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763962_LdDarcy_Tute_UpdateFridge_05.jpg
In the Resource List window, press Instance tab once to sort resources by Instance number. Don't be confused with Instance (high).
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763963_LdDarcy_Tute_UpdateFridge_06.jpg
Back to Windows Explorer. Open BHAV folder. You'll find 2 files, one with .simpe and the other with .xml extension.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763964_LdDarcy_Tute_UpdateFridge_07.jpg
Take a look at the filename of .simpe file.
42484156-00000000-FFFFFFFF-00001002.simpe
The bold part indicates Instance number. In SimPE's Resource List window, see if you can find the matching BHAV with the same Instance number of 0x00001002. You'll find none.
It means that new BHAV was added to fridges by one of later EPs. You must add it to your custom fridge to make it fully functioning.
Right-click on blank space of Resource List window and select Add.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763965_LdDarcy_Tute_UpdateFridge_08.jpg
Go to BHAV folder and select .xml file.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763966_LdDarcy_Tute_UpdateFridge_09.jpg
A new BHAV with the Instance number of 0x00001002 will appear in Italic. Save.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763967_LdDarcy_Tute_UpdateFridge_10.jpg
:here: If you CAN find an existing BHAV with the same Instance number of 0x00001002, it means that your custom fridge was cloned from one of EPs. Instead of adding a new BHAV, you must replace existing BHAV.
Right-click on 0x00001002 BHAV and select Replace, go to BHAV folder and select the file with .simpe extension.
:here: In case you're updating other types of objects, and there are multiple resources in the subfolder, you have to repeat it to every resource.
5. Replacing Pie Menu Functions (TTAB)
Pie Menu of an object is made up of Pie Menu Functions (TTAB) and Pie Menu Strings (TTAs). They are updated almost always whenever new functions are added to objects by EPs.
(There are exceptions, but I won't discuss them right now.)
Without updating Pie Menus, new functions will not come up when you're clicking on objects.
Select Pie Menu Functions (TTAB) in Resource Tree window. Most objects have only one TTAB resource, so there is little room for confusion. Select TreeTable in Resource List window.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763968_LdDarcy_Tute_UpdateFridge_11.jpg
Look at Plugin View window. As you can see, none of EP functions (Make/Make Many, Get Leftovers etc.) are present.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763969_LdDarcy_Tute_UpdateFridge_12.jpg
Right-click on TreeTable in Resource List window and select Replace.
This time, there is no need to find correct resource with the same Instance number, as there is only one TTAB resource for fridges.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763970_LdDarcy_Tute_UpdateFridge_13.jpg
Go to TTAB folder and select the file with .simpe extension. A confirmation dialog box (Resource Changed) will pop up. Select Yes.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763971_LdDarcy_Tute_UpdateFridge_14.jpg
New unknown (UNK) lines will appear in Plugin View. Save.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763972_LdDarcy_Tute_UpdateFridge_15.jpg
6. Replacing Pie Menu Strings (TTAs)
By now you must have got some hang of it - missing resources must be added, while existing resources must be replaced.
Like TTAB, fridges have only one TTAs. Select Pie Menu Strings (TTAs) in Resource Tree window, and select [Pie Menu Strings] in Resource List window. Right-click on it and select Replace. Go to TTAs folder and select the file with .simpe extension. Yes to dialog box.
Pie menu strings for EP features will appear at the bottom of the list. Save.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763973_LdDarcy_Tute_UpdateFridge_16.jpg
7. Replacing Text Lists (STR#)
Back to Windows Explorer. Go to STR folder. Note the Instance number in the filename.
53545223-00000000-FFFFFFFF-00000100.simpe
You know the drill. Back to SimPE, select Text Lists (STR#) in Resource Tree window.
Find the correct resource to replace by the Instance number. (In this case, Attributes)
Right-click on Attributes and select Replace. Go to STR folder and select the file with .simpe extension. Yes to dialog box. Save.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763974_LdDarcy_Tute_UpdateFridge_17.jpg
Congratulations, you're done!
Now all functions up to FreeTime are enabled for this lovely fridge.
http://thumbs2.modthesims2.com/img/1/5/9/8/6/9/MTS2_Lord_Darcy_763956_LdDarcy_Tute_UpdateFridge_Updated.jpg
Whenever new EP adds new features to existing objects, "Updater Package" must be remade. If you want to know how to make "Updater Package", this post (http://www.moreawesomethanyou.com/smf/index.php/topic,11264.msg320229.html#msg320229) will be of help.
-------------------------------------------------------------------------
Please move this post to the appropriate forum if it's not the right place to post something like this.