Hm...
Doesn't work as expected.
I've prepared a selector dinput.dll which will load il2ge.dll, either from the game root folder, or ilge/lib folder, or bin/selector/basefiles folder, in that order.
You can find the test version attached to this post.
Problem is: While it
does successfully load il2ge.dll, the graphics extender doesn't seem to do too much in that case.
This is il2ge.log in "normal" mode, meaning only il2ge build 95547699 components installed with default selector 3.3:
-----------------------------------------------------------
*** il2ge.dll process attach ***
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\bin\hotspot\jvm.dll
Loading bin\selector\basefiles\dinput.dll ...
Success.
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\bin\hpi.dll
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\bin\verify.dll
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\bin\java.dll
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\bin\zip.dll
LoadLibrary: wrapper.dll
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\il2fb.exe
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\DT.dll
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\pathfind.dll
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\il2_corep4.dll
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\SAS.dll
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\il2_usgs2.dll
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\mg_snd_sse.dll
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\jgl.dll
LoadLibrary: dinput8.dll
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\bin\net.dll
LoadLibrary: ws2_32.dll
LoadLibrary: U:\IL2\CLIENT\IL-2 Modact 6.4\bin\zip.dll
LoadLibrary: dinput8.dll
LoadLibrary: C:\Program Files (x86)\NaturalPoint\TrackIR5\NPClient.dll
This is the same thing with the new selector dinput.dll:
-----------------------------------------------------------
*** il2ge.dll process attach ***
LoadLibrary: wrapper.dll
LoadLibrary: dinput8.dll
LoadLibrary: dinput8.dll
As I said: It does load, but doesn't do much.
The fact that it does load also gets reflected in the initlog.lst when you have the new dinput.dll in place (see timestamp 2018-09-07 18:49:13:533):
2018-09-07 18:49:13:507 (dinput.dll) : JVM Parameters injector activated
2018-09-07 18:49:13:508 (dinput.dll) : Applying JVM Memory Settings from IL-2 Selector...
2018-09-07 18:49:13:508 (dinput.dll) : Adding JVM Option: -Xms444M
2018-09-07 18:49:13:508 (dinput.dll) : Adding JVM Option: -Xmx444M
2018-09-07 18:49:13:509 (dinput.dll) : Adding JVM Option: -Xss4096K
2018-09-07 18:49:13:509 (dinput.dll) : Adding JVM Option: -XX:PermSize=64M
2018-09-07 18:49:13:509 (dinput.dll) : Adding JVM Option: -XX:MaxPermSize=64M
2018-09-07 18:49:13:509 (dinput.dll) : Checking duplicate JVM Options...
2018-09-07 18:49:13:510 (dinput.dll) : Checking mandatory JVM Options...
2018-09-07 18:49:13:510 (dinput.dll) : Adding JVM Option: -Djava.class.path=.
2018-09-07 18:49:13:510 (dinput.dll) : Adding JVM Option: -Xverify:none
2018-09-07 18:49:13:510 (dinput.dll) : Adding JVM Option: -Xcomp
2018-09-07 18:49:13:510 (dinput.dll) : Final JVM Option List:
2018-09-07 18:49:13:510 (dinput.dll) : -Xms444M
2018-09-07 18:49:13:510 (dinput.dll) : -Xmx444M
2018-09-07 18:49:13:510 (dinput.dll) : -Xss4096K
2018-09-07 18:49:13:511 (dinput.dll) : -XX:PermSize=64M
2018-09-07 18:49:13:511 (dinput.dll) : -XX:MaxPermSize=64M
2018-09-07 18:49:13:511 (dinput.dll) : -Djava.class.path=.
2018-09-07 18:49:13:511 (dinput.dll) : -Xverify:none
2018-09-07 18:49:13:511 (dinput.dll) : -Xcomp
2018-09-07 18:49:13:511 (dinput.dll) : IL-2 Process ID = 00001010
2018-09-07 18:49:13:511 (dinput.dll) : Starting Watchdog at U:\IL2\CLIENT\IL-2 Modact 6.4\bin\selector\basefiles\IL-2 Watchdog.exe 1
2018-09-07 18:49:13:526 (dinput.dll) : Watchdog process started.
2018-09-07 18:49:13:532 (dinput.dll) : Hooked "SAS_CreateJavaVM" function activated
2018-09-07 18:49:13:532 (dinput.dll) : Checking IL-2 Graphics Extender Availability...
2018-09-07 18:49:13:533 (dinput.dll) : Trying U:\IL2\CLIENT\IL-2 Modact 6.4\il2ge.dll
2018-09-07 18:49:13:533 (dinput.dll) : il2ge.dll found, loading library.
2018-09-07 18:49:13:534 (dinput.dll) : IL-2 Graphics Extender loaded successfully.
2018-09-07 18:49:13:534 (dinput.dll) : Injecting JVM Parameters
2018-09-07 18:49:13:543 (watchdog) : IL-2 Parent Process Handle = 00000168, ID=00001010
2018-09-07 18:49:13:544 (watchdog) : IL-2 Watchdog started.
2018-09-07 18:49:13:544 (watchdog) : Splash Screen Mode = 1
2018-09-07 18:49:13:546 (watchdog) : Message Window Created.
2018-09-07 18:49:13:554 (dinput.dll) : Java Virtual Machine Initialization with additional parameters successful!
2018-09-07 18:49:13:558 (wrapper) : ProcessAttach, attached Processes = 1
2018-09-07 18:49:13:559 (wrapper) : Calling GetCommandLineParams()
2018-09-07 18:49:13:559 (wrapper) : MODS Folder = "#SAS"
2018-09-07 18:49:13:559 (wrapper) : No FILES Folder set.
2018-09-07 18:49:13:559 (wrapper) : Calling LinkIl2fbExe()
2018-09-07 18:49:13:560 (wrapper) : Trying to link back to U:\IL2\CLIENT\IL-2 Modact 6.4\il2fb.exe through LoadLibrary()
2018-09-07 18:49:13:560 (wrapper) : Calling CreateModsFolderList()
2018-09-07 18:49:13:562 (wrapper) : Scanning #SAS folder took 2 milliseconds.
2018-09-07 18:49:13:562 (wrapper) : Total number of modded files = 381.
2018-09-07 18:49:13:562 (wrapper) : Calling SortList()
2018-09-07 18:49:13:562 (wrapper) : Sorting modded files list took 0.039 milliseconds.
2018-09-07 18:49:13:562 (wrapper) : Calling RemoveDuplicates()
2018-09-07 18:49:13:562 (wrapper) : Removing 0 Duplicates took 0.001 milliseconds.
2018-09-07 18:49:13:649 (watchdog) : Splash Screen Created.
2018-09-07 18:49:16:284 (wrapper) : ThreadAttach, attached Threads = 1
2018-09-07 18:49:16:286 (wrapper) : ThreadAttach, attached Threads = 2
2018-09-07 18:49:16:495 (watchdog) : IL-2 Main Window created: "Il2-Sturmovik Forgotten Battles" (MaddoxRtsWndClassW), Handle= 0x00030C2C
2018-09-07 18:49:16:503 (watchdog) : Activating IL-2 Main Window (0x00030C2C) using SwitchToThisWindow()
2018-09-07 18:49:16:567 (wrapper) : ThreadAttach, attached Threads = 3
2018-09-07 18:49:16:571 (wrapper) : ThreadAttach, attached Threads = 4
2018-09-07 18:49:16:581 (wrapper) : ThreadDetach, attached Threads = 3
2018-09-07 18:49:16:594 (wrapper) : ThreadDetach, attached Threads = 2
2018-09-07 18:49:16:594 (wrapper) : ThreadAttach, attached Threads = 3
2018-09-07 18:49:16:595 (wrapper) : ThreadAttach, attached Threads = 4
2018-09-07 18:49:16:601 (wrapper) : ThreadDetach, attached Threads = 3
2018-09-07 18:49:16:601 (wrapper) : ThreadDetach, attached Threads = 2
2018-09-07 18:49:16:601 (wrapper) : ThreadAttach, attached Threads = 3
2018-09-07 18:49:16:836 (wrapper) : ThreadAttach, attached Threads = 4
2018-09-07 18:49:17:058 (wrapper) : ThreadAttach, attached Threads = 5
2018-09-07 18:49:17:079 (wrapper) : ThreadAttach, attached Threads = 6
2018-09-07 18:49:17:081 (wrapper) : ThreadAttach, attached Threads = 7
2018-09-07 18:49:17:144 (dinput.dll) : DirectInputCreateA
2018-09-07 18:49:17:151 (wrapper) : ThreadAttach, attached Threads = 8
2018-09-07 18:49:17:152 (dinput.dll) : DirectInputCreateA
2018-09-07 18:49:17:196 (wrapper) : ThreadAttach, attached Threads = 9
2018-09-07 18:49:17:210 (wrapper) : ThreadAttach, attached Threads = 10
2018-09-07 18:49:17:238 (wrapper) : ThreadAttach, attached Threads = 11
2018-09-07 18:49:17:247 (wrapper) : ThreadAttach, attached Threads = 12
2018-09-07 18:49:17:268 (wrapper) : ThreadAttach, attached Threads = 13
2018-09-07 18:49:17:512 (watchdog) : Successfully activated IL-2 Main Window (Handle: 0x00030C2C)
2018-09-07 18:49:38:747 (wrapper) : ThreadAttach, attached Threads = 14
2018-09-07 18:49:41:053 (wrapper) : ThreadAttach, attached Threads = 15
2018-09-07 18:49:41:835 (wrapper) : ThreadDetach, attached Threads = 14
2018-09-07 18:49:41:897 (wrapper) : ThreadDetach, attached Threads = 13
2018-09-07 18:49:41:898 (wrapper) : ThreadDetach, attached Threads = 12
2018-09-07 18:49:41:899 (wrapper) : ThreadDetach, attached Threads = 11
2018-09-07 18:49:42:218 (wrapper) : ThreadDetach, attached Threads = 10
2018-09-07 18:49:42:298 (watchdog) : IL-2 Main Window destroyed: "Il2-Sturmovik Forgotten Battles" (MaddoxRtsWndClassW), Handle= 0x00030C2C
2018-09-07 18:49:42:298 (watchdog) : IL-2 main window (handle 0x00030C2C) disappeared, checking process status.
2018-09-07 18:49:42:371 (wrapper) : ProcessDetach, attached Processes = 0
2018-09-07 18:49:42:371 (wrapper) : Total files opened = 67567
2018-09-07 18:49:42:371 (wrapper) : Total search time consumed = 0.051 milliseconds (0.000051032723 Seconds)
2018-09-07 18:49:42:371 (wrapper) : Search Time per File = 0.755 nanoseconds (0.000000000755 Seconds)
2018-09-07 18:49:42:371 (wrapper) : Average Search Iterations required per File = 6.5
2018-09-07 18:49:42:376 (dinput.dll) : JVM Parameters injector deactivated
![Cheers ]cheers[](https://www.sas1946.com/main/Smileys/akyhne/occasion14.gif)
Mike