Experimental Game Dev Interviews — The First Game Dev Podcast Ever
RSS icon Home icon
  • Found a way to embed pck in the Raspberry Pi export template…

    Posted on November 6th, 2020 IndieGamePod No comments

    Right 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 Godot

    2) 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 On

    b) 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.llvm

    Then 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.

    Leave a reply