Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 48 49 50 [51] 52 53 54 ... 107   Go Down

Author Topic: graphics extender  (Read 285149 times)

0 Members and 1 Guest are viewing this topic.

slibenli

  • member
  • Offline Offline
  • Posts: 618
    • IL-2 Graphics Extender
Re: graphics extender
« Reply #600 on: May 21, 2019, 03:28:50 AM »

Found the culprit:
Code: [Select]
LoadLibrary: E:\IL2\Ultrapack 3\il2corSSE4.dll
I didn't take that library name into account, so il2ge misses il2_core.dll being loaded.
I will add il2corSSE*.dll to the list of il2_core.dll aliases.

Or is there maybe a better mechanism for this?
I also find it interesting that this isn't a problem with BAT - evidently il2corSSE*.dll is never utilized here.

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23607
  • Taking a timeout
    • STFU
Re: graphics extender
« Reply #601 on: May 21, 2019, 03:40:58 AM »

Oh I see.
Yep, that's indeed a UP3 special thing.
UP3 tries to load SSE3 and SSE4 versions of the il2 core dll:
Code: [Select]
    public static String engineDllName()
    {
        if(CLASS.ser() != 0)
        {
            if(Cpu86ID.getVendor() == 1 && Cpu86ID.isSSE4())
                return "il2corSSE4";
            if(Cpu86ID.getVendor() == 1 && Cpu86ID.isSSE3())
                return "il2corSSE3";
            if(Cpu86ID.getVendor() == 1 && Cpu86ID.isSSE2())
                return "il2coreP4";
            else
                return "il2_core";
        } else
        {
            Cpu86ID.getVendor();
            return "il2_server";
        }
    }

However that's crap as the regarding DLLs are pure placebo.
There has never been an il2 core dll compiled for SSE3 or SSE4, the dll's that exist are binary hacks and that don't do anything in terms of higher SSE version support.
No need to change IL-2 Graphics Extender for this, I'll fix that on UP3 side.

]cheers[
Mike
Logged
Don't split your mentality without thinking twice.

slibenli

  • member
  • Offline Offline
  • Posts: 618
    • IL-2 Graphics Extender
Re: graphics extender
« Reply #602 on: May 21, 2019, 05:10:05 AM »

Oh I see.
Yep, that's indeed a UP3 special thing.
UP3 tries to load SSE3 and SSE4 versions of the il2 core dll:
Code: [Select]
    public static String engineDllName()
    {
        if(CLASS.ser() != 0)
        {
            if(Cpu86ID.getVendor() == 1 && Cpu86ID.isSSE4())
                return "il2corSSE4";
            if(Cpu86ID.getVendor() == 1 && Cpu86ID.isSSE3())
                return "il2corSSE3";
            if(Cpu86ID.getVendor() == 1 && Cpu86ID.isSSE2())
                return "il2coreP4";
            else
                return "il2_core";
        } else
        {
            Cpu86ID.getVendor();
            return "il2_server";
        }
    }

However that's crap as the regarding DLLs are pure placebo.
There has never been an il2 core dll compiled for SSE3 or SSE4, the dll's that exist are binary hacks and that don't do anything in terms of higher SSE version support.
No need to change IL-2 Graphics Extender for this, I'll fix that on UP3 side.

]cheers[
Mike


OK.
Shouldn't it also be il2_corep4 instead of il2coreP4?

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23607
  • Taking a timeout
    • STFU
Re: graphics extender
« Reply #603 on: May 21, 2019, 05:25:59 AM »

Yes, absolutely.
It should and will be:
Code: [Select]
public static String engineDllName() {
if (CLASS.ser() != 0) return (Cpu86ID.getVendor() == 1 && Cpu86ID.isSSE2()) ? "il2_coreP4":"il2_core";
Cpu86ID.getVendor();
return "il2_server";
}

]cheers[
Mike
Logged
Don't split your mentality without thinking twice.

Marisa

  • member
  • Offline Offline
  • Posts: 4
Re: graphics extender
« Reply #604 on: May 21, 2019, 08:00:00 AM »

I can not get this to work at all.
I have extracted the contents of the install folder into my IL-2 folder, set water=0 and made sure obengl is being used.
I use the IL-2 selector 3.4.2.
The game is not installed into C:\Program Files (x86).
The worst thing is that not even a log gets created even though I put the dbghelp.dll into the IL-2 folder.
Any ideas?
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23607
  • Taking a timeout
    • STFU
Re: graphics extender
« Reply #605 on: May 21, 2019, 09:19:00 AM »

Any ideas?
With logfiles maybe.

]cheers[
Mike
Logged
Don't split your mentality without thinking twice.

Marisa

  • member
  • Offline Offline
  • Posts: 4
Re: graphics extender
« Reply #606 on: May 21, 2019, 09:22:42 AM »

Any ideas?
With logfiles maybe.

]cheers[
Mike

The only logfile created in the main IL-2 directory is the initlog.lst, will it be of any use?
Logged

slibenli

  • member
  • Offline Offline
  • Posts: 618
    • IL-2 Graphics Extender
Re: graphics extender
« Reply #607 on: May 21, 2019, 09:29:19 AM »

Any ideas?
With logfiles maybe.

]cheers[
Mike

The only logfile created in the main IL-2 directory is the initlog.lst, will it be of any use?

Yes!

Marisa

  • member
  • Offline Offline
  • Posts: 4
Re: graphics extender
« Reply #608 on: May 21, 2019, 09:34:35 AM »

Seems like I can't post links so have to dump the log here, sry.

Code: [Select]
2019-05-21 16:48:08:687 (dinput.dll) : JVM Parameters injector activated
2019-05-21 16:48:08:687 (dinput.dll) : Applying JVM Memory Settings from IL-2 Selector...
2019-05-21 16:48:08:687 (dinput.dll) : Adding JVM Option: -Xms444M
2019-05-21 16:48:08:687 (dinput.dll) : Adding JVM Option: -Xmx444M
2019-05-21 16:48:08:687 (dinput.dll) : Adding JVM Option: -Xss4096K
2019-05-21 16:48:08:687 (dinput.dll) : Adding JVM Option: -XX:PermSize=64M
2019-05-21 16:48:08:687 (dinput.dll) : Adding JVM Option: -XX:MaxPermSize=64M
2019-05-21 16:48:08:688 (dinput.dll) : Checking duplicate JVM Options...
2019-05-21 16:48:08:688 (dinput.dll) : Checking mandatory JVM Options...
2019-05-21 16:48:08:688 (dinput.dll) : Adding JVM Option: -Djava.class.path=.
2019-05-21 16:48:08:688 (dinput.dll) : Adding JVM Option: -Xverify:none
2019-05-21 16:48:08:688 (dinput.dll) : Adding JVM Option: -Xcomp
2019-05-21 16:48:08:688 (dinput.dll) : Final JVM Option List:
2019-05-21 16:48:08:688 (dinput.dll) : -Xms444M
2019-05-21 16:48:08:688 (dinput.dll) : -Xmx444M
2019-05-21 16:48:08:688 (dinput.dll) : -Xss4096K
2019-05-21 16:48:08:688 (dinput.dll) : -XX:PermSize=64M
2019-05-21 16:48:08:688 (dinput.dll) : -XX:MaxPermSize=64M
2019-05-21 16:48:08:688 (dinput.dll) : -Djava.class.path=.
2019-05-21 16:48:08:688 (dinput.dll) : -Xverify:none
2019-05-21 16:48:08:688 (dinput.dll) : -Xcomp
2019-05-21 16:48:08:688 (dinput.dll) : IL-2 Process ID = 00003B68
2019-05-21 16:48:08:688 (dinput.dll) : Starting Watchdog at E:\[vidya]\SteamLibrary\steamapps\common\IL 2 Sturmovik 1946\bin\selector\basefiles\IL-2 Watchdog.exe 0
2019-05-21 16:48:08:693 (dinput.dll) : Watchdog process started.
2019-05-21 16:48:08:698 (dinput.dll) : Hooked "SAS_CreateJavaVM" function activated, injecting JVM Parameters
2019-05-21 16:48:08:709   (watchdog) : IL-2 Parent Process Handle = 00000188, ID=00003B68
2019-05-21 16:48:08:709   (watchdog) : IL-2 Watchdog started.
2019-05-21 16:48:08:709   (watchdog) : Splash Screen Mode = 0
2019-05-21 16:48:08:710 (dinput.dll) : Java Virtual Machine Initialization with additional parameters successful!
2019-05-21 16:48:08:710   (watchdog) : Message Window Created.
2019-05-21 16:48:08:713    (wrapper) : ProcessAttach, attached Processes =  1
2019-05-21 16:48:08:713    (wrapper) : Calling GetCommandLineParams()
2019-05-21 16:48:08:713    (wrapper) : MODS Folder = "#SAS"
2019-05-21 16:48:08:713    (wrapper) : No FILES Folder set.
2019-05-21 16:48:08:714    (wrapper) : Calling LinkIl2fbExe()
2019-05-21 16:48:08:714    (wrapper) : Trying to link back to E:\[vidya]\SteamLibrary\steamapps\common\IL 2 Sturmovik 1946\il2fb.exe through LoadLibrary()
2019-05-21 16:48:08:714    (wrapper) : Calling CreateModsFolderList()
2019-05-21 16:48:08:717    (wrapper) : Scanning #SAS folder took 3 milliseconds.
2019-05-21 16:48:08:717    (wrapper) : Total number of modded files = 1055.
2019-05-21 16:48:08:717    (wrapper) : Calling SortList()
2019-05-21 16:48:08:717    (wrapper) : Sorting modded files list took 0.102 milliseconds.
2019-05-21 16:48:08:717    (wrapper) : Calling RemoveDuplicates()
2019-05-21 16:48:08:717    (wrapper) : Removing 1 Duplicates took 0.002 milliseconds.
2019-05-21 16:48:10:906    (wrapper) : ThreadAttach, attached Threads =  1
2019-05-21 16:48:10:907    (wrapper) : ThreadAttach, attached Threads =  2
2019-05-21 16:48:11:058   (watchdog) : IL-2 Main Window created: "Il2-Sturmovik 1946" (MaddoxRtsWndClassW), Handle= 0x001D05E2
2019-05-21 16:48:11:058   (watchdog) : Activating IL-2 Main Window (0x001D05E2) using SwitchToThisWindow()
2019-05-21 16:48:11:087    (wrapper) : ThreadAttach, attached Threads =  3
2019-05-21 16:48:11:087    (wrapper) : ThreadAttach, attached Threads =  4
2019-05-21 16:48:11:087    (wrapper) : ThreadAttach, attached Threads =  5
2019-05-21 16:48:11:094    (wrapper) : ThreadDetach, attached Threads =  4
2019-05-21 16:48:11:094    (wrapper) : ThreadDetach, attached Threads =  3
2019-05-21 16:48:11:095    (wrapper) : ThreadAttach, attached Threads =  4
2019-05-21 16:48:11:096    (wrapper) : ThreadDetach, attached Threads =  3
2019-05-21 16:48:11:205    (wrapper) : ThreadAttach, attached Threads =  4
2019-05-21 16:48:11:544    (wrapper) : ThreadAttach, attached Threads =  5
2019-05-21 16:48:11:560    (wrapper) : ThreadAttach, attached Threads =  6
2019-05-21 16:48:11:562    (wrapper) : ThreadAttach, attached Threads =  7
2019-05-21 16:48:11:657    (wrapper) : ThreadAttach, attached Threads =  8
2019-05-21 16:48:11:692    (wrapper) : ThreadAttach, attached Threads =  9
2019-05-21 16:48:11:706    (wrapper) : ThreadAttach, attached Threads =  10
2019-05-21 16:48:11:711    (wrapper) : ThreadAttach, attached Threads =  11
2019-05-21 16:48:11:721    (wrapper) : ThreadAttach, attached Threads =  12
2019-05-21 16:48:12:045   (watchdog) : Successfully activated IL-2 Main Window (Handle: 0x001D05E2)
2019-05-21 16:48:40:908    (wrapper) : ThreadAttach, attached Threads =  13
2019-05-21 16:48:40:908    (wrapper) : ThreadAttach, attached Threads =  14
2019-05-21 16:50:02:338    (wrapper) : ThreadAttach, attached Threads =  15
2019-05-21 16:50:03:584    (wrapper) : ThreadAttach, attached Threads =  16
2019-05-21 16:50:03:585    (wrapper) : ThreadDetach, attached Threads =  15
2019-05-21 16:50:21:481    (wrapper) : ThreadAttach, attached Threads =  16
2019-05-21 16:50:21:489    (wrapper) : ThreadDetach, attached Threads =  15
2019-05-21 16:50:24:471    (wrapper) : ThreadDetach, attached Threads =  14
2019-05-21 16:50:24:482    (wrapper) : ThreadDetach, attached Threads =  13
2019-05-21 16:50:24:482    (wrapper) : ThreadDetach, attached Threads =  12
2019-05-21 16:50:24:483    (wrapper) : ThreadDetach, attached Threads =  11
2019-05-21 16:50:24:790    (wrapper) : ThreadDetach, attached Threads =  10
2019-05-21 16:50:24:807   (watchdog) : IL-2 Main Window destroyed: "Il2-Sturmovik 1946" (MaddoxRtsWndClassW), Handle= 0x001D05E2
2019-05-21 16:50:24:807   (watchdog) : IL-2 main window (handle 0x001D05E2) disappeared, checking process status.
2019-05-21 16:50:24:894    (wrapper) : ProcessDetach, attached Processes =  0
2019-05-21 16:50:24:894    (wrapper) : Total files opened = 71802
2019-05-21 16:50:24:894    (wrapper) : Total search time consumed = 0.129 milliseconds (0.000129021573 Seconds)
2019-05-21 16:50:24:894    (wrapper) : Search Time per File = 1.797 nanoseconds (0.000000001797 Seconds)
2019-05-21 16:50:24:894    (wrapper) : Average Search Iterations required per File = 8.9
2019-05-21 16:50:24:896 (dinput.dll) : JVM Parameters injector deactivated
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23607
  • Taking a timeout
    • STFU
Re: graphics extender
« Reply #609 on: May 21, 2019, 09:59:13 AM »

The game doesn't even start and the selector apparently isn't 3.4.2 (because there's no trace of the Selector attempting to load Il-2 Graphics Extender, which means it cannot be 3.4.2).
Game=FUBAR?

]cheers[
Mike
Logged
Don't split your mentality without thinking twice.

Marisa

  • member
  • Offline Offline
  • Posts: 4
Re: graphics extender
« Reply #610 on: May 21, 2019, 10:11:45 AM »

The game doesn't even start and the selector apparently isn't 3.4.2 (because there's no trace of the Selector attempting to load Il-2 Graphics Extender, which means it cannot be 3.4.2).
Game=FUBAR?

]cheers[
Mike

The problem was indeed the Selector. For some reason it was an older version even though I was sure I installed the newest one.
It works now, thank you.
Logged

slibenli

  • member
  • Offline Offline
  • Posts: 618
    • IL-2 Graphics Extender
Re: graphics extender
« Reply #611 on: May 24, 2019, 06:23:26 AM »

Experimental BumpH support added - enable with:
il2ge.ini:
Quote
EnableBumpH=1

BumpH files are converted to normal maps and cached in il2ge/cache/bumph/.
If the original BumpH files are changed you will have to delete the folder il2ge/cache/bumph for the changes to take effect.

I've tried it with the high-resolution map by carsmaster (https://www.sas1946.com/main/index.php/topic,60802.0.html) - unfortunately I ran out of video memory (2GB).

EDIT:
There is no self shadowing from the terrain bumps, so it looks different from the original.
Pages: 1 ... 48 49 50 [51] 52 53 54 ... 107   Go Up
 

Page created in 0.089 seconds with 24 queries.