Skip to content

Save Edit Tool Version 0.5.0 - ATS UPDATE 🚛

Choose a tag to compare

@xLieferant xLieferant released this 10 Jan 00:02
· 52 commits to main since this release
370a792

What's Changed

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_game into the global AppProfileState (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 switchGame in 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_game and get_selected_game commands 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 gameSwitch event that previously broke the modal initialization.

⚙️ Technical Details

  • Environment: Verified on cargo tauri dev.
  • Backend: Rust src-tauri enhancements in main.rs, commands.rs, and shared/paths.rs.
  • Frontend: Refactored main.js profile caching logic (lines 898-917) to ensure only valid friendly names are displayed.

Safe trucking!