Jump to content

[WIP] Loading textures only as required


Faark

Recommended Posts

I only made very small changes, I'm surprised no one else did this.

I've uploaded a .dll as v3.5 on the fork.

tyvm! gonna give it a shot, as ATM seems to be not quite as efficient as it used to be for me any more

edit: its giving me some trouble. several crashes after pre-load when LoD starts to work on start screen, went back and verified install of dependencies, then got this on next startup:

uA5X0Im.jpg

Here's the end of the output log, had 3 crashes initially but only got 1 report:

(that last load with the image above actually loaded, and got me into the game, but LoD was not active.

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

LoadOnDemand: PrepStop

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

LoadOnDemand: PrepStop

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Crash!!!

SymInit: Symbol-SearchPath: '.;C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program;C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program;C:\Windows;C:\Windows\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'Dan'

OS-Version: 6.1.7601 (Service Pack 1) 0x100-0x1

C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP.exe:KSP.exe (00EE0000), size: 12214272 (result: 0), SymType: '-exported-', PDB: 'C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP.exe', fileVersion: 4.5.5.37569

C:\Windows\SysWOW64\ntdll.dll:ntdll.dll (77E30000), size: 1572864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SysWOW64\ntdll.dll', fileVersion: 6.1.7601.18247

C:\Windows\syswow64\kernel32.dll:kernel32.dll (77880000), size: 1114112 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\kernel32.dll', fileVersion: 6.1.7601.18409

C:\Windows\syswow64\KERNELBASE.dll:KERNELBASE.dll (77990000), size: 290816 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\KERNELBASE.dll', fileVersion: 6.1.7601.18409

C:\Windows\system32\HID.DLL:HID.DLL (717C0000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\HID.DLL', fileVersion: 6.1.7600.16385

C:\Windows\syswow64\msvcrt.dll:msvcrt.dll (777A0000), size: 704512 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\msvcrt.dll', fileVersion: 7.0.7601.17744

C:\Windows\syswow64\WS2_32.dll:WS2_32.dll (766A0000), size: 217088 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\WS2_32.dll', fileVersion: 6.1.7601.17514

C:\Windows\syswow64\RPCRT4.dll:RPCRT4.dll (77680000), size: 983040 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\RPCRT4.dll', fileVersion: 6.1.7601.18532

C:\Windows\syswow64\SspiCli.dll:SspiCli.dll (75820000), size: 393216 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\SspiCli.dll', fileVersion: 6.1.7601.18526

C:\Windows\syswow64\CRYPTBASE.dll:CRYPTBASE.dll (75810000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\CRYPTBASE.dll', fileVersion: 6.1.7600.16385

C:\Windows\SysWOW64\sechost.dll:sechost.dll (75C60000), size: 102400 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SysWOW64\sechost.dll', fileVersion: 6.1.7600.16385

C:\Windows\syswow64\NSI.dll:NSI.dll (76570000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\NSI.dll', fileVersion: 6.1.7600.16385

C:\Windows\syswow64\USER32.dll:USER32.dll (75940000), size: 1048576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\USER32.dll', fileVersion: 6.1.7601.17514

C:\Windows\syswow64\GDI32.dll:GDI32.dll (75BC0000), size: 589824 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\GDI32.dll', fileVersion: 6.1.7601.18577

C:\Windows\syswow64\LPK.dll:LPK.dll (76420000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\LPK.dll', fileVersion: 6.1.7601.18177

C:\Windows\syswow64\USP10.dll:USP10.dll (75DE0000), size: 643072 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\USP10.dll', fileVersion: 1.626.7601.18454

C:\Windows\syswow64\ADVAPI32.dll:ADVAPI32.dll (75890000), size: 655360 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\ADVAPI32.dll', fileVersion: 6.1.7601.18247

C:\Windows\system32\VERSION.dll:VERSION.dll (73FE0000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\VERSION.dll', fileVersion: 6.1.7600.16385

C:\Windows\syswow64\ole32.dll:ole32.dll (75A60000), size: 1425408 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\ole32.dll', fileVersion: 6.1.7601.17514

C:\Windows\syswow64\SHLWAPI.dll:SHLWAPI.dll (75D80000), size: 356352 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\SHLWAPI.dll', fileVersion: 6.1.7601.17514

C:\Windows\syswow64\SHELL32.dll:SHELL32.dll (76A00000), size: 12886016 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\SHELL32.dll', fileVersion: 6.1.7601.18517

C:\Windows\system32\OPENGL32.dll:OPENGL32.dll (66B20000), size: 819200 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\OPENGL32.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\GLU32.dll:GLU32.dll (69050000), size: 139264 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\GLU32.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\DDRAW.dll:DDRAW.dll (6BDE0000), size: 946176 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DDRAW.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\DCIMAN32.dll:DCIMAN32.dll (71440000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DCIMAN32.dll', fileVersion: 6.1.7601.18177

C:\Windows\syswow64\SETUPAPI.dll:SETUPAPI.dll (75F50000), size: 1691648 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\SETUPAPI.dll', fileVersion: 6.1.7601.17514

C:\Windows\syswow64\CFGMGR32.dll:CFGMGR32.dll (77770000), size: 159744 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\CFGMGR32.dll', fileVersion: 6.1.7601.17621

C:\Windows\syswow64\OLEAUT32.dll:OLEAUT32.dll (76390000), size: 585728 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\OLEAUT32.dll', fileVersion: 6.1.7601.17676

C:\Windows\syswow64\DEVOBJ.dll:DEVOBJ.dll (760F0000), size: 73728 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\DEVOBJ.dll', fileVersion: 6.1.7601.17621

C:\Windows\system32\dwmapi.dll:dwmapi.dll (74D60000), size: 77824 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dwmapi.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\WINMM.dll:WINMM.dll (71FF0000), size: 204800 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINMM.dll', fileVersion: 6.1.7601.17514

C:\Windows\system32\MSACM32.dll:MSACM32.dll (75340000), size: 81920 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSACM32.dll', fileVersion: 6.1.7600.16385

C:\Windows\syswow64\IMM32.dll:IMM32.dll (75C90000), size: 393216 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\IMM32.dll', fileVersion: 6.1.7601.17514

C:\Windows\syswow64\MSCTF.dll:MSCTF.dll (75E80000), size: 835584 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\MSCTF.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\DNSAPI.dll:DNSAPI.dll (73AD0000), size: 278528 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DNSAPI.dll', fileVersion: 6.1.7601.17570

C:\Windows\system32\IPHLPAPI.DLL:IPHLPAPI.DLL (73C40000), size: 114688 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\IPHLPAPI.DLL', fileVersion: 6.1.7601.17514

C:\Windows\system32\WINNSI.DLL:WINNSI.DLL (73C30000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINNSI.DLL', fileVersion: 6.1.7600.16385

C:\Windows\system32\WINHTTP.dll:WINHTTP.dll (73B70000), size: 360448 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINHTTP.dll', fileVersion: 6.1.7601.17514

C:\Windows\system32\webio.dll:webio.dll (73B20000), size: 323584 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\webio.dll', fileVersion: 6.1.7601.17725

C:\Program Files (x86)\Steam\gameoverlayrenderer.dll:gameoverlayrenderer.dll (5A380000), size: 1372160 (result: 0), SymType: '-exported-', PDB: 'C:\Program Files (x86)\Steam\gameoverlayrenderer.dll', fileVersion: 2.70.60.97

C:\Windows\syswow64\psapi.dll:psapi.dll (75A50000), size: 20480 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\psapi.dll', fileVersion: 6.1.7600.16385

C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_Data\Mono\mono.dll:mono.dll (10000000), size: 2289664 (result: 0), SymType: '-exported-', PDB: 'C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_Data\Mono\mono.dll'

C:\Windows\system32\MSWSOCK.dll:MSWSOCK.dll (72B20000), size: 245760 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSWSOCK.dll', fileVersion: 6.1.7601.18254

C:\Windows\system32\uxtheme.dll:uxtheme.dll (72070000), size: 524288 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\uxtheme.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\d3d9.dll:d3d9.dll (6BED0000), size: 1847296 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\d3d9.dll', fileVersion: 6.1.7601.17514

C:\Windows\system32\d3d8thk.dll:d3d8thk.dll (71450000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\d3d8thk.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\aticfx32.dll:aticfx32.dll (60400000), size: 1138688 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\aticfx32.dll', fileVersion: 8.17.10.1333

C:\Windows\system32\atiu9pag.dll:atiu9pag.dll (603C0000), size: 110592 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\atiu9pag.dll', fileVersion: 8.14.1.6413

C:\Windows\system32\atiumdag.dll:atiumdag.dll (5FD00000), size: 7053312 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\atiumdag.dll', fileVersion: 9.14.10.1080

C:\Windows\system32\atiumdva.dll:atiumdva.dll (5F5C0000), size: 7593984 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\atiumdva.dll', fileVersion: 8.14.10.481

C:\Windows\system32\POWRPROF.dll:POWRPROF.dll (727D0000), size: 151552 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\POWRPROF.dll', fileVersion: 6.1.7600.16385

C:\Windows\syswow64\WINTRUST.dll:WINTRUST.dll (77850000), size: 188416 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\WINTRUST.dll', fileVersion: 6.1.7601.18205

C:\Windows\syswow64\CRYPT32.dll:CRYPT32.dll (76580000), size: 1179648 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\CRYPT32.dll', fileVersion: 6.1.7601.18277

C:\Windows\syswow64\MSASN1.dll:MSASN1.dll (76430000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\MSASN1.dll', fileVersion: 6.1.7601.17514

C:\Windows\system32\MMDevAPI.DLL:MMDevAPI.DLL (753F0000), size: 233472 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MMDevAPI.DLL', fileVersion: 6.1.7601.17514

C:\Windows\system32\PROPSYS.dll:PROPSYS.dll (71870000), size: 1003520 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\PROPSYS.dll', fileVersion: 7.0.7601.17514

C:\Windows\system32\wdmaud.drv:wdmaud.drv (753C0000), size: 196608 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wdmaud.drv', fileVersion: 6.1.7601.17514

C:\Windows\system32\ksuser.dll:ksuser.dll (75550000), size: 16384 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ksuser.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\AVRT.dll:AVRT.dll (753B0000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\AVRT.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\AUDIOSES.DLL:AUDIOSES.DLL (75370000), size: 221184 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\AUDIOSES.DLL', fileVersion: 6.1.7601.17514

C:\Windows\system32\msacm32.drv:msacm32.drv (75360000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\msacm32.drv', fileVersion: 6.1.7600.16385

C:\Windows\system32\midimap.dll:midimap.dll (75330000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\midimap.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\dsound.dll:dsound.dll (610F0000), size: 466944 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dsound.dll', fileVersion: 6.1.7600.16385

C:\Windows\syswow64\CLBCatQ.DLL:CLBCatQ.DLL (75CF0000), size: 536576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\CLBCatQ.DLL', fileVersion: 2001.12.8530.16385

C:\Windows\system32\xinput1_3.dll:xinput1_3.dll (06BD0000), size: 90112 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\xinput1_3.dll', fileVersion: 9.18.944.0

C:\Windows\system32\CRYPTSP.dll:CRYPTSP.dll (73100000), size: 90112 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CRYPTSP.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\rsaenh.dll:rsaenh.dll (73120000), size: 241664 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\rsaenh.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\wbem\wbemprox.dll:wbemprox.dll (6D250000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wbem\wbemprox.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\wbemcomn.dll:wbemcomn.dll (6CE20000), size: 376832 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wbemcomn.dll', fileVersion: 6.1.7601.17514

C:\Windows\system32\RpcRtRemote.dll:RpcRtRemote.dll (72B90000), size: 57344 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\RpcRtRemote.dll', fileVersion: 6.1.7601.17514

C:\Windows\system32\wbem\wbemsvc.dll:wbemsvc.dll (6D240000), size: 61440 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wbem\wbemsvc.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\wbem\fastprox.dll:fastprox.dll (6CCC0000), size: 614400 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wbem\fastprox.dll', fileVersion: 6.1.7601.17514

C:\Windows\system32\NTDSAPI.dll:NTDSAPI.dll (6CE00000), size: 98304 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\NTDSAPI.dll', fileVersion: 6.1.7600.16385

C:\Windows\system32\dhcpcsvc6.DLL:dhcpcsvc6.DLL (71710000), size: 53248 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dhcpcsvc6.DLL', fileVersion: 6.1.7601.17970

C:\Windows\system32\dhcpcsvc.DLL:dhcpcsvc.DLL (716F0000), size: 73728 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dhcpcsvc.DLL', fileVersion: 6.1.7600.16385

C:\Windows\System32\wshtcpip.dll:wshtcpip.dll (72A80000), size: 20480 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\wshtcpip.dll', fileVersion: 6.1.7600.16385

C:\Windows\System32\wship6.dll:wship6.dll (72A70000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\wship6.dll', fileVersion: 6.1.7600.16385

C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL:WLIDNSP.DLL (72AE0000), size: 159744 (result: 0), SymType: '-exported-', PDB: 'C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL', fileVersion: 7.250.4311.0

C:\Windows\system32\rasadhlp.dll:rasadhlp.dll (72A90000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\rasadhlp.dll', fileVersion: 6.1.7600.16385

C:\Windows\System32\fwpuclnt.dll:fwpuclnt.dll (72AA0000), size: 229376 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\fwpuclnt.dll', fileVersion: 6.1.7601.18283

C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\LoadOnDemand\NetWrapper.native:NetWrapper.native (5B610000), size: 188416 (result: 0), SymType: '-exported-', PDB: 'C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\LoadOnDemand\NetWrapper.native'

C:\Windows\SYSTEM32\MSCOREE.DLL:MSCOREE.DLL (5B4D0000), size: 303104 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\MSCOREE.DLL', fileVersion: 4.0.40305.0

C:\Windows\system32\apphelp.dll:apphelp.dll (739C0000), size: 311296 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\apphelp.dll', fileVersion: 6.1.7601.17514

C:\Windows\system32\MSVCR120.dll:MSVCR120.dll (5A010000), size: 974848 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSVCR120.dll', fileVersion: 12.0.21005.1

C:\Windows\system32\d3dx9_43.dll:d3dx9_43.dll (59E10000), size: 2093056 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\d3dx9_43.dll', fileVersion: 9.29.952.3111

C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll:mscoreei.dll (59D90000), size: 503808 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll', fileVersion: 4.0.30319.18408

C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll:clr.dll (596F0000), size: 6926336 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll', fileVersion: 4.0.30319.18444

C:\Windows\system32\MSVCR110_CLR0400.dll:MSVCR110_CLR0400.dll (59610000), size: 864256 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSVCR110_CLR0400.dll', fileVersion: 11.0.50938.18408

C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\ce5f61c5754789df97be8dc991c47d07\mscorlib.ni.dll:mscorlib.ni.dll (561D0000), size: 16965632 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\ce5f61c5754789df97be8dc991c47d07\mscorlib.ni.dll', fileVersion: 4.0.30319.18444

C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll:clrjit.dll (59590000), size: 512000 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll', fileVersion: 4.0.30319.18444

C:\Windows\assembly\NativeImages_v4.0.30319_32\System\9b943fcb3af2101cfb3467161c6ac0ed\System.ni.dll:System.ni.dll (55830000), size: 10067968 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\assembly\NativeImages_v4.0.30319_32\System\9b943fcb3af2101cfb3467161c6ac0ed\System.ni.dll', fileVersion: 4.0.30319.18408

C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Core\28684b3f787d06edd1de8b574521d867\System.Core.ni.dll:System.Core.ni.dll (55180000), size: 7004160 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Core\28684b3f787d06edd1de8b574521d867\System.Core.ni.dll', fileVersion: 4.0.30319.18408

C:\Windows\system32\msgsm32.acm:msgsm32.acm (0BDE0000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\msgsm32.acm', fileVersion: 6.1.7600.16385

C:\Windows\Microsoft.NET\Framework\v4.0.30319\nlssorting.dll:nlssorting.dll (09890000), size: 73728 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\nlssorting.dll', fileVersion: 4.0.30319.18408

C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Drawing\cb52099e0d36613c74b927e32ec41a9d\System.Drawing.ni.dll:System.Drawing.ni.dll (5F340000), size: 1654784 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Drawing\cb52099e0d36613c74b927e32ec41a9d\System.Drawing.ni.dll', fileVersion: 4.0.30319.18408

C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18455_none_72d576ad8665e853\gdiplus.dll:gdiplus.dll (60E60000), size: 1638400 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18455_none_72d576ad8665e853\gdiplus.dll', fileVersion: 6.1.7601.18455

C:\Windows\system32\WindowsCodecs.dll:WindowsCodecs.dll (6C9F0000), size: 1245184 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WindowsCodecs.dll', fileVersion: 6.2.9200.16809

C:\Windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll:diasymreader.dll (46500000), size: 868352 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll', fileVersion: 11.0.50938.18408

C:\Windows\system32\dbghelp.dll:dbghelp.dll (13090000), size: 962560 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dbghelp.dll', fileVersion: 6.1.7601.17514

========== OUTPUTING STACK TRACE ==================

(0x7799C42D) (KERNELBASE): (filename not available): RaiseException + 0x58

(0x59842A42) (clr): (filename not available): CorExeMain + 0x1072d

(0x5984337F) (clr): (filename not available): CorExeMain + 0x1106a

(0x10E4106A) ((module-name not available)): (filename not available): (function-name not available) + 0x0

(0x10E46DEA) ((module-name not available)): (filename not available): (function-name not available) + 0x0

(0x10C6BBCD) ((module-name not available)): (filename not available): (function-name not available) + 0x0

(0x058F9FF8) (Mono JIT code): (filename not available): (wrapper managed-to-native) object:wrapper_native_5B61DA78 (void*) + 0x28 (058F9FD0 058FA01B) [053C4E70 - Unity Root Domain] + 0x0

(0x26C37C45) (Mono JIT code): (filename not available): LoadOnDemand.NativeBridge:<OnCallbackFromKspThreadRequested>b__8 () + 0x3d (26C37C08 26C37C53) [053C4E70 - Unity Root Domain] + 0x0

(0x059407A3) (Mono JIT code): (filename not available): LoadOnDemand.Logic.WorkQueue:Update () + 0xa3 (05940700 05940898) [053C4E70 - Unity Root Domain] + 0x0

(0x0587E629) (Mono JIT code): (filename not available): (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) + 0x41 (0587E5E8 0587E67D) [053C4E70 - Unity Root Domain] + 0x0

(0x100F0376) (mono): (filename not available): mono_set_defaults + 0x22cb

(0x1005D78C) (mono): (filename not available): mono_runtime_invoke + 0x51

(0x00FF3A38) (KSP): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0x28618

(0x0108E946) (KSP): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0xc3526

(0x0108E525) (KSP): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0xc3105

(0x00FE63FB) (KSP): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0x1afdb

(0x00FE6471) (KSP): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0x1b051

(0x00FE6487) (KSP): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0x1b067

(0x0105C489) (KSP): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0x91069

(0x010D2D6B) (KSP): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0x10794b

(0x010D4635) (KSP): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0x109215

(0x013400E8) (KSP): (filename not available): AnimationEvent::Transfer<StreamedBinaryRead<1> > + 0x11b378

(0x01374FB0) (KSP): (filename not available): AnimationEvent::Transfer<StreamedBinaryRead<1> > + 0x150240

(0x7789338A) (kernel32): (filename not available): BaseThreadInitThunk + 0x12

(0x77E69F72) (ntdll): (filename not available): RtlInitializeExceptionChain + 0x63

(0x77E69F45) (ntdll): (filename not available): RtlInitializeExceptionChain + 0x36

========== END OF STACKTRACE ===========

**** Crash! ****

Edited by BobsYerUncle
Link to comment
Share on other sites

Oh boy!

Thank you! I've tested it several times now, with multiple mods (including big ones like B9, KW and AIES), works like a charm.

Using the option:

DontLoadEditorCatalogParts = True

I can now run my fully modded KSP without using ATM.

I've experienced no crashes so far.

Link to comment
Share on other sites

tyvm! gonna give it a shot, as ATM seems to be not quite as efficient as it used to be for me any more

edit: its giving me some trouble. several crashes after pre-load when LoD starts to work on start screen, went back and verified install of dependencies, then got this on next startup:

http://i.imgur.com/uA5X0Im.jpg

Here's the end of the output log, had 3 crashes initially but only got 1 report:

(that last load with the image above actually loaded, and got me into the game, but LoD was not active.

Are you using OpenGL by any chance ? If so LoD doesn't work with it. Something else that might be worth a look are the requirements(.NET Framework (4.0)/Visual C++ Redistributable Packages for Visual Studio 2013)
Link to comment
Share on other sites

no on the openGL (actually i may need to double-check on this, always had a separate install for modding but have been using the steam launcher lately. could be a setting in there somewhere)

and yep the .net and c++ were the first things i tried. updating them DID get me past the crash on part-load, but is what prompted the messeage in the image i posted, and LoD doesnt work once in game.

Link to comment
Share on other sites

Alright, so what all do I need to do to get this to work? Is it just:

1) Download the project from GitHub

2) Grab the updated file and replace the one from the repository

3) Use a C# compiler to put the .dll together

4) Profit?

Or is there something I'm overlooking, something a hell of a lot easier to do?

Link to comment
Share on other sites

no on the openGL (actually i may need to double-check on this, always had a separate install for modding but have been using the steam launcher lately. could be a setting in there somewhere)

and yep the .net and c++ were the first things i tried. updating them DID get me past the crash on part-load, but is what prompted the messeage in the image i posted, and LoD doesnt work once in game.

A full output.log would be surely helpful here.

Alright, so what all do I need to do to get this to work? Is it just:

1) Download the project from GitHub

2) Grab the updated file and replace the one from the repository

3) Use a C# compiler to put the .dll together

4) Profit?

Or is there something I'm overlooking, something a hell of a lot easier to do?

Get the dll from here. Download and install the requirements(.NET Framework (4.0)/Visual C++ Redistributable Packages for Visual Studio 2013) and load up your game. :)
Link to comment
Share on other sites

When compiling, make sure you're compiling into the .net framework 3.5. If your IDE complains that it can't find it and will use that GAC to figure it out, that should be okay. On top of that, however, you gotta be running DirectX 9 mode (default for KSP) and having a good standing with a prominent deity of your choice (one who gives a bleep if you succeed in this stuff at all, that is) might help.

Link to comment
Share on other sites

Okay...and I just need to stick the .dll in my GameData folder, right? (I already have the .NET 4.0 and Visual C++ packages installed)

Exactly. Just start the game and it will work its magic. Might want to change some settings after the initial start so it compresses textures too but that takes some more time to prepare.

Link to comment
Share on other sites

Oh, also... if you're using TextureReplacer, disable that mod's compression system. It'll mess up this mod in some ways that were never fully explained, but I assume are bad. Also, there will be some issues if you use TextureReplacer's GameData replacement method (placing textures in a copy directory structure beginning with "TextureReplacer\default\GameData\...") so you'll have to either replace those textures manually if desired, or give up that method of replacing part textures.

As for DDS, there was some talk on the project page about adding some initial support for it, but I am unsure if this ever got completed to any compilable level. I never had issues with running this alongside DDS Loader, except that it wouldn't dynamically load/unload any of those textures.

Link to comment
Share on other sites

I will wait maybe someone works to make a compatible with dds because right now all my textures has been converted as dds.

And yes i use the dds Loader but i wanted to works and LoadOnDemand for dds for more stability of RAM issue.

Link to comment
Share on other sites

I've got DDS; it's behaving with the new LoadOnDemand.dll file in my KSP instance.

And boy am I damn glad to have LoadOnDemand back. Just being able to tell what button does what in the ModuleManager is a vast improvement...

Link to comment
Share on other sites

I'm not sure I follow you there, but it is indeed good to have it back.

Comparison time then. This top image was from a couple of days ago, before LoadOnDemand. Note the buttons along the top of the screen.

CcvHnz4.png

This image was from yesterday, after the grand return of LoadOnDemand.

9rUijRl.png

It's nice to be able to tell what button does what again. Plus the planes look snappier too.

Occurs to me I haven't given jamesb6626 any rep yet for bringing this most awesome mod back from the dead; gonna rectify that right now.

Link to comment
Share on other sites

As for DDS, there was some talk on the project page about adding some initial support for it, but I am unsure if this ever got completed to any compilable level. I never had issues with running this alongside DDS Loader, except that it wouldn't dynamically load/unload any of those textures.

Too bad I already have 90% of my textures converted to DDS and the rest is handled by ATM.

Really I would like to one day see DDS support for this mod implemented, certainly if 1.0 does not deliver on a better/fixed client memory management.

Link to comment
Share on other sites

Comparison time then. This top image was from a couple of days ago, before LoadOnDemand. Note the buttons along the top of the screen.

This image was from yesterday, after the grand return of LoadOnDemand.

It's nice to be able to tell what button does what again. Plus the planes look snappier too.

Occurs to me I haven't given jamesb6626 any rep yet for bringing this most awesome mod back from the dead; gonna rectify that right now.

So, it looks like the icons were being mipmapped and/or compressed when they shouldn't have been. LoadOnDemand wouldn't change how the icons are rendered, but the necessity of disabling the compression from other mods to make LOD run properly may have also cured your blurry button issue. I don't really know either way what the cause and/or fix was/is to that icon thing, but LOD wouldn't be doing anything to specifically fix that issue. It has to be a side effect of another mod you're running not doing what it was before LOD was installed.

Normally other mods which compress or resize textures will have settings that remove icons from the process to reduce blurry icon syndrome. You may simply not have all the latest patches for the various mods installed for whatever texture compression mod you're using.

The textures of the plane looking better is also likely an artifact of less texture compression being done in the background when LOD is installed due to the fact that less assets are actively taking up memory space.

- - - Updated - - -

Does this save as much memory as OpenGL? I want this but I want to still be able to run tons of mods. Or does this save even more memory than OpenGL?

That's a really hard question to answer. Reports have gone both ways depending on the system you're on, and the actual results vary as much as the variances of system setups everyone has. You'll have to give it a try yourself to know for sure. On my system, OGL didn't do squat for my memory compared to the standard DX9 mode.

- - - Updated - - -

I've got DDS; it's behaving with the new LoadOnDemand.dll file in my KSP instance.

And boy am I damn glad to have LoadOnDemand back. Just being able to tell what button does what in the ModuleManager is a vast improvement...

One thing I'd question is whether or not LOD is actually handling the DDS textures or not. It may function well even with DDS being used in your game, but it would unlikely be handling the DDS files specifically. In my install, I even have a few mods that, after being updated several times, have a DDS for the diffuse texture, but a PNG for the normal map and/or emissive. The DDS is always loaded at maximum, but the emissive (if i load up that part with the emissive actively emitting) will take a moment to load up clearly, showing that LOD is only managing that part of the textures attached to that model. I'm unsure if there's an easy way to detect what LOD is actually doing in relation to the DDS textures right now though, and I have yet to install this into my game again.

Oh, and I think my confusion about your buttons was because you called the bar on the top a "Module Manager" when ModuseManager is actually a mod for handling config patching. The area you're talking about I believe is called, in some form or another, an "Application Manager" or something along those lines.

Edited by Gaalidas
Link to comment
Share on other sites

So, it looks like the icons were being mipmapped and/or compressed when they shouldn't have been. LoadOnDemand wouldn't change how the icons are rendered, but the necessity of disabling the compression from other mods to make LOD run properly may have also cured your blurry button issue. I don't really know either way what the cause and/or fix was/is to that icon thing, but LOD wouldn't be doing anything to specifically fix that issue. It has to be a side effect of another mod you're running not doing what it was before LOD was installed.Normally other mods which compress or resize textures will have settings that remove icons from the process to reduce blurry icon syndrome. You may simply not have all the latest patches for the various mods installed for whatever texture compression mod you're using.The textures of the plane looking better is also likely an artifact of less texture compression being done in the background when LOD is installed due to the fact that less assets are actively taking up memory space.- - - Updated - - -That's a really hard question to answer. Reports have gone both ways depending on the system you're on, and the actual results vary as much as the variances of system setups everyone has. You'll have to give it a try yourself to know for sure. On my system, OGL didn't do squat for my memory compared to the standard DX9 mode.- - - Updated - - -One thing I'd question is whether or not LOD is actually handling the DDS textures or not. It may function well even with DDS being used in your game, but it would unlikely be handling the DDS files specifically. In my install, I even have a few mods that, after being updated several times, have a DDS for the diffuse texture, but a PNG for the normal map and/or emissive. The DDS is always loaded at maximum, but the emissive (if i load up that part with the emissive actively emitting) will take a moment to load up clearly, showing that LOD is only managing that part of the textures attached to that model. I'm unsure if there's an easy way to detect what LOD is actually doing in relation to the DDS textures right now though, and I have yet to install this into my game again.Oh, and I think my confusion about your buttons was because you called the bar on the top a "Module Manager" when ModuseManager is actually a mod for handling config patching. The area you're talking about I believe is called, in some form or another, an "Application Manager" or something along those lines.
I crash if GameData is over 1.89 gigs. how big can can my GameData be with this?
Link to comment
Share on other sites

I only made very small changes, I'm surprised no one else did this.

I've uploaded a .dll as v3.5 on the fork.

No one "did it" because very few people are willing to try :'(

If something breaks, it is simply "too hard" to fix by anyone except the original plugin author... I'm not 100% certain why the template change was needed, (err, <AvailablePart> is templating right? Have to re-read things on C#.) But I would garner that the biggest issue was the easiest to catch. (EditorLogic.startPod). Something that could be caught simply by compiling it.

On another note:

I was going to take the first steps today and was starting to do the initial (get it to compile under 0.25 and work) [didn't realize you had done it] but have failed a couple hundred times over... I figure mono just won't do the job properly (or I don't know how to use the command line, that also is quite possible)

Do I really need to register with microsoft and all that for a simple VS 2013 trial just to compile this correctly? A few tries with the easier to download VS 2012 result in a crash after loading. (To note to others: the C++ dll needs VS2013 to compile, but the C# is library based and... well... should be different)

Edited by Fel
Link to comment
Share on other sites

A small question though: I switched to Linux after this mod was gone, is there even the smallest possibility to get it working under it as well?

No, for two reasons:

1. It only works with DirectX, which is Windows-only. Linux and Mac use OpenGL.

2. The 64-bit Linux version of KSP doesn't have a memory limit, so this mod and ATM and other memory-saving tricks aren't needed. Lin64 KSP can use all the RAM in your machine; I've hit 9 GB. It still crashes occasionally, just not from the RAM limit :)

Link to comment
Share on other sites

No, for two reasons:

1. It only works with DirectX, which is Windows-only. Linux and Mac use OpenGL.

2. The 64-bit Linux version of KSP doesn't have a memory limit, so this mod and ATM and other memory-saving tricks aren't needed. Lin64 KSP can use all the RAM in your machine; I've hit 9 GB. It still crashes occasionally, just not from the RAM limit

1. okay, so basically it can't be made working without DirectX? Sorry, if this seems a bit thick, I have only superfical knowledge about graphic ressource managment software (if that's what it actually is...)

2. well, I currently hit ~6.6 Gigabyte of 8 with ATM basic, can't afford more RAM and still haven't installed 'all the mods', and of course, it's a luxury problem, I know...and yes, of course, Linux could manage more...

Cheers

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...