欢迎光临散文网 会员登陆 & 注册

如何多核运行红警2/尤复/心灵终结 (How to run RA2 / YR / MO-APYR with multi-core

2023-02-28 00:34 作者:桂の脌_Aug때  | 我要投稿

目前,绝大多数电脑都运行在 Windows 10 操作系统。若要在 Win 10 系统上更好地运行红色警戒 2 / 尤里的复仇 / MO-APYR(心灵终结——几乎完美的尤里的复仇),通常需要使用 CnC-DDraw 渲染补丁。好消息是,CnC-DDraw 可以让它们以多核模式运行以使之更流畅。

At present, most of computers are running on the Windows 10 operating system. To run Red Alert 2 / Yuri's Revenge / MO-APYR (Mental Omega - Almost Perfect Yuri's Revenge) better on Win 10 OS, you have to use the CnC-DDraw in usual. The good news is that the CnC-DDraw can let them run with multi-core mode to make it smoother.


什么是 CnC-DDraw? (What is CnC-DDraw?)

CnC-DDraw (可译作“命令与征服-直接显示”)是一个图形系统覆盖插件,它修复了使用 256 色全屏 DirectDraw [注 1]作为图像处理系统的命令与征服系列游戏中的许多图像错误。它是专门为《命令与征服黄金版》和《红色警戒》开发的,但它进行了进一步的开发以支持其他游戏,如《死亡赛车》。

CnC-DDraw (Command and Conquer - Direct Draw) is a graphics system override which fixes many of the graphical bugs in the Command & Conquer games that use 256-color full-screen DirectDraw[Ref 1] as graphics system. It was specifically developed for Command & Conquer Gold and Red Alert, but was developed further to support other games, like Carmageddon.

关于 CnC-DDraw,您可以通过这篇 Fandom 上的命令与征服百科的文章了解更多:

For more about CnC-DDraw, you can read this article from the Command & Conquer Wiki on Fandom:

▶https://cnc.fandom.com/wiki/CnC-DDraw


如何配置? (How to Config?)

操作很简单。

It is very easy to config.

■ 步骤 1 (Step 1)

首先,你需要确认您的游戏目录下是否已经安装或解压出 CnC-DDraw 补丁。通常心灵终结中已经自带此渲染补丁,您可以在设置→显示→渲染补丁中启用 CnC-DDraw。

Firstly, you should make sure that you have installed or extracted the CnC-DDraw plugin in the installation directory of the game. Usually for Mental Omega, it's already satisfyed, you can enable CnC-DDraw at Options → Display → Renderer.

若您没有 CnC-DDraw,您可以通过此链接前往 GitHub 下载之:

If you don't have the CnC-DDraw, you can go to the GitHub to download it by the link below:

▶https://github.com/FunkyFr3sh/cnc-ddraw/releases

在中国大陆无法正常访问 GitHub 的人,您可以通过此链接前往蓝奏云下载:

For users in Chinese Mainland who can't access GitHub normally, you can download through Lanzou Cloud by the link below:

▶https://augustkun.lanzouo.com/iFmCO0or10ng

■ 步骤 2 (Step 2)

其次,前往游戏的安装目录并寻找名为“ddraw.ini”的文件。您最好同时修改“cnc-ddraw.ini”,假如在游戏文件中有它,它通常出现在心灵终结的游戏安装目录中。

Secondly, go to the installation directory of the game and search the file named "ddraw.ini". You had batter modify "cnc-ddraw.ini" too if you have it, mostly it appears in the directory of Mental Omega.

使用 Everything 查找 (Use "Everything" to search)

您可以使用一个叫“Everything”的小型应用软件来快速查找文件。通过此处可以下载:

You can use a small application software called "Everything" to search the files quickly. Here to download:

▶https://www.voidtools.com

■ 步骤 3 (Step 3)

最后,打开“ddraw.ini”(和"cnc-ddraw.ini"),将“singlecpu=true”替换为“singlecpu=false”,之后就可以关闭文件享受游戏了。

Finally, open the "ddraw.ini" (and "cnc-ddraw.ini") to search "singlecpu=true" and replace into "singlecpu=false", and then save and close the files to enjoy the game.

用 VS Code 修改心灵终结中的 ddraw.ini (Edit "ddraw.ini" in Mental Omega by VS Code)
用VS Code 修改心灵终结中的 cnc-ddraw.ini (Edit "cnc-ddraw.ini" in Mental Omega by VS Code)

当您在修改这些文件时您最好保持游戏关闭,但除了心灵终结的“DTA CnCNet Client”[注 2](或名“MO Client”,即“心灵终结客户端”)。

You had better keep the game off while you modify these files but expect the "DTA CnCNet Client"[Ref 2] (or named "MO Client") for Mental Omega.

您可以使用 VS Code 以更方便地编辑:

You can use VS Code to edit easyer:

▶https://code.visualstudio.com


这个主意出自百度贴吧(中文):

This idea is from the Baidu Post Bar (Chinese):

▶https://tieba.baidu.com/p/7159451444#:~:text=CNC%2DDRAW%E6%B8%B2%E6%9F%93%E5%99%A8%E5%8F%AF%E4%BB%A5%E8%AE%BE%E7%BD%AE%E5%90%AF%E7%94%A8%E5%A4%9A%E6%A0%B8%E6%A8%A1%E5%BC%8F


运行演示 (Test demonstration)

心灵终结 (Mental Omega) 3.3.6

心灵终结 3.3.6 主界面 (Home of Mental Omega 3.3.6)
游戏参数设置 (Game parameter settings)
“singlecpu=true” 时 CPU(核)0 占用 100% (CPU (core) 0 100% used while "singlecpu=true")
“singlecpu=false”时所有核心都被均衡占用 (All CPU cores are evenly used while "singlecpu=false")

尤里的复仇 (Yuri's Revenge)

尤里的复仇主界面 (Home of Yuri's Revenge)
游戏参数设置 (Game parameter setting)
singlecpu=true
singlecpu=false

红色警戒 2 (Red Alert 2)

红色警戒 2 主界面 (Home of Red Alert 2)
游戏参数设置 (Game parameter setting)
singlecpu=true
singlecpu=false

注释 References

[1] en: DirectDraw (ddraw.dll) is an API that used to be a part of Microsoft's DirectX API.

    zh: DirectDraw (ddraw.dll)作为微软 Direct X 应用程序接口(API)的一部分,

        是基于 COM 架构下的一个二维图形 API,可译作“直接显示”。

[2] en: Dawn of the Tiberium Age - Command and Conquer Net Client.

    zh: 可译作“泰伯利亚黎明-命令与征服网客户端”。


如何多核运行红警2/尤复/心灵终结 (How to run RA2 / YR / MO-APYR with multi-core的评论 (共 条)

分享到微博请遵守国家法律