proton:raspi_setup
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
proton:raspi_setup [2016/06/18 07:29] – created seth | proton:raspi_setup [2019/01/28 06:43] – seth | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ** Experimental | + | ** Compiling Proton |
- | These steps are what I use to compile stuff by copying things | + | As a base, I started with RetroPi (the image from 7/28/2018) on a Raspberry 3 B. |
- | Steps: | + | Update on Jan 28th 2019: I did try this with Raspbian Stretch 4.14, you need to run these commands first to get it working: |
- | * Install linux tools for Windows, rsync and ssh should work from the command line | + | <code bash> |
- | * Setup a ssh key pair so you don't have to type passwords | + | sudo apt-get install git |
- | * Edit SetupVars.bat and edit the IP to the pi | + | sudo apt-get |
- | * Install development tools on the pi (sudo apt-get | + | sudo apt-get install |
- | * Run CopyStuffToPi.bat. There should now be a ~/proton tree on the pi | + | </code> |
- | * RTBareBones/CopyStuffToPiAndCompileLoop.bat and it should update that example and compile it in a loop | + | |
+ | Also, I think the GL driver needs to be set to " | ||
- | If you look at the RTBarebones/linux dir you'll see the CMakeLists.txt file autodetect | + | ---- End Raspbian stretch part ---- |
+ | |||
+ | |||
+ | First install Proton and compile its RTPack utility: | ||
+ | |||
+ | I ssh'ed in and did: | ||
+ | |||
+ | <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. | ||
+ | |||
+ | === Known issues === | ||
+ | - It runs fullscreen only both in or out of the desktop environment | ||
+ | - No mouse or keyboard input (SDL2 should be handling this but isn't, haven' |
proton/raspi_setup.txt · Last modified: 2023/12/03 06:42 by seth