Customization:修订间差异

删除227字节 、​ 2023年1月13日 (星期五)
无编辑摘要
(创建页面,内容为“ <!--T:1--> Four files have customization options: <!--T:2--> * ProjectDiablo.cfg * UI.ini * ddraw.ini * loot.filter (can be renamed) <!--T:3--> These files are in the ''ProjectD2'' directory (''C:\Program Files (x86)\Diablo II\ProjectD2''). They can be edited with any text editor, although the editor may need to be run in administrator mode. <!--T:42--> Once a filter is selected from the launcher, loot.filter will link to the selected filter file instead of…”)
 
无编辑摘要
第1行: 第1行:


<!--T:1-->
<!--T:1-->
Four files have customization options:
以下四个文件有自定义选项:


<!--T:2-->
<!--T:2-->
第7行: 第7行:
* UI.ini
* UI.ini
* ddraw.ini
* ddraw.ini
* loot.filter (can be renamed)
* loot.filter (可以重命名)


<!--T:3-->
<!--T:3-->
These files are in the ''ProjectD2'' directory (''C:\Program Files (x86)\Diablo II\ProjectD2''). They can be edited with any text editor, although the editor may need to be run in administrator mode.
这些文件在PD2目录中(C:\Program Files (x86)\Diablo II\ProjectD2. 咱们养老服的是在C:\Program Files (x86)\Diablo II\ZYLPD2)。 您可以用任意文本编辑器进行编辑。编辑器可能需要在管理员权限模式下运行


<!--T:42-->
<!--T:42-->
Once a filter is selected from the launcher, loot.filter will link to the selected filter file instead of being used itself - it will be in the ''filters'' subfolder and can have a custom name.
一旦在游戏登录器上选择了一个过滤器,loot.filter 将加载对应的过滤器文件,来代替它自身的过滤功能。这个文件会被存放在过滤器的子文件夹中,可以自定义命名。


== ProjectDiablo.cfg == <!--T:4-->
== ProjectDiablo.cfg == <!--T:4-->
This configuration file contains the bulk of customization options that affect gameplay. Many hotkeys can be set here using standard [https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes virtual-key codes]. It's essentially a more comprehensive version of the in-game ''Settings'' menu, containing most of those options and more.
这个配置文件中包含了大量的可影响游戏的自定义选项. 使用标准虚拟键码,在这里可以设置很多热键: [https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes virtual-key codes]. 它实质上是一个更全面版本的游戏内设置菜单,包含了大多数选项及更多的内容。


<!--T:5-->
<!--T:5-->
[[File:screen_info_custom.png|right|Customized Screen Info]]Some examples of the available options:
[[File:screen_info_custom.png|right|Customized Screen Info]]几个例子:
* '''Reload Config''' - hotkey to reload loot filter changes
* '''Reload Config''' - 如果修改了loot.filter,重新加载它的热键
* '''Screen Info Configuration''' - determines how the info in the upper right corner is displayed. Use %REALTIME% command to show your local time on screen info.
* '''Screen Info Configuration''' - 可决定右上方的信息显示方式。使用%REALTIME%命令在屏幕信息中显示您当前本地时间。
* '''Gamefilter Configuration''' - determines how fast the game list refreshes, and whether difficulty & server is shown
* '''Gamefilter Configuration''' - 决定游戏列表刷新速度,以及是否显示难度&伺服器信息。
* '''Bnet Configuration''' - determines whether game name/password/description are autofilled
* '''Bnet Configuration''' - 决定是否自动填写游戏名称/密码/描述。
* '''Party Configuration''' - hotkeys for auto-party (join/invite others) and auto-loot (permission to loot corpse)
* '''Party Configuration''' - 自动组队邀请(加入/邀请他人)和自动拾取(允许拾取掉落)热键


== UI.ini == <!--T:6-->
== UI.ini == <!--T:6-->
This file describes where the ''Settings'' menu is displayed in-game.
这个文件是关于在游戏中何处显示设置菜单。


== ddraw.ini == <!--T:7-->
== ddraw.ini == <!--T:7-->
This file has options for adjusting video and compatibility settings, such as fullscreen, resolution, or CPU affinity.
这个文件是关于调整视频显示和兼容性设置的。比如全屏,清晰度,或CPU亲和度等。


<!--T:8-->
<!--T:8-->
Within this file you can also define which shader you want to use. For differences between each shader, see: [https://bayaraa.github.io/ Shader Comparison]
这个文件中您还能定义您想使用的着色器。关于着色器的不同之处,请参考:: [https://bayaraa.github.io/ Shader Comparison]


<!--T:27-->
<!--T:27-->
{| class="non-table mw-collapsible mw-collapsed"
{| class="non-table mw-collapsible mw-collapsed"
|+ Step-by-Step Instructions for High-Resolution Windowed Mode
|+ 高分辨率窗口模式设置步骤
|-
|-
|
|
- Make sure you have unchecked the Windowed Mode (-w) in the launcher options
- 登录器选项中,窗口模式(-w)这一项不要勾选。


<!--T:28-->
<!--T:28-->
第46行: 第46行:


<!--T:29-->
<!--T:29-->
- Locate the configuration file "ddraw.ini" in the "ProjectD2" folder under your "Diablo II" path installation. Right click on the .ini file and edit it with your favorite notepad/code editor.
- 在DiabloII目录下的ProjectD2文件夹中,咱们养老服是ZYLPD2文件夹中找到文件ddraw.ini,右键选择这个文件并用文本编辑软件进行编辑。


<!--T:30-->
<!--T:30-->
- Set your window width and height at numbers you desire (for example Full HD = 1920x1080):
- 设置您想要的窗口宽度和高度(例如 全高清 = 1920x1080):


<!--T:31-->
<!--T:31-->
第57行: 第57行:


<!--T:32-->
<!--T:32-->
* In case you have, at the end of the file, additional lines for width and height - set them to the same values as above
* 在文件的最后面如果有如图这一行,也是用于设置宽度和高度 – 设置与上面相同的值
<pre>;[game]
<pre>;[game]
width=1920
width=1920
第63行: 第63行:


<!--T:33-->
<!--T:33-->
- Set option "fullscreen" to false
- 设置选项fullscreen的值为false


<!--T:34-->
<!--T:34-->
第71行: 第71行:


<!--T:35-->
<!--T:35-->
- Set "windowed" to true
- 设置windowed的值为true


<!--T:36-->
<!--T:36-->
第78行: 第78行:


<!--T:37-->
<!--T:37-->
- [Optionall] Set "maxgameticks=-1"
- [可选项]设置 maxgameticks=-1


<!--T:38-->
<!--T:38-->
第85行: 第85行:


<!--T:39-->
<!--T:39-->
- Start the game and enjoy your new resolution setting
- 打开游戏并享受您的新分辨率设置画面


<!--T:40-->
<!--T:40-->
NOTICE: If you would like to see your window borders - set height of the window to lower value than 1080, for example 1020. Height and width values are in pixels and You can set them to however values you like, but avoid to put values large than 16:9 or 16:10 aspect ratios.
注意:如果您想要看到游戏窗口边框 – 窗口高度的值不要设置超过1080。比如设为1020.
|}
|}


83

个编辑