Skip to content

v0.4.0: Launcher Localization & Patch Engine Fixes

Latest

Choose a tag to compare

@Harold0777 Harold0777 released this 28 Nov 05:59
· 1 commit to main since this release
b2f73cf

🛫 Eagle Five - Release 0.4.0

This release brings major stability to the graphical launcher (Qt6), completely revamps the language system, fixes the visual artifacts at 3x and 6x internal resolution (clouds, smoke, contrails), and includes an important fix to the patch engine contributed by the community.

✨ Features & Modifications

  • Launcher Localization: Added a dedicated Language selector combo box to the main UI. The launcher now supports switching between English, Portuguese, Spanish, and French on the fly.
  • Language Persistence: Your language choice is now saved in ~/.config/eagle_five/launcher.json and correctly loaded on startup.
  • System Locale Detection: Auto-detects system language (LC_ALL, LANG, etc.) and supports the AC5_LAUNCHER_LANG environment variable override.
  • Auto-Detection Paths: Improved auto-detection for the ac5 executable and the --data folder.

🐛 Bug Fixes

  • Fixed 3x and 6x internal resolution artifacts: With internal_resolution = 3 or 6, volumetric effects (clouds, smoke, contrails) showed seams and border bleeding on RADV, while 2x, 4x, 5x and 8x rendered cleanly. The cause was floating-point division in wrap_up() and sample_region_repeat_up() (runtime/shaders/gs.frag): on RADV, the reciprocal approximation for factors of 3 rounded slightly down on exact sprite boundaries, shifting the sampled coordinate by one texel into the neighbouring atlas sprite. Both functions now use exact integer division and modulo.
  • Fixed mixed-language UI: Resolved an issue where changing languages left parts of the UI stuck in the old language.
  • Fixed corrupted combo boxes: Resolution, driver, and preset dropdowns no longer turn into numbers or lose their internal technical values during language translations.
  • Restored entry point: Ensured main() and if __name__ == '__main__': blocks are intact so the launcher always opens.
  • Patch Engine Fix (PR #1): A refused patch no longer turns off the ones it overlaps. Fixed the ps2_patch_add logic so that lower-priority overlapping patches are not lost when a higher-priority patch is refused depending on load order.

🧪 Tests & CI

  • Added comprehensive test cases in tools/patch_test.c to validate patch overlap priority and refusal logic.
  • Verified patch engine stability via CI (gcc 15, clang 15, debian:trixie).
  • Removed dead code from previous unreachable retranslation paths.

🙏 Credits

  • Special thanks to @marquezinii for the excellent contribution in PR #1 (Patch engine conflict resolution fix).
  • Thanks to everyone testing the recompilation on Linux.

Full Changelog: v0.3.0...v0.4.0