Skip to content

JustDen1234/FS22_AutoDrive_Sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Announcement !!

With the release of AutoDrive version 2.0.0.3 for FS22, this commandline tool is not necessary anymore. Thanks for using my little program ! Happy farming...


FS22 AutoDrive Sort (v2.0.1)

If you are playing FS22 and like to cycle thru the destinations with the keyboard, a button on a steering wheel or (as I do) with a PS4 controller, you might noticed that AutoDrive cycles thru the destinations in the order you created them, not alphabetically.

So I created a small program that sorts the destinations alphabetically. Also taking the folders in account if you use folders.

Usage

v2.0.1:

  1. Create a shortcut to AutoDriveSort.exe, and add one of more of the arguments below:
    -dir [savegame folder] -backups [number of backups to keep]

    Examples:
    D:\AutoDriveSort.exe -dir "D:\Documents\My Games\FarmingSimulator2022\savegame2"
    D:\AutoDriveSort.exe -dir "D:\Documents\My Games\FarmingSimulator2022\savegame2" -backups 2

  2. Save and close your game (no need to quit FS22).

  3. Run the shortcut.

OR:

  1. Save and close your game (no need to quit FS22).
  2. Copy the AutoDriveSort.exe into your savegame folder (mostly: C:\Users[username]\Documents\My Games\FarmingSimulator2022\savegame[number]).
  3. Run it.

How does it work?

  1. It will look for the AutoDrive xml file (named 'AutoDrive_config.xml').
  2. Creates a backup.
  3. Looks into the file if you are using folders (if in AD settings you have 'Use folders' set to Yes).
    1. If you use folders, it will take the folders into account when sorting.
    2. If you do not use folders, it will just sort all destinations.
  4. Look for the 'vehicles.xml' file.
  5. Create a backup of this file.
  6. Fix the parking destinations of all vehicles and work tools to the sorted destinations.
  7. Fix the chosen destinations for every vehicle in the HUD to the sorted destinations.
  8. Optional removes old backups, related to the -backups parameter.

Download

Latest version v2.0.1

Github All Releases

Program is based on .net framework 4.7.2 Runtime.


Happy farming,

JustDen