<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Scratchpad Games Forums - General Raspberry Pi Content]]></title>
		<link>https://scratchpadgames.net/forums2/</link>
		<description><![CDATA[Scratchpad Games Forums - https://scratchpadgames.net/forums2]]></description>
		<pubDate>Tue, 21 Jul 2026 17:50:25 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[New Setup]]></title>
			<link>https://scratchpadgames.net/forums2/showthread.php?tid=16</link>
			<pubDate>Tue, 21 Jul 2026 16:13:21 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://scratchpadgames.net/forums2/member.php?action=profile&uid=1">Brian Beuken</a>]]></dc:creator>
			<guid isPermaLink="false">https://scratchpadgames.net/forums2/showthread.php?tid=16</guid>
			<description><![CDATA[I have had a lot of issues with some updates recently but I've managed to resolve most of them..<br />
<br />
If you are using your Pi for the 1st time remember you need to run the setup script at least one time. It will install all the libs needed throughout the book. It will be attached to all Pi projects but here is the most updated version.<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#!/usr/bin/env bash<br />
#<br />
# Dev environment setup � safe to re-run.<br />
# Re-running updates the git repos to their latest version and refreshes apt packages.<br />
<br />
# --- helper: clone a repo if it's missing, otherwise update it to the latest version ---<br />
clone_or_update() {<br />
    url="&#36;1"<br />
    dir="&#36;2"<br />
    if [ -d "&#36;dir/.git" ]; then<br />
        echo "Updating &#36;dir (pulling latest)"<br />
        git -C "&#36;dir" pull --ff-only<br />
    else<br />
        echo "Cloning &#36;dir"<br />
        git clone "&#36;url" "&#36;dir"<br />
    fi<br />
}<br />
<br />
echo installing<br />
echo installing cmake<br />
cd "&#36;HOME"<br />
sudo apt update                 # refresh the package index so re-runs get the latest apt versions<br />
sudo apt install cmake -y<br />
echo<br />
<br />
# stb<br />
echo installing STB<br />
clone_or_update https://github.com/nothings/stb.git "&#36;HOME/stb"<br />
echo STB install done<br />
<br />
# GLM<br />
echo installing GLM<br />
clone_or_update https://github.com/g-truc/glm.git "&#36;HOME/glm"<br />
echo GLM Install done<br />
<br />
echo "Installing Jeremiah Audio"<br />
clone_or_update https://github.com/3dgep/Audio.git "&#36;HOME/Audio"<br />
<br />
cd "&#36;HOME/Audio"<br />
rm -rf build                    # start clean so Debug AND Release rebuild correctly every run<br />
mkdir -p build<br />
cd build<br />
<br />
# ---- Debug ----<br />
cmake -DCMAKE_BUILD_TYPE=Debug ../<br />
cmake --build .<br />
mkdir -p ../lib/Debug<br />
mv ../lib/*.a ../lib/Debug/<br />
echo "debug audio files added"<br />
<br />
# ---- Release ----<br />
<br />
cmake -DCMAKE_BUILD_TYPE=Release ../<br />
cmake --build .<br />
mkdir -p ../lib/Release<br />
mv ../lib/*.a ../lib/Release/<br />
echo "release audio files added"<br />
<br />
cd "&#36;HOME"<br />
<br />
# Bullet installation:<br />
sudo apt install libbullet-dev -y<br />
echo Bullet installed.<br />
<br />
# XrandR<br />
echo installing XrandR for Resolution changes<br />
sudo apt install libxrandr-dev -y<br />
echo Xrandr installed<br />
<br />
echo installing libopenAL and sound libs, these are largely replaced now, but kept for compatibility<br />
sudo apt install libopenal-dev -y<br />
sudo apt install pulseaudio -y<br />
sudo apt install libalut-dev -y<br />
sudo apt install libogg-dev -y<br />
sudo apt install libvorbis-dev -y<br />
sudo apt install vorbis-tools -y<br />
<br />
echo we have installed OpenAL and companion audio <br />
<br />
echo get latest mesa libs<br />
sudo apt install libgles2-mesa-dev -y<br />
echo libmesa is Done<br />
<br />
# Install FreeType<br />
<br />
echo Installing freetype...<br />
sudo apt install libfreetype6 libfreetype6-dev -y<br />
<br />
echo FreeType installed<br />
<br />
echo installing Assimp<br />
cd "&#36;HOME"<br />
sudo apt install libassimp-dev -y<br />
echo Assimp installed<br />
<br />
echo installing VLC<br />
sudo apt install libvlc-dev -y<br />
echo VLC Installed<br />
<br />
echo enhancing GPU debug output NOTE- not all will install<br />
sudo apt install libglx-mesa0-dbgsym libglapi-mesa-dbgsym libgl1-mesa-dri-dbgsym -y<br />
<br />
echo Done!<br />
echo<br />
echo Scroll up to make sure there were no errors, warnings are ok<br />
echo Take note of the errors and check the web/support sites for fixes<br />
read -s -p "Press Enter when you're ready!"<br />
echo ...</code></div></div><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://scratchpadgames.net/forums2/images/attachtypes/zip.png" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2" target="_blank" title="">setup.zip</a> (Size: 1.26 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[I have had a lot of issues with some updates recently but I've managed to resolve most of them..<br />
<br />
If you are using your Pi for the 1st time remember you need to run the setup script at least one time. It will install all the libs needed throughout the book. It will be attached to all Pi projects but here is the most updated version.<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#!/usr/bin/env bash<br />
#<br />
# Dev environment setup � safe to re-run.<br />
# Re-running updates the git repos to their latest version and refreshes apt packages.<br />
<br />
# --- helper: clone a repo if it's missing, otherwise update it to the latest version ---<br />
clone_or_update() {<br />
    url="&#36;1"<br />
    dir="&#36;2"<br />
    if [ -d "&#36;dir/.git" ]; then<br />
        echo "Updating &#36;dir (pulling latest)"<br />
        git -C "&#36;dir" pull --ff-only<br />
    else<br />
        echo "Cloning &#36;dir"<br />
        git clone "&#36;url" "&#36;dir"<br />
    fi<br />
}<br />
<br />
echo installing<br />
echo installing cmake<br />
cd "&#36;HOME"<br />
sudo apt update                 # refresh the package index so re-runs get the latest apt versions<br />
sudo apt install cmake -y<br />
echo<br />
<br />
# stb<br />
echo installing STB<br />
clone_or_update https://github.com/nothings/stb.git "&#36;HOME/stb"<br />
echo STB install done<br />
<br />
# GLM<br />
echo installing GLM<br />
clone_or_update https://github.com/g-truc/glm.git "&#36;HOME/glm"<br />
echo GLM Install done<br />
<br />
echo "Installing Jeremiah Audio"<br />
clone_or_update https://github.com/3dgep/Audio.git "&#36;HOME/Audio"<br />
<br />
cd "&#36;HOME/Audio"<br />
rm -rf build                    # start clean so Debug AND Release rebuild correctly every run<br />
mkdir -p build<br />
cd build<br />
<br />
# ---- Debug ----<br />
cmake -DCMAKE_BUILD_TYPE=Debug ../<br />
cmake --build .<br />
mkdir -p ../lib/Debug<br />
mv ../lib/*.a ../lib/Debug/<br />
echo "debug audio files added"<br />
<br />
# ---- Release ----<br />
<br />
cmake -DCMAKE_BUILD_TYPE=Release ../<br />
cmake --build .<br />
mkdir -p ../lib/Release<br />
mv ../lib/*.a ../lib/Release/<br />
echo "release audio files added"<br />
<br />
cd "&#36;HOME"<br />
<br />
# Bullet installation:<br />
sudo apt install libbullet-dev -y<br />
echo Bullet installed.<br />
<br />
# XrandR<br />
echo installing XrandR for Resolution changes<br />
sudo apt install libxrandr-dev -y<br />
echo Xrandr installed<br />
<br />
echo installing libopenAL and sound libs, these are largely replaced now, but kept for compatibility<br />
sudo apt install libopenal-dev -y<br />
sudo apt install pulseaudio -y<br />
sudo apt install libalut-dev -y<br />
sudo apt install libogg-dev -y<br />
sudo apt install libvorbis-dev -y<br />
sudo apt install vorbis-tools -y<br />
<br />
echo we have installed OpenAL and companion audio <br />
<br />
echo get latest mesa libs<br />
sudo apt install libgles2-mesa-dev -y<br />
echo libmesa is Done<br />
<br />
# Install FreeType<br />
<br />
echo Installing freetype...<br />
sudo apt install libfreetype6 libfreetype6-dev -y<br />
<br />
echo FreeType installed<br />
<br />
echo installing Assimp<br />
cd "&#36;HOME"<br />
sudo apt install libassimp-dev -y<br />
echo Assimp installed<br />
<br />
echo installing VLC<br />
sudo apt install libvlc-dev -y<br />
echo VLC Installed<br />
<br />
echo enhancing GPU debug output NOTE- not all will install<br />
sudo apt install libglx-mesa0-dbgsym libglapi-mesa-dbgsym libgl1-mesa-dri-dbgsym -y<br />
<br />
echo Done!<br />
echo<br />
echo Scroll up to make sure there were no errors, warnings are ok<br />
echo Take note of the errors and check the web/support sites for fixes<br />
read -s -p "Press Enter when you're ready!"<br />
echo ...</code></div></div><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://scratchpadgames.net/forums2/images/attachtypes/zip.png" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2" target="_blank" title="">setup.zip</a> (Size: 1.26 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[My  PC won't connect to my Pi using a network cable]]></title>
			<link>https://scratchpadgames.net/forums2/showthread.php?tid=8</link>
			<pubDate>Tue, 30 Dec 2025 16:39:20 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://scratchpadgames.net/forums2/member.php?action=profile&uid=1">Brian Beuken</a>]]></dc:creator>
			<guid isPermaLink="false">https://scratchpadgames.net/forums2/showthread.php?tid=8</guid>
			<description><![CDATA[As I am resetting a lot of my equipment, this old issue cropped up again for me. It happens every so often for some, not all, of my students too.<br />
It's basically due to both your PC and Pi attempting to get an IP address from a DHCP server that doesn't exist in a direct connection, so neither can establish a proper network link.<br />
<br />
There are 3 solutions to this:<br />
<br />
1st If you can, buy a small network switch. When both machines are connected via a switch which has access to your network, they can find your network's DHCP server. This is my personally preferred method, especially when I have a few different machines I want to target - a switch avoids lots of messy unplugging/plugging.<br />
<br />
2nd Connect both your PC and Pi via ethernet to your network router. That way both machines get IPs from your router's DHCP server.<br />
<br />
3rd A little less elegant but effective: set both devices to static IPs on their own private network. This is fiddly because you need to type commands into the Pi's terminal, but it works well.<br />
On the Pi, carefully enter these two commands:<br />
<br />
sudo nmcli con add type ethernet ifname eth0 con-name wired-static ipv4.addresses 192.168.2.1/24 ipv4.method manual autoconnect yes<br />
sudo nmcli con up wired-static<br />
<br />
This assigns 192.168.2.1 to your Pi. Now set your PC's ethernet to a static IP in the same range:<br />
<br />
Win + X → Network Connections<br />
Right-click Ethernet → Properties<br />
Double-click Internet Protocol Version 4 (TCP/IPv4) (&lt;&lt;this might vary depending on your version of Windows, but basically set IPv4 to manual)<br />
Select "Use the following IP address":<br />
<br />
IP address: 192.168.2.2<br />
Subnet mask: 255.255.255.0<br />
Gateway: leave blank<br />
DNS: leave blank<br />
<br />
<br />
Click OK<br />
<br />
Now your wired connection should work! <br />
You can also enable WiFi on both devices for internet access - they'll route traffic appropriately. <br />
While you can use raspberrypi.local (or whatever your Pi's hostname is) to connect, using the IP address 192.168.2.1 directly is faster and guarantees you're using the wired connection.<br />
<br />
Hopefully you won't have a problem - it's only a small number of setups that have this issue, but this solution should fix it.<br />
<br />
Actually there is a 4th option, just make sure both systems are on the same WiFi network.. WiFi these days is impressively fast, but... wired is quite significanly faster and you will feel that difference if you are doing a lot of debugging or sending data back and forward.]]></description>
			<content:encoded><![CDATA[As I am resetting a lot of my equipment, this old issue cropped up again for me. It happens every so often for some, not all, of my students too.<br />
It's basically due to both your PC and Pi attempting to get an IP address from a DHCP server that doesn't exist in a direct connection, so neither can establish a proper network link.<br />
<br />
There are 3 solutions to this:<br />
<br />
1st If you can, buy a small network switch. When both machines are connected via a switch which has access to your network, they can find your network's DHCP server. This is my personally preferred method, especially when I have a few different machines I want to target - a switch avoids lots of messy unplugging/plugging.<br />
<br />
2nd Connect both your PC and Pi via ethernet to your network router. That way both machines get IPs from your router's DHCP server.<br />
<br />
3rd A little less elegant but effective: set both devices to static IPs on their own private network. This is fiddly because you need to type commands into the Pi's terminal, but it works well.<br />
On the Pi, carefully enter these two commands:<br />
<br />
sudo nmcli con add type ethernet ifname eth0 con-name wired-static ipv4.addresses 192.168.2.1/24 ipv4.method manual autoconnect yes<br />
sudo nmcli con up wired-static<br />
<br />
This assigns 192.168.2.1 to your Pi. Now set your PC's ethernet to a static IP in the same range:<br />
<br />
Win + X → Network Connections<br />
Right-click Ethernet → Properties<br />
Double-click Internet Protocol Version 4 (TCP/IPv4) (&lt;&lt;this might vary depending on your version of Windows, but basically set IPv4 to manual)<br />
Select "Use the following IP address":<br />
<br />
IP address: 192.168.2.2<br />
Subnet mask: 255.255.255.0<br />
Gateway: leave blank<br />
DNS: leave blank<br />
<br />
<br />
Click OK<br />
<br />
Now your wired connection should work! <br />
You can also enable WiFi on both devices for internet access - they'll route traffic appropriately. <br />
While you can use raspberrypi.local (or whatever your Pi's hostname is) to connect, using the IP address 192.168.2.1 directly is faster and guarantees you're using the wired connection.<br />
<br />
Hopefully you won't have a problem - it's only a small number of setups that have this issue, but this solution should fix it.<br />
<br />
Actually there is a 4th option, just make sure both systems are on the same WiFi network.. WiFi these days is impressively fast, but... wired is quite significanly faster and you will feel that difference if you are doing a lot of debugging or sending data back and forward.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Current OS issues]]></title>
			<link>https://scratchpadgames.net/forums2/showthread.php?tid=4</link>
			<pubDate>Sat, 22 Nov 2025 20:36:30 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://scratchpadgames.net/forums2/member.php?action=profile&uid=1">Brian Beuken</a>]]></dc:creator>
			<guid isPermaLink="false">https://scratchpadgames.net/forums2/showthread.php?tid=4</guid>
			<description><![CDATA[Trixie on Pi <br />
<br />
Trixie uses Wayland as default but it will emulate X11, as a result projects all seem to work fine, but may stretch window sizes from the standard 1024x768 to full screen.. Its not a major issue, you can still set X11 in the raspi-config tool via the terminal.]]></description>
			<content:encoded><![CDATA[Trixie on Pi <br />
<br />
Trixie uses Wayland as default but it will emulate X11, as a result projects all seem to work fine, but may stretch window sizes from the standard 1024x768 to full screen.. Its not a major issue, you can still set X11 in the raspi-config tool via the terminal.]]></content:encoded>
		</item>
	</channel>
</rss>