Fix XNA.Framework.Media Crash without installing WMP

We've locked this forum to save time on moderation and encourage you to post any bug reports to the Steam forum http://steamcommunity.com/app/284100/discussions/2/
or send us an email.

Fix XNA.Framework.Media Crash without installing WMP

Postby peter_de123 » 29 Mar 2014 10:14

FOR A FIX, see post #3 :)


Hello,

I just bought the game. When I start it, the screen goes black for a second, then I am back to the desktop. From the eventlog error message I read that it crashed while trying to play the Main menu Music?

Trying to start the game creates 5 Eventlog Entries which point to some audio issue. I can provide the Eventlogs as well as the WER Report Files by Mail if someone from RefractoredGames requires them.

Could this be related to the installation path of the game (which is not the default steam directory)?
*EDIT*: Just uninstalled and reinstalled to the default path. Same error, so it's not that.


Anwendung: UnclaimedWorld.exe
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund eines Ausnahmefehlers beendet.
Ausnahmeinformationen: System.InvalidOperationException
Stapel:
bei Microsoft.Xna.Framework.Media.MediaQueue.Play(Microsoft.Xna.Framework.Media.Song)
bei UWGame.Client.Audio.AudioManager.PlaySong(Microsoft.Xna.Framework.Media.Song, Boolean)
bei GameStateManagement.MainMenuScreen.LoadContent()
bei UWGame.Control.Controller.LoadContent()
bei Microsoft.Xna.Framework.DrawableGameComponent.Initialize()
bei Microsoft.Xna.Framework.Game.Initialize()
bei GameStateManagement.UnclaimedWorld.Initialize()
bei Microsoft.Xna.Framework.Game.RunGame(Boolean)
bei GameStateManagement.Program.Main()
Last edited by peter_de123 on 29 Mar 2014 11:36, edited 3 times in total.
peter_de123
 
Posts: 4
Joined: 29 Mar 2014 09:22

Re: Cannot start the game

Postby peter_de123 » 29 Mar 2014 10:27

LOL. It seems the problem is that Windows Media Player is not installed on my computer.

I am definitely not going to install it. I dont't really see why I should be required to do so, please Devs, this cant be so much of an issue. Stardrive, for example, also uses XNA and is running fine (including sound).
peter_de123
 
Posts: 4
Joined: 29 Mar 2014 09:22

Re: Cannot start the game

Postby peter_de123 » 29 Mar 2014 11:26

Alright, I found a fix for this without having to install WMP. See below for a short guide. Still, this is annoying...


If you have a 64-Bit System, do the following:

1. Locate wmp.dll in C:\Windows. The files should be in a folder named something like "C:\Windows\winsxs\wow64_microsoft-windows-mediaplayer-core....."
2. Copy wmp.dll and wmploc.dll to C:\Windows\SysWOW64
3. Go to Start>Run and type regsvr32 c:\windows\syswow64\wmp.dll
4. A "Succeeded" message should appear.
5. Start the game.



For 32-Bit Systems, try this:

1. Locate wmp.dll in C:\Windows. The right files should be in a folder named something like "C:\Windows\winsxs\x86_microsoft-windows-mediaplayer-core......"
2. Copy wmp.dll and wmploc.dll to C:\Windows\system32
3. Go to Start>Run and type regsvr32 c:\windows\system32\wmp.dll
4. A "Succeeded" message should appear.
5. Start the game.


If the game still doesn't start, you might have picked the wrong wmp.dll , at least for 64-Bit there are multiple versions. Search your windows folder for wmp.dll again and see if there are other versions than the one I suggested. To uninstall the previously installed dll, go to Start>Run again and type "regsvr32 -u c:\windows\syswow64\wmp.dll" .
peter_de123
 
Posts: 4
Joined: 29 Mar 2014 09:22

Re: Fix XNA.Framework.Media Crash without installing WMP

Postby BulMaster » 04 Apr 2014 11:27

Thanks for the tip, will give it a go when I get home.
BulMaster
 
Posts: 2
Joined: 04 Apr 2014 11:25

Re: Fix XNA.Framework.Media Crash without installing WMP

Postby BulMaster » 04 Apr 2014 17:43

---------------------------
Fatal error 0.0.0.4
---------------------------
Whoops - fatal error. Press Ctrl-C to copy the contents of this dialog and paste the text into the forums:

An unexpected error has occurred.

at Microsoft.Xna.Framework.Media.VideoPlayer.Play(Video video)

at UWGame.Control.BackgroundScreen.Update(GameTime gameTime, Boolean otherScreenHasFocus, Boolean coveredByOtherScreen)

at UWGame.Control.Controller.Update(GameTime gameTime)
---------------------------
OK
---------------------------

No luck there :\
BulMaster
 
Posts: 2
Joined: 04 Apr 2014 11:25

Re: Fix XNA.Framework.Media Crash without installing WMP

Postby kubluu » 07 Apr 2014 15:41

BulMaster wrote:---------------------------
Fatal error 0.0.0.4
---------------------------
Whoops - fatal error. Press Ctrl-C to copy the contents of this dialog and paste the text into the forums:

An unexpected error has occurred.

at Microsoft.Xna.Framework.Media.VideoPlayer.Play(Video video)

at UWGame.Control.BackgroundScreen.Update(GameTime gameTime, Boolean otherScreenHasFocus, Boolean coveredByOtherScreen)

at UWGame.Control.Controller.Update(GameTime gameTime)
---------------------------
OK
---------------------------

No luck there :\


The Steam forum has some other suggestions for fixes. If those don't work, then please send an email to support@unclaimedworld-game.com
User avatar
kubluu
Site Admin
 
Posts: 62
Joined: 06 Aug 2010 17:46


Return to Bugs and technical issues

Who is online

Users browsing this forum: No registered users and 0 guests

cron