proton:raspi_setup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
proton:raspi_setup [2016/06/18 07:39] – seth | proton:raspi_setup [2023/12/03 04:44] – seth | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ** Experimental | + | ** Compiling Proton |
- | These steps are what I use to compile stuff by copying things from my Windows computer. | + | Test with the latest Raspberry Pi OS and RetroPi as of June 9th, 2023. |
- | Steps: | + | These should run both in the desktop GUI, or directly from bash. (Fullscreen) |
- | * Install linux tools for Windows, rsync and ssh should work from the command line | + | First, install some tools/libs you'll need: |
- | * Setup a ssh key pair so you don't have to type passwords | + | |
- | * Edit SetupVars.bat and edit the IP to the pi | + | |
- | * Give the video card more memory on the pi. Run raspi-config and give it 128 or 256 (good for the pi3) | + | |
- | * Install cmake on the pi (sudo apt-get install cmake) | + | |
- | * Install SDL2 on the pi (sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev) | + | |
- | * Run CopyStuffToPi.bat. | + | |
- | * RTBareBones/ | + | |
+ | <code bash> | ||
+ | sudo apt-get install cmake zlib1g-dev | ||
+ | sudo apt-get install libsdl2-2.0-0 libsdl2-dev | ||
+ | </ | ||
- | If you look at the RTBarebones/linux dir you'll see the CMakeLists.txt file autodetect | + | |
+ | Don't forget git! | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get install git | ||
+ | </ | ||
+ | |||
+ | Next, install Proton. | ||
+ | |||
+ | <code bash> | ||
+ | cd ~ | ||
+ | git clone https:// | ||
+ | </ | ||
+ | |||
+ | Now let's build Proton' | ||
+ | |||
+ | <code bash> | ||
+ | cd ~/ | ||
+ | sh linux_compile.sh | ||
+ | </ | ||
+ | |||
+ | Now let's compile and run RTBareBones: | ||
+ | |||
+ | <code bash> | ||
+ | cd ~/ | ||
+ | sh linux_compile.sh | ||
+ | cd ../bin | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | If that worked, enjoy the spinning triangle and text stretching! | ||
+ | |||
+ | Now let's do RTSimpleApp, | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get install libsdl2-mixer-dev | ||
+ | </code> | ||
+ | |||
+ | Great. | ||
+ | |||
+ | <code bash> | ||
+ | cd ~/ | ||
+ | sh linux_compile.sh | ||
+ | cd ../media | ||
+ | sh update_media.sh | ||
+ | cd ../bin | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | If that worked, enjoy the app. If it didn' | ||
+ | |||
+ | === State of Proton on the Pi === | ||
+ | |||
+ | Hint: Using the RetroPi dist? You can edit the text file **/ | ||
+ | |||
+ | An easy way to replace the boot splash is replacing **/ |
proton/raspi_setup.txt · Last modified: 2023/12/03 06:42 by seth