QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2874|回复: 18

cedega 4.2-1运行半条命2

[复制链接]
发表于 2004-12-18 18:55:04 | 显示全部楼层 |阅读模式
有没有人运行起来了?官方说4.2正式支持半条命2,可我没成功啊,一堆错误
这里有一篇具体的配置教程,谁看懂了成功过的说下具体步骤,谢谢
http://www.linux-gamers.net/modu ... le.php?articleid=60
 楼主| 发表于 2004-12-18 19:08:35 | 显示全部楼层
显卡优化:
NVidia

Some information about your nvidia card and the mainboard is provided by the /proc file system.
To see information about Fast Writes, SBA and AGP mode type
cat /proc/driver/nvidia/agp/card

and
cat /proc/driver/nvidia/agp/host-bridge

"Not Supported" means, that you can not use these features. "Disabled" means, you may be able to use them, but further conditions need to be fullfilled, you can only enable a feature when both the Card and the HostBrige support it. Your HostBridge needs to support FastWrites and it has to be enabled in your system BIOS. But the driver may still decide not to use it for a more stable system.


Edit the file /etc/modules.conf. At the end of the section concerning the nvidia driver place the following line to enable FastWrites, SBA and AGP 8x support:

options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1 NVreg_ReqAGPRate=8

or for SBA and FW support only:

options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1

NOTE: Forcing AGP FW/SBA on can adversely affect overall system stability! Use at your own risk!

These lines can also be placed in other files depending on your distribution and kernel version. For example in /etc/modprobe.conf if you are using kernel series 2.6. Always make sure the line is placed behind the other nvidia driver entries.

For further documentation refer to the sources given below or to the documentation coming with the driver. It is usually installed to
/usr/share/doc/NVIDIA_GLX-1.0 by the installer.
回复

使用道具 举报

 楼主| 发表于 2004-12-18 19:09:18 | 显示全部楼层
系统优化:

If you are using the nVidia 1.0-6629 driver do not forget to patch it!

http://www.linux-gamers.net/modules/news/article.php?storyid=561

Some distributions need to set up a System-Variable. First, you have to examine if it is set.
cat /proc/sys/vm/legacy_va_layout
No output means, that this Variable isn't set.

As root:
echo 1 > /proc/sys/vm/legacy_va_layout

This setting only survives up to the next reboot. To set up this Variable permanently, open your /etc/sysctl.conf and append
vm.legacy_va_layout = 1

Information about this can be option found on the fedora announce mailing list:
http://www.redhat.com/archives/fedora-announce-list/2004-August/msg00025.html
回复

使用道具 举报

 楼主| 发表于 2004-12-18 19:10:15 | 显示全部楼层
cedega的设置::

VIDEORAM

Don't forget to set Videoram and AGPVertexRAM to the values of your graphics card. Read the description in the config file and in the release notes of Cedega.
The best value for Videocards with 256MB of Videoram is:
"VideoRam" = "256"
and
"AGPVertexRam" = "128"
Use adjusted values after this pattern for cards with less memory.


ALSA

If you have ALSA then use the winealsa.drv of Cedega. It will give you a small FPS boost.

Open ~/.transgaming/config or ~/.point2play//config and edit the [WinMM] section to

"Driver" = "winealsa.drv"




WINDOWS

Set the windows version to Windows 98 in the [Version] section. Some people reported problems that HL2 can't find the graphics card if it is set to another value.

;; Half-life 2
[AppDefaults\\hl2.exe\\d3dgl]
"ForceMaxVertexBlendMatrices" = "2"
[AppDefaults\\hl2.exe\\Version]
"Windows" = "win98"
回复

使用道具 举报

 楼主| 发表于 2004-12-18 19:12:13 | 显示全部楼层
减少载入时间:
How to make starting up Half-Life 2 somewhat bearable:

First, we need to stop Half-Life2 from loading an entire map every time you start. The loading times are bad enough when there's actually a REASON to load the level...

Goto your /Steam/SteamApps/[accountname]/half-life 2/hl2/cfg and open the valve.rc with a text editor.

Comment the starupmenu variable tout by adding two forward slashes to the line that says "startupmenu"

//startupmenu



Next, disable the valve startup movie:

Change to /Steam/SteamApps/[accountname]/half-life 2/hl2/media/ and replace the valve.avi with a 0-byte file.

cd path/to/Steam/SteamApps/[accountname]/half-life 2/hl2/media/
mv valve.avi valve_original.avi
touch valve.avi
chmod a-w valve.avi
回复

使用道具 举报

 楼主| 发表于 2004-12-18 19:12:42 | 显示全部楼层
命令行参数选项:

Similar to the way you can add command variables to the Steam Launch Options, you can also add them to a Half Life 2 startup script.

#!/bin/bash
cd /path/to/Steam
cedega "Steam.exe" -- Steam.exe -fullscreen -width 1024 -height 768 -applaunch 220 -heapsize 512000 +map_background none &
sleep 5
renice 17 `pgrep wineserver`



The above command line will launch Half Life 2 (-applaunch 220) with a memory allocation of around 500MB (-heapsize 512000), and Half Life 2 will start without a 3D background on the main menu (+map_background none). You can add as many variables as you want
回复

使用道具 举报

 楼主| 发表于 2004-12-18 19:14:22 | 显示全部楼层
以上就是配置说明,我不会啊,谁成功了告诉下,谢谢
回复

使用道具 举报

 楼主| 发表于 2005-1-4 21:40:00 | 显示全部楼层
这么久了还没人试出来吗?我的错误一堆啊,高手都去哪里了
回复

使用道具 举报

发表于 2005-1-7 00:59:11 | 显示全部楼层
后来由于steam的更新,造成了4.2用不了, 不过官方出了一个新的版本4.2forsteam就能用了。
回复

使用道具 举报

 楼主| 发表于 2005-1-7 21:19:51 | 显示全部楼层
哦,你运行起来了吗,发个截图看看哦
回复

使用道具 举报

 楼主| 发表于 2005-1-8 16:18:25 | 显示全部楼层
我已经装好4.2forsteam了,但还是不行
回复

使用道具 举报

发表于 2005-1-10 21:24:04 | 显示全部楼层
[quote:be759762a6="xinye0123"]哦,你运行起来了吗,发个截图看看哦[/quote]

无windows安装运行的。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

 楼主| 发表于 2005-1-11 01:37:28 | 显示全部楼层
我下载来的是那个中文版,是不是不行?我已经安装4.2forsteam了
回复

使用道具 举报

发表于 2005-1-14 11:26:53 | 显示全部楼层
CPU: AMD 2000+
主板: ASUS A7N266-VM (Nforce1)
显卡:集成Gefoce2 MX
声卡:集成
网卡:集成
回复

使用道具 举报

 楼主| 发表于 2005-1-16 23:27:28 | 显示全部楼层
BoyFriend,帮帮我
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-2 12:21 , Processed in 0.065216 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表