zhaijineet-PinyinSearch icon

PinyinSearch

在商店和库存搜索框中输入拼音或首字母,即可搜索中文物品名称,无需中文输入法。

Last updated 2 days ago
Total downloads 24
Total rating 0 
Categories Mods Tools
Dependency string zhaijineet-PinyinSearch-0.1.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

Thunderstore-unreal_shimloader-1.1.7 icon
Thunderstore-unreal_shimloader

Thunderstore Mod Manager and r2modmanPlus support for RE-UE4SS.

Preferred version: 1.1.7

README

PinyinSearch

在《Voices of the Void》的搜索框中输入拼音或首字母,即可搜索中文物品名称,无需中文输入法。

中文补丁(如 Votv-PatchChinese)会将物品名称显示为中文,而游戏原生搜索只能进行文字片段匹配。PinyinSearch 在不改变原生搜索结果的基础上,增加拼音搜索支持,普通英文键盘也可以使用。

功能简介

  • 支持笔记本商店搜索。
  • 支持玩家库存和容器中的配方搜索。
  • 支持全拼、首字母、全拼与首字母混合输入。
  • 支持多音字;声调会被忽略,ü 会按 v 处理。
  • 不需要额外配置文件,不联网,也不会下载数据。

Where it works

Any search box that goes through the game's shared filterWidget filter:

  • Laptop store search box (the shop)
  • Player inventory / container search box (recipe search)

Matching is a strict superset of vanilla: everything that worked before still works.

What you can type

For an item named 手表 (shǒu biǎo):

You type Result Why
shoubiao full Pinyin
sb initials
shoub partial syllables
biao starting from the second syllable
shb mixed full + initial
shǒu tones are ignored
手表 literal Chinese, unchanged
hou matching starts at syllable boundaries

Multi-reading characters are supported: 银行 matches both yinhang and yinxing.

Multiple words work like vanilla — they are ANDed: metal scrap finds Metal Scrap, and each word is matched independently.

Matching rules

  1. The search text is split on whitespace; every part must match (same as vanilla).
  2. A part matches if it is a substring of the item name (case-insensitive, vanilla behaviour), or
  3. it matches the item's Pinyin syllables, where each syllable may contribute its full reading or just its first letter.

ü is folded to v, tones are ignored, so nv finds .

Data & credits

The Pinyin table is compiled into main.dll; nothing is downloaded at runtime and no extra files are needed.

Limitations

  • No fuzzy-Pinyin matching yet (e.g. zh/z, ang/an are treated as distinct). Planned for a later version.
  • Matching starts at syllable boundaries, so a mid-syllable fragment like hou will not match shou.
  • Items whose names are still English keep working exactly as before.

Requirements

  • Voices of the Void (a09n or later)
  • Unreal Shimloader (installed automatically by mod managers)

Source

Part of a multi-mod workspace; source and build scripts ship with the ContainerCrafting repository layout under mods/PinyinSearch/.