Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I've built a sample game using pygame and wanted to mess around with packaging it up. I found cx_Freeze which seems to do the trick, except for when it comes to playing OGG files.

If I run the app manually, it works just fine. When I run the generated EXE the app hangs as soon as the OGG file should play. There are no tracebacks in the console, but I can pinpoint it down to the calls to the mixer.

The files are in the build directory so I know they are physically there.

Is there a package I'm missing that I need to tell cx_Freeze about? Everything else seems to work if I comment ou the mixer calls.

share|improve this question

closed as off-topic by Josh Petrie Aug 1 at 18:47

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about debugging a problem in your project must present a concise selection of code and context so as to allow a reader to diagnose the issue without needing to read all of your code or to engage in extensive back-and-forth dialog. For more information, see this meta thread." – Josh Petrie
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Someone posted a similar problem to Stackoverflow, and found that you need to copy 3 DLLs across to get ogg files to play. stackoverflow.com/questions/15755921/… –  Thomas K Apr 3 '13 at 12:13