R
R
Rou19972016-11-08 06:50:43
.NET
Rou1997, 2016-11-08 06:50:43

Are there known cases of the XNA framework freezing, especially on weak processors, or is it a bug in the game itself?

The game is not mine, it's Alawar, but I really like it, I want to fix the problem (ilasm, etc.)
XNA 4.0.
Another obscure ProjectMercury library.
Symptoms:
I go into the level, I play, suddenly after a while the picture stops updating, the sound continues to play, it does not respond to Alt + F4, after Ctrl-Alt-Del the game window turns gray, the window cannot be closed using the taskbar, the task manager window cannot come to the fore, the frozen game obscures it, you have to use the thumbnails in the taskbar and the arrow keys to select the desired process and complete it.
No connection to specific levels or actions in the game, so that the freeze occurs when specific sprites appear, say dialogues, etc. - not observed, it hung at various moments, even at the first level, that is, the problem is apparently in the game loop (tick) itself.
But it always hung only in levels, that is, where resource-intensive processes are going on, hence the suspicion that the processor does not process some actions fast enough, and something is “crooked” in XNA or the game, hence the freeze.
It has not yet been possible to launch under the debugger, I am not special in debugging .NET yet, Mdbg displays an error like:

(0x8013134B): Протокол отладчика несовместим с отлаживаемой программой. (Исключение из HRESULT: 0x8013134B)

This is something related to COM, strange, the architecture matches both the debugger and the EXE - x86.
And apparently this is not an Exception, since around RunGame (or something like that, in general, in the "top-level" methods) try-catchis , which displays all exceptions in the WinForms MessageBox, but I have never seen it appear, well, perhaps what if it is obscured by the same window?
Have you encountered such problems in XNA itself or in some libraries?
Or is it a "jamb" of the game itself?
PS
In another game, on a different "engine" - Unity3D, I also saw a similar problem, the symptoms are similar, strange.
This has never happened with native games.
There is a suspicion that this Alawar cleverly embeds its DRM, I run the game outside of its wrapper, in which a 30-minute trial, at first glance, bypassing the trial is quite simple - command line arguments, but maybe they took advantage of MSIL features and "patched it to the full "?
Well, OK, colleagues, I give up, I'm ready to pay for your game if this is so, but suddenly it's not, then why should I pay for such a product? :)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question