Difference between revisions of "Mini Custom Icons for Accessories by SnowStorm"

From SimsWiki
Jump to: navigation, search
(Insert the new Icon into the correct 3DIR)
Line 94: Line 94:
  
  
* Select a 3idr file.  
+
* Select a '''3IDR''' file.  
* Click the Resource Tab.  
+
* Click the '''Resource''' Tab.  
* Copy the Group id.
+
* Copy the '''Group ID''.
  
 
[[Image:Groupvalue.jpg|right|400x400px]]<br style="clear:both" />
 
[[Image:Groupvalue.jpg|right|400x400px]]<br style="clear:both" />
Line 108: Line 108:
 
should see the group id change from '''0x00000000''' to your new group.
 
should see the group id change from '''0x00000000''' to your new group.
  
[[Image:Group-0x00000000.jpg|right|400x400px]] [[Image:New-group-id.jpg|right|400x400px]] <br style="clear:both" />
+
<gallery>
 +
Image:Group-0x00000000.jpg| Original Group ID
 +
Image:New-group-id.jpg|New Group ID
 +
</gallery>
 +
 
 +
 
 +
* '''SAVE'''
 +
 
 +
<br style="clear:both" />
 +
 
 +
* Repeat for the remaining mesh groups
 +
 
 +
 
 +
===Drag and Drop your image file into the 3D Referencing File Editor===
 +
 
 +
You need to modify the other 3IDR's (Binary Files) with the updated icon image.
 +
 
 +
* In the ''Resource Tree'' on the left, Select '''3D ID Referencing File (3IDR)'''.
 +
* In the Resoource List, select your first 3IDR file with the instance '''0x00000000'''
 +
* At the bottom, select the '''Plugin Tab'''.
 +
* Click the '''Package''' button
 +
* In the '''PackageSelectorForm''' popup window, Click on the '''jpg/tga/png Image...etc...''' file and '''Drag''' it to the '''3D ID Referencing File''' box and '''Drop''' it there.
 +
* Click '''Comit'''
 +
 
 +
[[Image:Drop-image.jpg|right|400x400px]] <br style="clear:both" />
 +
 
 +
 
 +
 
 +
* You will need to do this for each Instance in turn.
 +
 
 +
 
 +
 
 +
 
  
 
==Credit==
 
==Credit==

Revision as of 03:11, 10 March 2013

Tutorials by Category

Build Mode | Walls & Floors | Body Shop | Object Recolouring | Careers | Sims | Object Creation | BodyShop Meshing | Hacks and Game Mods

Tutorials by Level
Level 1 (Newbie) | Level 2 (Beginners) | Level 3 (Intermediate) | Level 4 (Advanced) | Level 5 (Numenorean)
Mini Custom Icons for Accessories by SnowStorm
Basegame.gif

Base Game
AuthorSnowStorm


Contents

Overview

This tutorial will show you how to add custom images into your accessory packages so they show up correctly in CAS and BodyShop.


What you will need

  • SimPe
  • Image editing software
  • Attention to detail


Mini Custom Icons for Accessories

I've taken the information from SnowStorm's original tutorial and wikified it to incorporate the changes since the psje tool came out. Since the original was a pdf. I captured new images.



How to Match the 3DIR to the correct XMOL files

Important: EA is inconsistent with it's numbering so directions like pick the 3rd down don't always apply. The 3DIR reference files are also for other parts that aren't used for the icons so you need to pay attention to which part you are modding. The surefire way to get the correct parts is to sort by instance values. That matches the 3DIR 3D Reference file with the XMOL Mesh Overlay parts. This example shows 3 Instance sets in a mesh cloned from the even more hip glasses, for Teen, Young Adult, Adult and Elder female. The YAE parts all use the same XMOL name which in this case is the glasses called afaccessorysunglassesevenmorehip...
Note: These numbers are from this example.  Yours may vary
  • Teen - instance = 1025 tfaccessorysunglassesevenmorehip...
  • Adult - instance = 2049 afaccessorysunglassesevenmorehip...
  • Adult - instance = 4097 afaccessorysunglassesevenmorehip...
  • Adult - instance = 16385 afaccessorysunglassesevenmorehip...

To insert the icons into the correct place, you need to know which 3DIR goes with which XMOL part. This is how you sort and match them.

  1. Open your recolor package in SimPe.
  2. In the Resource Tree section, click All Resources
  3. On the Resource List side, click the INSTANCE heading.
  4. By sorting the Instance values, you can match up the 3IDR (3 D referencing file)goes with the correct XMOL (Mesh Overlay file).
  5. It's a good idea to get a screencapture of the instance values now. Or, write them down, whichever is easier for you. In this example the values are in parenthesis, (1025), (2049), (4097), (16385)
Sort-instances.jpg

An alternate way to find the correct sets via Instances is to select the Mesh Overlay XML (XMOL)(4) on the Resource Tree side. Then on Resource Lst, you'll find all the Mesh Overlay files and their corresponding values under the instance tab

Instances-2.jpg

Now that your know how to find the matched group sets under the Instance column, on with the tutorial.

Make Your ICON

  1. Take screenshot of your new item in game, save as a JPG or a PNG.
  2. Crop and resize to 128x128
  3. Save it where you can find it.


Add your new ICON into the Package

  1. Open your recolor package in SimPE
  2. On the right side in the TYPE section, Right click anywhere and select Add
  3. Select All Files (*.*)
  4. Click on your image file
  5. Click Open
Add-image.jpg

Now tell SimPe what type of file it is.

  1. On the Resource Tree side, Select 0x00000128(UNK)(1) - This is the image you added.
  2. On the Resource List side, Select 0x00000128
  3. At the bottom, click the Resource tab
  4. Next to Type: click the drop down box and select jpg/tga/png Image - This sets the file type to a jpg/tga/png Image type. The Type will change from 0x00000128 to 0x856DDBAC
Type-jpgtgapng.jpg

Insert the new Icon into the correct 3DIR

NOTE: If you didn't get the correct Instances go to the top of this tutorial to find out how.


  • Select a 3IDR file.
  • Click the Resource Tab.
  • Copy the 'Group ID.
Groupvalue.jpg

  • Reselect jpg/tga/png Image (IMG) (1) on left.
  • Select jpg/tga/png Image on the right.
  • Select the Resource Tab.
  • Enter / Paste in the group id you had copied from the 3IDR.
  • Hit enter and tab to next field.
  • Verify group id was changed by hovering your cursor over the jpt/tga/png Image resource on the upper right. You

should see the group id change from 0x00000000 to your new group.


  • SAVE

  • Repeat for the remaining mesh groups


Drag and Drop your image file into the 3D Referencing File Editor

You need to modify the other 3IDR's (Binary Files) with the updated icon image.

  • In the Resource Tree on the left, Select 3D ID Referencing File (3IDR).
  • In the Resoource List, select your first 3IDR file with the instance 0x00000000
  • At the bottom, select the Plugin Tab.
  • Click the Package button
  • In the PackageSelectorForm popup window, Click on the jpg/tga/png Image...etc... file and Drag it to the 3D ID Referencing File box and Drop it there.
  • Click Comit
Drop-image.jpg


  • You will need to do this for each Instance in turn.



Credit

  • Originally written by SnowStorm
  • wikified and updated by porkypine

Related Links

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox