https://blog.studiominiboss.com/pixelart - pixel art info. REALLY GOOD info
cd D:\personal\dev_s3\godot\projects\joypads
scp -rp ./* pi@raspberrypi:/home/pi/projects/rpi_joy
scp joy.zip pi@raspberrypi:/home/pi/bins_godot
./godot.frt.opt.pi4 --video-driver GLES3 --main-pack joy.zip
build raspbian image to run godot binaries
Install latest raspbian lite distro (get image, run imager)
sudo raspi-confi: enable wireless, enable ssh, change login/pwd, GL FKMS driver
(optional) "lcd_rotate=2" in /boot/config.txt to flip the screen upside down
sudo apt-get update, full-upgrade, clean
sudo apt install libegl1-mesa libgles2-mesa
FIRST TIME RUN FROM TERMINAL, NOT SSH otherwise it'll use llvmpipe (sw pipeline) instead of V3D 4.2
build raspbian image to build godot + frt
do the previous steps for godot binaries
sudo apt install git
git clone https://github.com/godotengine/godot.git
git checkout remotes/origin/3.2-gles2-batching
cd godot/platform, git clone https://github.com/efornara/frt.git
sudo apt install scons libgles2-mesa-dev libudev-dev libasound2-dev libpulse-dev libgbm-dev libdrm-dev
scons platform=frt target=release frt_arch=pi4 tools=no module_webm_enabled=no bits=64 -j4
DiY moonboard stuff:
install python3, python3-dev
install pip, easy_install3.7 requests
sudo /usr/bin/python3 -m pip install websockets
sudo /usr/bin/python3 -m pip install aiosqlite
sudo /usr/bin/python3 -m pip install python-periphery
sudo /usr/bin/python3 -m pip install bibliopixel
enable spi in raspi-config
copy com.moonboard.conf to /etc/dbus-1/system.d
copy com.moonboard.service to /usr/share/dbus-1/system-services
requirements.txt
MODEP (raspberry pi effects board)
To install:
Make an image (Raspberry Pi OS 64-bit bookworm with desktop in my case) on the SD-card.
Install the SD-card and let the basic setup complete.
Install the Pisound and modep software (first time you run the Pisound installation it asks for a system update, you must perform that extra action):
sudo curl https://blokas.io/apt-setup.sh | sh
sudo apt install modep
To launch:
With your Scarlet (audio interface) plugged into the Pi, run the aplay -l and arecord -l commands
edit the following file:/etc/jackdrc
replace hw:pisound with hw:3,0 (or whatever number your interface shows above). Once that has been updated restart jack with the following command:
sudo systemctl restart jack then restart MODEP with the following command:
sudo systemctl restart modep-mod-ui
Example line for better sampling:
exec /usr/bin/jackd -t 2000 -R -P 95 -d alsa -d hw:pisound -r 48000 -p 64 -n 3 -X seq -s