Difference between revisions of "Tutorials:STF Conversion Tute Step 13"

From SimsWiki
Jump to: navigation, search
(Created page with 'Step 7: Time to rebuild your mesh with the new parts. Open Wes's S3 Object Mesh Tool V1.01 1: We changed the original images to 512 x 512. The material resource files need to …')
 
Line 1: Line 1:
Step 7:
+
==Adjust image size in MLOD/MODL==
 +
<br clear="all" \>
 +
[[File:width-height.jpg|thumb|alt=Alt text|width height]]
 +
It's time to rebuild your mesh with the new parts. Open Wes's '''S3 Object Mesh Tool V1.01'''
  
Time to rebuild your mesh with the new parts. Open Wes's S3 Object Mesh Tool V1.01
+
'''Overview:''' We changed the original images to '''512 x 512'''. The material resource files need to be changed to the correct size before you recompile. You will need to edit the '''.mtlsrc''' of the blocks that are responsible for your texture ''(block 13 and 14 in the MLOD-00000 and block 8 and 9 in the MODL-00001)''. To find them use ObjTool and select Model Info. Using WIndows Notepad,  Edit those blocks. Find the two lines that list '''MaskWidth''' and '''MaskHeight'''. Change these to whatever your new image size is.  
  
1: We changed the original images to 512 x 512. The material resource files need to be changed to the correct size before you recompile. You will need to edit the .mtlsrc of the blocks that are responsible for your texture (block 13 and 14 in the MLOD-00000 and block 8 and 9 in the MODL-00001). To find them use ObjTool and select Model Info. Using WIndows NOtepad,  Edit those blocks. find the two lines that list MaskWidth and MaskHeight. Change these to whatever your new image size is.
+
'''Mask Width/Height Values: '''
 +
* '''00000080''' is ''128''
 +
* '''00000100''' is ''256''
 +
* '''00000200''' is ''512''
 +
* '''00000400''' is ''1024''
  
  Mask Width/Height Values:
+
You will be changing the blocks ''width'' and ''height'' to ''512'' for this project.
  
  •00000080 is 128
+
'''Note:''' There are only 8 (hex) characters in the masks so when changing the hex value
  •00000100 is 256
+
* 00000'''080''' make it
  •00000200 is 512
+
* 00000'''200''', not
  •00000400 is 1024
+
* 00000'''020'''[[font:red|0]]
  
YOu will be changing the blocks width and height to 512 for this project.
+
# Using Notepad, navigate to your '''MLOD-00000''' folder,
 
+
# Stretch the column out so you can see the full file names
a: Using Notepad, navigate to your MLOD-00000 folder,
+
# Select '''All Files''' so you can see the '''.mtlsrc''' files
b: Stretch the column out so you can see the full file names
+
# Select the '''*MLOD_block13.mtlsrc''' file first and ''Open'' it.
c: Select All Files
+
# Change the '''mask width and height to 200'''  
D: Select the *MLOD_block13.mtlsrc file first and OPen it.
+
# Save and fix the *MLOD_block14.mtlsrc and save it.
e: Change the mask width and height to 200 (width-height.jpg)
+
# Navigate to the '''MODL-00001''' folder and open the '''*MODL_block08.mtlsrc''' and the '''*MODL_block09.mtlsrc''' and fix the '''mask width and height''' there also.
  Note: There are only 8 (hex) characters in the masks so when changing 00000080 make it 00000200, not 000000200
+
f: Save and fix the *MLOD_block14.mtlsrc and save it.
+
G: Navigate to the MODL-00001 folder and open the *MODL_block08.mtlsrc and the *MODL_block09.mtlsrc and fix the mask width and height there also.
+

Revision as of 00:52, 14 February 2011

Adjust image size in MLOD/MODL


Alt text
width height

It's time to rebuild your mesh with the new parts. Open Wes's S3 Object Mesh Tool V1.01

Overview: We changed the original images to 512 x 512. The material resource files need to be changed to the correct size before you recompile. You will need to edit the .mtlsrc of the blocks that are responsible for your texture (block 13 and 14 in the MLOD-00000 and block 8 and 9 in the MODL-00001). To find them use ObjTool and select Model Info. Using WIndows Notepad, Edit those blocks. Find the two lines that list MaskWidth and MaskHeight. Change these to whatever your new image size is.

Mask Width/Height Values:

  • 00000080 is 128
  • 00000100 is 256
  • 00000200 is 512
  • 00000400 is 1024

You will be changing the blocks width and height to 512 for this project.

Note: There are only 8 (hex) characters in the masks so when changing the hex value

  • 00000080 make it
  • 00000200, not
  • 000000200
  1. Using Notepad, navigate to your MLOD-00000 folder,
  2. Stretch the column out so you can see the full file names
  3. Select All Files so you can see the .mtlsrc files
  4. Select the *MLOD_block13.mtlsrc file first and Open it.
  5. Change the mask width and height to 200
  6. Save and fix the *MLOD_block14.mtlsrc and save it.
  7. Navigate to the MODL-00001 folder and open the *MODL_block08.mtlsrc and the *MODL_block09.mtlsrc and fix the mask width and height there also.
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox