Save Edit Tool Version 0.5.0 - ATS UPDATE 🚛
What's Changed
- feat: Support of American Truck Simulator | UI improvements by @xLieferant in #56
- Bump to 0.5.0 | ATS Support | Fixed issues with Tool by @xLieferant in #57
Full Changelog: 0.4.0...0.5.0
Release Changelog - 2026-01-10
This release marks a significant milestone with the introduction of American Truck Simulator (ATS) support, a fully revamped game-switching architecture, and major stability fixes for the frontend and profile management.
🚀 New Features & Improvements
🚛 Full American Truck Simulator (ATS) Support
- Added native support for ATS alongside ETS2.
- Dynamic Path Resolution: Updated backend logic (
paths.rs) to automatically resolve the correct document directories for each game. - Game-Specific State: Integrated
selected_gameinto the globalAppProfileState(state.rs) to maintain context between sessions.
🔄 Enhanced Game Switcher & UI
- Simplified Switcher UI: Introduced a new, cleaner style for the game toggle buttons (
#ets2Btn,#atsBtn). - Seamless Game Swapping: Implemented
switchGamein the frontend to clear current session data (profiles/saves) and trigger a fresh, clean scan for the selected game. - UI Synchronization: The UI now automatically locks and updates button states (Active/Disabled) based on the current backend state.
🛠 Backend Refactoring
- New Clone & Rename Logic: Rewritten backend handlers for profile cloning and renaming for better reliability.
- New Commands: Registered
set_selected_gameandget_selected_gamecommands for robust frontend-backend communication.
🐛 Bug Fixes
- Modal Multiplicity Fix: Resolved an issue where toggling between games caused redundant modals to multiply and stack in the UI.
- Duplicate Profile Prevention: Fixed a bug that allowed the creation of duplicate profiles during the scanning or renaming process.
- Path Leakage Fix: Updated the profile picker logic to stop displaying raw file paths. The UI now shows a neutral "Select Profile" prompt until a valid profile for the active game is explicitly chosen.
- Frontend Error Handling: Fixed errors occurring during the
gameSwitchevent that previously broke the modal initialization.
⚙️ Technical Details
- Environment: Verified on
cargo tauri dev. - Backend: Rust
src-taurienhancements inmain.rs,commands.rs, andshared/paths.rs. - Frontend: Refactored
main.jsprofile caching logic (lines 898-917) to ensure only valid friendly names are displayed.
Safe trucking!