所以考虑搞个 vmware 去玩真windows 了(不是搞个windows 玩vmware!)。。。因为受不了 wine 的点 audio 就扑街(试过建什么socket目录之类都没用或者说压根没提示过socket目录没找到,刚装上wine 还好好的,好象就是我从软件包里装了一些 game导致的怀疑是lib 冲突,06-12-3 补充:已经证实)
06-12-3 补充: 后来换用fcitx+wine
9.26 才可以正常出现配置,但声音drvier 还得根据游戏去换,部分还不能开声音否则必死
的确,我的声卡认出来是 Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02),实际芯片是Analog Devices soundmax (1986a 好象,此东东根据驱动文件判断似乎是半软的) ,win下表现的相当好a3d 之类都ok,但在ubuntu 下经常爆音,就感觉象我当年的8位isa声卡。。还有显卡x1600干脆ATI公告说不支持linux vx,什么世道呀,这些鸟人来我们社会主义国家就是阶级斗争枪决对象。。
06-12-3 补充:用wine 家族(包括cedega)的朋友要注意default 是 map linux系统的根目录到 wine 模拟的windows 的 z: 盘,这样是相当不安全的,如果模拟的windows 中病毒、恶意脚本或程序错误导致 delete 或修改了重要文件,那问题就大了,正确的做法是map 一个目标要用的目录,比如游戏目录,软件运行目录到wine 就行了 根路径就表map 进去
换 cedega 5.27装上了,跑war3居然正常而且快的很(在wine 怎么搞都不行),但是注册表始终搞不了,就好象我改完注册表(从windows 拷了regedit.exe 甚至 自己写的EXE程序改)重进cedega 或新开游戏后注册表还是原来那样,始终改了不保存(怀疑是异常end 的 winserver)。。。导致不少要路径的游戏玩不了。。比如hero3、星际之类的。。
关于vmware 开3D的方法官方原文(官站或装完vmware 可在 file:///usr/lib/vmware/help-manual/ws_vidsound_d3d_enabling_vm.htm 找到)如下:
简单的说就是在你的vmx 文件里加三行:Enabling Accelerated 3-D for a Virtual Machine
To enable a virtual machine for accelerated 3-D
1. Choose a virtual machine with Windows 2000 or XP guest operating system.
Note: Do not enable Direct3D on a virtual machine that is powered on or suspended.
2. Add the following to the configuration (.vmx) file for the virtual machine:
mks.enable3d = TRUE
This line enables accelerated 3-D on the host. It is required to support accelerated 3-D in the guest and also enables the host to accelerate 2-D portions of the guest display.
3. You may also add one or both of the following optional lines:
svga.vramSize = 67108864
This line increases the amount of VRAM on the virtual display card to 64 MB. Adding more VRAM helps to reduce thrashing in the guest. The maximum value is 128 MB.
vmmouse.present = FALSE
This line disables the absolute pointing device in the guest. Applications which require DirectInput relative mode need to turn off the absolute pointing device in the guest. In practice, this is only required for a certain class of full screen 3-D applications (for example, real-time games like first-person shooters).
Note: If you set the vmmouse.present option, you should also turn off the preference for motion ungrabbing in the Input tab of the Preferences settings dialog.
To turn off ungrabbing for vmouse.present:
a. Choose Edit > Preferences.
b. Click Input.
c. Deselect Ungrab when cursor leaves window.
代码: 全选
mks.enable3d = TRUE
svga.vramSize = 67108864
vmmouse.present = FALSE
此操作之所以没有default 是因为开3d 后,mouse 移出guest 屏幕不会在 host 屏幕出现,因为要兼容gl 直接写屏。
此外,附上vmware 非常规屏幕的玩法:
我的机器是宽频,在vmware 下装的windows(指用vmware tools装的驱动) 没有我要的1280x800 的分辨率,于是自己动手改驱动:
reg 文件如下:
代码: 全选
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vmx_svga\Device0]
"Resolution.11"=hex:31,32,38,30,78,38,30,30,00
"Resolution.12"=hex:31,32,37,32,78,37,36,37,00
至于下载去 vmware.com 下,vmware workstation 最新 5.x 的序列号:
DA925-HP80U-Z8HDC-4WXXP