Hey!
I just installed Windows 11. I used to have Windows 10. BAT worked perfectly in Windows 10. I copied and pasted the BAt folder to Windows 11 and now it doesn't work.
This is the log.lst
[Dec 14, 2024 1:28:25 PM UTC -3] ------------ BEGIN log session -------------
[Dec 14, 2024 1:28:26 PM UTC -3] ----------- Switched to pipe mode ----------
[2024-12-14 13:28:26.594 UTC -3] dT: 0 OpenGL provider: Opengl32.dll
[2024-12-14 13:28:29.813 UTC -3] dT: 0 Main begin: ScreenMode NOT changed
[2024-12-14 13:28:29.813 UTC -3] dT: 0 com.maddox.opengl.GLContextException: ScreenMode NOT changed
[2024-12-14 13:28:29.813 UTC -3] dT: 0 at com.maddox.il2.engine.Config.createGlContext(Config.java:383)
[2024-12-14 13:28:29.813 UTC -3] dT: 0 at com.maddox.il2.engine.Config.createGlContext(Config.java:437)
[2024-12-14 13:28:29.813 UTC -3] dT: 0 at com.maddox.il2.game.Main3D.beginApp(Main3D.java:1474)
[2024-12-14 13:28:29.813 UTC -3] dT: 0 at com.maddox.il2.game.MainWin3D.beginApp(MainWin3D.java:212)
[2024-12-14 13:28:29.813 UTC -3] dT: 0 at com.maddox.il2.game.Main.exec(Main.java:405)
[2024-12-14 13:28:29.813 UTC -3] dT: 0 at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)
[2024-12-14 13:28:29.813 UTC -3] dT: 0 Main end: null
[2024-12-14 13:28:29.813 UTC -3] dT: 0 java.lang.NullPointerException
[2024-12-14 13:28:29.813 UTC -3] dT: 0 at com.maddox.rts.CfgTools.save(CfgTools.java:59)
[2024-12-14 13:28:29.813 UTC -3] dT: 0 at com.maddox.sound.AudioDevice.saveControls(AudioDevice.java:385)
[2024-12-14 13:28:29.813 UTC -3] dT: 0 at com.maddox.il2.engine.Config.saveSound(Config.java:320)
[2024-12-14 13:28:29.813 UTC -3] dT: 0 at com.maddox.il2.engine.Config.save(Config.java:136)
[2024-12-14 13:28:29.813 UTC -3] dT: 0 at com.maddox.il2.game.MainWin3D.endApp(MainWin3D.java:168)
[2024-12-14 13:28:29.813 UTC -3] dT: 0 at com.maddox.il2.game.Main.exec(Main.java:441)
[2024-12-14 13:28:29.813 UTC -3] dT: 0 at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)
[Dec 14, 2024 1:28:29 PM UTC -3] -------------- END log session -------------
This is the initlog.lst
2024-12-14 13:28:23:535 (dinput.dll) : JVM Parameters injector activated
2024-12-14 13:28:23:535 (dinput.dll) : Applying JVM Memory Settings from IL-2 Selector...
2024-12-14 13:28:23:535 (dinput.dll) : Added JVM Option: -Xms888M
2024-12-14 13:28:23:535 (dinput.dll) : Added JVM Option: -Xmx888M
2024-12-14 13:28:23:535 (dinput.dll) : Added JVM Option: -Xss8192K
2024-12-14 13:28:23:535 (dinput.dll) : Added JVM Option: -XX:PermSize=128M
2024-12-14 13:28:23:535 (dinput.dll) : Added JVM Option: -XX:MaxPermSize=128M
2024-12-14 13:28:23:535 (dinput.dll) : Checking mandatory JVM Options...
2024-12-14 13:28:23:535 (dinput.dll) : Added JVM Option: -Djava.class.path=.
2024-12-14 13:28:23:535 (dinput.dll) : Added JVM Option: -Xverify:none
2024-12-14 13:28:23:535 (dinput.dll) : Added JVM Option: -Xcomp
2024-12-14 13:28:23:535 (dinput.dll) : IL-2 Process ID = 000028B0
2024-12-14 13:28:23:535 (dinput.dll) : Starting Watchdog at E:\Program Files (x86)\Steam\steamapps\common\IL 2 Sturmovik 1946 4_12_2 BAT\bin\selector\basefiles\IL-2 Watchdog.exe 1 ""
2024-12-14 13:28:23:549 (dinput.dll) : Watchdog process started.
2024-12-14 13:28:23:551 (dinput.dll) : Starting Pipe Logger at E:\Program Files (x86)\Steam\steamapps\common\IL 2 Sturmovik 1946 4_12_2 BAT\bin\selector\basefiles\PipeLogger.exe
2024-12-14 13:28:23:551 (dinput.dll) : PipeLogger process started.
2024-12-14 13:28:23:563 (dinput.dll) : Hooked "SAS_CreateJavaVM" function activated
2024-12-14 13:28:23:563 (dinput.dll) : OpenGL Mode detected, checking IL-2 Graphics Extender Availability...
2024-12-14 13:28:23:563 (dinput.dll) : Trying E:\Program Files (x86)\Steam\steamapps\common\IL 2 Sturmovik 1946 4_12_2 BAT\il2ge.dll
2024-12-14 13:28:23:563 (dinput.dll) : Trying E:\Program Files (x86)\Steam\steamapps\common\IL 2 Sturmovik 1946 4_12_2 BAT\il2ge\lib\il2ge.dll
2024-12-14 13:28:23:563 (dinput.dll) : Trying E:\Program Files (x86)\Steam\steamapps\common\IL 2 Sturmovik 1946 4_12_2 BAT\bin\selector\basefiles\il2ge.dll
2024-12-14 13:28:23:563 (dinput.dll) : IL-2 Graphics Extender not available.
2024-12-14 13:28:23:563 (dinput.dll) : Injecting JVM Parameters
2024-12-14 13:28:23:563 (PipeLogger) : PipeLogger Starting
2024-12-14 13:28:23:565 (PipeLogger) : Reading PipeLogger Settings from E:\Program Files (x86)\Steam\steamapps\common\IL 2 Sturmovik 1946 4_12_2 BAT\il2fb.ini
2024-12-14 13:28:23:565 (PipeLogger) : PipeLogger Settings:
2024-12-14 13:28:23:565 (PipeLogger) : ShowLogWarnings = false
2024-12-14 13:28:23:565 (PipeLogger) : LogSizeThreshold = 10,000,000 Bytes
2024-12-14 13:28:23:565 (PipeLogger) : ExceptionThreshold = 10 Exceptions
2024-12-14 13:28:23:565 (PipeLogger) : ErrorThreshold = 0 Errors
2024-12-14 13:28:23:565 (watchdog) : IL-2 Parent Process Handle = 000001BC, ID=000028B0
2024-12-14 13:28:23:567 (watchdog) : IL-2 Watchdog started.
2024-12-14 13:28:23:567 (watchdog) : Splash Screen Mode = 1
2024-12-14 13:28:23:567 (watchdog) : Splash Screen Image Path =
2024-12-14 13:28:23:567 (watchdog) : Splash Screen Image Full Path = E:\Program Files (x86)\Steam\steamapps\common\IL 2 Sturmovik 1946 4_12_2 BAT
2024-12-14 13:28:23:567 (watchdog) : Message Window Created.
2024-12-14 13:28:23:567 (PipeLogger) : PipeLogger Process ID: 00003A40; Parent (IL-2) Process ID: 000028B0
2024-12-14 13:28:23:567 (PipeLogger) : Listener thread awaiting client connection on \\.\pipe\SAS_PIPE_LOGGER
2024-12-14 13:28:23:571 (watchdog) : LoadSplashImage.
2024-12-14 13:28:23:574 (dinput.dll) : Java Virtual Machine Initialization with additional parameters successful!
2024-12-14 13:28:23:576 (wrapper) : ProcessAttach, attached Processes = 1
2024-12-14 13:28:23:576 (wrapper) : Calling GetCommandLineParams()
2024-12-14 13:28:23:578 (watchdog) : Loading Splash Image from "E:\Program Files (x86)\Steam\steamapps\common\IL 2 Sturmovik 1946 4_12_2 BAT\bin\selector\basefiles\splash.png", Handle=0103D5D8,
2024-12-14 13:28:23:578 (wrapper) : MODS Folder = "#WAW3"
2024-12-14 13:28:23:578 (wrapper) : No FILES Folder set.
2024-12-14 13:28:23:578 (wrapper) : Calling LinkIl2fbExe()
2024-12-14 13:28:23:578 (wrapper) : Trying to link back to E:\Program Files (x86)\Steam\steamapps\common\IL 2 Sturmovik 1946 4_12_2 BAT\il2fb.exe through LoadLibrary()
2024-12-14 13:28:23:578 (wrapper) : Calling CreateModsFolderList()
2024-12-14 13:28:23:597 (wrapper) : Scanning #WAW3 folder took 33 milliseconds.
2024-12-14 13:28:23:597 (wrapper) : Total number of modded files = 17352.
2024-12-14 13:28:23:597 (wrapper) : Calling SortList()
2024-12-14 13:28:23:613 (wrapper) : Sorting modded files list took 2.412 milliseconds.
2024-12-14 13:28:23:613 (wrapper) : Calling RemoveDuplicates()
2024-12-14 13:28:23:613 (wrapper) : Removing 3 Duplicates took 0.018 milliseconds.
2024-12-14 13:28:23:677 (watchdog) : Splash Screen Created.
2024-12-14 13:28:25:670 (wrapper) : ThreadAttach, attached Threads = 1
2024-12-14 13:28:25:670 (wrapper) : ThreadAttach, attached Threads = 2
2024-12-14 13:28:26:594 (PipeLogger) : Client connected, creating a new Listener Thread & new Instance Thread for this Client.
2024-12-14 13:28:26:594 (PipeLogger) : Waiting for Pipe Instance to initialize...
2024-12-14 13:28:26:594 (PipeLogger) : Listener thread awaiting client connection on \\.\pipe\SAS_PIPE_LOGGER
2024-12-14 13:28:26:594 (PipeLogger) : Pipe Instance initialized successfully
2024-12-14 13:28:26:594 (PipeLogger) : InstanceThread No.1 created, receiving and processing messages on \\.\pipe\SAS_PIPE_LOGGER
2024-12-14 13:28:26:657 (PipeLogger) : Logfile for instance No.1 is e:\program files (x86)\steam\steamapps\common\il 2 sturmovik 1946 4_12_2 bat\log.lst
2024-12-14 13:28:26:657 (PipeLogger) : Flush Timeout for instance No.1 is 1000 Milliseconds
2024-12-14 13:28:26:657 (PipeLogger) : Log Writer No.1 running
2024-12-14 13:28:29:813 (PipeLogger) : InstanceThread No.1: client disconnected.
2024-12-14 13:28:29:813 (PipeLogger) : InstanceThread No.1 terminating...
2024-12-14 13:28:29:829 (PipeLogger) : Log Writer No.1 terminated. 1,935 bytes written, 1 exceptions, 0 errors.
2024-12-14 13:28:29:829 (PipeLogger) : InstanceThread No.1 terminated
2024-12-14 13:28:29:877 (wrapper) : ProcessDetach, attached Processes = 0
2024-12-14 13:28:29:877 (wrapper) : Total files opened = 8427
2024-12-14 13:28:29:877 (wrapper) : Total search time consumed = 2.281 milliseconds (0.002280902117 Seconds)
2024-12-14 13:28:29:877 (wrapper) : Search Time per File = 270.666 nanoseconds (0.000000270666 Seconds)
2024-12-14 13:28:29:877 (wrapper) : Average Search Iterations required per File = 5.8
2024-12-14 13:28:29:877 (dinput.dll) : JVM Parameters injector deactivated
2024-12-14 13:28:29:890 (PipeLogger) : il2fb.exe Termination detected, terminating Pipe Logger.
2024-12-14 13:28:29:890 (PipeLogger) : All Writers Threads finished, exiting.
And the Windows event log says this is the module with errors
E:\Program Files (x86)\Steam\steamapps\common\IL 2 Sturmovik 1946 4_12_2 BAT\bin\hotspot\jvm.dll
I presume java is the issue, but this line
2024-12-14 13:28:23:574 (dinput.dll) : Java Virtual Machine Initialization with additional parameters successful!
at the initlog makes me doubt it. Any clue?