I was thinking, I need to learn some Linux, and why waste a good workhorse like the Pi3b+?
low power, (power for more), All framebuffer, no windows, even the PiZ runs this
All automatic
Dreamcast servers ping tested on boot
Current DCTalk google schedule shown on boot
dreamcast.online/now/ updating every 60sec
Web Rendering Proxy
Think about this eh..
On the TV, Dreamcast on Input 1, the Pi is on Input 2, You Flip the channel to see who's online easily.
How to Install BetaV0.9
"Expand The Filesystem" So we can have the full space of our storage, we need a 4GB SDcard or Flash Drive.Code: Select all
sudo raspi-config
Pick Option 7 - Advanced Options
Pick Option 1 - Expand File System
Tab over to the Finish button and Reboot.
Next thing to do is update our Pi to the latest softwares.Code: Select all
sudo apt update
Code: Select all
sudo apt upgrade
Code: Select all
sudo reboot
Code: Select all
wget https://u.teknik.io/1jN7N.sh && chmod +x 1jN7N.sh && ./1jN7N.sh
The secret to all this is using chromium-browser, xvfb, cutycapt fim and WRP with some bash files..
Code: Select all
#/bin/bash
sudo apt install xinit xserver-xorg raspberrypi-ui-mods chromium-browser xvfb cutycapt fim
sleep 3
mkdir /home/pi/scripts
mkdir /home/pi/DreamcastOnline
tee /home/pi/scripts/dcnowfb.sh <<EOF
#!/bin/bash
while true; do
xvfb-run --server-args="-screen 0, 800x600x24" cutycapt --url=http://dreamcast.online --out=/home/pi/DreamcastOnline/dcnow.jpeg;
sleep 1;
timeout 60 fim -a /home/pi/DreamcastOnline/dcnow.jpeg;
clear;
rm -f /home/pi/DreamcastOnline/dcnow.jpeg;
done
EOF
sleep 1
tee /home/pi/scripts/dcspeedtest.sh <<EOF
#!/bin/bash
sleep 17
clear
cpu=$(</sys/class/thermal/thermal_zone0/temp)
echo "------------Welcome to SegaNet-------------"
echo "$(date)"
echo "$(hostname -I)"
echo "CPU TEMP => $((cpu/1000))'C"
echo "------Welcome To The Next Level------------"
sleep 1
echo ""
echo "Shuouma Server Speed Test"
echo "$(ping -c 3 -q shumania.ddns.net)"
echo "---------DreamPi-Online----------------"
sleep 1
echo "Dreamcast Talk Speed Test"
echo "$(ping -c 3 -q dc.dreamcast-talk.com)"
echo "----------Up to 6 billion players----------"
sleep 1
echo "Sylverant Speed Test"
echo "$(ping -c 3 -q sylverant.net)"
echo "------------Its Thinking-------------"
xvfb-run --server-args="-screen 0, 800x600x24" cutycapt --url=https://tknk.io/aozY --delay=3000 --out=/home/pi/DreamcastOnline/dcnowgcal.jpeg
sleep 1
timeout 55 fim -a /home/pi/DreamcastOnline/dcnowgcal.jpeg
rm -f /home/pi/DreamcastOnline/dcnowgcal.jpeg
echo "
"
EOF
tee /home/pi/scripts/rc.local <<EOF
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
/home/pi/wrp-arm-linux -t png -g 640x480x32 &
/home/pi/scripts/dcspeedtest.sh &
/home/pi/scripts/dcnowfb.sh &
exit 0
EOF
sleep 1
wget https://github.com/tenox7/wrp/releases/download/4.5.1/wrp-arm-linux
chmod +x wrp-arm-linux
chmod +x /home/pi/scripts/dcnowfb.sh
chmod +x /home/pi/scripts/dcspeedtest.sh
chmod +x /home/pi/scripts/rc.local
sudo cp /home/pi/scripts/rc.local /etc/rc.local
sudo chmod +x /etc/rc.local
sudo reboot
exit 0
Any ideas you think about to add let me know
Quake 3 server info...
Save the jpeg files into ram..
thanks to, kazade, Shuouma, pcwzrd13,