Modded Achievement Enabler
Modded Achievement Enabler
This tool will enable achievements (in-game, and on Steam) for modded saves. This will not work for saves where cheats, console commands, or the map editor have been used. This also will not enable achievements for which you've failed the prerequisites (i.e. Getting on Track).
This will use your vanilla achievement progress, so you may see stats change when you first enable it, as progress made on modded saves without this tool are separate (achievements-modded.dat).
To install, place version.dll in the same folder as your Factorio.exe. By default this would be Factorio\bin\x64\ .
Requirements:
Windows, Factorio. Another author has made a GNU/Linux version here.
Troubleshooting:
If things aren't working as expected, run Factorio.exe from a command line with the following syntax: factorio.exe > %USERPROFILE%\Desktop\out.txt . The log file you get should detail if the patches were applied. If they weren't, please open an issue on Github or post here and I'll do my best to get things updated.
Acknowledgements:
Wube, for being awesome and providing the debug symbols with the game.
This will use your vanilla achievement progress, so you may see stats change when you first enable it, as progress made on modded saves without this tool are separate (achievements-modded.dat).
To install, place version.dll in the same folder as your Factorio.exe. By default this would be Factorio\bin\x64\ .
Requirements:
Windows, Factorio. Another author has made a GNU/Linux version here.
Troubleshooting:
If things aren't working as expected, run Factorio.exe from a command line with the following syntax: factorio.exe > %USERPROFILE%\Desktop\out.txt . The log file you get should detail if the patches were applied. If they weren't, please open an issue on Github or post here and I'll do my best to get things updated.
Acknowledgements:
Wube, for being awesome and providing the debug symbols with the game.
Last edited by lyvgbfh on Tue Jan 17, 2023 12:43 am, edited 1 time in total.
-
- Manual Inserter
- Posts: 2
- Joined: Sat Jul 09, 2022 1:03 am
- Contact:
Re: Modded Achievement Enabler
I attempted to use this to enable achievements however it did not work. I couldn't find the command line you referred to for troubleshooting so I tried my computer's and Steams launch options but even though steam still launched as normal I couldn't find anything that would help me troubleshoot. Is there something I am doing wrong?
Edit: I found the text however it had nothing on it
Edit: I found the text however it had nothing on it
Last edited by IconicBacon on Sat Jul 09, 2022 3:15 am, edited 1 time in total.
Re: Modded Achievement Enabler
Thank you. This worked for me. Finally I will get "Mass production 3" 

Re: Modded Achievement Enabler
Thanks a lot for the DLL, sadly it doesn't seem to be working as intended anymore.
I'd really love for it to be working since the only mod I'm currently using is "Change enemy color" in order to actually SEE the enemies on the map.
Being colorblind, I just get headaches trying to find the red boxes on the brown background and I beleive this color scheme change should just be part of the base game tbh.
The out.txt file generated on my desktop seems to indicate everything is patched correctly (here is the content of the file):
Anyhow, I guess I'll just let the game sit for a while because I really like collecting the achievements and there is no way I can justify getting a headache only to be "allowed" to unlock achievements.
Cheers!
I'd really love for it to be working since the only mod I'm currently using is "Change enemy color" in order to actually SEE the enemies on the map.
Being colorblind, I just get headaches trying to find the red boxes on the brown background and I beleive this color scheme change should just be part of the base game tbh.
The out.txt file generated on my desktop seems to indicate everything is patched correctly (here is the content of the file):
I'll try to open an issue on Github, maybe it has something to do with the fact my SteamLibrary (E:\) isn't on the same drive as my base steam installation(D:\) or maybe that wouldn't make any sense.Fixing import for version.dll...
StartPatch called...
do_patch called...
szExePath: E:\SteamLibrary\steamapps\common\Factorio\bin\x64\factorio.exe
RuleSize: 12 ReplSize: 11
Search range[size: 31178740]: 00007ff6943f0000 ~ 00007ff6961abff4
Apply Patch at 00007ff69454d59a
Patched 1 of 6.
RuleSize: 32 ReplSize: 4
Search range[size: 31178720]: 00007ff6943f0000 ~ 00007ff6961abfe0
Apply Patch at 00007ff69453052b
Apply Patch at 00007ff6945305cb
Patched 2 of 6.
RuleSize: 9 ReplSize: 5
Search range[size: 31178743]: 00007ff6943f0000 ~ 00007ff6961abff7
Apply Patch at 00007ff69491679c
Patched 3 of 6.
RuleSize: 14 ReplSize: 8
Search range[size: 31178738]: 00007ff6943f0000 ~ 00007ff6961abff2
Apply Patch at 00007ff694f1807a
Patched 4 of 6.
RuleSize: 23 ReplSize: 11
Search range[size: 31178729]: 00007ff6943f0000 ~ 00007ff6961abfe9
Apply Patch at 00007ff694f165b0
Apply Patch at 00007ff694f1665d
Patched 5 of 6.
RuleSize: 14 ReplSize: 14
Search range[size: 31178738]: 00007ff6943f0000 ~ 00007ff6961abff2
Apply Patch at 00007ff694f167f0
Patched 6 of 6.
0.000 Initializing Steam API.
0.000 Steam requires game restart, restarting...
All done.
==============================================
Anyhow, I guess I'll just let the game sit for a while because I really like collecting the achievements and there is no way I can justify getting a headache only to be "allowed" to unlock achievements.
Cheers!
Re: Modded Achievement Enabler
Nevermind my last reply, the fix was mentionned in your last resolved issue on Github.
Steam was changing the search order for DLLs when launching directly from steam.
Your fix as explained by you:

Thanks 1000%, I can finally go back to playing this beautiful game without having to chose in-between having a headache or not being able to get achievements!

Steam was changing the search order for DLLs when launching directly from steam.
Your fix as explained by you:

Thanks 1000%, I can finally go back to playing this beautiful game without having to chose in-between having a headache or not being able to get achievements!

Re: Modded Achievement Enabler
is there a way to get this working without using a cmd box everytime?
- or could i set up the cmd to run factorio.exe automatically, then all i would see is the box opening and factorio starting. i guess that would be next best thing.
- or could i set up the cmd to run factorio.exe automatically, then all i would see is the box opening and factorio starting. i guess that would be next best thing.
Re: Modded Achievement Enabler
Maybe I'm missreading your question, but if you are talking about having to open a cmd window (manually) and entering the above commands everytime; then I think you're giving yourself a bit too much trouble.
I'd point you to re-reading the instructions in the image posted above; if you're running it from steam, these are instructions to SET the launch-options that will enable the .dll to work correctly when starting Factorio through steam or using the icon on your desktop.
If this is not the situation you're trying to describe (Trying to make it so you can just use steam to start the game normally and the .dll will be loaded/work)
Then I don't really know what you're asking, could you elaborate?
I'd point you to re-reading the instructions in the image posted above; if you're running it from steam, these are instructions to SET the launch-options that will enable the .dll to work correctly when starting Factorio through steam or using the icon on your desktop.
If this is not the situation you're trying to describe (Trying to make it so you can just use steam to start the game normally and the .dll will be loaded/work)
Then I don't really know what you're asking, could you elaborate?
-
- Manual Inserter
- Posts: 1
- Joined: Mon Sep 05, 2022 6:51 pm
- Contact:
Re: Modded Achievement Enabler
Hi.
I'm having some issues with this mod. When I copy the .dll to directory and set the launch options on steam all I get is this:

The game doesn't run or anything, all I get is that screen.
I'm having some issues with this mod. When I copy the .dll to directory and set the launch options on steam all I get is this:

The game doesn't run or anything, all I get is that screen.
Re: Modded Achievement Enabler
Is there a Linux version?
Re: Modded Achievement Enabler
Hi sorry for the delay, I hadn't received forum notifications. You can resolve it by setting the launch options to the followingBurrotieso wrote: ↑Mon Sep 05, 2022 6:57 pmHi.
I'm having some issues with this mod. When I copy the .dll to directory and set the launch options on steam all I get is this:
The game doesn't run or anything, all I get is that screen.
Code: Select all
cmd /c start "" %command%
-
- Manual Inserter
- Posts: 1
- Joined: Fri Dec 30, 2022 6:07 pm
- Contact:
Re: Modded Achievement Enabler
Re: Modded Achievement Enabler
Life saver! Still works as of 1.1.74lyvgbfh wrote: ↑Wed Sep 14, 2022 2:31 amHi sorry for the delay, I hadn't received forum notifications. You can resolve it by setting the launch options to the followingBurrotieso wrote: ↑Mon Sep 05, 2022 6:57 pmHi.
I'm having some issues with this mod. When I copy the .dll to directory and set the launch options on steam all I get is this:
The game doesn't run or anything, all I get is that screen.Code: Select all
cmd /c start "" %command%
Re: Modded Achievement Enabler
If you're on any recent experimental build of Factorio, please update to the latest release to resolve a common crash caused by a patch landing where it shouldn't.
Release is here.
Release is here.