Fhechene
04-16-2019, 09:49 PM
I was set to make DCG work with 4.14. The issue with 4.14 is that if it detects an .exe file that is foreign, it doesn't open, so, what do we do? We rename said exe files to ._exe, and then name them back. As manually doing this can get tiresome, I did a little batch file. Just open notepad, copy and paste and save with a .bat extension, in the same folder as your Il-2 installation
Then, shortcut to desktop and you're set to go
So, for example, with DCG, I did this:
Ren "dgen.exe" "dgen._exe"
timeout /t 1 /nobreak
start il2fb.exe
timeout /t 8 /nobreak
Ren "dgen._exe" "dgen.exe"
because the issue is that 4.14 detects that DGen is not the stock DGen
If I had MAT manager, and I needed to have a il2.exe file besides il2fb.exe, I would do
Ren "il2.exe" "il2._exe"
timeout /t 1 /nobreak
start il2fb.exe
timeout /t 8 /nobreak
Ren "il2._exe" "il2.exe"
If I had both, DCG DGen and MAT Manager, just rename both files
Ren "dgen.exe" "dgen._exe"
Ren "il2.exe" "il2._exe"
timeout /t 1 /nobreak
start il2fb.exe
timeout /t 8 /nobreak
Ren "dgen._exe" "dgen.exe"
Ren "il2._exe" "il2.exe"
The syntax for renaming is
Ren "originalfile.exe" "originalfile._exe"
and then, to rename back
Ren "originalfile._exe" "originalfile.exe"
that way, you can inclued as many .exe files as you want.
Note: the
timeout /t 8 /nobreak
line means that your system will wait 8 seconds before renaming the files back. This is just so il2 has enough time to start up (not load fully, just start up). If you need more time or you have a computer so fast that il2 starts up before 8 seconds, just change the 8 to another number.
More info on DCG here (http://forum.jg1.org/topic/6763-i-did-a-workaround-for-il2-not-starting-with-dcg-dgenexe/)
Of course, you can also add .dll files.
If you have issues with this or any doubts, I don't care...nah, just write them down here. I would prefer that you write your doubts here instead of messaging me, so everyone benefits if they have similar issues.
Then, shortcut to desktop and you're set to go
So, for example, with DCG, I did this:
Ren "dgen.exe" "dgen._exe"
timeout /t 1 /nobreak
start il2fb.exe
timeout /t 8 /nobreak
Ren "dgen._exe" "dgen.exe"
because the issue is that 4.14 detects that DGen is not the stock DGen
If I had MAT manager, and I needed to have a il2.exe file besides il2fb.exe, I would do
Ren "il2.exe" "il2._exe"
timeout /t 1 /nobreak
start il2fb.exe
timeout /t 8 /nobreak
Ren "il2._exe" "il2.exe"
If I had both, DCG DGen and MAT Manager, just rename both files
Ren "dgen.exe" "dgen._exe"
Ren "il2.exe" "il2._exe"
timeout /t 1 /nobreak
start il2fb.exe
timeout /t 8 /nobreak
Ren "dgen._exe" "dgen.exe"
Ren "il2._exe" "il2.exe"
The syntax for renaming is
Ren "originalfile.exe" "originalfile._exe"
and then, to rename back
Ren "originalfile._exe" "originalfile.exe"
that way, you can inclued as many .exe files as you want.
Note: the
timeout /t 8 /nobreak
line means that your system will wait 8 seconds before renaming the files back. This is just so il2 has enough time to start up (not load fully, just start up). If you need more time or you have a computer so fast that il2 starts up before 8 seconds, just change the 8 to another number.
More info on DCG here (http://forum.jg1.org/topic/6763-i-did-a-workaround-for-il2-not-starting-with-dcg-dgenexe/)
Of course, you can also add .dll files.
If you have issues with this or any doubts, I don't care...nah, just write them down here. I would prefer that you write your doubts here instead of messaging me, so everyone benefits if they have similar issues.