Customization:修订间差异

来自PD2国服wiki
跳转到导航 跳转到搜索
(创建页面,内容为“ <!--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.
|}
|}



2023年1月13日 (五) 16:52的版本

以下四个文件有自定义选项:

  • ProjectDiablo.cfg
  • UI.ini
  • ddraw.ini
  • loot.filter (可以重命名)

这些文件在PD2目录中(C:\Program Files (x86)\Diablo II\ProjectD2. 咱们养老服的是在C:\Program Files (x86)\Diablo II\ZYLPD2)。 您可以用任意文本编辑器进行编辑。编辑器可能需要在管理员权限模式下运行

一旦在游戏登录器上选择了一个过滤器,loot.filter 将加载对应的过滤器文件,来代替它自身的过滤功能。这个文件会被存放在过滤器的子文件夹中,可以自定义命名。

ProjectDiablo.cfg

这个配置文件中包含了大量的可影响游戏的自定义选项. 使用标准虚拟键码,在这里可以设置很多热键: virtual-key codes. 它实质上是一个更全面版本的游戏内设置菜单,包含了大多数选项及更多的内容。

Customized Screen Info
Customized Screen Info

几个例子:

  • Reload Config - 如果修改了loot.filter,重新加载它的热键
  • Screen Info Configuration - 可决定右上方的信息显示方式。使用%REALTIME%命令在屏幕信息中显示您当前本地时间。
  • Gamefilter Configuration - 决定游戏列表刷新速度,以及是否显示难度&伺服器信息。
  • Bnet Configuration - 决定是否自动填写游戏名称/密码/描述。
  • Party Configuration - 自动组队邀请(加入/邀请他人)和自动拾取(允许拾取掉落)热键

UI.ini

这个文件是关于在游戏中何处显示设置菜单。

ddraw.ini

这个文件是关于调整视频显示和兼容性设置的。比如全屏,清晰度,或CPU亲和度等。

这个文件中您还能定义您想使用的着色器。关于着色器的不同之处,请参考:: Shader Comparison

高分辨率窗口模式设置步骤

- 登录器选项中,窗口模式(-w)这一项不要勾选。

- 在DiabloII目录下的ProjectD2文件夹中,咱们养老服是ZYLPD2文件夹中找到文件ddraw.ini,右键选择这个文件并用文本编辑软件进行编辑。

- 设置您想要的窗口宽度和高度(例如 全高清 = 1920x1080):

; Stretch to custom resolution, 0 = defaults to the size game requests
width=1920
height=1080
  • 在文件的最后面如果有如图这一行,也是用于设置宽度和高度 – 设置与上面相同的值
;[game]
width=1920
height=1080

- 设置选项fullscreen的值为false

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

- 设置windowed的值为true

; Run in windowed mode rather than going fullscreen
windowed=true

- [可选项]设置 maxgameticks=-1

; Run the game with max fps and not capped at 60-70 ish
maxgameticks=-1

- 打开游戏并享受您的新分辨率设置画面

注意:如果您想要看到游戏窗口边框 – 窗口高度的值不要设置超过1080。比如设为1020.

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.

Filters can be selected from the launcher and enabled via the in-game Settings menu.

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.


游戏内设置 In-Game Settings

找到 战利品过滤器 Loot Filter 选项

战利品过滤器选项可在游戏内选项的 "PD2 选项 PD2 Options" 菜单中访问. 快捷键可以在 配置控制 Configure Controls 菜单中设置.

这些选项不受战利品过滤器的影响:

  • 显示物品等级 Show Item Level: 在可能使用这些属性的物品提示中显示物品等级和词缀等级
  • 显示属性范围 Show Stat Ranges: 在变量属性的物品提示中显示范围
  • 永久显示物品 Always Show Items: 显示地面上的物品无需按住 Alt


这些是影响自定义过滤的主要选项:

  • 启用战利品过滤器 Enable Loot Filter: 启用这个过滤器
  • 过滤器等级 Filter Level: 更改将在过滤器中启用哪些 规则/通知

重新加载过滤器文件的默认热键是 "Numpad 0" 并且可以在游戏的配置控制菜单中更改

公用过滤器表 List of Public Filters

过滤器列有每个过滤器的 github 页面的链接你可以在其中阅读更多关于它们的信息. 如果你想联系他们许多作者还会列出他们的 discord. 当前 赛季 season 更新的过滤器以绿色突出显示. 较旧的过滤器以红色突出显示.

日期 不会 自动更新, 所以请查看每个日期的链接看看它们实际上是什么时候更新的.

过滤器 更新 作者 简要描述
Kryszard's PD2 Loot Filter 2024-11-24
ver 10.4.6
Kryszard
Kryszard#5460
过滤器应该适合大多数玩家的需求 - 它对升级和游戏体验都有好处. 你可以在我的网站上找到更多信息 GitHub
Reddit 讨论区: Kryszard's PD2 Loot-Filter - 讨论主题
eqN's PD2 Filters 2024-10-23
(Season 10)
eqNj A refined filter with several tiers (Relaxed, Medium, Strict, and ShowRecipes) designed for beginners and veterans alike. Every level is tailored to ensure anything of use always shows based on your class and progress. Useful info about items is in descriptions: Defense range, weapon speed/range, max sockets, runewords, and if an item is of high value. All Runes and Uniques notify on drop. Valuable items are made easy to see and pick up. Sockets, superior ED %, and staffmods show in item names. Crafting bases are marked/notified. Detailed recipes, runewords, and crafting info is available by switching to the 'Show Recipes' filter level.
Feather 2024-04-08 BetweenWalls This filter is less strict than most and has all the usual improvements, so it's ideal for new players. It's also great for experienced players who like the simple aesthetic of the original game. Multiple strictness levels are available to help the filter better match your preferences.
Kassahi's Filter 2024-11-24
(Season 10)
Kassahi 我的 GitHub (README) 终于更新了我的过滤器信息, 也怪洋葱的一切 !!!
HiimFilter 2024-10-20
(Season 10)
Maaaaaaarrk
Hiimdave
Has an ring & amulet pts system to show value. Levels that cover season reset to End Game loot filter. Shows many important stats when the item is on the ground. Utilizes the filter levels functionality. Has helpful hints to new to PD2 players on what to do. Has LLD tags to know what is valuable to the LLD community. Has LLD specific Rung Amulet and Jewel pts grading system. See the readme for many more features!
TalRasha's PD2 Item Filter 2023-10-01
(Season 8)
talrasha#4179 Updated for Season 8. Highlights good items in bright colors and adds design elements to names. Shows crafting recipes on magic/rare items and maps. Reveals names of most uniques and sets unidentified.
Erazure's PD2 Loot Filter 2024-04-08
(Season 9)
Erazure_OwO
Discord: erazure
- Highly stylized, visually polished loot filter with customizable strictness; Valuable items and high runes display and notify with a splash of color on the screen; Distinct intuitive symbols for maps, charms, runes, gems, jewels, potions, and more!
- Features four different tiers of filter levels (excellent for ladder resets, midgame leveling/farming, as well as endgame mapping); Players have the ability to select what kind of potions to show or hide on demand (e.g. choose a filter level subtier to hide H5, M5, or Rejuvenation potions)
- For more information, check out my GitHub or message on Discord: Erazure#5126
PiLLLa PD2 Filter 2024-10-25
(Season 10)
PiLLLa When you visit my github, you can see updated Information. If you have any other idea for filter, let me know that by discord and reddit. Thanks
.
Wolfie's Filters 9999-12-31 WolfieeifloW#6431 Always updated for the newest season! Multiple versions to fit any style - Detailed/Revealed/Compact for less strict, Wolfie for stricter, BT for strictest. Shows/pings all Sets, Uniques, Runes, etc.
Join my Discord for questions or more info!
RetroCro's Loot Filter 2024-05-09 (Season 9) RetroCro#7154 Ladder Reset to End Game mapping loot filter. Shows the identified names of set and unique items. Set your desired strictness in game!
Dauracul's Loot Filter 2024-10-21
(Season 10)
Dauracul Clean and informative lootfilter, focused on attribute and item management notes (socket counts, weapon speed, cube recipes, automod/staffmod rolls, runeword recipes, etc.). Runeword recipes are divided into Filter Levels and displayed on all normal bases with sockets. Most high value items will trigger notifications.
ADevDH 2023-09-28 ADevelopment,
DarkHumility
PD2 All-Purpose Early-Late Game Filter Focuses on Updated Item Tiering + Map Tiering/Immunities + Highlights Jewels and Other Items for GG Stats. Includes all Crafting/Socket Bases you'll ever need! Low Overall Strictness! Filters out the garbage though!
比较旧的过滤器
过滤器 更新 作者 描述
TheIrateSeagoer's Loot Filter 2023-03-04 TheIrateSeagoer
CaptainJack#6308
This filter has all of the values from Arreat Summit listed on the equipment, ensuring you always know the max sockets/max defense of any piece of equipment (with ilvl specific information). Every magic item has the rune needed for the crafting recipes in preparation for their use in season 2. Runes are colored by the difficulty they start to drop in. Every set and unique is alerted by default at low levels. Armors are marked with a perfect and good suffix for their base armor roll. Perfect rolls are denoted with purple information, red denote good rolls.
Equa1ity's PD2 Filter 2022-07-11 equa1ity#7704 ADD RACE LEAGUE FILTER, rewriting for S5 Many improvements!
ElPocoBurrito's Filter 2021-12-23 ElPocoBurrito#0001 S4 Ready A heavily modified version of Wolfie's "Wolfie" filter tailored to be filled with features including some which are absent from many others (like telling you the set name next to the set drop). My philosophy is to be slightly strict and to keep somewhat vanilla looking item names with few exceptions (I make sure to have rare and valuable items stand out). Please give me feedback and comments on discord through DMs or the #lootfilter channel.
1l4u's Loot Filter 2021-08-12 1l4u Update for season 3. Super strict end game filter.
Baneazy's Loot Filter 2021-08-06 Baneazy A good filter from beginning to end game. It's mostly tailored toward end game but should taper items off from Normal to Hell.
scrollsjay's Loot Filter 2021-04-01 scrollsjay This Loot Filter uses Kryszard's PD2 Loot-Filter for most of it's filter rules. Most changes allow for a briefer appearance of basic items to present a unified look. Full details with screenshots at the github repository. Contact me via reddit.com here
Gothablo's Loot Filter 2021-03-16 Gothablo It is a filter based on the code "Kryszard's PD2 Loot Filter". The main changes are aesthetic elements, but there are a few changes added from me. From the beginning of the game to END GAME, items that we do not need or are of little value are removed. All MAGIC and RARE items should be and identified to check if they are worth to the trader. In addition, the filter code can be easily changed by yourself.
Pj's Loot Filter 2020-12-07 Pj#5884 Pretty strict end-game loot filter. Based loosely on Kryszard's filter with a lot of changes. Hides all normal and exceptional stuff, only shows top-end elite items. Shows all set/unique items but only alerts on exceptional/elite versions. Hides tons of garbage. Only shows full rejuvs/super potions. Heavily commented for clarity. Work in progress, check back frequently for updates.
Luke's late game filter 2020-11-24 Luke My late game filter i updated on fly. No leveling rules. Good as reference if you want to write your own filter. Filter has been updated to be less hostile. Make sure you check for sets, bases, magic and rares. It's not recommended to use it without checking :) (fix all res on paladin shields, show light elite chests (0,3,4 os) 10+ed, show all eth chests (0,3,4 os) 5+ed) Thanks to WolfieeifloW.
Lhaetes
PD2 Loot Filter
2020-11-19 Lhaete A filter that preserves the games original aesthetic, and shows Runeword recipes & Magic Crafting recipes on items!
In-Game Screenshots
Rinku's Loot Filter 2020-11-11 Rinku#1352 A basic filter that hides clutter and shows item info at a glance, not much customization, just some QOL :) Definitely not for everyone but I thought I'd share.

一些工具是可以用的在 手册和链接 页面在编辑过滤器时可能有用.

常见问题 FAQ

本节列出了有关过滤器的常见问题和解决方法.

  1. 哪种过滤器最适合我?
    • 不存在 "最好的" 过滤器. 不同的过滤器有不同的原因它们对显示或通知的物品筛选程度, 它们提供的额外信息的数量和类型, 以及它们如何改变物品的外观都有所不同. 如果不知道你想在过滤器中寻找什么很难给出建议而且人们可能不熟悉太多的过滤器, 所以自己比较过滤器可能是找到适合你的过滤器的最好方法.
  2. 比较不同过滤器的最好方法是什么?
    • 过滤器通常包括对其筛选程度, 具有哪些特性以及物品如何显示描述. 有些甚至包括示例图像. 如果这还不够, 过滤模板 可以用来一次比较过滤器之间的大多数物品, 单人游戏可以与物品包和本地过滤器一起使用以便过滤器可以在游戏中更改和重新加载以比较任何数量的物品.
  3. 如果我想使用自定义过滤器, 如何保存更改?
    • 将自定义过滤器放入 ProjectD2\filters\local 中并在登录器的 "Local" 中选择它. 本地过滤器不会自动更新, 所以如果你的过滤器基于公共过滤器, 你可能希望只用该过滤器以防对其进行任何重要更改.
  4. 我如何关闭过滤器或回到原来的状态?
    • 过滤器可以通过在游戏设置中禁用 启用战利品过滤器 来关闭. 要将所有内容重置为默认值, 请关闭游戏和登录器, 删除这个 filter 文件夹中的 default.filterloot.filter 在 ProjectD2 目录下, 然后重新启动游戏.
  5. 如何在 PlugY 中使用过滤器?
    • 多人游戏的过滤器配置同样适用于单人游戏. 当游戏从登录器打开时过滤器配置会更新 - 从登录器中选择一个过滤器并按 Play 以更新它. 如果使用非-本地版本这也会更新过滤器本身. 之后, 关闭游戏/登录器并使用 PlugY 打开游戏.
  6. 旧赛季的战利品过滤器会在当前赛季起作用吗?
    • 除非旧的过滤器非常简单, 否则它可能会以意想不到的和不受欢迎的方式运行. 不建议使用过时的过滤器.
  7. 我的设置按钮不见了
    • 关闭游戏 & 登录器, 删除 UI.ini, 然后重新启动游戏将设置按钮恢复到默认位置.
  8. 我的登录器在列表中没有显示过滤器
    • 关闭登录器并重新打开它. 重新打开后如果他们仍然没有显示或如果服务器/GitHub已关闭. 另外, 试着在你的防病毒软件/或防火墙中把登录器和游戏列入白名单.
  9. 我的登录器物品过滤器中显示 "Coming Soon!"
  10. 我的过滤器不能工作
    • 确保 游戏内设置 设置正确.
    • 使用登录器选择你的过滤器. 如果你不使用登录器, 这些可能是常见的问题:
      • 安装了两个 PD2 并将过滤器粘贴到错误的文件夹中
      • 用错误的名称保存过滤器文件 (例如. default.filter.filter, default.txt, 或 default.filter.txt)
      • 在一个 Diablo II 文件夹中安装了一个 PD2 而这个文件夹又在另一个 Diablo II 文件夹中 (文件夹重复!)
      • 在将规则粘贴到过滤器文件后未保存并关闭该文件
  11. 我的过滤器在某些物品中显示奇怪的字符
    • 某些 特殊字符 只有当你的过滤器文件以 ANSI 而不是默认的 UTF-8 编码时才会正确显示. 大多数文本编辑器都允许修改编码 - 例如, Notepad++ 将 "编码" 作为主要菜单选项之一.