Page 1 of 2

Demo Crash

Posted: Fri Apr 12, 2013 7:29 pm
by brentrow
After unzipping the game and running the chasm exe, I get a crash right after the "discord" screen.
I am running windows 7 64.
I am dying to give this game a whirl!

Thanks

Here is my crash log

System.InvalidOperationException: Song playback failed. Please verify that the song is not DRM protected. DRM protected songs are not supported for creator games. ---> System.InvalidOperationException: An unexpected error has occurred.
--- End of inner exception stack trace ---
at Microsoft.Xna.Framework.Media.MediaQueue.Play(Song song)
at Microsoft.Xna.Framework.Media.MediaPlayer.Play(Song song)
at Chasm.Ghettoblaster.LoadSong(String songName)
at Chasm.Ghettoblaster.Play()
at Chasm.ChasmGame.LoadMainMenu()
at Chasm.ChasmGame.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Microsoft.Xna.Framework.Game.Run()
at Chasm.Program.Main(String[] args)

Re: Demo Crash

Posted: Fri Apr 12, 2013 8:05 pm
by James
Unfortunately Windows Media Player is required for music playable in this demo. To get around this you can disable music by making Music=0 in the configi.ini. Sorry for the trouble!

Re: Demo Crash

Posted: Tue Apr 16, 2013 5:03 pm
by Sleel
That's a shame. I'm getting an appcrash in kernalbase.dll (ver 6.1.7601.17932), the second I try to run the demo (even as admin). Has anyone else run into this on Win 7 64-bit? Thanks.

Re: Demo Crash

Posted: Tue Apr 16, 2013 5:46 pm
by James
Have you installed XNA 4.0 runtime? Also, check the folder for crashlog.txt

Re: Demo Crash

Posted: Tue Apr 16, 2013 5:56 pm
by Sleel
Hi. Yes, XNA 4.0 is installed, however, the folder contains no crash log (unless it's in a sub-folder). I get the error instantaneously, upon clicking the executable, so, perhaps it's too soon to generate one? Thanks for the reply.

Re: Demo Crash

Posted: Tue Apr 16, 2013 6:38 pm
by James
Sounds very strange.. the game should at least start :/ Maybe try reinstalling XNA 4.0 if you can. Do you know if you have a Pixel Shader 2.0+ compatible graphics card?

Re: Demo Crash

Posted: Tue Apr 16, 2013 6:48 pm
by Sleel
I'm running a NVIDIA GeForce GTX 460, so I should be set. As far as I know, I cannot install XNA without NET Framework working correctly, so I know that NET Framework is okay, as well. I will attempt to reinstall XNA now. Thanks for the suggestions.

Re: Demo Crash

Posted: Tue Apr 16, 2013 6:53 pm
by Sleel
Ha! For some reason the reinstall worked. Even though I followed the same link (in your readme file) that I did the first time around. Go Microsoft. Anyway, thanks again for the help. Looking forward to the game- I hope the KS continues on its current path. Love the Metroid meets Diablo motif. Have a good night.

Re: Demo Crash

Posted: Sat Apr 20, 2013 8:33 pm
by TobiasAmaranth
Adding a bug report for the Demo to this list. Granted it's likely related to being somewhere I wouldn't normally reach, but here:

Code: Select all

System.NullReferenceException: Object reference not set to an instance of an object.
   at Chasm.Gameplay.Database.GetRandomItemDrop(ItemType types, Int32 noDropWeight)
   at Chasm.Gameplay.TreasureChest.SpawnTreasure()
   at Chasm.Gameplay.TreasureChest.Update(Single elapsedTime)
   at Chasm.Gameplay.RoomInstance.Update(Single elapsedTime)
   at Chasm.Gameplay.World.Update()
   at Chasm.ChasmGame.Update(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   at Microsoft.Xna.Framework.GameHost.OnIdle()
   at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at Microsoft.Xna.Framework.WindowsGameHost.Run()
   at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   at Microsoft.Xna.Framework.Game.Run()
   at Chasm.Program.Main(String[] args)

Re: Demo Crash

Posted: Sat Apr 20, 2013 9:31 pm
by James
LOL now I gotta know how you caused that :D