-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to inject the dll (Factorio) #9
Comments
I also use Windows 11 and the latest Factorio so that's not the issue do you have all the other files extracted as well? |
Well, I think it is a problem on my side, I will try doing some troubleshooting then, very eager to test that mod. |
Are you running Injector.exe from the same folder it's in? I'm using relative paths so running it from a different folder doesn't work (at least in the current version, that will be fixed in the next version). |
I dropped all the files near the factorio.exe, so it detects the process. Simpler question - in what order does it injects dlls? Maybe I can do it with other injector. |
It only Injects MiMallocReplacer.dll which has the other dlls as dependanys and no you can't use a diffrent injector because simply injecting the dll will do nothing, the libary I'm using for the Injecting (EasyHook) uses it's own Entry point that's called from the Injector so if you Inject it any other way it won't do anything. |
Same issue. I guess I will just quickly make a separate clean install of the system and test it here, I am highly suspicious that the issue lies with my system and not the code. |
Also maybe try Factorio 1.1.109 it's unlikely to be an issue but I'm using the stable version and I haven't tested the experimental version yet. |
No luck, sadly. In short - this is access violation error. (I've tried taking ownership of everything, disabling some exploit protections and such) Which is strange, as any other similar principle apps work without problems. I am still not sure if this is problem with my system, or something else. |
I can manually inject redirect and override dlls, but Replacer causes the problem. |
The only things I can think of you trying is a clean windows install and if you already tried that trying it on a different machine to see if your machine is the problem. What kind of hardware (mainly CPU) do you have? |
Laptop 12700H, I've tried disabling some security features in a bios, but to no avail. |
I have the exact same problem, I also compiled from source but same thing. I am on Windows 11 24H2, Intel 13600k with newest microcode updates (most recent UEFI version installed). On a friends machine with an AMD Ryzen (don't remember the exact model) and also on Win11 24H2, still the same error. Last but not least I tried it in a Win11 VM on my machine using Hyper-V and still nothing. Got any more troubleshooting approaches for me? |
You could try Windows 11 22H2 or 23H2 (which is what I'm on and maybe the 24H2 update breaks somethings and it or some insider preview build AkaraVortexwas using seems to be a common problem for everyone who has the issue ), or try a clean windows install with clean default bios setting. I have no clue what exactly is causing this error on some system. I have no idea what exactly is causing it to fail on some systems but not others, and it seems kind of |
Try again with the new 2.3.0 version, it no longer uses EasyHook to inject the Dll (which is what's going wrong with this error) and see if this new version works. |
Trying to run the injector results in the following error:
Injector is in correct location, as otherwise it will send an error for unable to locate the process.
Tried both on Steam and .zip versions of the Factorio, both with and without admin privileges.
Other injectors (such as Unreal Engine Unlocker) work without any issues.
I am using Windows 11 Pro build 26252, and Factorio is version 1.1.110
The text was updated successfully, but these errors were encountered: