Pygame people vs. Pygame problems

Play and Review Zeldish

Problems with easy but annoying solutions.

I wrote my game in Python/Pygame, which generally, I can’t say enough good things about. I did a cx_freeze of my game, which should collect any dependences and wrap the python code into an executable. For some reason Pygame’s extended image support is sometimes not working. I think there may be some SDL libraries or some other thing that are required, but I’m not sure why there not getting bundled in the freeze. Pygame people, any ideas?

Until I can fix the actual problem, I converted all the PNG files into BMPs, which is the default format that works even with the extended image module. The zip file is a little bigger, but it should work for everyone.

Actually, this is such an easy and reliable “fix” that there is a 42% chance that I will never get around to figuring out the actual problem.

TL;DR — The Linux build wasn’t working for some people, but now it should work for all x such that x uses Linux.

Tags: pygame

Comments

Mental Atrophy
26. Apr 2015 · 03:20 UTC
Run the executable cx_freeze creates from cmd prompt and see what error it gives you. My cx_freeze issues are usually either some kind of import problem, which I can fix by changing my script locations (annoying, though, because it destroys the way I like to organize my modules), or it sometimes doesn’t grab one of the audio dll’s it need and I just have to paste it into the directory myself.
Newt_
26. Apr 2015 · 04:53 UTC
I use py2exe, which seems to work fine for Windows stuff.
26. Apr 2015 · 08:06 UTC
What was the issue that was being reported? A crash, or a graphical corruption?
26. Apr 2015 · 11:36 UTC
I always found py2exe to be the more reliable choice when I was still making Python entries.