Weili0677留言 | 贡献
创建页面,内容为“ <!--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…”
 
Lil174留言 | 贡献
无编辑摘要
 
(未显示2个用户的3个中间版本)
第1行: 第1行:
有四个文件具有自定义选项:


<!--T:1-->
Four files have customization options:
<!--T:2-->
* ProjectDiablo.cfg
* ProjectDiablo.cfg
* UI.ini
* UI.ini
* ddraw.ini
* ddraw.ini
* loot.filter (can be renamed)
* loot.filter (能被重命名)


<!--T:3-->
这些文件位于 ''ProjectD2'' 目录中 (''C:\Program Files (x86)\Diablo II\ProjectD2''). 可以使用任何文本编辑器编辑它们, 尽管编辑器可能需要在管理员模式下运行.<br/><span class="d2-white">国服是在 ''ZYLPD2'' 文件夹中</span>
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-->
一旦过滤器从登录器中选择, loot.filter 将链接到所选的过滤器文件而不是自己使用它 - 它将位于 ''filters'' 子文件夹中并且可以有一个自定义名称.
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.


== ProjectDiablo.cfg == <!--T:4-->
== ProjectDiablo.cfg ==
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 虚拟-键代码] 设置. 它本质上是游戏内 ''设置'' 菜单的一个更全面的版本, 包含了大多数这些选项.


<!--T:5-->
[[File:screen_info_custom.png|right|Customized Screen Info]] 一些可用选项的示例:
[[File:screen_info_custom.png|right|Customized Screen Info]]Some examples of the available options:
* '''Reload Config''' - 重新加载战利品过滤器变更的快捷键
* '''Reload Config''' - hotkey to reload loot filter changes
* '''Screen Info Configuration''' - 确定右上角信息的显示方式. 使用 %REALTIME% 命令在屏幕上显示你的本地时间信息.
* '''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.
* '''Gamefilter Configuration''' - 决定游戏列表刷新的速度, 以及是否显示难度 & 服务器
* '''Gamefilter Configuration''' - determines how fast the game list refreshes, and whether difficulty & server is shown
* '''Bnet Configuration''' - 决定是否自动填写游戏名称/密码/描述
* '''Bnet Configuration''' - determines whether game name/password/description are autofilled
* '''Party Configuration''' - 自动组队 (加入/邀请他人) 和自动战利品 (允许掠夺尸体战利品) 的快捷键
* '''Party Configuration''' - hotkeys for auto-party (join/invite others) and auto-loot (permission to loot corpse)


== UI.ini == <!--T:6-->
== UI.ini ==
This file describes where the ''Settings'' menu is displayed in-game.
这个文件描述了 ''设置'' 菜单在游戏中显示的位置.


== ddraw.ini == <!--T:7-->
== ddraw.ini ==
This file has options for adjusting video and compatibility settings, such as fullscreen, resolution, or CPU affinity.
该文件具有调整视频和兼容性设置的选项, 例如全屏, 分辨率, CPU 亲和性.


<!--T:8-->
在这个文件中你还可以定义你想要使用的着色器. 每个着色器之间的差异, 查看: [https://bayaraa.github.io/ 着色器比较]
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]


<!--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-->
[[File:pd2_launcher_uncheck_windowed_mode.png|240px]]
[[File:pd2_launcher_uncheck_windowed_mode.png|240px]]


<!--T:29-->
- "Diablo II" 路径安装下的 "ProjectD2" 文件夹中找到配置文件 "ddraw.ini" . 右键点击 .ini 文件并使用你最喜欢的记事本/代码编辑器编辑它.<br/><span class="d2-white">国服是在 ''ZYLPD2'' 文件夹中</span>
- 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.


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


<!--T:31-->
<pre>; Stretch to custom resolution, 0 = defaults to the size game requests
<pre>; Stretch to custom resolution, 0 = defaults to the size game requests
width=1920
width=1920
height=1080</pre>
height=1080</pre>


<!--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
height=1080</pre>
height=1080</pre>


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


<!--T:34-->
<pre>; Override the width/height settings shown above and always stretch to fullscreen
<pre>; Override the width/height settings shown above and always stretch to fullscreen
; Note: Can be combined with 'windowed=true' to get windowed-fullscreen (borderless)
; Note: Can be combined with 'windowed=true' to get windowed-fullscreen (borderless)
fullscreen=false</pre>
fullscreen=false</pre>


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


<!--T:36-->
<pre>; Run in windowed mode rather than going fullscreen
<pre>; Run in windowed mode rather than going fullscreen
windowed=true</pre>
windowed=true</pre>


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


<!--T:38-->
<pre>; Run the game with max fps and not capped at 60-70 ish
<pre>; Run the game with max fps and not capped at 60-70 ish
maxgameticks=-1</pre>
maxgameticks=-1</pre>


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


<!--T:40-->
提示: 如果你想查看窗口边框 - 请将窗口的高度设置为低于 1080 的值, 例如 1020. 高度和宽度值以像素为单位你可以将它们设置为任何你喜欢的值, 但避免设置大于 16:9 16:10 的宽高比的值.
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.
|}
|}


== loot.filter == <!--T:43-->
== loot.filter ==
This file controls how loot is displayed and whether any items should be hidden completely. By default, there are no custom rules for filtering items.
该文件控制战利品的显示方式以及是否应该完全隐藏任何物品. 默认情况下, 没有过滤物品的自定义规则.


<!--T:44-->
过滤器可以从 [https://github.com/Project-Diablo-2/LootFilters#project-diablo-2-loot-filters 登录器] 中选择并通过游戏设置菜单启用.
Filters can be selected from the [https://github.com/Project-Diablo-2/LootFilters#project-diablo-2-loot-filters launcher] and enabled via the in-game Settings menu.


<!--T:45-->
要手动安装, 请下载过滤器器文件并将其保存到 ''Diablo II\ProjectD2\local'' 然后从登录器中选择它. 确保相关的游戏设置已启用. 如果你想自己编辑过滤器, [[Item Filtering|物品过滤器]] 页面是一个全面的参考.<br/><span class="d2-white">国服是在 ''ZYLPD2'' 文件夹中</span>
To install manually, download a filter file and save it to ''Diablo II\ProjectD2\local'' and then select it from the launcher. Make sure the relevant in-game settings are enabled. If you want to edit a filter yourself, the [[Item Filtering]] page is a comprehensive reference.
{{:Filter_Info}}
{{:Filter_Info}}
MediaWiki Appliance - Powered by TurnKey Linux