Demo crashes

Help and problem reporting for the game.
Hicpotboy
Supporter
Supporter
Posts: 7
Joined: Mon May 06, 2013 9:24 pm

Re: Demo crashes

Post by Hicpotboy » Tue May 07, 2013 8:45 pm

//OPTIONS
Fullscreen=0
FullscreenAutoscale=1
Scaling=3
Music=1
GamepadDetectEnabled=1
MouseEnabled=0
RumbleEnabled=1
UseStrobes=1
Seed=0

//DEBUG
ShowFPS=0
DebugRoomEnabled=0
DebugRoomName=room_02
DebugRoomRight=0
EnemiesEnabled=1
BossEnabled=1
SkipIntro=0
SkipGameMode=Normal
FirstFloor=1
Godmode=0

//KEY MAPPINGS
//Special keys: "Enter", "Space", "Tab", "Escape", "LeftShift"
//"LeftAlt", "LeftControl", "LeftWindows", "D1", "D2", etc.
Mapping_MoveLeft=Left
Mapping_MoveRight=Right
Mapping_MoveUp=Up
Mapping_MoveDown=Down
Mapping_Jump=Space
Mapping_Interact=A
Mapping_Accept=A
Mapping_Cancel=S
Mapping_LeftHand=S
Mapping_RightHand=D
Mapping_CharacterMenu=Enter
Mapping_DropItem=Q
Mapping_Map=Tab

User avatar
James
Developer
Developer
Posts: 1612
Joined: Fri Feb 15, 2013 5:34 pm

Re: Demo crashes

Post by James » Tue May 07, 2013 9:36 pm

OK, everything looks fine here. This is really strange, as you are the first person to report this error. Can you double check what setting your keyboard / International settings is set to maybe? It may also be worth re-installing .Net 4.5 Framework. I can't really think of anything else that would be causing this. Worst case, I can add extra debug information to the next build that we release. I'm really sorry for the trouble :(

Hicpotboy
Supporter
Supporter
Posts: 7
Joined: Mon May 06, 2013 9:24 pm

Re: Demo crashes

Post by Hicpotboy » Tue May 07, 2013 11:32 pm

Interesting note: Installing .NET 4.5 resolved the issue. Apparently XNA 4 doesn't depend on it, and I didn't have .NET 4.5 installed.

No worries about it being strange; I'm a programmer myself, and I encounter one-off bugs like this all the time. Just happy we managed to get it working.

User avatar
James
Developer
Developer
Posts: 1612
Joined: Fri Feb 15, 2013 5:34 pm

Re: Demo crashes

Post by James » Wed May 08, 2013 12:00 am

Ahhhh, OK. I think the Enum parsing method we're using is only in .NET 4.5, which would explain the problem. Thank you very much for sticking through with it. I hope it was worth the effort for you :D

Deadbeard
Supporter
Supporter
Posts: 3
Joined: Sat Jun 01, 2013 7:17 pm

Re: Demo crashes

Post by Deadbeard » Mon Jun 03, 2013 2:01 pm

I am continually getting crashes on Demo 1.06 with this crashlog.
I can get the game to run by editing the config so that the music is off, but I'd really rather like to hear it.
This is with XNA 4.0 framework freshly installed and a fresh copy of Demo 1.06.

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)

User avatar
James
Developer
Developer
Posts: 1612
Joined: Fri Feb 15, 2013 5:34 pm

Re: Demo crashes

Post by James » Mon Jun 03, 2013 4:46 pm

Deadbeard wrote:I am continually getting crashes on Demo 1.06 with this crashlog.
I can get the game to run by editing the config so that the music is off, but I'd really rather like to hear it.
This is with XNA 4.0 framework freshly installed and a fresh copy of Demo 1.06.

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)
Sorry, you need Windows Media Player to play music in this demo (it won't be necessary for the final game though). If you'd rather not install it, you can just disable music by setting Music=0 in the config.ini file.

Deadbeard
Supporter
Supporter
Posts: 3
Joined: Sat Jun 01, 2013 7:17 pm

Re: Demo crashes

Post by Deadbeard » Tue Jun 04, 2013 4:50 am

discordgames wrote:
Deadbeard wrote:...
Sorry, you need Windows Media Player to play music in this demo (it won't be necessary for the final game though). If you'd rather not install it, you can just disable music by setting Music=0 in the config.ini file.
Ah, that's a shame, but it's nice to hear that it'll be fixed for the final game. I'm really looking forwards to hearing it then!

Locked