🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

If you want I could make you a working windows executable for the game, however this would involve modifying a couple lines of code in kitten_command.py and sge\gfx.py, which I'm not sure I have permission to do :|

Why wouldn't you have permission? All of the software is libre. Kitten Command is under the GNU GPL, and the SGE Game Engine is under the GNU LGPL.

So I take it you've figured out what the problem is? I'd really like to know! :)

Sorry for leaving you hanging, I've been really busy recently :P

Anyway, so essentially the problem is that when compiled, some of the python directory commands see its own executable as part of the filepath, so instead of looking in the 'data' folder for some assets, it looks in 'kitten_command.exe\\data'. I tried many different ways of incorporating the files directly into the executable, but sadly I couldn't get that working properly so instead just hardcoded a workaround into the lines of code that load files and such.

I might make a video to show and explain everything if I can get around to it, but in the meantime here's a working compiled exe.

https://www.dropbox.com/s/4ken09tsqjj0bvt/kitten_c...

It's not perfect however; renaming the exe will prevent it from working .___.

I doubt I'm the best person to help with this though; I've never even used a pygame engine before (sge), as I didn't really know they were a thing and just coded my own :P

Anyway, have fun!

Well, that's odd...

I'd rather not distribute a hacked solution such as this, mainly because if there are updates in the future I don't want the solution to no longer work and to have to switch back and forth between methods. That's a major headache. But thanks for pointing out the source of the problem. Maybe some day I can aspire to have it working normally again.

Okay, I understand. I mean, you might be able to find a way to use code that finds the name of the exe automatically and removes that from any filepaths, OR alternatively you could try making the data files into python packages (just add a __init__.py with only 'pass' in it and python will see the directory as a package) and include that in the exe file, but I'm not entirely sure how the package system works myself. For future reference, this is the command I used to compile

py -m py2exe.build_exe kitten_command.py -c -b 2 -O -i pygame -i six -i sge -i xsge_gui -i xsge_physics

It tends to say there are a bunch of missing modules; there aren't, the game will work fine regardless, it's just a habit of the compiler and nothing to worry about.