Skip to content

XPsoud/ADEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoDrive Editor

A user-friendly route editor for the AutoDrive mod of Farming Simulator 25.

Overview

AutoDrive Editor is a complete rewrite of the original Java-based AutoDrive Course Editor, designed to provide a more intuitive and powerful experience for creating and editing AutoDrive routes in Farming Simulator 25.

Main Features

  • Visual Route Editor: Display and edit AutoDrive routes directly on the map overview
  • DDS Support: Native DDS image reader with no external dependencies
  • Heightmap Integration: Automatic altitude calculation from heightmap data
  • Project Management: Save and load projects with all required map data included
  • Non-Destructive Editing: Original savegame files remain untouched until explicit export
  • FS Savegame Integration: Export edited AutoDrive data back to a savegame, or restore the original file from the project
  • Undo/Redo System: Full action history support for editing operations
  • Curve Creation Tool: Advanced Bezier curve generation with tangency control for smooth turns
  • Backward Driving: Native support for FS25 reverse-driving segments with correct data conventions
  • Navigation Tools: Smooth zoom and pan controls with mouse wheel support
  • Enhanced Validation: Automatic detection of invalid connections and network issues with an interactive "Check Data" dialog
  • Hover Highlighting: Clear visual feedback for hovered waypoints and route segments
  • Persistent FS25 Settings: The game install folder and mods folder are stored in settings and reused across sessions
  • Portable Package: A ready-to-use 7-Zip package that stores its settings in its own folder

Recent Evolutions

  • Project workflow improvements: Project files now embed the source AutoDrive data and map assets for safer, more portable editing sessions.
  • Safer savegame round-trip: Export and restore operations validate map compatibility and create backups before overwriting AutoDrive_config.xml.
  • Editing comfort: Undo/redo, route direction tools, reverse segments, smooth curve creation, and hover highlighting make large edits much faster.
  • Validation tooling: The dedicated "Check Data" dialog helps spot broken references, invalid routes, and other network consistency issues.
  • FS25 path persistence: The game installation folder is auto-detected only when needed at application startup, then stored in settings instead of being searched repeatedly on project creation and load.

License

Like the original Java version, this application does not yet have a license.

Acknowledgments

  • DDSReader: Based on DDSReader.java by Kenji Sasaki (MIT License), with improvements by KillBait
  • AutoDrive Mod: AutoDrive mod for Farming Simulator GitHub
  • Original Editor: Java-based AutoDrive Course Editor as reference GitHub

To Do

  • Check tool: Add a propagation mode when double-clicking a route segment
  • Persistent selection mode: Optionally keep the selected propagation mode across sessions
  • Delete confirmation preference: Add a "Do not show this dialog again" option to the delete confirmation dialog
  • Restore disabled dialogs: Add a way to re-enable previously hidden confirmation dialogs
  • Default confirmation button: Let the user choose which button is selected by default in deletion confirmations
  • Background image: Display a default background when no project is loaded

Planned Features

  • Waypoint Alignment: Align multiple waypoints horizontally, vertically, or along a segment defined by both endpoints
  • New From Scratch: Create a new project from a map alone, without requiring a savegame folder or initial AutoDrive data file
  • Traffic Data Integration: Import an existing road network from the map to create routes more quickly
  • Magnifier Tool: Make selection easier when several items are close together
  • Advanced Route Tools:
    • Auto-connect waypoints along roads
    • Bulk waypoint operations (move, delete, flag change)
    • Route templates and patterns
  • Route Validation:
    • Detect unreachable waypoints
    • Find disconnected route segments
    • Identify routing loops
  • Import/Export Routes: Share route networks with the community
  • Grid Snap: Snap waypoints to a grid for easier alignment
  • Route Statistics: Total route length, waypoint count, marker distribution

Changelog

Version 1.3.0

  • Help files format: On Windows, the CHM format is now used instead of zip if possible.
  • Improved FS25 install path detection: Better detection and reuse of the Farming Simulator 25 installation folder and Mods folder.
  • Improved map datas detection/extraction: Added support for map larger than 1x and better support for zipped, unzipped, and base game map image path detection.
  • Custom mods folder support: Added support for custom mod folders being defined in the gameSettings.xml file.

Version 1.2.0

  • Macro-based project paths: Project files can use macros for user and installation paths, improving portability across machines.
  • Window state persistence: Fixed saving of the main window size and position (when this options is activated in the application settings).
  • Waypoint editing fix: The selection order of waypoints is now respected when creating a new segment.
  • Packaging updates: Packaging scripts were refreshed and improved.

Version 1.1.0

  • Hovered items highlighting:
    • Hovering a waypoint highlights the waypoint and all segments connected to it
    • Hovering a segment highlights the segment and its two endpoint waypoints
    • Hovered items use distinct colors (orange for waypoints, magenta for segments) to stand out from selected items (red)
  • Curve Creation Tool: New utility for creating smooth Bezier curves with adjustable tangency
  • Enhanced Validation: Added an interactive "Check Data" dialog with "Jump to Error" functionality
  • FS25 Reverse Mode Support: Full implementation of reverse-driving segments aligned with game data conventions
  • Bug Fixes: Numerous fixes for route direction, validation logic, and file handling
  • Portable 7-Zip Package: A ready-to-use 7-Zip package that stores its settings in its own folder

Version 1.0.0

  • Visual Route Editor: Display and edit AutoDrive routes directly on the map overview
  • DDS Image Reader: Native DDS format support without external dependencies
  • Heightmap Integration: Automatic altitude calculation from heightmap data
  • Project Management: Save and load projects with all map data included
  • Non-Destructive Editing: Original savegame files remain untouched until explicit export
  • Navigation Tools: Smooth zoom and pan controls with mouse wheel support
  • Route Validation: Automatic detection of invalid connections and network issues
  • Marker Management: Create and edit route markers
  • Settings Persistence: User preferences and recent files management
  • Multilingual Support: French and English interface support
  • Undo/Redo System: Full action history support across the application

Made with ❤️ for the Farming Simulator community

About

FS25 AutoDrive Editor

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors