hiulit / Unofficial-Godot-Engine-Raspberry-Pi

Unofficial Godot Engine binaries for the Raspberry Pi.
MIT License
284 stars 11 forks source link
editor export-templates game-engine godot-engine headless raspberry-pi server unofifcial

Unofficial Godot Engine for the Raspberry Pi

Unofficial Godot Engine binaries for the Raspberry Pi.

Unofficial Godot Engine for the Raspberry Pi

Limitations

If you would like official Godot support for the Raspberry Pi, there is a proposal about it. Go there and give us a thumbs up so we can get it 👍 😉 !

Table of contents

Compiling

See COMPILING.

Status

This table refers to the Raspberry Pi 4 only. Prior version are untested.

2.1.6 3.1.2 3.3.4 3.4.5 3.5.2
Editor *
Export template
Headless -
Server -

📥 Downloads

Each ZIP file contains: Editor, Export template, Headless and Server.

2.1.6

These ZIP files only contain: Editor and Export template.

3.1.2

3.3.4

3.4.5

3.5.2

🚀 How to launch the Editor

To open the editor, run:

./godot_x.x.x_rpi4_editor.bin

(where x.x.x is the version of Godot).

You might need to give executable permissions to the binary. If that's the case, run:

sudo chmod +x godot_x.x.x_rpi4_editor.bin

🤖 How to export a game using the Export Templates

You don't have to use a Raspberry Pi to export a game for it. You can use any computer running any OS supported by Godot.

Godot 2.x

* Only for 32 bits binaries.

Godot 3.x

* Only for 32 bits binaries.

🗃️ How to export an independent PCK file

You can export a .pck file and run it with the export templates from this repository.

Godot 2.x

* Only for 32 bits binaries.

Godot 3.x

* Only for 32 bits binaries.

🎮 How to run a game

Case 1

You can just run the executable binary, like this:

./name_of_your_godot_game.ext

Case 2

You'll have to pass the .pck file's path using the --main-pack option, like this:

./godot_x.x.x_rpi4_export-template.bin --main-pack "/path/to/the/pck/file.pck"

On Godot 2.x, use -main_pack instead of --main-pack.

ℹ️ Troubleshooting

A game doesn't launch or crashes

If the game you are trying to play doesn't work, it will most likely be because it was made with another version of Godot.

It could also be because it uses GDNative or C#, which the Raspberry Pi binaries doesn't support.

Force Godot to use the GLES2 video render

If you get this error when trying to play a game:

Your video card driver does not support any of the supported OpenGL versions. Please update your drivers or if you have a very old or integrated GPU upgrade it.

It means that the game you are trying to run uses the GLES3 video driver, which the Raspberri Pi doesn't support.

You'll have to force Godot to use the GLES2 video driver by passing the --video-driver GLES2 parameter, like this:

./godot_x.x.x_rpi4_export-template.bin --main-pack "/path/to/the/pck/file.pck" --video-driver GLES2

On Godot 2.x, use -vd instead of --video-driver.

🗒️ Changelog

See CHANGELOG.

👤 Author

🤝 Contributing

Feel free to:

🙌 Supporting this project

If you love this project or find it helpful, please consider supporting it through any size donations to help make it better.

Become a patron

Suppor me on Ko-Fi

Buy me a coffee

Donate Paypal

If you can't, consider sharing it with the world...

... or giving it a star.

Thank you very much!

👏 Credits

Thanks to:

📝 Licenses