Welcome to Mod The Sims.
Have an account? Sign in:
User Name:  
Password:  
If you don't have an account, why not
sign up now? It's free!
Other sites: · Yearbook
Sims2 Bump Map Tester

Reply
Old 6th Feb 2005, 08:14 PM DefaultSims2 Bump Map Tester # 1
semloh
Original Poster

Lab Assistant


Join Date: Oct 2004
Posts: 81
Thanks: 1778 in 7 Posts


To help people check if their system is displaying bump maps correctly in Sims2 I have created this simple outfit that will tell you what is going on.

Download the 'BumpMapTest.zip' file below and extract the package from the zip into your 'My Documents\EA Games\The Sims 2\Downloads' folder. Then load up Bodyshop or CAS.

Create an adult male sim and select the new custom underwear called 'Bump Map tester'.

..... If your sim looks like screenshot 'A', you are out of luck. You will need to either review your 'Graphics Rules.sgr' file or look for some new hardware (possibly both !!) as your system is not displaying bump maps in Sims2

..... If your sim looks like screenshot 'B', rejoice! You can see all the graphical splendour that Sims2 can throw at you!


*************************************

Help on enabling Bump Mapping by changing 'Graphics Rules.sgr'

A number of you may have been a bit confused about how to make changes to the 'Graphic Rules.sgr' file to enable bump mapping. So here are some simplified instructions (credits to tolkov who originally documented these settings at MTS2)....

Before you start I would strongly recommend you read the instructions carefully and make backup copies of the two files you will be changing - you may need to revert back to them.

1.) Open file 'Graphic Rules.sgr' using Windows Notepad from your 'The Sims 2\TSData\Res\Config' folder. This is normally found in your 'Program files' folder unless you made changes when you installed Sims2.

2.) In notepad select 'Edit | Find...' from the menu.

3.) In the 'Find what?' box type (without the quotes) "useshaders"

4.) You should now see the following lines at the bottom of your notepad window...


# disable shaders by default for NV3x generation, only enable for high end cards
if ($maxVertexProgramVersionHWMajor = 2)
boolProp useShaders false

5.) Change the line that reads 'boolProp useShaders false' to say 'boolProp useShaders true'

6.) Bring up the 'Find' window again (if you closed it) and this time type (without quotes) "vertexdata"

7.) You should now see the following lines at the bottom of your notepad window...


# since we don't do bumpmapping on less ps2.0-capable hardware, eliminate tangents
# from the vertex data
# also, the presence of per-vertex tangents in the vertex data stream causes
# "exploded" polygons on the Radeon 9000, even if the data is ignored by the shader
if ($maxPixelProgramVersionMajor < 2)
boolProp skipTangentsInVertexData true

8.) Change the line that reads 'boolProp skipTangentsInVertexData true' to say 'boolProp skipTangentsInVertexData false'

9.) Select 'File | Save' from the menu and close notepad.


These changes should enable bump mapping in the Sims2 game itself (for all capable video cards) but there is a separate file for Bodyshop in the 'CSConfig' folder rather than the 'config' folder....


a.) Open file 'Graphic Rules.sgr' using Windows Notepad from your 'The Sims 2\TSData\Res\CSConfig' folder. This is normally found in your 'Program files' folder unless you made changes when you installed Sims2.

b.) Follow steps 2 through 9 above


Now try the bump map test outfit to see if bump mapping is working.


Note that these changes should force Sims2/Bodyshop to attempt bump mapping on most types of video card, including ones that haven't a hope of doing it!!!

If your card cannot support bump mapping you might get an error when you try to load Sims2 or Bodyshop that says...

"the system could not find a DirectX9.0 supported graphics card and the application will close"

(Thanks to Bucks Glover for discovering this). If this happens to you then you will need to repeat the steps above and reverse out the changes (or restore the backups you made beforehand - you did create a backup didn't you? LOL).

I have tried this technique myself to enable bump mapping on an nVidia GeForce FX5200 and it worked fine. Please post your results in this thread to help others.
Screenshots
Click image for larger version

Name:  BumptestA.jpg
Views: 808
Size:  21.4 KB   Click image for larger version

Name:  BumptestB.jpg
Views: 1257
Size:  22.9 KB  
Download - please read all instructions before downloading any files!
Downloads are not available to guests. Please login.

Telin le thaed. Lasto beth nīn.
Last edited by semloh : 7th Feb 2005 at 02:01 AM.
Reply With Quote
Old 6th Feb 2005, 09:39 PM # 2
Bucks Glover
Test Subject

Join Date: Sep 2004
Posts: 8


You're a star. Thanks for all your effort in helping with this issue.

Just downloaded the test and tried it. Geforce4 MX 440SE, does not show the message on the vest. I've been unable to make it work using the Graphic Rules either. When I include the above card in the Graphics Rule and started Sims2, I got an error message saying the system could not find a DirectX9.0 supported graphics card and the application will close. Maybe some clever soul can work out how to fool the system into believing the card is DirectX supported.

I would urge others to try this test and post your results.That way we can build up a picture of which cards work and those that don't.
Reply With Quote
Old 6th Feb 2005, 11:04 PM # 3
semloh
Original Poster

Lab Assistant


Join Date: Oct 2004
Posts: 81
Thanks: 1778 in 7 Posts


Pretty much what I expected. Shame though :weep:

Thanks for posting your results.

Telin le thaed. Lasto beth nīn.
Reply With Quote
Old 6th Feb 2005, 11:11 PM # 4
LyricLee
Alchemist


Join Date: Nov 2004
Posts: 2,467
Thanks: 337 in 8 Posts

View My Journal


semloh youre just amazing. going to test now.
Reply With Quote
Old 6th Feb 2005, 11:17 PM # 5
Darkmoon
Field Researcher

Join Date: Nov 2004
Posts: 249


I haven't tested it yet...as I'm currently busy with SC4.
But I will let you know how the test works out on my laptop, as soon as I get to it.
Reply With Quote
Old 1st Jan 1970, 12:00 AM # 6
Guest

Posts: n/a


Reply With Quote
Old 6th Feb 2005, 11:19 PM # 7
Zaster
Test Subject


Join Date: Oct 2004
Posts: 26
Thanks: 108 in 1 Posts


Mine is working! woot! I have a GeForce FX 5959 Ultra, so it better. lol
Reply With Quote
Old 6th Feb 2005, 11:47 PM # 8
semloh
Original Poster

Lab Assistant


Join Date: Oct 2004
Posts: 81
Thanks: 1778 in 7 Posts


Quote:
Originally Posted by simster
I noticed that on the backside there is little detail. Is that just on my machine?


Just the light angles I think. It should be more apparent if you rotate the sim.

Telin le thaed. Lasto beth nīn.
Reply With Quote
Old 6th Feb 2005, 11:49 PM # 9
psyckotic
Field Researcher


Join Date: Jan 2005
Posts: 218
Thanks: 2595 in 14 Posts


I have a radeon 9500 pro it works and rocks...

With this stuff, we can do tits more bumpy ??? :bump:
Reply With Quote
Old 6th Feb 2005, 11:53 PM # 10
mcmikey
Test Subject


Join Date: Oct 2004
Posts: 27
Thanks: 89 in 2 Posts


ATI Saphire Radeon 9600 Atlantis / 256Mb

Bump Mappimg shows up fine!

I am not a number, I am a free man
Reply With Quote
Old 7th Feb 2005, 12:55 AM # 11
DumBblOndE
Lab Assistant


Join Date: Dec 2004
Posts: 107
Thanks: 1346 in 4 Posts


Now I can use software.. but I really am dumb once it comes to hardware.. so can someone tell me what this means??.. Why cant I see the bump??

Graphics Engine NVIDIA GeForce 6800 Ultra
Memory DDR3/256MB
Memory Bus 256-bit
Core Clock 400 MHz
Memory Clock 550 MHz
Form Factor 2-slot
Bus Interface AGP 8X
Pixel Pipelines 16
Memory Bandwidth 35.2 GB/sec
Fill Rate 6.4 billion texels/sec.
Vertices per Second 600 Million
Memory Data Rate 1100 MHz
Pixels per Clock (peak) 16
Textures per Pixel 16 (max. in single pass)
400MHz RAMDACs
0.13 Micron Process Technology
CineFX 3.0 Engine
Unified Driver Architecture (UDA)
Intellisample 3.0 Technology HCT
High-Precision Graphics
nView Multi-display Technology
Digital Vibrance Control (DVC) 3.0
Architected for Cg
Microsoft® DirectX®9.0c Optimizations and Support
OpenGL®1.5 Optimizations and Support
On-board DVI support up to 1600x1200 resolution
Vivid NTSC/PAL TV-out support with flicker filter

No bump.. im sad..

ps i changed the settings as in tutorial.. but no go for me? :weep:
Last edited by DumBblOndE : 7th Feb 2005 at 01:02 AM.
Reply With Quote
Old 7th Feb 2005, 01:04 AM # 12
tjwish
Test Subject


Join Date: Dec 2004
Posts: 18
Thanks: 22 in 1 Posts


Sigh... :fallen: I only have a Radeon 9000 series graphics card and "Obviously" nothing showed up... :weep:

But what I can't understand is why it won't show up on your computer DumbBlonde...Seems to me like your graphics card and everything is pretty high-end.

And yes, when I saw that it didn't work on mine, I got really sad because I can't afford to upgrade and I'm too obsessed with the Sims to not have the "Best" of everything for it...Grrrrr!!! Ah well, I'll get over it
Last edited by tjwish : 7th Feb 2005 at 01:07 AM.
Reply With Quote
Old 7th Feb 2005, 01:15 AM # 13
Darkmoon
Field Researcher

Join Date: Nov 2004
Posts: 249


DumBblOndE
I don't know either...your rig really should have no problems whatsoever to display Bumpmaps.
Reply With Quote
Old 7th Feb 2005, 01:15 AM # 14
DumBblOndE
Lab Assistant


Join Date: Dec 2004
Posts: 107
Thanks: 1346 in 4 Posts


Ok.. well I was looking around I found a few posts in regard to high end cards and bump mapping..

A few staments were to say..

That high end cards will not show bumps in TS2no expanation why.. then another states that once the game logs the card, if it is OUT OF RANGE.. as listed in the video card list sgr.. then it will automatically change the bump to false.. No explaination why.. I am going to play around with some of these files and see what happens..

Ps yea you would think a $500.00 US card would show bumps.. Everything else is amazing..BUT I WANT BUMPS!!!
Reply With Quote
Old 7th Feb 2005, 01:36 AM # 15
micl2u
Lab Assistant


Join Date: Oct 2004
Posts: 125
Thanks: 214 in 3 Posts


I have a FX5200 card so wasn't expecting the bumps ...but wow! I got big bumps. I had placed 'boolProp useShaders true' in my usercheats folder for the better pool. Could this be why my settings are set to true in GR.sgr?
Reply With Quote
Old 7th Feb 2005, 01:47 AM # 16
DumBblOndE
Lab Assistant


Join Date: Dec 2004
Posts: 107
Thanks: 1346 in 4 Posts


Now im confused..

if you look at some of the flooring I used bumpmaps when i created them you can see detail of the bump...
but i cant get the damn undies to show me anything..

I changed the settings.. then i looked back into the user config log to see if it stayed..

boolProp bumpMapping false

AGAIN????.. now does that mean it reverted again?

I am really sad.. yes the pictures look fantastic.. BUT.. as I stated before I want the bump..

the acne bump.. the freckle bump.. the hairy guy bump.. and for some of my creature skins ??

Someone needs to figure this out.. not just for me... but for the benefit of Simkind.. I beg of thee.. let thou cast unpon me thine bump.. :weep:

I forgot to add this is the hi res version of the oldman skin.. no bumps but look at the detail..same with the floors? A artificial bump??

IT MAKES NO SENSE..

http://forums.modthesims2.com/attac...achmentid=27182
Screenshots
Click image for larger version

Name:  Hires Bumped.jpg
Views: 144
Size:  34.3 KB   Click image for larger version

Name:  Bumped hires.jpg
Views: 208
Size:  94.5 KB  
Last edited by DumBblOndE : 7th Feb 2005 at 01:50 AM.
Reply With Quote
Old 7th Feb 2005, 01:51 AM # 17
Darkmoon
Field Researcher

Join Date: Nov 2004
Posts: 249


Err...shouldn't that "boolProp bumpMapping false " actually say true?
Reply With Quote
Old 7th Feb 2005, 02:08 AM # 18
Rosco
Test Subject

Join Date: Oct 2004
Posts: 33


actually, I tried changing the files as indicated and STILL could not get the bumpmaping to turn on in the game, it would come on in Bodyshop (a 5700)...

so, I took drastic measures...

and put

boolProp bumpMapping true

in the startup cheat file...

the bumps map nicely now :D
Reply With Quote
Old 1st Jan 1970, 12:00 AM # 19
Guest

Posts: n/a


Reply With Quote
Old 1st Jan 1970, 12:00 AM # 20
Guest

Posts: n/a


Reply With Quote
Old 7th Feb 2005, 02:22 AM # 21
semloh
Original Poster

Lab Assistant


Join Date: Oct 2004
Posts: 81
Thanks: 1778 in 7 Posts


Ok, first up, you might like to check the first post again as I've edited it to give some simpler instructions on what to do in 'Graphic Rules.sgr' than those that were linked.

DumBlonde:

Theoretically there should be no problem with your card if you make the 'sgr' file changes I've documented. But we all know the difference between theory and practice!

I am intrigued that you say " ...look at some of the flooring I used bumpmaps when i created them you can see detail of the bump... but i cant get the damn undies to show me anything..". Do you mean that the textures you imported into homecrafter had pre-rendered bump maps or have you somehow managed to get normals maps into homecrafter floors in addition to your textures?

Looking at your old man pic he certainly looks bump mapped but I suspect you might just be pre-rendering your textures prior to import. Consequently Sims2 itself isn't rendering the bumps dynamically it's just displaying the texture as is. Could this be the case? It would explain the inconsistancies that you are seeing.

Telin le thaed. Lasto beth nīn.
Reply With Quote
Old 7th Feb 2005, 03:32 AM # 22
DumBblOndE
Lab Assistant


Join Date: Dec 2004
Posts: 107
Thanks: 1346 in 4 Posts


Wow .. i totally give up..

I did..
enabling Bump Mapping by changing 'Graphics Rules.sgr'
for both game and BS

In cheats startup I used
boolProp useShaders true
boolProp bumpMapping true

I re downloaded DirectX9.0c

I Used in game cheats boolProp useShaders true and boolProp bumpmapping true

I listed.. match("${cardName}", "*6800*")


My game and bs open and work fine.. but i still do not see the mapped shirt
.. then i checked to make sure it would export from BS showing the map.. yes i could see it...

As for the floors and the skin i realize they are pre rendered maps included in the textures files.. so yes they are my false bump maps

Well I guess I cant have everything.. Still looks phenominal.. Less the nipples :P
Reply With Quote
Old 7th Feb 2005, 04:12 AM # 23
Atlas
Test Subject

Join Date: Sep 2004
Posts: 2


Im using a Geforce 4 TI 4600, 128mb, I figured that would be enough to see bumpmapping as I can in other games an such. But no luck here, I followed your instructions carefully and did everything on it.
Reply With Quote
Old 1st Jan 1970, 12:00 AM # 24
Guest

Posts: n/a


Reply With Quote
Old 7th Feb 2005, 05:15 AM Looking Good # 25
dssly
Test Subject

Join Date: Jan 2005
Posts: 9


Thank you for this test and my card Radeon X300 Series 128MB work just fine with seeing the bumps. I was crossing my fingers because you never know what you can get with cards. I recently bought a Dell 8400 a few months ago for me and a few weeks ago bought another Dell 8400 with a Radeon X300 Series 256MB card for my wife.
These cards are the next new generations for graphics. Its all started with cards installed on PCI slot, moving over to AGP slot and now back to a PCI slot with a different twist call Express. Sad side to this story is these cards cannot be used on motherboards that are not very new. I will not get too technical, but in short, the PCIe path is twice, one in one out.
Reply With Quote
Reply


Section jump:


All times are GMT +1. The time now is 03:28 AM.

Style: More Options

Powered by: vBulletin Version 3.0.14
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
This site is not endorsed by or affiliated with Electronic Arts, or its licensors. Trademarks are the property of their respective owners. Game content and materials copyright Electronic Arts Inc. and its licensors. All Rights Reserved. MTS/MTS2 v2.9 based on vBulletin 3.0.14 with multiple hacks. ModTheSims, ModTheSims2 and MTS2 © 2004-2009. Hosted by LayeredTech.
Some icons by http://dryicons.com
You are being served by linna.modthesims2.com powered by plain black panties and a light pink bra with ruffles