Hey there, I am aware it is possible to reset/delete all achievements via the "Settings" -> "Other" -> "Delete Achievements" option. However, I have the following situation:
I am playing with a friend, and we have our achievements progress at the same time due to that. But I did some experimenting in SP and got ahead in some achievements, so I would like to delete these specific ones to get back to the previous state. So I would like to reset several "milestone" ones, such as triggering a stomper attack or landing on planet X, but don't want to delete some challenge achievements that have been completed, like the no-solar and no-laser ones. And there are some that can't even be re-achieved when loading a save, like researching oil processing, since it has already been researched.
I have seen documentation on the achievements.dat file, but haven't seen an editor for it.
Delete/reset specific achievements?
-
JohnAlekseyev
- Burner Inserter

- Posts: 10
- Joined: Sat Nov 09, 2024 3:03 pm
- Contact:
- IsaacOscar
- Filter Inserter

- Posts: 843
- Joined: Sat Nov 09, 2024 2:36 pm
- Contact:
Re: Delete/reset specific achievements?
I had a problem where I loaded someone else save and instantly got a bunch of achievements...
I tried to make an editor for that achievements.dat, unfortunately the documentation is way out of date due to all the new space age achievements and I gave up reverse engineering the new one.
I ended up just deleting all my achievements, and cheating to get some of them back.
I tried to make an editor for that achievements.dat, unfortunately the documentation is way out of date due to all the new space age achievements and I gave up reverse engineering the new one.
I ended up just deleting all my achievements, and cheating to get some of them back.
-
JohnAlekseyev
- Burner Inserter

- Posts: 10
- Joined: Sat Nov 09, 2024 3:03 pm
- Contact:
Re: Delete/reset specific achievements?
I guess that will be the way :/
Re: Delete/reset specific achievements?
I made this minimal implementation of a parser and editor: https://github.com/emlun/factorio-achievements-editor , based on the wiki page linked earlier (thanks!). I've also updated the wiki page as the format has changed a bit between 1.x and 2.x.
The implementation only supports parsing the files (except the "dont-kill-manually-achievement" and "dont-research-before-researching-achievement" types are currently unimplemented because I haven't yet encountered them in my own files) and deleting achievements, and I do not plan to add a cheat feature not accept patches for it. It also doesn't auto-locate or directly write any files, instead it only reads from and writes to stdin/stdout/stderr; you can use shell redirection to read from and write to files.
I haven't thoroughly tested it (backup your original files judiciously!) but it seems to work for deleting the one specific achievement I tried it on.
The implementation only supports parsing the files (except the "dont-kill-manually-achievement" and "dont-research-before-researching-achievement" types are currently unimplemented because I haven't yet encountered them in my own files) and deleting achievements, and I do not plan to add a cheat feature not accept patches for it. It also doesn't auto-locate or directly write any files, instead it only reads from and writes to stdin/stdout/stderr; you can use shell redirection to read from and write to files.
I haven't thoroughly tested it (backup your original files judiciously!) but it seems to work for deleting the one specific achievement I tried it on.