Cloned Painting

13
Creation Of Cloned Paintings using s3pe, s3oc and Photoshop a tutorial by Xanathon http://xanathon.rumschlauen.de http://www.modthesims.info/member.php?u=9069

description

To cloned a painting

Transcript of Cloned Painting

Page 1: Cloned Painting

Creation Of Cloned Paintingsusing s3pe, s3oc and Photoshop

a tutorial by

Xanathonhttp://xanathon.rumschlauen.de

http://www.modthesims.info/member.php?u=9069

Page 2: Cloned Painting

Creation Of Cloned Paintings

This tutorial shows you how to clone a painting and how to replace the original picture with yourown.

Important: Modding of Sims 3 is in a very early stage and the software used is highlyexperimental. Because of that I want to point out explicitly that the way to do this may change.Further you should be absolutely clear about the fact that custom created objects may take thegame into an incoherent state which may lead to it no longer being playable. To try this is yourchoice, but you do this on your own responsibility.

Even if the approach shown here is not really complex (main action is to just change onepackages-resource), a beginner may be overwhelmed. You will need basic knowledge aboutcomputers, Windows and graphic editing.

We need:

● Sims 3 installed● Sims 3 Object Cloner (s3oc) by Peter Jones, plus ViewDDS● Sims 3 Package Editor Demo (s3pe) by Peter Jones● A graphic editing software, for example Photoshop, paint.NET or Paint Shop Pro (it has to

be able to handle alphalayers); this tutorial works with Photoshop. You will need DDS-plugins for your software of choice to import and export DDS-files.

● The Nvidia DDS-Utilities, to handle DDS-Files

What this tutorial will tell you:

● how to clone an object● how to change a texture● how to change the thumbnails● how to change the catalog-strings

What this tutorial will not tell you:

● Basic handling of Windows● usage of a graphic editing software● what side is up on a mouse● the meaning of life

The Start: Clone The Object

We start s3oc via double click.

First we have to tell s3oc in which folder Sims 3 ist installed. You do this via the menu entry„Settings → Sims 3 Installation Folder“. Navigate to the installation folder in the file requester thatappears.

Page 3: Cloned Painting

Now you enter your creators nick under „Settings → Creator“. This is important, since the nick istused for the generation of unique iobject Ids.

After that you start the cloning via the menu entry „File → New (Clone)“

s3oc starts to list the object it knows, if you marks the menu entry „View → Show Thumbnails“,thumbnails will be loaded and shown, but that may take a while.

We will clone a painting for this tutorial – a poster to be precise – so scroll down until you see theentry „PaintingGoth“ and mark it with a left klick.

Next we start the cloning process with a click on „start“ down right. S3pe now will „pull“ someresources which may take some time. We are made aware of that fact with a hint on the left.

Page 4: Cloned Painting

After that you dsave your new package with the „Save“-button.

I would recommend now to create a working folder for the new object where we will gather allneeded files and resources. This way you have all things at one place and will not loose track. Callthe folder as you wish.

We can close s3oc for now.

Page 5: Cloned Painting

Processing The Package In s3pe

In this step we will substitute the texture.

Start s3pe and open the package you just saved in s3oc.

Mark the chackboxes for „Display: Names“ and „Tags“ so you can better see what resouces youhave in the package. Now the resource names and tags are shown in the resource list. This ofcourse is way more descriptive than the hexadecimal values.

Interlude: You need to copy the DDS-Viewer into the folder „c:\program files“ so it works.You can use another folder but then you have to change the path in the file „handler.txt“ inthe installation directory of s3pe. If you want to use another viewer you can also enter thepath to that viewer here.

In the resource list you see some entries with the tag _IMG. These are different textures of theposter, for example the shadow texture (dropShadow_object_a_0x937c71e144222c2c) and thetextures for a „burned“ state (objects_burnt_0xa4d80fb45ae9066b). But we are not interested inthose and we are also not interested in paintingGoth_s_0x15ef49aa7d8bca95.

The texture we are looking for is in paintingGoth_o_0x15ef49aa7d8bca89. We can ascertain thatif we mark the resource and click the „Viewer“-Button. A window opens that shows ... nothing.This happens because the alphachannel is active and shown. Remove the checkmark at „Alpha“and the texture will be shown.

Page 6: Cloned Painting

If you want to change another painting or poster you probably have to search for the correcttexture-resource, but you will always find it in an _IMG-resource.

If you do see nothing in the DDS-Viewer window, the cause may be that the texture you choosedoes not even have an alphachannel.

Page 7: Cloned Painting

If you remove the „Alpha“-checkmark, the texture will be shown.

Now that we know the correct texture, we mark it and click „File → Export“ in the menu. Save the

DDS- to your workfolder.

Page 8: Cloned Painting

Interlude: Some details about DDS-files. There are two variants of DDS-files, thos whohave an alphachannel and those who don't. If an alphachannel exists then usually parts ofthe painting can be changed in the game, for example color options for the frame. If thereis no alphachannel then there are not recolorable part, for example in a poster (whichtraditionally has nor frame).

Close s3pe now.

Next: Photoshop (Or The Image-Editor Of Your Choice)

Open the DDS-file you just exported in Photoshop using the import-option „Load using defaultsizes“.

We now see a graphic that has the actual poster in the upper area and some additional partsbelow that. You have to only change the upper part of the texture, since the lower ones are usedfor shading and stuff that does not interest us at the moment. Draw a selection marquee aroundthe poster texture to get it's dimensions. You have to scale and crop your picture to exact thisdimensions to include it here (in this case 255x345 pixels).

Page 9: Cloned Painting

When you have changed your image into the needed dimensions, just replace the old texture withyour new one. Do nothing with the other parts of the texture!

After you did that you choose „flatten image“ in your layer window (via context menu that openswhen you right click over the layer window). This is important. If you skip this step you will not beable to export the texture as a DDS.

After that you choose „File → Save As“ in the

Photoshop-menu and overwrite your existingDDS-file. Thsi is important, since the numbers andsigns of the filename will be used as parameterswhen reimporting the texture into s3pe. ChooseDDS as export format. Since we have noalphachannels you can use DXT1. If you havealphachannels in your painting you would have touse DXT3 or DXT5

Page 10: Cloned Painting

That's it in Photoshop (or the graphic editor of your choice).

Import the changed graphic file

Open s3pe again and load your cloned package-file. Again mark the _IMG-resource you want toreplace and choose „File → Import“ in the menu.

Because of the filename some parameters are adopted into the fields of the import dialogue. Keepeverything as it is and click OK.

Page 11: Cloned Painting

The texture you changed is now in the package. Save it with a new filename (that way you haveaccess to an earlier version if something goes wrong)

That's it again in s3pe, so close it.

Finishing The Package in s3oc

Open the package again in s3oc, but this time use the menu entry „File →

Open (Fix)“.

Right in the overview you can now change some things.

Click „Replace“ besides the thumbnail to replace the original preview with the PNG-file you createdearlier.

Page 12: Cloned Painting

Change the „Catalog Name“ und „Catalog Description“ to your liking and set the checkmark for„Copy English to all languages“. That way your new english catalog strings are copied to alllanguages. If you would not do that the old descriptions would still be present in the otherlanguages.

If you want, change the „Price“.

After that click on „Start“ and enter a unique (!) identification for the object.

Smart would be for example to use the creators nick and your name for the object separated byan underscore, in my example „xanathon_PaintingPaladins“. After you confirm the new name with„OK“ the changed you just made will be written into the package and then you save it with „Save“.

Your new poster is finished.

Page 13: Cloned Painting

Closing And Credits

If you have problems or questions please ask them in the thread on MTS where you found thistutorial. Please be patient if I am not able to answer immediately.

Thanks to Peter L. Jones, the creator of s3pe and s3oc. (http://www.simlogical.com/Sims3ToolsForum/).Also thanks to WintermuteAI1 (http://www.sims3tinkers.com) who pointed out an error withsaving of files.And of course Delphy of ModTheSims (http://www.modthesims.info)

This tutorial may only be hosted at ModTheSims, please do not offer it at your site without mypermission. In no case whatsoever may this tutorial be hosted or offered on paysites.

Please excuse my grammar – english is not my native language. :o)