Comments (9)
Fixed already in f1e09f3
from xna-cncnet-client.
Great OK I'll close this then, because that was pushed last night and the bug was reported before the newest update.
from xna-cncnet-client.
This happens when loading a custom map it appears.
10.12. 11:53:17.730 Loading custom map C:\Users\Home\Documents\Visual Studio 2015\Projects!yr-theme\cncnet-yr-client-theme\Maps\Custom\19c2bbabde5bf1e81c535143b361dd6d15975809.map failed!
10.12. 11:53:17.803 KABOOOOOOM!!! Info:
10.12. 11:53:17.807 Message: This image format is not supported
10.12. 11:53:17.813 Source: MonoGame.Framework
10.12. 11:53:17.818 TargetSite.Name: FromStream
10.12. 11:53:17.823 Stacktrace: at Microsoft.Xna.Framework.Graphics.Texture2D.FromStream(GraphicsDevice graphicsDevice, Stream stream)
at Rampastring.XNAUI.AssetLoader.TextureFromImage(Image image)
at ClientCore.CnCNet5.GameCollection.Initialize(GraphicsDevice gd)
at .(GameCollection , GraphicsDevice )
at .()
at .()
at .(GameTime )
at Rampastring.XNAUI.WindowManager.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.<>c.<.cctor>b__114_1(IUpdateable updateable, GameTime gameTime)
at Microsoft.Xna.Framework.Game.SortingFilteringCollection1.ForEachFilteredItem[TUserData](Action
2 action, TUserData userData)
at Microsoft.Xna.Framework.Game.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at MonoGame.Framework.WinFormsGameWindow.RunLoop()
at MonoGame.Framework.WinFormsGamePlatform.RunLoop()
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
at Microsoft.Xna.Framework.Game.Run()
at .()
at .(String[] )
at .(String[] )
10.12. 11:53:17.828 InnerException info:
10.12. 11:53:17.834 Message: HRESULT: [0x887A0005], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_DEVICE_REMOVED/DeviceRemoved], Message: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.
10.12. 11:53:17.839 Stacktrace: at SharpDX.Result.CheckError()
at SharpDX.Direct3D11.Device.CreateTexture2D(Texture2DDescription& descRef, DataBox[] initialDataRef, Texture2D texture2DOut)
at SharpDX.Direct3D11.Texture2D..ctor(Device device, Texture2DDescription description, DataRectangle[] data)
at Microsoft.Xna.Framework.Graphics.Texture2D.CreateTex2DFromBitmap(BitmapSource bsource, GraphicsDevice device)
at Microsoft.Xna.Framework.Graphics.Texture2D.PlatformFromStream(GraphicsDevice graphicsDevice, Stream stream)
at Microsoft.Xna.Framework.Graphics.Texture2D.FromStream(GraphicsDevice graphicsDevice, Stream stream)
19c2bbabde5bf1e81c535143b361dd6d15975809.txt
Happens with the above map, rename to .map to reproduce locally.
from xna-cncnet-client.
Doesn't happen to me. The inner exception error message would point to a problem with the graphics device rather than the image format, "The GPU device instance has been suspended."
I can add a check to Rampastring.XNAUI.AssetLoader.TextureFromImage(Image image) to check if the texture was loaded succesfully though.
from xna-cncnet-client.
It happens to me on and off, which is strange (And only when I merged the latest)
from xna-cncnet-client.
Implemented. It's not entirely without side-effects though, if loading a map preview during startup fails then the map will have a black preview or the starting location indicators will be shown in invalid locations.
from xna-cncnet-client.
Better than a crash - thanks @Rampastring
I was thinking, maybe the Loadup screen should say what it is actually loading, so it doesn't appear to be "slow". For instance, it could just be a simple text string saying:
"Loading maps - 1/20" etc.
from xna-cncnet-client.
24.01. 19:23:01.407 Stacktrace: at Microsoft.Xna.Framework.Graphics.Texture2D.FromStream(GraphicsDevice graphicsDevice, Stream stream)
at Rampastring.XNAUI.AssetLoader.LoadTexture(String name)
at .()
at .()
at Microsoft.Xna.Framework.Game.DoInitialize()
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
at Microsoft.Xna.Framework.Game.Run()
at .()
at .(String[] )
at .(String[] )
24.01. 19:23:01.407 InnerException info:
24.01. 19:23:01.407 Message: HRESULT: [0x887A0005], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_DEVICE_REMOVED/DeviceRemoved], Message: Unknown
24.01. 19:23:01.407 Stacktrace: at SharpDX.Result.CheckError()
at SharpDX.Direct3D11.Device.CreateTexture2D(Texture2DDescription& descRef, DataBox[] initialDataRef, Texture2D texture2DOut)
at SharpDX.Direct3D11.Texture2D..ctor(Device device, Texture2DDescription description, DataRectangle[] data)
at Microsoft.Xna.Framework.Graphics.Texture2D.CreateTex2DFromBitmap(BitmapSource bsource, GraphicsDevice device)
at Microsoft.Xna.Framework.Graphics.Texture2D.PlatformFromStream(GraphicsDevice graphicsDevice, Stream stream)
at Microsoft.Xna.Framework.Graphics.Texture2D.FromStream(GraphicsDevice graphicsDevice, Stream stream)
https://forums.cncnet.org/index.php?topic=7256.0;topicseen
from xna-cncnet-client.
The issue in the post appears to be solved. According to the original poster on the topic on CnCNet forums (JetMod), "Update DontNetFramwork and it works.".
I also think this is a duplicate of #27.
from xna-cncnet-client.
Related Issues (20)
- How to use Chinese chat? HOT 2
- Could not load file or assembly 'ClientUpdater, Version=1.0.13.0, Culture=neutral, PublicKeyToken=null'. Could not find or load a specific file. (0x80131621) HOT 2
- Implement the reading of `UsingVinifera` boolean value to `ClientDefinitions.ini`. HOT 7
- Allow the client launcher to pass on command line arguments to the game it is launching.
- How to log in with a Chinese name? HOT 8
- How to build an IRC server? HOT 1
- Administrative privileges required HOT 2
- Why are all the servers in China gone? HOT 2
- Channel server persistent connection timeout HOT 1
- Make `CNCNET_TUNNEL_LIST_URL` configurable via configuration file HOT 12
- Why can't the tunnel server built with this cncnet server gui. exe enter the game? HOT 2
- Connection to GameSurge not working for some HOT 6
- How to display and play a gif image? HOT 1
- Replace TAL.DE.EU.GameSurge.net with LAN-Team.DE.EU.GameSurge.net HOT 5
- Please give us back Observers on Coop missions
- Favorite maps disappearing
- CnCNet Client WebSocket Support
- Will the 2.8.0.3 branch merge into the develop branch?
- Will it be updated to .NET8?
- VS issue with building, and can't start after compiling - file not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xna-cncnet-client.