Game Runtime w/ Debugging

Is there any way to run an executible with some form of console status window or something I can use to help trace bugs that can only be tested in a Blender exe?

I am using Pygame for the soundtrack, and my code used to work fine but now in the newest Blender version, it doesn’t. I have no idea why, because I cannot test pygame from within the blender environment where I at least have a ‘trace’ console window displaying any errors etc. that occur.

It is such a hassle to not be able to use .mp3s in Blender’s built in audio support :confused:

Hello,

From command prompt of windows, type:

yourblenderapplication.exe -c

And error messages from the exe will be displayed in the comand prompt. For other options, type:

yourblenderapplication.exe -h

regards,

Thank you VERY much, now I can actually see what is going on!!

GAA this is maddening! Do I need to download a new version of Pygame for Blender 2.41? And if I do where do I get the necessary Pygame files? I just installed the newest pygame setup (it required python 2.4 so I installed that) - but it doesnt have pygame.mixer etc and I have no idea where to begin. I just need to be able to add music and sounds to my game w/out it ending up being over a GB or more because Blender will only read WAV files.

If I can’t get this to work can I at least cause Blender to wait a set amount of time before looping a WAV etc. then I could use a few short WAVs w/ different delays to ‘create’ a sort of soundtrack with them?