Vehicle settings file setup

I’m trying to create unique vehicle settings files for each implement that I will use this season and I keep getting a “fatal error with settings file” when trying to load a vehicle.xml. even happens with the default vehicle. Any ideas what it is not happy with?

not a answer but i got a little question about the vehicle selections to. i wanted to save two tractors and different implements but it seems that i cant save them sepret i mean two tractors you can select and diffrent machines per tractor.

There is a pinned message on telegram:

Brian Tee, [28-01-2023 14:41]
Appdata has the “working” copy of the exact same settings file used and sourced in 3 different places.

  1. The default XML file. This is stored in the program folder called AgOpenGPS.exe.config. This has every setting ever used in AOG. AgIO has one also. When you first start AOG, it uses this file and creates a skeleton copy of it in AppData to be the working copy of any changes in settings you make.

  2. C:\Users\Grizs\AppData\Local\AgOpenGPS\AgOpenGPS.exe_Url_djk0qumzckoxguu0ndtkmwiiikypywwm\\user.config This is the working copy of that same XML. When you move a window, set your sections from 3 to 5, set a color, change your wheelbase - every last change is set there. But only the changes. AOG looks there first for the setting and if it finds it, it uses that value. If there is no entry for that setting in Appdat, it goes back to the default config in the program directory and uses that. As you set more settings the file user.config gets longer. You can see the folder thagt is generated is unique to where the program folder is and the version running. Move the program folder and you have a new config folder. Delete the folders - you use once again the default settings from AOG.config and start all over.

  3. The Saved Vehicle.xml fies folder in Documents. This is just a copy of whatever was in Appdata. When you Save a vehicle all you are doing is copying the config file (which is type XML) to a vehicle XML file you have named and want to keep those settings no matter what happens. Every time you change something or leave Config Form and hit ok, the Appdata XML overwrites the Vehicle Name .xml file in Documents so there is always a copy of it. In the settings config file a setting keeps track of which setting file you have (YourVehicle.xml) so it knows where to keep a copy of it saving it.

When you start AOG - it goes to AppData and looks for the latest settings and if it doesn’t see one, goes back to the porgram folder settings and uses that setting.

When you “Load” a vehicle - you are taking your vehicle.xml file and overwriting the config.user file in Appdata so AOG can now use those settings you want.

Brian Tee, [28-01-2023 14:42]
So go ahead delete Appdata folders. Start AOG fresh using the default from program folder. Load a Vehicle file from Documents and you are good to go.

Brian Tee, [28-01-2023 14:44]
Now for the problem of older versions. There uses to be 2 groups in the settings file - settings.settings and vehicle.settings. The vehicle group was added to the settings group as it was getting too hard to figure out what was stored where. So older files with both are rewritten and saved as a single settings.settings group and can’t be used in older versions again.

Brian Tee, [28-01-2023 14:45]
Save a copy of AgOpenGPS/Vehicles files if you want to save all the settings.

Brian Tee, [28-01-2023 14:46]
The only odd duck is the language setting - it is stored in the registry. So it doesn’t matter where you store or which version you use, your language is always your language and needs to be actually changed from the menu before it will change

Brian Tee, [28-01-2023 14:47]
Hope this helps.

1 Like

I remember someone having same problem, but can´t find it again. But as far as I recall he reinstalled AOG and problem was gone. Read post above, as you might be able to cure problem by deleting the aog part in APPDATA
I assume you use the latest version of AOG !

Did you manage to get rid of the fatal error message at all? I’m currently upgrading from 5.6.2 to 5.7.2 and getting the same message. Before I start hacking the xml files to copy across the information, I wondered if you;d managed to get older vehicle files to load?

I did not get fatal error problem, still using Dell venue 11 that started with version 4. All fields are still there.

But I do not use any automatic implement settings, apart from the painted area on screen.

AB lines are there. U turn and boundary alao.