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 09:45] – seth | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ** Experimental | + | ** Compiling Proton |
- | These steps are what I use to compile stuff by copying things from my Windows computer. | + | As a base, I started with a [[https:// |
- | Steps: | + | If you REALLY want to use a standard Raspbian stretch install you can, just do these commands first to get ready: |
- | * 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 |
- | * Edit SetupVars.bat and edit the IP to the pi | + | sudo apt-get install |
- | * Install development tools on the pi (sudo apt-get | + | </code> |
- | * Run CopyStuffToPi.bat. There should now be a ~/proton tree on the pi | + | |
- | * 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/ | + | ---- End Raspbian stretch part ---- |
+ | |||
+ | First, make sure you gave git installed. SSH into your PI and: | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get install git | ||
+ | </ | ||
+ | |||
+ | Next, install Proton and compile its RTPack utility: | ||
+ | |||
+ | <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 | ||
+ | </ | ||
+ | |||
+ | 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't... off to the forums and yell at Seth! | ||
+ | |||
+ | === State of Proton on the Pi === | ||
+ | - It runs fullscreen only both in or out of the desktop environment | ||
+ | - If SDL isn't compiled a certain way, mouse and keyboard won't work right. (use the RetroPi dist!) | ||
+ | - Even though mouse and keyboard can work, there is no mouse cursor, you'd need to draw it yourself | ||
+ | - Video acceleration works, audio works (see my [[https:// | ||
+ | |||
+ | Hint: Using the RetroPi dist? You can edit the text file **/ |
proton/raspi_setup.txt · Last modified: 2023/12/03 06:42 by seth