Over 9000 Zombies!
 This topic has been pinned, so it's probably important
󠀡󠀡 9 Jul, 2014 @ 12:52pm
Game crashes when starting single player
.NET Runtime Error

- System

- Provider

[ Name] .NET Runtime

- EventID 1026

[ Qualifiers] 0

Level 2

Task 0

Keywords 0x80000000000000

- TimeCreated

[ SystemTime] 2014-07-09T19:46:11.000000000Z

EventRecordID 143029

Channel Application

Computer User-PC

Security


- EventData

Application: Over9000Zombies.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException Stack: at Microsoft.Xna.Framework.Media.MediaQueue.Play(Microsoft.Xna.Framework.Media.Song) at Microsoft.Xna.Framework.Media.MediaPlayer.Play(Microsoft.Xna.Framework.Media.Song) at ZombieGame.Game1.startMusic() at ZombieGame.Menu.Update(Microsoft.Xna.Framework.GameTime) at ZombieGame.Game1.Update(Microsoft.Xna.Framework.GameTime) at Microsoft.Xna.Framework.Game.Tick() at Microsoft.Xna.Framework.Game.HostIdle(System.Object, System.EventArgs) at Microsoft.Xna.Framework.GameHost.OnIdle() at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame() at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(System.Object, System.EventArgs) at System.Windows.Forms.Application+ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32) at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32) at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext) at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext) at System.Windows.Forms.Application.Run(System.Windows.Forms.Form) at Microsoft.Xna.Framework.WindowsGameHost.Run() at Microsoft.Xna.Framework.Game.RunGame(Boolean) at Microsoft.Xna.Framework.Game.Run() at ZombieGame.Program.Main(System.String[])


Application Error

- System

- Provider

[ Name] Application Error

- EventID 1000

[ Qualifiers] 0

Level 2

Task 100

Keywords 0x80000000000000

- TimeCreated

[ SystemTime] 2014-07-09T19:46:11.000000000Z

EventRecordID 143030

Channel Application

Computer User-PC

Security


- EventData

Over9000Zombies.exe
1.0.0.0
53b631ee
KERNELBASE.dll
6.1.7601.18409
53159a86
e0434352
0000c42d
128c
01cf9bae6db973de
C:\Program Files (x86)\Steam\steamapps\common\Over 9000 Zombies!\Over9000Zombies.exe
C:\Windows\syswow64\KERNELBASE.dll
ad477fa4-07a1-11e4-98be-446d57bf723e
< >
Showing 1-15 of 31 comments
Loren  [developer] 9 Jul, 2014 @ 12:59pm 
If the game crashes upon starting a game. Go to :
Control Panel > Administrative Tools > Event Viewer > Windows Logs > Applications

If you find an error report that is similar to the one above, it is likely that you are missing a necessary DLL file from Windows Media Player. This could be because you have a version of windows that came without it (Windows N) or you uninstalled the player at some point:

Solution

1. Reinstall Windows Media Player:
http://windows.microsoft.com/en-us/windows/download-windows-media-player

OR if you want to, you can do this without having to reinstall WMP

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" .

Source Peter_de123:
http://gtm.steamproxy.vip/app/284100/discussions/0/540737414562663604/
Last edited by Loren; 9 Jul, 2014 @ 1:00pm
󠀡󠀡 9 Jul, 2014 @ 1:26pm 
Fixed!! Thanks so much :pandastunned:
Agent 8 Jan, 2015 @ 9:41pm 
This is honestly a kinda stupid reason. I, by default, remove wmp from my windows. But, either way, it fixed the issue, thanks!
Loren  [developer] 9 Jan, 2015 @ 12:55am 
Originally posted by AgentTwisted:
This is honestly a kinda stupid reason. I, by default, remove wmp from my windows. But, either way, it fixed the issue, thanks!

Glad you got it fixed! The core framework (XNA) requires WMP Dll's because it is developed by Microsoft, so they like to use their own stuff I suppose. I personally use VLC Media Player... so I understand where you are coming from. XD
pimpjitsu 9 Jan, 2015 @ 12:11pm 
I am having a similar problem. I do have WMP and XNA installed. I already had wmp.dll and wmploc.dll in c:\windows\syswow64.
I'm running Windows 8.1 Pro 64-bit.

In event viewer, I have 2 errors when trying to start the game.

Application: Over9000Zombies.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.BadImageFormatException
Stack:
at ZombieGame.Game1..ctor()
at ZombieGame.Program.Main(System.String[])


and


Faulting application name: Over9000Zombies.exe, version: 1.0.0.0, time stamp: 0x548ec961
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17278, time stamp: 0x53eeb460
Exception code: 0xe0434352
Fault offset: 0x00012f71
Faulting process id: 0x16fec8
Faulting application start time: 0x01d02c45573e6db7
Faulting application path: M:\Steam\steamapps\common\Over 9000 Zombies!\Over9000Zombies.exe
Faulting module path: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
Report Id: 952e2c9d-9838-11e4-bf02-50465d6529cc
Faulting package full name:
Faulting package-relative application ID:
Loren  [developer] 9 Jan, 2015 @ 1:16pm 
Originally posted by pimpjitsu:
I am having a similar problem. I do have WMP and XNA installed. I already had wmp.dll and wmploc.dll in c:\windows\syswow64.
I'm running Windows 8.1 Pro 64-bit.

In event viewer, I have 2 errors when trying to start the game.

Application: Over9000Zombies.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.BadImageFormatException
Stack:
at ZombieGame.Game1..ctor()
at ZombieGame.Program.Main(System.String[])


and


Faulting application name: Over9000Zombies.exe, version: 1.0.0.0, time stamp: 0x548ec961
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17278, time stamp: 0x53eeb460
Exception code: 0xe0434352
Fault offset: 0x00012f71
Faulting process id: 0x16fec8
Faulting application start time: 0x01d02c45573e6db7
Faulting application path: M:\Steam\steamapps\common\Over 9000 Zombies!\Over9000Zombies.exe
Faulting module path: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
Report Id: 952e2c9d-9838-11e4-bf02-50465d6529cc
Faulting package full name:
Faulting package-relative application ID:

Wow that is a weird one. Usually that means there is some conflict between x86 and 64 bit somewhere or something critical to the framework is messed up. I don't believe your issue is related to WMP.

I would first start by resinstalling XNA and the .Net Framework. You have the 4.0 version, which should be good enough, but you might want to try the 4.5 version as it might work better on windows 8. Also, for good measure reinstall the game as well.

Tell me how that goes and we can proceed from there :) Thanks for being patient!

pimpjitsu 9 Jan, 2015 @ 5:13pm 
Ok... so I had a couple older versions of XNA Framework. I uninstalled all of them and resinstalled the latest. No good. I reinstalled the game. Still no good. I tried installing .NET 4.5.2, and it said that I already have it. Everything I find on uninstalling .NET Framework on Win8.1 says you can't. I think I managed to do it anyway and then went through the hellish experience of getting my computer to start up again. I finally got it up and ran a repair install on .NET 4.5.2 and the game still won't start.

Any more ideas?
Loren  [developer] 10 Jan, 2015 @ 1:58am 
Originally posted by pimpjitsu:
Ok... so I had a couple older versions of XNA Framework. I uninstalled all of them and resinstalled the latest. No good. I reinstalled the game. Still no good. I tried installing .NET 4.5.2, and it said that I already have it. Everything I find on uninstalling .NET Framework on Win8.1 says you can't. I think I managed to do it anyway and then went through the hellish experience of getting my computer to start up again. I finally got it up and ran a repair install on .NET 4.5.2 and the game still won't start.

Any more ideas?

I am rather stumped. Can you output the error message again, just to verify the problem is still the same?

I have been doing some research on the issue: http://msdn.microsoft.com/en-us/library/system.badimageformatexception(v=vs.110).aspx

"The exception that is thrown when the file image of a dynamic link library (DLL) or an executable program is invalid."

Since all the DLLs come from either XNA, .NET or the game itself, one of the three installations has to be messed up in some way. I don't believe its the game, otherwise this problem would be more widespread. So we are left with either XNA or .NET. I also read it could indicate corrupted Windows files. Do you have trouble starting any other games (especially XNA games, e.g. Terraria, Bastion)? If you aren't experiencing trouble with any other games it might not be windows. Its more likely .NET or XNA.

To verify its not a windows file, lets open a command prompt as administrator. To do this in windows 8, right click on the lower left windows Icon and click "Command Prompt (Admin)"

Then type in "sfc /scannow", with no quotes. Make sure everything checks out properly.

Next, since you said your XNA was initially out of date. Let us uninstall XNA one more time, using add remove programs, and then lets run an XNA cleanup utility to make sure everything is gone.

http://blogs.msdn.com/b/astebner/archive/2009/04/10/9544320.aspx Download this and run the tool after doing a normal uninstall. Then reinstall XNA once more.

Report back if any of this has worked. Thanks for being patient while we try to get this to work! :)
RMcD94 17 Feb, 2015 @ 2:11pm 
Following your initial solution when attempting to register I get "The module ... may not compatible with the version of Windows that you're running. Check if the module is compatible with an X86 (32-bit) or x64 (64-bit) version of regsvr32.exe

I also tried searching in WinSxS for other wmp.dll which there were a number of and trying all of them didn't work either.

Apart from windows error message missing a "be" (may not be compatible) what's the issue here that's stopping it working
Loren  [developer] 18 Feb, 2015 @ 1:34am 
Originally posted by RMcD94:
Following your initial solution when attempting to register I get "The module ... may not compatible with the version of Windows that you're running. Check if the module is compatible with an X86 (32-bit) or x64 (64-bit) version of regsvr32.exe

I also tried searching in WinSxS for other wmp.dll which there were a number of and trying all of them didn't work either.

Apart from windows error message missing a "be" (may not be compatible) what's the issue here that's stopping it working

Hi, sorry you are experiencing an issue. Did you run the command prompt as Administrator? Not running it as administrator creates some issues on certain windows installs. Also what OS are you running and do you have a 32 or 64 bit processor?

It might be easier to just reinstall Windows Media Player, but the alternative solution has worked for everyone so far, but usually takes a bit of effort :)
shbouwhuis 11 Mar, 2015 @ 7:24am 
Grrrrrrrrr, this is incredibly annoying. Why don't you just add them in your installer? Now everyone has to hunt the Internet for some DLLs.
Skurwol 18 Feb, 2016 @ 12:45pm 
its dont work i have error 0x80020009 :steamsad:
Maslow 12 Nov, 2016 @ 6:15am 
mine just sits there with a black screen while I can see in the background it says installing blackberry desktop software. The game initially would open to at least select start single player fine, still couldn't play.
BrainKiller 14 Jan, 2017 @ 10:00am 
I had the same (or a similar) problem. Instead of copying dlls or installing the media player I disabled Music in the game. Then it worked. Maybe this tip helps someone else.
Loren  [developer] 15 Jan, 2017 @ 12:17am 
Originally posted by shbouwhuis:
Grrrrrrrrr, this is incredibly annoying. Why don't you just add them in your installer? Now everyone has to hunt the Internet for some DLLs.

Sorry, I can't legally do that without Microsoft suing me. They have some complicated licensing/distribution terms.



Originally posted by BrainKiller:
I had the same (or a similar) problem. Instead of copying dlls or installing the media player I disabled Music in the game. Then it worked. Maybe this tip helps someone else.

Disabling the music is a temporary fix, but the easiest and fastest solution is to just install WMP.
< >
Showing 1-15 of 31 comments
Per page: 1530 50