Skip to content

v0.3.9

Choose a tag to compare

@doyaGu doyaGu released this 20 Sep 05:43
· 1341 commits to main since this release

v0.3.9 (2025-09-20)

Important: Ensure that you have the Microsoft Visual C++ Redistributable version 14.40 or later installed. You can download it from the official Microsoft website.

New Features

  • ANSI Text Rendering System: Complete ANSI escape sequence support with 256-color palette, SGR attributes (bold, italic,
    underline), and optimized zero-copy text parsing
  • Advanced HUD System: New HUD framework with nested containers (vstack, hstack, grid), page management, auto-layout, panel
    styling, and comprehensive INI configuration support
  • ANSI Color Palette Management: Theme-based color system with Nord theme default, mixing capabilities, and palette command
    for runtime configuration
  • Enhanced Message Board: UTF-8 text layout, unified scrolling, configurable line spacing, background alpha, tab column
    support, and fade effects
  • INI File Parser: New IniFile class for robust configuration file parsing and modification
  • Extended String Utilities: Unicode string comparison, escape/unescape functions, ANSI code stripping, and improved UTF-8
    handling
  • Improved Command System: Enhanced tab completion, quoted string handling, echo command with escape processing options, and
    better argument parsing
  • Menu System Enhancements: Pagination helpers, lifecycle management, keyboard navigation improvements, and better map/mod
    menu handling
  • Font Scaling Support: Dynamic font scaling for UI elements and map entry displays

Fixes

  • Input System: Fixed HookGetMessageW to call correct original function and oIsKeyReleased to use proper key state detection
  • Text Rendering: Fixed HUD text rendering with proper DrawText parameters and default tab column values
  • Memory Management: Fixed garbled text issues, shutdown hangs, and improved buffer allocation for Printf functions
  • UTF-8 Handling: Corrected UTF-8 validation logic, AppendUTF8 processing, and hex escape parsing
  • UI Navigation: Fixed CommandBar toggle key handling, page count handling for zero pages, and map search functionality
  • Background Rendering: Fixed alpha blending for message background colors and improved visual consistency
  • Command Processing: Fixed CommandHUD text unescaping and improved quote handling in command parsing
  • Menu Behavior: Fixed MapListPage closing logic and CommandBar activation prevention
  • Dependency Management: Enhanced mod dependency validation with relaxed version parsing and better error handling
  • Map Loading: Improved error handling in map exploration and loading functions with better memory allocation checks

Technical Improvements

  • ImGui Update: Updated to version 1.92.3 with enhanced texture handling and improved backend implementation
  • Dependency Updates: Updated Oniguruma to 6.9.10 and ZIP library to 0.3.5
  • Test Coverage: Added comprehensive unit tests for AnsiPalette, IniFile, and StringUtils with over 1000 new test cases
  • Performance Optimizations: Optimized ANSI escape code parsing, improved rendering efficiency, and enhanced memory
    management
  • Code Quality: Extensive refactoring for better maintainability, improved error handling, and enhanced safety measures
  • Documentation: Added Chinese README, mod development template, and comprehensive HUD command documentation

Breaking Changes

  • Removed legacy imgui_impl_ckrasterizer implementation
  • Refactored several API interfaces for improved consistency
  • Updated mod loading mechanism with enhanced dependency validation