Merola64
6th Nov 2004, 12:24 PM
Maybe someone has already written an explanation, but I haven't seen any, and I said that I should write how, so here it comes
This shouldn't be harmful in any way, but I am not responsible for anything that may happen.
This is not exactly the way I created my two paintings, but I would have done it this way if I had the information and tools I have today.
Needed:
• SimPE (If any mentioned feature is missing, try downloading the latest version, which is 0.09i when I am writing this.)
• Objects.package (Default location C:\Program Files\EA Games\The Sims 2\TSData\Res\Objects\)
• List of all objects (OBJD sections) in Objects.package (Either use the one at SimPE's homepage (http://sims.ambertation.de/files/Sims2Lists.rar) or go here.)
• Hex editor of your choice (Not required, but speeds this up.)
How to do it:
1. Decide which object you want to clone.
2. Look up it's Group ID in your OBJD list. For example, the painting used as a base for my Energizer Painting is listed in the following way (SimPE's OBJD list), where 0x7FDEB39C is the Group ID:
"Painting - Poster - Invert: Object Data (OBJD, 0x4F424A44); 0x00000000; 0x7FDEB39C; 0x000041A7; 0x0082;"
3. Open Objects.package in SimPE.
4. Fill in the Group ID of the desired object in "Group Filter" (at the top).
5. "File > Extract all..." It is best to extract it to a new folder, in a place where you can find it easily later.
6. "File > Open..." Go to the folder where you have extracted.
7. Select "Package Description" as file format. Select the "package.xml" file, and open. Remember the number of files (it says "Packed Files(##)" at the top).
8. Click on "Object Data" in the "Filetypes" list.
9. Click on the top/only file on the right.
10. Click on the tab "Plugin View".
11. Change the GUID in the GUID box. It has to be a unique number. If you are going to share the object, please use a Magic Cookie (get one here) to prevent conflicting ID's.
12. Press commit. (Bottom right corner.)
13. If there are multiple OBJD files, select the next one and repeat step 11 to 13.
14. "File > Save as..." You can then close SimPE.
15. Open the file you just saved in your hex editor (or alternatively in SimPE).
16. Search the file for the old Group ID (you have to "reverse it" when searching - instead of "A1B2C3D4" it is "D4C3B2A1"), and replace all instances with "FFFFFFFF". The number of replacements should be equal to the number of files in your package, otherwise something is wrong. (If using SimPE do this instead: Click on the tab "Packed File". Select the top file. Change the Group box (not Group Filter box) to "FFFFFFFF". Click on "Commit". Select the next file and repeat until there are no more files.)
17. Save the file. You can then close the hex editor (or SimPE). If you want to, you can delete all extracted files.
You have now cloned your object. You will not learn how to change it in SimPE by reading this tutorial though.
This shouldn't be harmful in any way, but I am not responsible for anything that may happen.
This is not exactly the way I created my two paintings, but I would have done it this way if I had the information and tools I have today.
Needed:
• SimPE (If any mentioned feature is missing, try downloading the latest version, which is 0.09i when I am writing this.)
• Objects.package (Default location C:\Program Files\EA Games\The Sims 2\TSData\Res\Objects\)
• List of all objects (OBJD sections) in Objects.package (Either use the one at SimPE's homepage (http://sims.ambertation.de/files/Sims2Lists.rar) or go here.)
• Hex editor of your choice (Not required, but speeds this up.)
How to do it:
1. Decide which object you want to clone.
2. Look up it's Group ID in your OBJD list. For example, the painting used as a base for my Energizer Painting is listed in the following way (SimPE's OBJD list), where 0x7FDEB39C is the Group ID:
"Painting - Poster - Invert: Object Data (OBJD, 0x4F424A44); 0x00000000; 0x7FDEB39C; 0x000041A7; 0x0082;"
3. Open Objects.package in SimPE.
4. Fill in the Group ID of the desired object in "Group Filter" (at the top).
5. "File > Extract all..." It is best to extract it to a new folder, in a place where you can find it easily later.
6. "File > Open..." Go to the folder where you have extracted.
7. Select "Package Description" as file format. Select the "package.xml" file, and open. Remember the number of files (it says "Packed Files(##)" at the top).
8. Click on "Object Data" in the "Filetypes" list.
9. Click on the top/only file on the right.
10. Click on the tab "Plugin View".
11. Change the GUID in the GUID box. It has to be a unique number. If you are going to share the object, please use a Magic Cookie (get one here) to prevent conflicting ID's.
12. Press commit. (Bottom right corner.)
13. If there are multiple OBJD files, select the next one and repeat step 11 to 13.
14. "File > Save as..." You can then close SimPE.
15. Open the file you just saved in your hex editor (or alternatively in SimPE).
16. Search the file for the old Group ID (you have to "reverse it" when searching - instead of "A1B2C3D4" it is "D4C3B2A1"), and replace all instances with "FFFFFFFF". The number of replacements should be equal to the number of files in your package, otherwise something is wrong. (If using SimPE do this instead: Click on the tab "Packed File". Select the top file. Change the Group box (not Group Filter box) to "FFFFFFFF". Click on "Commit". Select the next file and repeat until there are no more files.)
17. Save the file. You can then close the hex editor (or SimPE). If you want to, you can delete all extracted files.
You have now cloned your object. You will not learn how to change it in SimPE by reading this tutorial though.