More Awesome Than You!
Welcome, Guest. Please login or register.
2024 November 21, 19:37:53

Login with username, password and session length
Search:     Advanced search
540287 Posts in 18067 Topics by 6545 Members
Latest Member: cincinancy
* Home Help Search Login Register
+  More Awesome Than You!
|-+  TS3/TSM: The Pudding
| |-+  Pudding Factory
| | |-+  Fix for missing WA terrain paints.
0 Members and 1 Chinese Bot are viewing this topic. « previous next »
Pages: [1] THANKS THIS IS GREAT Print
Author Topic: Fix for missing WA terrain paints.  (Read 13420 times)
Goggalor
Corpulent Cretin
*
Posts: 128


View Profile
Fix for missing WA terrain paints.
« on: 2010 July 15, 10:41:42 »
THANKS THIS IS GREAT

Here's a fix for the missing WA terrain paints. There are two options.

The first is to just download the WATerrainPaintFix.package file. This will make the paint visible for any new started world. Won't work for any world saved after the latest patches, since saving with missing textures gets rid of the data.
This is not a very good option if you have lots or worlds you want to share, since it requires the one who installs it to have the fix as well.  (ETA clarification: this only applies to the lots/worlds that are affected by the missing textures, all other lots/worlds can be shared as usual without the fix.)

The other option, unfortunately, requires hex editing.
 
Short explanation for people who already knows how to do this. For all lots there is a REFS resource (type: 0x05ED1226 group: 0x00000000) that among other things contain references to the terrain paint textures. For all WA paints, the group must be changed from 0x00000000 to 0x08000000.
I've attached a text file with the relevant instance numbers.

Long explanation:
First, you need s3pe, XVI32(hex editor), and the attached replacing script (WATextureReplacer.rar).
Extract XVI32 to a folder somewhere. Extract the script.

1. Open up s3pe and go to settings/external programs (img1). click "Use external hex editor" and browse to XVI32.exe. Make sure to check "Needs quotes around filename" (img2).

img1


img2


2. Now, browse to the world or lot file you want to edit. If you have a world you want to edit it should be in documents\electronic arts\the sims 3\installed worlds. If you saved the lot to bin it can be found in documents\electronic arts\the sims 3\library. If you have a CAW project the lots are stored separately in  usertooldata\worlds\name of your world\lots. Either apply the following steps to all lot files or identify the ones you want to edit by their ICON resource.
Before you actually start to edit anything, BACKUP your files. Seriously.

3. Open the file with s3pe. Find the resources with type 0x05ED1226 and group 0x00000000. If it's a single lot there will just be one, if it's a world there will be many. Select it and click the "Hex Editor" button(img3). Now XVI32 should open. Go to XVI script/editor(img4) and click open in the new window. Browse to the WATextureReplacer.xsc that you saved earlier and open it(img5). Click "Execute" (img6). You should get the message "Script executed succesfully!"

img3


img4


img5


img6



4. Close the XVI32 window and click "yes" when it asks if you want to save (img7). If it didn't ask there were no WA paints on that lot. Click "yes" again to commit changes(img8). Now save and close if it's a single lot, or continue with the next REFS resource if you're editing a world until you've changed all of them, then save and close.

img7


img8


The terrain paints should now be restored.
Note that just like the other fix this only works if the lots/world were saved before the paint went missing.

I will upload the changed REFS for the WA worlds later so that you can just import them in s3pe with no need for the hex editor.


* WATerrainPaintFix.package (16.52 KB - downloaded 656 times.)
* WATerrainPaintTGINumbers.txt (4.48 KB - downloaded 493 times.)
* WATextureReplacer.rar (0.6 KB - downloaded 417 times.)
« Last Edit: 2010 July 15, 11:08:29 by Goggalor » Logged
ElectricSimmer
Garrulous Gimp
**
Posts: 317


View Profile
Re: Fix for missing WA terrain paints.
« Reply #1 on: 2010 July 17, 10:37:47 »
THANKS THIS IS GREAT

yes! yes yes yes!

Thanks for this!
Logged
Rothchild
Blathering Buffoon
*
Posts: 80



View Profile
Re: Fix for missing WA terrain paints.
« Reply #2 on: 2010 July 19, 17:27:40 »
THANKS THIS IS GREAT

I went through and edited the WA worlds, loaded up a new game and could see the textures perfectly.  Unfortunately, I can't see the textures in saved games where I've already traveled to that location.  I opened the saved location (China_0x0859db4c.nhd) with s3pe and ran WATextureReplacer on the mentioned resources, but none of them had any changes.  Any clue how to fix saved games?
Logged
Goggalor
Corpulent Cretin
*
Posts: 128


View Profile
Re: Fix for missing WA terrain paints.
« Reply #3 on: 2010 July 20, 09:09:03 »
THANKS THIS IS GREAT

Is it a game that you haven't played or saved since patching? The references to non-existing textures disappears when you do. You can always save lots to bin from a fresh world and plop them down in your saved game with the downside of tombs being reset.
Logged
ElectricSimmer
Garrulous Gimp
**
Posts: 317


View Profile
Re: Fix for missing WA terrain paints.
« Reply #4 on: 2010 November 01, 09:12:34 »
THANKS THIS IS GREAT

This was not fixed in the latest patch so it is still necessary for Destination textures to show up.
Logged
Freezerburn
Dimwitted Dunce
*
Posts: 176


I haet F-ly retarded snowflaek


View Profile
Re: Fix for missing WA terrain paints.
« Reply #5 on: 2010 December 04, 03:46:43 »
THANKS THIS IS GREAT

If EA eventually fix this without I'm noticing about it, will it be a conflict with this mod?
Logged


ISTJ                       
Imma Ee Ass Elle
Don't Abuse The Search Box!
Argon
Juvenile Jackass
**
Posts: 456


What Would Brian Kinney Do?


View Profile WWW
Re: Fix for missing WA terrain paints.
« Reply #6 on: 2012 August 16, 08:14:56 »
THANKS THIS IS GREAT

I will upload the changed REFS for the WA worlds later so that you can just import them in s3pe with no need for the hex editor.

Necro-posting since the files never appeared...

ellacharm3d's routing fixes + terrain paint fixed REFS (.world files)
http://www.mediafire.com/file/v4jz38z7t0v85ba/China.7z
http://www.mediafire.com/file/gmxf71xncb93w9q/Egypt.7z
http://www.mediafire.com/file/c1hy1kx0r565m5g/France.7z

REFS only (import with s3pe):
http://www.mediafire.com/file/mwfgjsist3auaul/WA_World_fixed_REFS.7z
Logged

Desktop: Intel Core 2 Duo 3.0 GHz, 3GB RAM, Nvidia Ge-Force GTS 450 1GB, Sound Blaster X-Fi Titanium, WSXGA+ (1680x1050), Windows 7 Pro x64

Laptop: Sony VAIO VPCYB15KX, AMD Dual-Core E-350 1.60 GHz, 4GB RAM, AMD Radeon HD 6310, WXGA (1366x768), Windows 7 Pro x86
Goggalor
Corpulent Cretin
*
Posts: 128


View Profile
Re: Fix for missing WA terrain paints.
« Reply #7 on: 2012 August 16, 14:29:46 »
THANKS THIS IS GREAT

Oops! Thanks Argon.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.08 seconds with 19 queries.