[[Enhance the ATI Experience]]
It is, of course, a well known fact that Doom 3 is a game which performs best when using boards by nVidia. This has left ATI fans frustrated and eager for a driver update or some other fix. Since ATI has not yet responded, a way of improving the way Doom 3 handles on ATI cards has been posted on the Beyond3D forums. According to the author, the performance increase can increase frame rate from 34fps in 1280x1024 to 48fps. Changes would, of course, depend on each individual set-up. A further suggestion from the forum is that the fix really kicks-in if vsync is enabled. Please feel free to post your experience with the fix on the MegaGames Forums.
The fix involves changing some code which can be found in the Doom 3 pak000.pk4 file. For those not interested in the technical side of the fix, an already changed file is available by following the download tab above. Extract so that the shader file goes under doom3baseglprogs. This replaces a dependent texture read with equivalent math, which runs better on ATI cards, but seems to run slower on NV boards, so only apply this if you got an ATI card.
...this should be good enough proof that ATI hardware can run Doom3 just as good if not better than nVidia, and that we can pass on all the "ATI suck in OpenGL", "ATI's drivers suck" etc. into the trashcan where it belongs.
The full, do-it-yourself, fix is as follows:
I picked up Doom3 today and let be begin by saying it's a kickass game so far. A few minuses like weapon reload (which I find add nothing to a game, except annoyance, so I don't know why many devs keep adding it to their games), but overall much above my expectations.
Anyway, to the fun part, exploring the technology.
I think I've found the source of why this game runs comparably slow on ATI hardware vs. nVidia at the moment, and found a solution to the problem.
First, open your doom3base folder. Doubleclick on the pak000.pk4 file. In the "window can't open this file .. .bla bla" dialog, go on and associate the file with an app like WinRar. With this file open in WinRar, go to the glprogs directory in the file. In there you'll find the shaders. The interaction.vfp file seems to be the main rendering shader. Altering this shader to output a constant color turns most objects into that constant color, except for stuff like computer screens etc.
So doubleclick the interaction.vfp file to open it (you may have to associate the .vfp extension with a text editor like notepad or wordpad first since we're going to edit the file). Scroll down to the fragment shader. You'll find these rows:
Code:
PARAM subOne = { -1, -1, -1, -1 };
PARAM scaleTwo = { 2, 2, 2, 2 };
Add this right below them:
Code:
PARAM specExp = { 16, 0, 0, 0 };
Now scroll down to this:
Code:
# perform a dependent table read for the specular falloff
TEX R1, specular, texture[6], 2D;
Comment out that line by adding a "#" to it, and add another line that will do the same thing with math instead, so it should look like this:
Code:
# perform a dependent table read for the specular falloff
# TEX R1, specular, texture[6], 2D;
POW R1, specular.x, specExp.x;
Save the file and close your text editor. WinRar will ask if you want to update the file in the archive, select yes. Close WinRar and enjoy about 40% higher performance in Doom3. Haven't done extensive testing yet, but my performance went from 34fps in 1280x1024 to 48fps.
Conclusion and discussion:
I don't want to complain about Carmack's work, I still consider him to be the industry leader in graphics engines. Though when I read the shader it striked me how many texture accesses it did compared to the relatively short shader, even for stuff that could just as well be done with math for a small cost in instructions. Using a dependent texture lookup for POW evaluation makes a lot of sense for R200 level hardware due to instruction set limits, but for R300 and up it's much better to just spend the three cycles it takes to evaluate POW with math instead of risking texture cache trashing with a dependent texture read, which may be much more costly, especially since the access pattern in this case will be far from linear. Also, using math improves the quality too, even though it may not be very noticable in this game.
I should point out though that I'm not sure if the constant specular factor 16 that I chose is the one that the game uses, so output may be slightly different, but if this solution will be worked into the game in a future patch, then this is easily configurable by the game so that there won't be a difference, except a lot faster.
An interesting follow-up discussion may be why this dependent texture lookup is much slower on our hardware than on nVidia. Maybe there's an architectural difference that's to blame, or maybe something else? The main point here though is that this should be good enough proof that ATI hardware can run Doom3 just as good if not better than nVidia, and that we can pass on all the "ATI suck in OpenGL", "ATI's drivers suck" etc. into the trashcan where it belongs.
[[Previous Doom 3 Optimizations]]
Doom 3 has caused upheaval in the gaming community, especially since most players lack the necessary specs to make the most of their experience. Thanks to our readers we have traced a few ways that most gamers can enhance their experience fighting the hell-breathing monsters that are after their fellow marines.
Light at the end of the barrel
While gamers everywhere are struggling to calm their trigger fingers following the Doom 3 experience, many are already complaining about the need for more light. Thanks to a bit of duct tape and a lot of ingenuity, Glen 'FrenZon' Murphy has created the Duct Tape Mod, a solution to all our Mars vision troubles. A link to the files and a brief description of the mod is available by following the download tab above.
Cheap Cards Not Choppy Games
Another kind soul has taken pity on the poor gamers tackling Doom 3 with the Radeon 8500, 9000 and 9200 series of cards and has released a Graphics Optimization Guide, guaranteed to solve the OpenGL Blues of all low-end ATI card owners. A link to the guide is also available by following the download tab above.
Finally a kind Megagames reader, you know who you are Slijkhuis, has sent in another way to get a very definite performance boost. This guide works by releasing a lot of CPU resources and manages to do so by eliminating the need to decompress data while playing the game. According to our benefactor, there is a catch! By using the fix, you temporarily can't connect to pure multiplayer servers. You have been warned (although there is a way back)
The Guide
After installation, the Doom III Folder consists only of the doom3.exe and some .PK4 files. Those PK4 files includes the entire game (sounds, videos, textures etc.) compressed. They are normally uncompressed in mid game, which is very hard on your CPU. We can unpack them and thus take the strain of your CPU.
1. Make a copy of ALL the files in C:Program FilesDoom 3base. This is some big filage, but if you want to revert to MP without reinstalling you need to do it.
2. Unrar the following .pk4 files (just pretend they are .rar's and open them with winrar) into the C:Program FilesDoom 3base folder (each one should unrar a single folder such as textures or models):
pak000.pk4
pak001.pk4
pak002.pk4
pak003.pk4
pak004.pk4 (This one has many files, put them all in Base and overright any that apply.
3. Now delete the files above (pak000-004) or move them to another folder for storage so you can revert to multiplayer.
When you want to revert to multiplayer, restore everything you had before and get rid of the new stuff. I'm not sure if the folder maps is the same or not, so make sure you back that up.
When in the original Doom3 /base folder (that is, before the unpacking), you would have thse folders and files "maps" "savegames" "config.spec" "doomConfig.cfg" "doomkey" game00.pk4" and "gamex86.dll", nothing else.
ALSO DO THIS! If you open DoomConfig.cfg (C:programfilesdoom3base) in notepad and change (make sure to save a backup copy) seta image_cacheMegs "32" to a higher number, such as 128 or 265 (depends on RAM, use 256 for a gig, 128 for 512mb) you will see a big increase too. You also have to change the seta image_useCache to "1" and seta image_cacheMinK to approx "20480" (or higher)
There you have it, since the CPU wont have to unpack the textures, sounds, etc...there is a MASSIVE performance increase at the expense of no MP and requiring more HD space.
Please feel free to post your experiences using these fixes and Mod in the User Comments section.
SHOW COMMENTS (324)
HIDE COMMENTS (324)
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onit is a scary game whit exelent grafix on mi Fx5200ultra (it sucks)but looks great a at 640*480 on mediom cuality 4x anisotropic, and vertical sink dusabled;i hate de sound effects even on mi Audigy 2 zs it sounds gay, the leaked alpha demo it just sound better. the shotgun disapointme,i cant even get 7.1 sound? is there a patch???
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) oni also hateouchouchocuhouchwhen ure firing the zombies
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onthe pistol is gay! its for femaleand the pew pew pew from the plasmagun just sucks
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onYou know i got freaked out in AvP once when a face hugger small as a c**kroach humps your face. It's near invisible crawls next to you then leaps at you covers the whole screen and goes SKREEEE... haha just have to laugh at that one. :o
Doom 3 Enhance the Experience Pt2
Submitted by DN (not verified) onAnonymousat 7:28 10/8/2004the pistol is gay! its for femaleIf its for women how can it be 'gay'??? you ***
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onDoom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onHL 1 sucked monkey balls. Duke Nukem 3D, Wolfenstein 3D, Doom and Doom2 pwn HL. nuff said so stfu.
Doom 3 Enhance the Experience Pt2
Submitted by #47 (not verified) onhey, the doom 3 decompression guide worked (omg omg, on topic with that note), now, with the d3 hl2 fight going on, im on dooms side, the hl2 beta2 wasent phenominal, though thats to be expected on a beta, the real thing that makes me go with doom 3 would have to be its concept, the halflife idea was destroyed, obliterated, after the damned expansions(1st party, not the cheap sidestorys), now if halflife 2 is going to redeem itself, its gotta really get on track with a story, though the dev.s could really f**k this up by incorperating too much of the first game. in doom 3, its all there, great graphics(without getting too technical about the low poly-count), a constaint story, and it manged to make me jump outta my chair on a few occasions. as for hl2, im definitally going to play it, and i bet ill enjoy it too...i applaud j.carmack and the id team for making a stable, overall fun game. ~w00t~
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onjust got the game today. im already getting close to constant 60fps @ 1024x768 all gfx maxed out but ill try these tweaks anyway because there have been 1 or 2 momens of slight slowdown (although it dosent seem to go beelow 30fps atall)i might try the tweaks and stick the resolution up to 1280x1024 and see how it goes.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onoh yes and 1 more thing - ive been playing the game for 30 minutes this afternoon and i can tell already its gonna scare the **** out of me!!
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onWay i see it doom3 was held back by the sh*t-xbox they had to make the game with it in mind.(no co-op) Hl2 is not yet set to come out on any console that means we get everything on PC it improves it's odds greatly against D3 for best PC GOTY 2004.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) on9:41, your so right man, HL sucked so much that its only the longest lasting engine ever made. Its only the most modded engine ever made. Man, your so right. haha.newb
Doom 3 Enhance the Experience Pt2
Submitted by 4n0nym0u5 (not verified) onthe original HL was built using the Quake engine.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onTotally disappointed with D3. Too repetitive.... go into a room, lights go out, monsters jump out, kill monsters, go to another room, lights go out, monsters jump out etc etc etc... pick up yet another pda, monsters jump out.No vehicles in the game, no variety of any kind, this is f-ing BORING.DOOM 3 SUCKS HAIRY DONKEY BALLS
Doom 3 Enhance the Experience Pt2
Submitted by Jet Black (not verified) onI think that HL2 is going to winGOTD (Game of the Decade) lol.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous pwned... (not verified) onIMO, Valve, Half-Life and Half-Life 2 are overrated and shouldn't deserve the amount of credit that they are getting for the past few years. Also, who said anything about mods?. What I have noticed is when I say HL sucks, the first thing people will say is, CS is the most played online game and I'm like wtf because I'm not talking about mods and mods wouldn't really matter if the person didn't have a internet connection or couldn't care less about 3rd party addons and whatnot so the Anon at 11:5, you are truly a dumbass. I said HALF-LIFE, not CS, not DoD and not any other mod but only HALF-LIFE SINGLER PLAYER and let's face it, HL singler player blows the cheese then and it blows the cheese now. So Anonymous at 11:5, you are the newb dipshit since you can't tell the difference between HALF-LIFE and the mods. So learn how to read idiot. And your favorite last word,newb
Doom 3 Enhance the Experience Pt2
Submitted by siaip (not verified) ontried the performance tweak (Athlon 1.9+, 512 RAM, GF 4200ti).no improvement at all. it gives exactly the same results in timedemo demo1 (both first and second time of trying) and gives absolutely no gain in loading times and alike (I did not test this, but it looks this way).why some idiots had to make this tweak up, I really don't understand..
Doom 3 Enhance the Experience Pt2
Submitted by Jet Black (not verified) onWho the fu*k tried to impersonate me earlier?
Doom 3 Enhance the Experience Pt2
Submitted by Jet Black (not verified) onI'm a Valve and Half-Life fanboy and would love to sleep with my cute big bear named Gabe Newell.Here's a picture of Gabe.[url removed]
Doom 3 Enhance the Experience Pt2
Submitted by Jet Black (not verified) onuse this link.[url removed]
Doom 3 Enhance the Experience Pt2
Submitted by Jet Black (not verified) onFor the people who are Saying that the
Doom 3 Enhance the Experience Pt2
Submitted by True Gamer (not verified) onFor all of you 12 and 14 year olds out there(That can run this game on their Mommy and Daddy's Computer), don't even try to comment on this game until you've tried it. I bought it on the 7th, and i'm happy I payed $45 bucks for it. It's definitly money well spent. I'm disapointed in the lack of a mature audience on megagames, it is definitly given a bad name by this kind of d**kassery. The game is definitly NOT all that scary, and is not quite as innovative as I had hoped, but by the end of the game I was very happy to add this game to my collection of games. Id definitly outdid themselves with this iteration of the doom series, and I congradulate John Carmack and the rest of Id's staff on actually releasing the game.(YOU HEAR THAT VALVE? GET OFF YOUR LAZY A$$ AND RELEASE THE GAME. I'M GETTING TIRED OF WAITING. NO MORE HACKER EXQUISES.) And to the people who believe that the game requires a freaking super computer to run, then look at the pile of crap i'm currently running it on.Pentium 4 1.8GHZ (Gehyist spec of my machine)768MB DDRRAM (probobly the only above average pile of crap in my system)128MB Radeon 9600 SE (Only $90 and it came with a HL2 Voucher :) )80gig 7200rpm Harddrive (The piece of crap only supports Ultra DMA Mode 4!)The machine is 3 years old, and even with all this crap, I'm still able to play the game at 800x600 on Medium quality with everything but FSAA on. I average about 30 fps and 10 at the very least. So Quit hating and flaming all of you Fanboy smacktards. I like Halflife as much as any true gamer likes it, but it's not out, so I play what is the best out right now. (Doom 3, Farcry) So buy, don't pirate(I used to, but don't pirate good games anymore) these amazing works of art, and enjoy them while you can. If you don't then You've really missed out.
Doom 3 Enhance the Experience Pt2
Submitted by Jet Black (not verified) onTO Jet Black (the fake)at 12:14 10/8/2004 and Jet Black (fake)at 12:13 10/8/2004 :WTF are you trying to do? I dont even want to know what those links contain.
Doom 3 Enhance the Experience Pt2
Submitted by Jet Black (not verified) onDont use the link.
Doom 3 Enhance the Experience Pt2
Submitted by ragerxt (not verified) onwhat's the big deal... doom 3 is out in stores, it's a cool game, HL2 will be out soon, it will be a great game, stop that crap if it runs good or not, i have a p4 2.4 w/radeon 9800xt 1g ddr and it runs great, and i got that specs nearly (i think) a year, and still doesn't get old, so... it runs better in a nvidia 6800?? big deal... it gonna run HL2 like ****
Doom 3 Enhance the Experience Pt2
Submitted by Jet Black (not verified) onThe REAL Jet Black is signing off right now and wont be back for several more hours at least.Ignore the Stupid *** Fake!
Doom 3 Enhance the Experience Pt2
Submitted by True Gamer (not verified) onThat has got to be the funniest picture I've ever seen.
Doom 3 Enhance the Experience Pt2
Submitted by Fart Master (not verified) onI checked that link and couldn't stop laughing. If you're too scared to open a link that is .jpg, then you shouldn't be using a computer at all.Also, how does likeing HL make you a true gamer?. I know many people who don't like HL and I consider them to be a true gamers.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onDoom 3 is going to attract another group of gamers, the Console gamers.
Doom 3 Enhance the Experience Pt2
Submitted by tt (not verified) onDOOM3...HL2...DOOM3...HL2...DOOM3...HL2...Good god. The uproar right now is DOOM3 and how Nvidia cards run it faster. Like this was a shock. When HL2 comes out that will be the uproar and how ATI cards run it faster...nothing has changed.....ATI runs D3D games faster overall...Nvidia runs OpenGl faster overall......
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onas of this moment, Nvidia cards actually run HL2 faster. search on google for the HL2 benchmarks.
Doom 3 Enhance the Experience Pt2
Submitted by True Gamer (not verified) onI didn't say liking halflife was a requisite of belonging to the
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onthere's people who like HL and people who don't like HL. Here's an example. I myself don't like HL and when people ask me why, well, I'll explain it to them and with a valid arguement, they still wouldn't beable to understand because they do like it and vice versa, the same way, I ask people who do like it and I ask them why they like it and they'll give so and so reason but I wouldn't beable to understand because I don't like it therefore, we don't see eye to eye.
Doom 3 Enhance the Experience Pt2
Submitted by True Gamer (not verified) onI understand what you mean. I may like halflife( I got it immeaditaly after it's launch and loved every bit of it) But there are games out there that I hate that are supposed to be
Doom 3 Enhance the Experience Pt2
Submitted by waithing for my x800 (not verified) onATI will be better than nvidia on hl2 but i am not impressed by screens from hl2 in the way i got about Doom 3.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onDoom 3 Enhance the Experience Pt2
Submitted by megalosers (not verified) onad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups i hate popupsad's ad's ad's ad's ad's ad's ad'si hate popups
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onMypc is is the worst piece of crap you have ever seen,well its not that bad,anyway i can run Doom 3 in low detail and the game still looks really cool, and i have very little problem when theres a big shootout and theres some zombies but it doesnt bother me none.So im gonna try this thing to see if it runs better,like faster loading and stuff.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) oni have the game and i dont like (weapon sound gay,no flash light on my weapon,ennemy desintegrate
Doom 3 Enhance the Experience Pt2
Submitted by SigmaX6 (not verified) onive tried the cfg tweaks and they do about an 3-5 fps boost, good enough to call an tweak, im in the middle of extracting the pk's to jsut see if it does a MASSIVE BOOst lol like he saidradeon9600 pro,2ghz,1.6 gigs of ramplz only post here if you have soemthing important about tweaks i read through about 30 posts of nothing but pointless talking
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onWait ive been reading a lot of this posts and u guys talk about d**ks and HL2 and popups(they suck)and the thing is that if you dont like Doom 3 you shouldt have bought it in the first place,if you havent seen the game thats why there some trailers and screenshoots of the game but if your pc is a piece of **** then go watch your HL2 trailers and screenshots and release date but dont cry anymore **** it because Doom 3 is out and HL2 is not so HL2 may be a piece of crap,and i think both HL2 and Doom 3 are good games so im gonna buy HL2 too when it comes till then ill play some Doom 3.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onThere is strange people in this forum. It seems that for some people, they will play Domm III or Half Life II and then rest in peace.It's only too beautiful and new generation game ... not more. Imagine all the new game that will be create with this 2 graphics engines. I think, it's the most important thing. Just wait and look at the new game.Imagine a new Jedi knight for example.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onok im a couple of levels into the game and i just walked into a room and some freaks laugh just scared the hell out of me so i turned the game off before it gives me a heart attack :)oh and those tweaks do seem to make a little difference to the fps although not much on my system
Doom 3 Enhance the Experience Pt2
Submitted by SigmaX6 (not verified) onanywho i tred that extracting pk files into base3, i see an maybe 5 fps increase, nothing to warrant an big increase. but lvls seemed to load faster, and ingame movies where smoother, but actually gameplay i didnt see an enourmous increase, just an noticeble one
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onfreaking doom 3 ... story line is pretty much same **** as half life... nice graphics tho
Doom 3 Enhance the Experience Pt2
Submitted by FAT MAN (not verified) onSounds like we need to have a big LAN party so everyone can duke it out.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onlinks are broken
Doom 3 Enhance the Experience Pt2
Submitted by Gremlin (not verified) onthe unpacking thing actually increased my game performance ALOT...on my radeon 8500, i run the game on high quality, 800x640 resolution without any lagg whatsoever.....thanks alot whoever figured this out!
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onJust when I was hoping OpenGl was dead...
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onPages
Add new comment