-
Found a way to embed pck in the Raspberry Pi export template…
Posted on November 6th, 2020 No commentsRight after this post…
http://www.indiegamepod.com/?p=3590 I started to look for ways to embed the pck with the export template itself.
I found a way…it does show some errors when it tries to build the project… but…it works 🙂
Here is what to do…
1) Go to Project -> Export on Godot2) Tap on the Add option..it is right below the top bar on the Export dialog.
From the standard Godot export templates…select Linux/X11 (Runnable)
It should show up then in the Presets list
3) Tap on it…on the right side of the Export dialog…it should have some “Options”
Here is what worked for me…
a) S 3 Tc texture is checked to Onb) No Bptc Fallbacks is checked to On
c) Embed Pck is checked to On
d) For the custom template…download the Pi 4 export template … you could use the one I made…right here…
http://indiegamepod.com/godot-pi4-template.llvmThen be sure to select it for the Release and Debug options in the custom template.
e) Click on the “Export Project” button at the bottom
f) The Save a File dialog will come up. Uncheck the “Export With Debug” option …that is near the bottom of the dialog. Then tap the “Save” button
g) It will then export…you will get an “Error” dialog…that mentioned the project could not be exported… but you will notice that the file was made…it was saved as a .x86 file
h) You could then go to the directory where it was exported…from the terminal…and run it by typing in ./(name of file).x86
It’s cool that now one could have a standalone Godot executable that runs on the Pi 4. I’ve seen that things kind of load on Pi 3…but there were some issues. Maybe you could get it to work…I tried it on the Pi 3 with an older version of Raspbian
Enjoy.
-
Godot Export Template for Raspberry Pi 4…
Posted on November 6th, 2020 No commentsGodot 3.2.1 seems to run reasonably well on Raspberry Pi 4.
I noticed I had to build Godot on Raspberry Pi 4. Then…I could take any Godot project and have it run on Raspberry Pi 4 smoothly…provided I did the following…
1) exported the pck file in Godot
Project -> Export -> Add … Linux/X11 (Runnable) from current export template list…Export PCK/ZIP file2) Use the raspberry pi build version of godot made…from this post…
http://www.indiegamepod.com/?p=3517… and rename it to the same name as the pck file. So if I exported the pck file of the project to something called “truckdemo.pck”…the Raspberry Pi 4 export template would need to be named truckdemo.llvm
3) I would put both the pck file and llvm file in the same directory
4) run the llvm file … with
./truckdemo.llvmHere is a link to the llvm file you could use for the export template…
http://indiegamepod.com/godot-pi4-template.llvmIf you have better instructions…let me know. The ideal situation is that the pck is embedded in the template itself.