Skip to content

Commit

Permalink
update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Jan 18, 2024
1 parent cacc683 commit 0876d65
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 29 deletions.
16 changes: 2 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Let's assume that you have all requirements installed correctly.

### CaptionMod

A subtitle plugin designed for displaying subtitles and translate in-game HUD text.
A subtitle plugin that adds closing-captioning, HUD text translatation to game, HiDpi support and Source2007-style chat dialog to game.

[DOC](docs/CaptionMod.md) [中文文档](docs/CaptionModCN.md)

Expand Down Expand Up @@ -212,16 +212,4 @@ Client-Side part of the mod it´s introduced as a metahook plugin.

Server-Side part of the mod it´s done with a modifidied reGame dll.

https://github.com/ollerjoaco/Trinity-EngineSv

### ModelViewer (third-party) (Sven Co-op only)

https://github.com/surf082/ModelViewer

This is a plugin for Sven Co-op that adds a button to the option menu to open the modelviewer for player model preview.

### ServerFilter (third-party) (GoldSrc only)

https://github.com/surf082/ServerFilter

This is a plugin for GoldSrc Games that provides server filter function.
https://github.com/ollerjoaco/Trinity-EngineSv
18 changes: 4 additions & 14 deletions READMECN.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@

这是一个使用VGUI2来显示字幕、翻译英文HUD消息和VGUI文本的插件。

对Sven Co-op而言,该插件修复了游戏中大多数无法显示中文的乱码问题。
除此之外还为游戏添加了起源风格的聊天框以及高DPI支持。

对Sven Co-op而言,该插件修复了游戏中的汉字无法显示或者乱码的问题。

[中文文档](docs/CaptionModCN.md) [英文文档](docs/CaptionMod.md)

Expand Down Expand Up @@ -212,16 +214,4 @@ https://github.com/LAGonauta/MetaAudio

* 由于 MetaAudio 会拦截引擎中所有播放声音的接口。`MetaAudio.dll``plugins.lst` 中必须处于任何依赖于引擎中声音组件的插件之前 (例如:CaptionMod) ,你需要调整加载顺序以防止这些插件的功能被 MetaAudio 干扰。使用错误的加载顺序可能会导致这些插件无法正常工作。

* 具体解释:如果两个插件都对同一个函数(比如引擎中播放声音的api)挂了hook,那么后安装的hook会先于先安装的hook执行,而我们必须确保hook的调用链为`hw.dll`->`CaptionMod.dll`->`MetaAudio.dll`才能让CaptionMod根据声音播放字幕的功能不被MetaAudio拦截,也就是说`CaptionMod.dll`必须在`MetaAudio.dll`之后安装hook。

### ModelViewer (第三方) (只支持Sven Co-op)

https://github.com/surf082/ModelViewer

该插件在多人游戏选项页面添加了一个预览模型的按钮。

### ServerFilter (第三方) (只支持GoldSrc)

https://github.com/surf082/ServerFilter

该插件为GoldSrc游戏提供服务器过滤功能。
* 具体解释:如果两个插件都对同一个函数(比如引擎中播放声音的api)挂了hook,那么后安装的hook会先于先安装的hook执行,而我们必须确保hook的调用链为`hw.dll`->`CaptionMod.dll`->`MetaAudio.dll`才能让CaptionMod根据声音播放字幕的功能不被MetaAudio拦截,也就是说`CaptionMod.dll`必须在`MetaAudio.dll`之后安装hook。
2 changes: 1 addition & 1 deletion thirdparty/FreeImage_clone

0 comments on commit 0876d65

Please sign in to comment.