Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik > Daidalos Team discussions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-16-2019, 09:49 PM
Fhechene Fhechene is offline
Approved Member
 
Join Date: Dec 2016
Posts: 70
Default Workaround for exe files and 4.14

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:

Code:
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


Code:
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

Code:
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

Code:
Ren "originalfile.exe" "originalfile._exe"

and then, to rename back

Code:
Ren "originalfile._exe" "originalfile.exe"

that way, you can inclued as many .exe files as you want.


Note: the
Code:
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


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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:19 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.