cncra2yr icon indicating copy to clipboard operation
cncra2yr copied to clipboard

Crash on startup

Open lazydays79 opened this issue 4 years ago • 5 comments

Today I installed ccra2yr and it run fine. After quitting the game, I'm not able to launch it any more.

OS is pop os 20.10, everything is up to date.

michael@marvin $ snap run cncra2yr

Unhandled Exception: System.NotSupportedException: XNA Framework Reach profile supports a maximum Texture2D size of 2048.
   at Microsoft.Xna.Framework.Graphics.ProfileCapabilities.ThrowNotSupportedException(String message, Object arg1, Object arg2)
   at Microsoft.Xna.Framework.Graphics.Texture2D.ValidateCreationParameters(ProfileCapabilities profile, Int32 width, Int32 height, SurfaceFormat format, Boolean mipMap)
   at Microsoft.Xna.Framework.Graphics.RenderTarget2D.CreateRenderTarget(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, Int32 preferredMultiSampleCount, RenderTargetUsage usage)
   at Microsoft.Xna.Framework.Graphics.RenderTarget2D..ctor(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, Int32 preferredMultiSampleCount, RenderTargetUsage usage)
   at Rampastring.XNAUI.WindowManager.RecalculateScaling()
   at Rampastring.XNAUI.WindowManager.SetRenderResolution(Int32 x, Int32 y)
   at DTAClient.DXGUI.GameClass.SetGraphicsMode(WindowManager wm)
   at DTAClient.DXGUI.GameClass.Initialize()
   at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   at DTAClient.Startup.Execute()
   at DTAClient.PreStartup.Initialize(StartupParams parameters)
   at DTAClient.Program.Main(String[] args)
wine: Unhandled exception 0xe0434352 in thread 9 at address 0x390023:0x7b43c92c (thread 0009), starting debugger...
Can't attach process 0008: error 5

lazydays79 avatar Nov 07 '20 18:11 lazydays79

lower screen resolution try again and set both resolutions to 1080 from launcher.

mmtrt avatar Nov 10 '20 04:11 mmtrt

Indeed, I have the same issue that lazydays, but we can't have access to the launcher, the game just crashes and Says: Screenshot from 2021-07-11 10-40-36

Skythrew avatar Jul 11 '21 08:07 Skythrew

@Nippyfus try opengl or directx

snap run cncra2yr.cncra2yrogl

snap run cncra2yr.cncra2yrdx

mmtrt avatar Jul 11 '21 11:07 mmtrt

So I found the problem by watching logs. The system resolution is too high for cncra2yr, change your system resolution and the problem is solved. Indeed, XNA only supports a lower resolution than 2000px and my resolution was 3200x1800. Thanks for your help

Skythrew avatar Jul 11 '21 12:07 Skythrew

Had the same issue. Changed the resolution of my Laptop and inside the CnCNet Client to 1920x1080. It worked flawlessly then.

JonasGroeger avatar Nov 14 '21 17:11 JonasGroeger