Skip to content

Releases: Cairl/CS2FontChanger

CS2 Font Changer v3.1

01 Mar 08:36

Choose a tag to compare

Update Notes:

  • Bilingual integration: Integrate Chinese and English, with automatic switching by detecting the system language; display Chinese when the system language is Simplified Chinese, and English in all other cases.

更新说明:

  • 双语言合并: 集成中英双语,通过检测系统语言自动切换;系统语言为简体中文时显示中文,其余情况显示英文。

v3.0

02 Feb 07:57
491cf7e

Choose a tag to compare

Update Notes:

  • Menu Overhaul: Optimized main menu layout for more intuitive operation.

  • Font Scaling: Added UI font adjustment, allowing custom text sizes.

  • Font Restoration: Added ability to restore original fonts. When replacing fonts for the first time, core files are automatically backed up to the game directory to ensure easy rollback.

更新说明:

  • 菜单重构: 主菜单布局优化,操作更直观。

  • 字体缩放: 添加 UI 字体调节,可自定义文字大小。

  • 还原字体: 添加恢复原版字体功能。首次替换字体时将自动打包核心文件至游戏目录,确保随时回滚。

v2.1

18 Feb 06:23
3720e72

Choose a tag to compare

Update Notes:

  • Runtime Font Loading: The application now supports loading fonts at runtime. You no longer need to launch the application by dragging and dropping font files. If no font is detected upon startup, the system will prompt you to enter the font path. The original drag-and-drop launch method is still supported.

  • Monodigit Font Support: Added full support for Monodigit fonts, expanding font replacement rules to ensure that monospace numeric fonts are displayed correctly in the game.

  • Packaging Environment Optimization: Starting with this version, the application will be packaged in a virtual environment, which should theoretically reduce the software's size.

更新说明:

  • 运行时字体导入: 现在程序支持运行时导入字体。无需再通过拖拽字体文件启动程序。如果启动时未检测到字体,系统会提示您输入字体路径。原有的拖拽字体启动方式仍然支持。

  • Monodigit 字体支持: 新增对 Monodigit 字体的完整支持,拓展字体替换规则,确保等宽数字类型的字体在游戏中能够正确显示。

  • 打包环境优化: 从本版本开始,程序将在虚拟环境中打包,理论上可以精简软件体积。

v2.0

10 Jan 22:43
6d8d874

Choose a tag to compare

Update Notes:

  • Fixed font name garbling issue

    • In the previous version, reading Chinese font names could result in parsing errors (e.g., 宝 我今天特别乖 being interpreted as AaBWJTTBG).
    • The new version restricts font name reading to Windows platform entries and uses Unicode decoding to ensure correct font name display.
  • Enhanced file validation and prompt messages

    • Added a file validation feature to ensure font files and configuration files are correctly created.
    • Improved error messages with more detailed operation statuses and troubleshooting suggestions.
  • Improved program robustness

    • Automatically creates missing directories to prevent crashes caused by invalid paths.
    • Enhanced error handling for file operations to avoid issues from failed deletions or copies.
  • Refined code structure

    • Key logic has been encapsulated into functions, improving code readability and maintainability.

更新说明:

  • 修复字体名称乱码问题

    • 旧版本读取中文字体名称时可能会发生解析错误(例如将字体名称 宝 我今天特别乖 错误地解析为 AaBWJTTBG)。
    • 新版本通过限制仅读取 Windows 平台上的字体名称,并采用 Unicode 解码方式,确保字体名称能够正确显示。
  • 增强文件验证与提示信息

    • 新增文件验证功能,确保字体文件和配置文件创建无误。
    • 优化错误提示信息,提供更详细的操作状态和故障排查建议。
  • 提升程序鲁棒性

    • 自动创建缺失目录,避免因路径问题导致程序崩溃。
    • 加强文件操作的异常处理,避免删除或复制失败影响运行。
  • 改进代码结构

    • 通过将关键逻辑封装为函数,提升代码的可读性与可维护性。

v1.3

23 Nov 09:50
d0e476a

Choose a tag to compare

Update Notes:

  • Added support for additional font formats, now supporting .ttf and .otf.
  • Fixed an issue where the program would crash when the input font was a file with a changed extension (e.g., changing a .ttc font collection format to a .ttf font format). The program will now check whether the input font file is valid.
  • Optimized print and comment terminology to better align with computer science conventions.

更新说明:

  • 增加支持的字体格式,现在支持 .ttf 及 .otf。
  • 修复当输入的字体为更改过扩展名的文件(例如将 .ttc 字体集格式更改为 .ttf 字体格式)时程序闪退的问题。现在会检测输入的字体文件是否合法。
  • 优化回显和注释术语,以更符合计算机科学的规范。

v1.2

14 Nov 12:14
2f2b6e6

Choose a tag to compare

Update Notes:

  • Fix the issue where the program crashes directly when the game installation path cannot be detected.

更新说明:

  • 修复程序在无法检测到游戏安装路径时直接崩溃的问题。

v1.1

08 Nov 09:52
92408f2

Choose a tag to compare

Update Notes:

  • Added the feature to manually input the game path.

更新说明:

  • 增加手动输入游戏路径的功能。

v1.0

01 Nov 09:40
550d256

Choose a tag to compare

Update Note:

  • First version released.

更新说明:

  • 首个版本发布。