It is so dark

Moderator: MOD_DW2

User avatar
Erik Rutins
Posts: 39650
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

Re: It is so dark

Post by Erik Rutins »

brucethemoose wrote: Sat Mar 12, 2022 6:20 am I ran distant worlds 2 with a game mod/injector called SpecialK, and I noticed this warning pop up:
Image

So I poked through the forums here and ran into this. Changing the "sRGB bypass" option let me replicate your issue:
Image

"Passthrough" in the sRGB bypass option looks right, while "strip" looks like your extra dark output.

So... it looks like parallels driver is somehow screwing up mapping to the sRGB color space? I'm in over my head here. You could try running DW2 through SpecialK like I do, but that is definitely not a officially supported way to run the game.


EDIT: There's some more documentation here: https://wiki.special-k.info/en/SwapChain
Special K handles sRGB <-> Linear gamma correction for games that request an sRGB SwapChain and would otherwise not be Flip Model compatible.
That's interesting information, thank you Bruce.
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
User avatar
cblattmann
Posts: 138
Joined: Thu Jun 13, 2019 2:20 pm

Re: It is so dark

Post by cblattmann »

I was able to make adjustments by playing with some of the numbers in GraphicsSettings_Galaxy.xml, GraphicsSettings_Location.xml, GraphicsSettings_Menu.xml and GraphicsSettings_System.xml.

Images with letters are with the installed values. Images with number are the adjusted ones. The biggest difference is with E & 5. It is also better with A & 1, D & 4 and F & 6. Where I mad no progress is with the loading screen and the dialog boxes. On B & 2 the text is a bit more readable on 2, but the imagery is unchanged and still very dark compared to the original one B.

Is there a file with settings for text and graphics in dialog boxes?

DW2 - Graphical Adjustments.jpg
DW2 - Graphical Adjustments.jpg (2.51 MiB) Viewed 1381 times
brucethemoose
Posts: 46
Joined: Fri Feb 18, 2022 6:14 pm

Re: It is so dark

Post by brucethemoose »

cblattmann wrote: Sat Mar 12, 2022 10:31 pm I was able to make adjustments by playing with some of the numbers in GraphicsSettings_Galaxy.xml, GraphicsSettings_Location.xml, GraphicsSettings_Menu.xml and GraphicsSettings_System.xml.

Images with letters are with the installed values. Images with number are the adjusted ones. The biggest difference is with E & 5. It is also better with A & 1, D & 4 and F & 6. Where I mad no progress is with the loading screen and the dialog boxes. On B & 2 the text is a bit more readable on 2, but the imagery is unchanged and still very dark compared to the original one B.

Is there a file with settings for text and graphics in dialog boxes?
If SpecialK isn't an option, have you tried running ReShade on parallels with this? I have read ReShade works on parallels Macs.

https://github.com/crabshank/HLSL-Resha ... 20gamma.fx

https://reshade.me/

I believe what you are trying to replicate is linear -> sRGB gamma conversion... which you are never going to get exactly right without a function explicitly for that.
User avatar
cblattmann
Posts: 138
Joined: Thu Jun 13, 2019 2:20 pm

Re: It is so dark

Post by cblattmann »

Burschi500 wrote: Fri Mar 11, 2022 8:58 am As far as linux is concerned (also very dark without tinkering) tweaking some settings might also help with parallels/mac (taken from steam forums):
Fix for dark galaxy
If your galaxy is pitch black/too dark to play decently you might want to adjust your graphic settings, to do so navigate to the games installation folder and go into its subdirectory "data". There you'll find 4 files called "GraphicsSettings_Galaxy.xml", "GraphicsSettings_Location.xml", "GraphicsSettings_Menu.xml", "GraphicsSettings_System.xml". Adjust them according to these instructions (credits to Lain@X and Takei Naodar):

Ursprünglich geschrieben von Takei Naodar:
That simply sets the exposure to maximum. Found some good values for the Galaxy.xml already though.
Replace the relevant lines with
```
<ToneMapExposure>2.0</ToneMapExposure>
<ToneMapBrightness>1.0</ToneMapBrightness>
<ToneMapContrast>2.0</ToneMapContrast>
```
and turn auto exposure off

Ursprünglich geschrieben von Takei Naodar:
Location.xml would seem to be good with
```
<ToneMapExposure>1.5</ToneMapExposure> <!--0-->
<ToneMapBrightness>1.0</ToneMapBrightness> <!--0-->
<ToneMapContrast>2.0</ToneMapContrast> <!--0-->
```
Edit: These Values seem also to be good with the other 2 files (Systems.xml and Menu.xml)
In linux at least there seems to be no support for HDR (afaik). Maybe it is relied on in your code at some point, or enabled by default? May a button in the graphics settings help with this?
Burschikos, I saw your quote on the Steam forum saying “ While the brightness tinkering in the .xml did make the galaxy view better, my menus are still way darker than normal (compared to LPs). It seems the adjustments dont have an influence at all on the menus.”

It is the same with me. For the most part the xml adjustment took care of most (bit hesitant to say all) other issues. Have you found a way to brighten the menus?
User avatar
cblattmann
Posts: 138
Joined: Thu Jun 13, 2019 2:20 pm

Re: It is so dark

Post by cblattmann »

brucethemoose wrote: Sun Mar 13, 2022 3:22 am
cblattmann wrote: Sat Mar 12, 2022 10:31 pm I was able to make adjustments by playing with some of the numbers in GraphicsSettings_Galaxy.xml, GraphicsSettings_Location.xml, GraphicsSettings_Menu.xml and GraphicsSettings_System.xml.

Images with letters are with the installed values. Images with number are the adjusted ones. The biggest difference is with E & 5. It is also better with A & 1, D & 4 and F & 6. Where I mad no progress is with the loading screen and the dialog boxes. On B & 2 the text is a bit more readable on 2, but the imagery is unchanged and still very dark compared to the original one B.

Is there a file with settings for text and graphics in dialog boxes?
If SpecialK isn't an option, have you tried running ReShade on parallels with this? I have read ReShade works on parallels Macs.

https://github.com/crabshank/HLSL-Resha ... 20gamma.fx

https://reshade.me/

I believe what you are trying to replicate is linear -> sRGB gamma conversion... which you are never going to get exactly right without a function explicitly for that.
Brucethemoose, I downloaded ReShade and installed it. There is no preset on the SweetFx db.

The Reshade.me website says “ReShade has no way to know when to apply a certain effect during the rendering of the game, so it applies them after the image is completely displayed on the screen.”

I think Special K might be a more promising way.
brucethemoose
Posts: 46
Joined: Fri Feb 18, 2022 6:14 pm

Re: It is so dark

Post by brucethemoose »

cblattmann wrote: Sun Mar 13, 2022 1:30 pm
brucethemoose wrote: Sun Mar 13, 2022 3:22 am
cblattmann wrote: Sat Mar 12, 2022 10:31 pm I was able to make adjustments by playing with some of the numbers in GraphicsSettings_Galaxy.xml, GraphicsSettings_Location.xml, GraphicsSettings_Menu.xml and GraphicsSettings_System.xml.

Images with letters are with the installed values. Images with number are the adjusted ones. The biggest difference is with E & 5. It is also better with A & 1, D & 4 and F & 6. Where I mad no progress is with the loading screen and the dialog boxes. On B & 2 the text is a bit more readable on 2, but the imagery is unchanged and still very dark compared to the original one B.

Is there a file with settings for text and graphics in dialog boxes?
If SpecialK isn't an option, have you tried running ReShade on parallels with this? I have read ReShade works on parallels Macs.

https://github.com/crabshank/HLSL-Resha ... 20gamma.fx

https://reshade.me/

I believe what you are trying to replicate is linear -> sRGB gamma conversion... which you are never going to get exactly right without a function explicitly for that.
Brucethemoose, I downloaded ReShade and installed it. There is no preset on the SweetFx db.

The Reshade.me website says “ReShade has no way to know when to apply a certain effect during the rendering of the game, so it applies them after the image is completely displayed on the screen.”

I think Special K might be a more promising way.
Yeah thats correct, ReShade doesn't need to hook into the game. It just needs applies a conversion to the image that's displayed on the screen.

You just need to install it and manually drag that shader file into the shaders folder.
User avatar
Marder
Posts: 247
Joined: Fri Oct 25, 2013 10:03 am

Re: It is so dark

Post by Marder »

Ok, how do i get this game to normal brightness without editing config files?
I tested it on different computers (latest win10 pro x64; 1080p no HDR.) and the game ist too dark on each one.
Do i have to wait for a patch?
Thank you. I really like the game so far but my old eyes hurt ;)

//edit: i completely deinstalled my amd- drivers in safe mode and made a fresh chipset/graphic driver reinstall. Now its fine.
User avatar
cblattmann
Posts: 138
Joined: Thu Jun 13, 2019 2:20 pm

Re: It is so dark

Post by cblattmann »

brucethemoose wrote: Sun Mar 13, 2022 11:02 pm
Yeah thats correct, ReShade doesn't need to hook into the game. It just needs applies a conversion to the image that's displayed on the screen.

You just need to install it and manually drag that shader file into the shaders folder.
brucethemoose,

I have installed ReShade and I downloaded the "Linear Gamma.fx" file. But I am stumped how to install it and getting it to work. When I pushed the 'Reload' button it tells me it failed to compile. What am I doing wrong?
brucethemoose
Posts: 46
Joined: Fri Feb 18, 2022 6:14 pm

Re: It is so dark

Post by brucethemoose »

cblattmann wrote: Tue Mar 15, 2022 3:39 pm
brucethemoose wrote: Sun Mar 13, 2022 11:02 pm
Yeah thats correct, ReShade doesn't need to hook into the game. It just needs applies a conversion to the image that's displayed on the screen.

You just need to install it and manually drag that shader file into the shaders folder.
brucethemoose,

I have installed ReShade and I downloaded the "Linear Gamma.fx" file. But I am stumped how to install it and getting it to work. When I pushed the 'Reload' button it tells me it failed to compile. What am I doing wrong?
Hmmm, well this is a more reliable method to install.

Install/reinstall Reshade as usual, and when you get to the step where you select repos, add the whole custom repo like so:

Image

Here is the URL:

Code: Select all

https://github.com/crabshank/HLSL-Reshade-colour-remappers/archive/refs/heads/main.zip
Both conversion shaders (Linear_Gamma and Linear_Gamma_2) work for me:

Image

If you still get a compilation error, that may be a Parallels thing.
User avatar
cblattmann
Posts: 138
Joined: Thu Jun 13, 2019 2:20 pm

Re: It is so dark

Post by cblattmann »

brucethemoose

I wanted to thank you. What a beautiful sight. It worked and it looks perfect. I so much appreciate what you did and in the process you taught me thing or two. Thank you.
brucethemoose
Posts: 46
Joined: Fri Feb 18, 2022 6:14 pm

Re: It is so dark

Post by brucethemoose »

cblattmann wrote: Wed Mar 16, 2022 1:10 am brucethemoose

I wanted to thank you. What a beautiful sight. It worked and it looks perfect. I so much appreciate what you did and in the process you taught me thing or two. Thank you.
Cool!

Since it works so well, this also confirms whats happening under here and under proton as well. Maybe that will help the devs address it.
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

Re: It is so dark

Post by firemad »

I got the same problem :mrgreen: but without parallel...

I tried Special K and with the passtrought I was dark.

I saw the RGB error too with special k and I pressed ok.

I crashed so hard.

Problem is the game was working fine without Special K in Fullscreen but when I went to Windows Mode with 1.0.2.0 I was dark out of nowhere. I did alt+enter and I crashed without any logs whatever...

I tried Special K and I crashed but I got some logs:

Code: Select all

Application: DistantWorlds2.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at SharpDX.Direct3D11.DeviceContext.MapSubresource(SharpDX.Direct3D11.Resource, Int32, SharpDX.Direct3D11.MapMode, SharpDX.Direct3D11.MapFlags, SharpDX.DataBox ByRef)
   at SharpDX.Direct3D11.DeviceContext.MapSubresource(SharpDX.Direct3D11.Resource, Int32, SharpDX.Direct3D11.MapMode, SharpDX.Direct3D11.MapFlags)
   at Xenko.Graphics.CommandList.MapSubresource(Xenko.Graphics.GraphicsResource, Int32, Xenko.Graphics.MapMode, Boolean, Int32, Int32)
   at Xenko.Graphics.ResourceGroupBufferUploader.Apply(Xenko.Graphics.CommandList, Xenko.Graphics.ResourceGroup[], Int32)
   at Xenko.Rendering.EffectInstance.Apply(Xenko.Graphics.GraphicsContext)
   at DistantWorlds2.DWRendererBase.DrawStarField(Xenko.Rendering.RenderDrawContext, Single, Single, Int32, Single, Single, Xenko.Core.Mathematics.Vector4, Single)
   at DistantWorlds2.MenuRenderer.DrawBackgroundPreScene(Xenko.Rendering.RenderContext, Xenko.Rendering.RenderDrawContext, DistantWorlds.Types.Location, DistantWorlds2.GraphicsNodeList)
   at DistantWorlds2.MenuRenderer.DrawCorePreScene(Xenko.Rendering.RenderContext, Xenko.Rendering.RenderDrawContext)
   at Xenko.Rendering.Compositing.SceneRendererBase.Draw(Xenko.Rendering.RenderDrawContext)
   at Xenko.Rendering.Compositing.SceneRendererCollection.DrawCore(Xenko.Rendering.RenderContext, Xenko.Rendering.RenderDrawContext)
   at Xenko.Rendering.Compositing.SceneRendererBase.Draw(Xenko.Rendering.RenderDrawContext)
   at Xenko.Rendering.Compositing.SceneCameraRenderer.DrawCore(Xenko.Rendering.RenderContext, Xenko.Rendering.RenderDrawContext)
   at Xenko.Rendering.Compositing.SceneRendererBase.Draw(Xenko.Rendering.RenderDrawContext)
   at Xenko.Rendering.Compositing.GraphicsCompositor.DrawCore(Xenko.Rendering.RenderDrawContext)
   at Xenko.Rendering.RendererBase.Draw(Xenko.Rendering.RenderDrawContext)
   at Xenko.Engine.SceneSystem.Draw(Xenko.Games.GameTime)
   at Xenko.Games.GameSystemCollection.Draw(Xenko.Games.GameTime)
   at Xenko.Games.GameBase.Draw(Xenko.Games.GameTime)
   at DistantWorlds2.DWGame.Draw(Xenko.Games.GameTime)
   at Xenko.Games.GameBase.DrawFrame()
   at Xenko.Games.GameBase.TickInternal()
   at Xenko.Games.GameBase.Tick()
   at Xenko.Games.GamePlatform.Tick()
   at Xenko.Games.GamePlatform.OnRunCallback()
   at Xenko.Games.WindowsMessageLoop.Run(System.Windows.Forms.Control, RenderCallback, Boolean)
   at Xenko.Games.GameWindowWinforms.Run()
   at Xenko.Games.GameBase.Run(Xenko.Games.GameContext)
   at cHMXJfc4YhuUKTP1N2.SDrsAmdbqiNjdaHItw.mnk5SvtsB(System.Object)
   at <PrivateImplementationDetails>{1B50A2EA-5821-407C-8711-9EBA11D79608}.Main(System.String[])

Code: Select all

Application: DistantWorlds2.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: SharpDX.SharpDXException
   at SharpDX.Result.CheckError()
   at SharpDX.Direct3D11.Device.CreateBuffer(SharpDX.Direct3D11.BufferDescription ByRef, System.Nullable`1<SharpDX.DataBox>, SharpDX.Direct3D11.Buffer)
   at SharpDX.Direct3D11.Buffer..ctor(SharpDX.Direct3D11.Device, IntPtr, SharpDX.Direct3D11.BufferDescription)
   at Xenko.Graphics.Buffer.InitializeFromImpl(Xenko.Graphics.BufferDescription, Xenko.Graphics.BufferFlags, Xenko.Graphics.PixelFormat, IntPtr)
   at Xenko.Graphics.Buffer.ToStaging()
   at Xenko.Graphics.Buffer.GetData[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Xenko.Graphics.CommandList, Single[])
   at Xenko.Graphics.Buffer.GetData[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Xenko.Graphics.CommandList)
   at DistantWorlds.Types.ModelVertexData.GetVertexData(Xenko.Engine.Game, Xenko.Rendering.Mesh, Xenko.Core.Mathematics.Quaternion, Single, Xenko.Graphics.VertexPositionNormalTexture[] ByRef, Int32[] ByRef, Xenko.Core.Mathematics.Vector3 ByRef, Xenko.Core.Mathematics.Vector3 ByRef, Xenko.Core.Mathematics.Vector3 ByRef, Single ByRef)
   at DistantWorlds.Types.ModelVertexData.GetVertexData(Xenko.Engine.Game, Xenko.Graphics.GraphicsDevice, Xenko.Rendering.Mesh, Xenko.Core.Mathematics.Quaternion)
   at DistantWorlds.Types.ModelEffectHelper.ProcessModel(Xenko.Engine.Game, Xenko.Graphics.GraphicsDevice, Xenko.Rendering.Model, System.String, Boolean, Boolean)
   at DistantWorlds.Types.ModelEffectHelper.ObtainModel(Xenko.Core.Serialization.Contents.ContentManager, Xenko.Engine.Game, Xenko.Graphics.GraphicsDevice, System.String, Boolean, Boolean, DistantWorlds.Types.ModelVertexData ByRef)
   at DistantWorlds.Types.ModelEffectHelper.ObtainModelForDesign(Xenko.Core.Serialization.Contents.ContentManager, Xenko.Engine.Game, Xenko.Graphics.GraphicsDevice, DistantWorlds.Types.Design, DistantWorlds.Types.Galaxy, Single ByRef, Xenko.Core.Mathematics.Vector3 ByRef, Xenko.Core.Mathematics.Vector3 ByRef, Xenko.Core.Mathematics.Vector3 ByRef, Boolean[] ByRef, Int32[] ByRef)
   at DistantWorlds2.EffectHelper.GenerateGraphicsNode(DistantWorlds.Types.StellarObject, DistantWorlds.Types.Design, Boolean, DistantWorlds.Types.Galaxy, DistantWorlds.Types.Empire, DistantWorlds.Types.Orb, Int32, Int32, Single, DistantWorlds.Types.CameraInfo, Xenko.Engine.Scene, DistantWorlds.Types.SceneViewMode, DistantWorlds.Types.SceneRenderType, DistantWorlds2.DWGame, Xenko.Graphics.GraphicsDevice, Xenko.Core.Serialization.Contents.ContentManager, DistantWorlds.Types.Location)
   at DistantWorlds2.EffectHelper.GenerateGraphicsNode(DistantWorlds.Types.StellarObject, DistantWorlds.Types.Galaxy, DistantWorlds.Types.Empire, DistantWorlds.Types.Orb, Int32, Int32, Single, DistantWorlds.Types.CameraInfo, Xenko.Engine.Scene, DistantWorlds.Types.SceneViewMode, DistantWorlds.Types.SceneRenderType, DistantWorlds2.DWGame, Xenko.Graphics.GraphicsDevice, Xenko.Core.Serialization.Contents.ContentManager, DistantWorlds.Types.Location)
   at DistantWorlds2.ScaledRenderer.GenerateBackgroundScene(Xenko.Graphics.GraphicsDevice, DistantWorlds.Types.OrbType, DistantWorlds.Types.Race, DistantWorlds.Types.ShipRole, Boolean, System.Random)
   at DistantWorlds2.ScaledRenderer.GenerateBackgroundScene(Xenko.Graphics.GraphicsDevice)
   at DistantWorlds2.ScaledRenderer.CheckGenerateMenuBackgroundScene(DistantWorlds2.MenuRenderer, DistantWorlds2.MenuRenderer)
   at DistantWorlds2.DWGame.Update(Xenko.Games.GameTime)
   at Xenko.Games.GameBase.InitializeBeforeRun()
   at Xenko.Games.GamePlatform.OnInitCallback()
   at Xenko.Games.GameWindowWinforms.Run()
   at Xenko.Games.GameBase.Run(Xenko.Games.GameContext)
   at cHMXJfc4YhuUKTP1N2.SDrsAmdbqiNjdaHItw.mnk5SvtsB(System.Object)
   at <PrivateImplementationDetails>{1B50A2EA-5821-407C-8711-9EBA11D79608}.Main(System.String[])

Code: Select all

Application: DistantWorlds2.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Exception
   at Steamworks.Callback.RunStub(IntPtr, IntPtr, Boolean, Steamworks.Data.SteamAPICall_t)
   at SharpDX.DXGI.SwapChain.TryPresent(Int32, SharpDX.DXGI.PresentFlags)
   at Xenko.Graphics.SwapChainGraphicsPresenter.Present()
   at Xenko.Games.GraphicsDeviceManager.Xenko.Games.IGraphicsDeviceManager.EndDraw(Boolean)
   at Xenko.Games.GameBase.EndDraw(Boolean)
   at Xenko.Engine.Game.EndDraw(Boolean)
   at DistantWorlds2.DWGame.EndDraw(Boolean)
   at Xenko.Games.GameBase.TickInternal()
   at Xenko.Games.GameBase.Tick()
   at Xenko.Games.GamePlatform.Tick()
   at Xenko.Games.GamePlatform.OnRunCallback()
   at Xenko.Games.WindowsMessageLoop.Run(System.Windows.Forms.Control, RenderCallback, Boolean)
   at Xenko.Games.GameWindowWinforms.Run()
   at Xenko.Games.GameBase.Run(Xenko.Games.GameContext)
   at cHMXJfc4YhuUKTP1N2.SDrsAmdbqiNjdaHItw.mnk5SvtsB(System.Object)
   at <PrivateImplementationDetails>{1B50A2EA-5821-407C-8711-9EBA11D79608}.Main(System.String[])

Any ideas ?

I tried to revalidate the cache with steam but I think I might delete the game and redownload it lol

I'm on Windows 11 with an AMD 6900 XT.
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

Re: It is so dark

Post by firemad »

Btw I corrected it.

I uninstall it and it didn't work out. For some reasons somewhere the game didn't reset by default the graphic settings. And it doesn't have a reset button in game.

I opened SpecialK and I had to open the compatibility mode before setting the game and I hit the reset config.

Boom everything is fine now phew! :mrgreen:
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

Re: It is so dark

Post by firemad »

If you know how to correct the background not appearing in SpecialK let me know :mrgreen: because I can't see it...it's black!

For now I bypass SpecialK but it's strange that the background doesn't work lol
brucethemoose
Posts: 46
Joined: Fri Feb 18, 2022 6:14 pm

Re: It is so dark

Post by brucethemoose »

firemad wrote: Fri Mar 18, 2022 2:33 am If you know how to correct the background not appearing in SpecialK let me know :mrgreen: because I can't see it...it's black!

For now I bypass SpecialK but it's strange that the background doesn't work lol
Hmmm, what do you mean the background? The main menu background? Try disabling texture caching if its not already disabled.

And yeah, I forgot to mention, it does need the compatibility config! See: https://wiki.special-k.info/en/Compatibility/Issues

Narrowing down that crash is also on my todo list, as it may point to some other issue in the engine.
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

Re: It is so dark

Post by firemad »

brucethemoose wrote: Fri Mar 18, 2022 7:17 am
firemad wrote: Fri Mar 18, 2022 2:33 am If you know how to correct the background not appearing in SpecialK let me know :mrgreen: because I can't see it...it's black!

For now I bypass SpecialK but it's strange that the background doesn't work lol
Hmmm, what do you mean the background? The main menu background? Try disabling texture caching if its not already disabled.

And yeah, I forgot to mention, it does need the compatibility config! See: https://wiki.special-k.info/en/Compatibility/Issues

Narrowing down that crash is also on my todo list, as it may point to some other issue in the engine.
Ok I'll check it out the compatibility link.

I mean the star background.

Main menu or in game I see only a dark screen as a background.

It's like I don't load the star texture ?

Also with SpecialK if I do the shortcut to see the menu of SpecialK... well SpecialK crash the game sometime.

I got this event viewer:

Code: Select all

Application: DistantWorlds2.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Exception
   at Steamworks.Callback.RunStub(IntPtr, IntPtr, Boolean, Steamworks.Data.SteamAPICall_t)
   at SharpDX.DXGI.SwapChain.TryPresent(Int32, SharpDX.DXGI.PresentFlags)
   at Xenko.Graphics.SwapChainGraphicsPresenter.Present()
   at Xenko.Games.GraphicsDeviceManager.Xenko.Games.IGraphicsDeviceManager.EndDraw(Boolean)
   at Xenko.Games.GameBase.EndDraw(Boolean)
   at Xenko.Engine.Game.EndDraw(Boolean)
   at DistantWorlds2.DWGame.EndDraw(Boolean)
   at Xenko.Games.GameBase.TickInternal()
   at Xenko.Games.GameBase.Tick()
   at Xenko.Games.GamePlatform.Tick()
   at Xenko.Games.GamePlatform.OnRunCallback()
   at Xenko.Games.WindowsMessageLoop.Run(System.Windows.Forms.Control, RenderCallback, Boolean)
   at Xenko.Games.GameWindowWinforms.Run()
   at Xenko.Games.GameBase.Run(Xenko.Games.GameContext)
   at cHMXJfc4YhuUKTP1N2.SDrsAmdbqiNjdaHItw.mnk5SvtsB(System.Object)
   at <PrivateImplementationDetails>{1B50A2EA-5821-407C-8711-9EBA11D79608}.Main(System.String[])
Attachments
dw2-nostar.png
dw2-nostar.png (3.66 MiB) Viewed 1086 times
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

Re: It is so dark

Post by firemad »

Also here screenshot of the galaxy view without star.

If I do a zoom in... my system complete froze! and I mean i need to press the power button of my system.

I don't know maybe this bug is related to the zoom in that I posted in another thread or others player thread but with SpecialK it show worst and you can simulate it any time on my system with SpecialK

I did this without the compatibility stuff.

Here the event viewer crash with the galaxy view and when I did a zoom in (after I rebooted my system):

Code: Select all

Application: DistantWorlds2.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at SharpDX.Direct3D11.DeviceContext.UpdateSubresource(SharpDX.Direct3D11.Resource, Int32, System.Nullable`1<SharpDX.Direct3D11.ResourceRegion>, IntPtr, Int32, Int32)
   at Xenko.Graphics.CommandList.UpdateSubresource(Xenko.Graphics.GraphicsResource, Int32, Xenko.Graphics.DataBox)
   at Xenko.Graphics.Texture.SetData(Xenko.Graphics.CommandList, Xenko.Graphics.DataPointer, Int32, Int32, System.Nullable`1<Xenko.Graphics.ResourceRegion>)
   at Xenko.Graphics.Texture.SetData[[System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Xenko.Graphics.CommandList, Single[], Int32, Int32, System.Nullable`1<Xenko.Graphics.ResourceRegion>)
   at DistantWorlds.Types.TileableNoise.GenerateTextureFromNoiseDataFloatingPoint(Xenko.Engine.Game, Xenko.Graphics.GraphicsDevice, Int32, Int32, Single[][])
   at DistantWorlds2.CustomOrbRenderData.GenerateCityLightsTexture(Xenko.Engine.Game, Xenko.Graphics.GraphicsDevice, System.Random, Int32, Int32)
   at DistantWorlds2.CustomOrbRenderData+<>c__DisplayClass67_0.<Initialize>b__0()
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
Attachments
dw2-nostargalaxy.png
dw2-nostargalaxy.png (878.39 KiB) Viewed 1082 times
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

Re: It is so dark

Post by firemad »

I hope maybe it will help more knowledge people or the dev :mrgreen:
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

Re: It is so dark

Post by firemad »

Btw I tested 1.2.0.1 and the Zoom crash got resolved with SpecialK.

I still got no star background but I think this patch corrected serious bug for the zoom in ;)
firemad
Posts: 97
Joined: Sun Mar 13, 2022 3:15 pm

Re: It is so dark

Post by firemad »

I found something with SpecialK about the star that was missing.

The star is there because I can confirm it because when I turn on the HDR I can see them now but it still too dark for my screen.

The problem really come from the brightness or the RGB error message that I saw first.

I'm curious what was the setting in compatibility that you used ? I tried and with or without I'm too dark.

Btw latest patch 1.2.0.1 corrected all the crash issues that I had with SpecialK.

I can play without SpecialK off course but I like the option that SpecialK provide and the FPS counter overlay heh
Post Reply

Return to “Distant Worlds 2: Tech Support”