注册 | 登录

游侠NETSHOW论坛





查看: 30021|回复: 8
打印 上一主题 下一主题

【转帖】使命的召唤2性能优化指南 [复制链接]

帖子
226
精华
1
积分
313
金钱
769
荣誉
0
人气
0
评议
0
跳转到指定楼层
楼主
发表于 2005-11-7 01:48:28 |显示全部楼层 |倒序浏览
《使命的召唤2》性能优化指南
作者:ZNXF 编辑:ZNXF 2005-11-4 14:31:00
在nvnews的论坛我们发现了国外玩家写的一篇《使命的召唤2》的性能优化帖子。这名玩家使用6800GT在1024x768都跑的不顺,因此研究r_ console命令制作了优化版config文件。

研究过程中该玩家发现了两处和游戏性能相关的bug:
1.r_multigpu,默认值为0,也就是对应图象设置中的“optimise for SLI”项。即使你只有单显卡,打开这个选项(即命令r_multigpu 1)就能获得5-20%的性能提升。游戏正式版还存在这样的重大bug真是不可思议。

2.r_applypicmips。这个命令的作用就是修改贴图质量后无需vid_restart(也就是重新loading)。有趣的是使用这个命令后我们可以得到另外的5-20%性能提升,当然要让这个使用这个命令需要先修改贴图质量(picmip 0/1/2)。

基于这两点,再加上其他的性能调整命令,这名玩家制作了cod2tweakconfig包,使用方法如下:

1.打开cod2tweaks.zip(附件在下面)将里面的autoexec.cfg和tweak.cfg拷贝到Call of Duty 2\main\目录下。
2.进入游戏-option-game option,“enable console”设为“yes”。
3.load game后按“~”调出控制台,输入exec autoexec.cfg。该步骤是将autoexec.cfg的内容写入config.cfg,只需执行一次。
4.按“.”键,该键已经被绑定exec tweak.cfg,以后每次换地图后都要重复此步骤。

另外,在游戏中还可以按“,”和“/”来切换帧数显示/关闭。

下面几张截图是这名玩家优化前和优化后的画面和帧数对比。画面设置为1280x720,2xAA,4xAF,最高画质。显卡为6800GT @ 375/1100。上图为优化前下图为优化后。










hmm,优化前后画面看不出什么差别,而帧数显然提升了不少,对DirectX 7还是DirectX 9模式都适用哦,感觉cod2跑得不爽的朋友们还不赶紧试试。


另附autoexec.cfg和tweak.cfg文件内容,也可以手动创建这两个文件(新建文本文件,复制粘贴,改文件名)。

autoexec.cfg:

//this file contains variables that must be changed before the map loads, if you alter these values after map load, you must run "vid_restart" in console to enable the changes.
//You must still press . after each map load to enable the picmip fps boost contained in tweak.cfg.
//press to enable the tweak.cfg after each map load
bind . "exec tweak.cfg"
//press to enable fps meter
bind , "cg_drawFPS 1"
bind / "cg_drawFPS 0"
//saw this on the planetcod forums, unknown benefits, may reduce mid game stutter, set no higher than half total system ram.
seta com_hunkmegs "512"
//unknown, has no negative effect on fps, possible increase in places? anyone willing to research this, thanks.
seta r_autopriority "1"
//anisotropy level, default is 8, personal preference, i find 4 gives noticeably better performance for little IQ loss.
seta r_anisotropy "4"
//Not too sure, i think it's for antialiasing alpha channel in textures, eg sprites for smoke etc. 0 is off, 1 is fast dither, 2 is supersampling. 0 and 1 perform equally.
//if you have performance to spare, try running on 2, you lose ~1fps when i tested it briefly, but i could not see an IQ difference from 1.
seta r_aaAlpha "1"
//fixes broken default r_gpusync 3 slowdown. Leaving multigpu at 0 and setting gpusynch to 0 achieves the same fps boost, however this will break things for sli users.
//There is no performance loss running multigpu 1 on a single gpu. Improves minimum fps by 5-20%, depending on what you're looking at ingame.
seta r_multigpu "1"

tweak.cfg:

//3 commands to fix the picmip bug related fps loss, change last picmip value to your preferred detail level, (look in config.cfg for value).
//Also increases framerate noticeably, 5-15% depending on scene.
r_picmip "2"
r_applyPicmip
r_picmip "0"
r_applyPicmip
//zfeather value (soften smoke edges), 0 disables for better performance, 1 enables. disabling (0) improves framerate by 5-20% when smoke is visible onscreen.
//speed benefits of disabling largely depends on how close you get to the smoke. Ditto for IQ benefits if enabled.
//couldn't locate the command controlling world/everything option, you must set that in the graphics menu first. "World only" is recommended IQ/speed tradeoff.
//set to 1 here despite the fps boost - you will notice the lines of smoke edges ingame otherwise.
r_zfeather "1"

优化后,游戏运行没有任何问题,请放心使用。我有5~6个朋友都试了,都运行正常。请放心使用!!!

使用道具 举报

帖子
226
精华
1
积分
313
金钱
769
荣誉
0
人气
0
评议
0
沙发
发表于 2005-11-7 02:00:48 |显示全部楼层
【开心】 我已经试过了,效果明显,我的显卡是ATI RadeonX700标准版-AGP版,P42.4G,内存768M,硬盘160G。高兴的叫道:欢迎、欢迎、热烈欢迎~~

使用道具 举报

帖子
226
精华
1
积分
313
金钱
769
荣誉
0
人气
0
评议
0
板凳
发表于 2005-11-7 09:05:10 |显示全部楼层
我优化了后,画面与原来没有任何差别,速度提高了5帧~8帧的样子,尤其是人多的画面。

使用道具 举报

帖子
226
精华
1
积分
313
金钱
769
荣誉
0
人气
0
评议
0
地板
发表于 2005-11-7 09:06:49 |显示全部楼层
确实值得一试,很简单的,很方便的说

使用道具 举报

帖子
226
精华
1
积分
313
金钱
769
荣誉
0
人气
0
评议
0
5#
发表于 2005-11-7 09:13:15 |显示全部楼层
我用的是DX9模式,优化后,速度有4~8帧的提高,每次载入地图时,只要先按一下键盘的“.”键即可,优化后按“,”和“/”键来切换帧数显示/关闭。很简单,很方便的。

使用道具 举报

帖子
226
精华
1
积分
313
金钱
769
荣誉
0
人气
0
评议
0
6#
发表于 2005-11-7 09:22:32 |显示全部楼层
下面几张截图是这名玩家优化前和优化后的画面和帧数对比。画面设置为1280x720,2xAA,4xAF,最高画质。显卡为6800GT @ 375/1100。上图为优化前下图为优化后。






优化前后画面看不出什么差别,而帧数显然提升了不少,对DirectX 7还是DirectX 9模式都适用哦,感觉cod2跑得不爽的朋友们还不赶紧试试

使用道具 举报

帖子
226
精华
1
积分
313
金钱
769
荣誉
0
人气
0
评议
0
7#
发表于 2005-11-7 09:35:10 |显示全部楼层
1.r_multigpu,默认值为0,也就是对应图象设置中的“optimise for SLI”项。即使你只有单显卡,打开这个选项(即命令r_multigpu 1)就能获得5-20%的性能提升。游戏正式版还存在这样的重大bug真是不可思议。

2.r_applypicmips。这个命令的作用就是修改贴图质量后无需vid_restart(也就是重新loading)。有趣的是使用这个命令后我们可以得到另外的5-20%性能提升,当然要让这个使用这个命令需要先修改贴图质量(picmip 0/1/2)。

基于这两点,再加上其他的性能调整命令,这名玩家制作了cod2tweakconfig包,使用方法如下:

1.打开cod2tweaks.zip(附件在1楼),将里面的autoexec.cfg和tweak.cfg拷贝到Call of Duty 2\main\目录下。
2.进入游戏-option-game option,“enable console”设为“yes”。
3.load game后按“~”调出控制台,输入exec autoexec.cfg。该步骤是将autoexec.cfg的内容写入config.cfg,只需执行一次。
4.按“.”键,该键已经被绑定exec tweak.cfg,以后每次换地图后都要重复此步骤。

优化后,游戏运行没有任何问题,请放心使用。

使用道具 举报

帖子
226
精华
1
积分
313
金钱
769
荣誉
0
人气
0
评议
0
8#
发表于 2005-11-7 11:37:08 |显示全部楼层
不会啊,我才给一个朋友的机器优化,他的电脑配置是P4 2.0G,内存512M,显卡是盈通ATI镭9550标准版,双128,进入游戏用DX9模式,800x600,32位,其它设置默认,优化后,速度提高4~7帧。
“修改贴图质量后无需vid_restart(也就是重新loading)。有趣的是使用这个命令后我们可以得到另外的5-20%性能提升,当然要让这个使用这个命令需要先修改贴图质量(picmip 0/1/2)”
把压缩包里的“Tweak.cfg”文件中的
r_picmip "2"
r_applyPicmip
r_picmip "0"
r_applyPicmip
“picmip 2”设为“picmip 1”,降低一点贴图质量,再试试。

使用道具 举报

帖子
226
精华
1
积分
313
金钱
769
荣誉
0
人气
0
评议
0
9#
发表于 2005-11-7 12:09:16 |显示全部楼层
我的一个朋友显卡是6800GT,游戏画面为1024x768,32位,特效全开,没优化时一般帧数为二十三~三十六帧,照上面的方法优化后,帧数最低为三十帧以上,尤其是人多的画面,帧数保持在三十帧以上,画面没有再变卡的时候。

我的其它一些朋友优化后的总结:
ATI Radeon9550标准版,双128,DX9模式800X600,32位,其他游戏默认,优化后提高3~6帧

GeForceFX5200标准版,双128,DX7模式1024x768,32位,其他游戏默认,优化后提高4~7帧

GeForce6200A标准版,DX9模式800X600,32位,其他游戏默认,优化后提高4~7帧

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

手机版|Archiver|游侠NETSHOW论坛 ( 苏ICP备2023007791号 )

GMT+8, 2025-10-4 14:12 , Processed in 0.370492 second(s), 13 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

分享到