Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

This needs to work on the Raspberry Pi #4

Open
ericoporto opened this issue Sep 30, 2016 · 1 comment
Open

This needs to work on the Raspberry Pi #4

ericoporto opened this issue Sep 30, 2016 · 1 comment

Comments

@ericoporto
Copy link
Owner

ericoporto commented Sep 30, 2016

Opening this issue since I have a Pi-Top CEED to test, which uses Raspberry Pi 3 and as is, it's a little hard.

Right now you have to install dependencies manually and then use pip3 install --no-dependencies fgmk.

I am hitting two problems:

  • PyQt5 is available through Raspbian, but not through pip3.
    • My solution to this is to create a debian that depends on python3-pyqt5, python3-pil, python3-pil.imagetk and python3-numpy.
    • Need to check if all these packages are available
    • Need to learn how to create deb packages, I am thinking on using stdeb and start from there - I have some work on this here.
    • The only way I know of doing this is building in the Raspberry Pi itself, don't know if there is another, smarter way.
  • Javascript is slow on Pi / I am a bad javascript coder
    • My temporally solution to this is modifying the game_server.py so that, whenever a file is loaded, if the file has a valid gamefolder (the project directory contains a descriptors folder with an init.json file), it will serve the current project directory, and when saving, it will kill and refresh the server.
    • Pressing f5 would only load the browser in this manner.
    • And the solution would be using something else to load the game, like a phone or a tablet, and use the Raspberry Pi just as a development environment.
@ericoporto
Copy link
Owner Author

Ok, needs more testing, but it looks like it works, using the Pi-Top CEED ip and port through Tablet/Phone to connect, so you can use the Tablet/Phone as testing point and the Pi-Top just for development. Still needs work on everything else, but if this new server approach doesn't crash, it will be in the next release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant