eggnogg on the pi zero 2w !
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
před 1 rokem
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # Eggnoggpi
  2. Eggnogg on the Raspberry PI02W !
  3. ## Description
  4. For all of you who need to run eggnoggplus on a raspberry pi to get frenzied parties, eggnoggpi is the right project.
  5. In this readme, you will see how to setup a PI02W to autostart with eggnoggpi, so you only need to connect 2 controller, and a screen, power on the pi, and play !
  6. ## Setup raspbian lite 64 bit
  7. First thing first, you'll need to install raspbian lite on your pi, you can do this just by downloading rpi-image from the official raspberry pi website https://www.raspberrypi.com/software
  8. You'll then only need a minimum of 4Gb µSD card, and install raspbian lite **64 bit** on it.
  9. https://www.raspberrypi.com/documentation/computers/getting-started.html
  10. Connect, setup Wi-Fi and run somes update
  11. ## Setup box64
  12. Sadly, Eggnoggplus is a x86_64 program only on linux, and we do not have access to the sources, so well need a little help from an emulator to get it working.
  13. Box64 is a simple x86_64 emulator for other architecture like arm64, it can detect wether you want to start a x86_64 linux elf, and start translating the binary for you, if you need external libraries that exists on arm64, it'll use them so it won't have to translate it, you'll get more performance, very usefull on low power arm cpu like the one on the pi.
  14. ```
  15. wget https://ryanfortner.github.io/box64-debs/box64.list -O /etc/apt/sources.list.d/box64.list
  16. wget -qO- https://ryanfortner.github.io/box64-debs/KEY.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg
  17. apt update
  18. apt install box64-arm64 -y
  19. ```
  20. ## Setup the screen
  21. Since we installed raspbian lite on the pi, we'll need to install xorg and set it to auto login on boot, to achieve that, we'll install nodm and xutils
  22. ```
  23. sudo apt install nodm
  24. ```
  25. ## Clone the repo of project
  26. ```
  27. git clone https://git.heuzef.com/Flutter/eggnoggpi.git
  28. ```
  29. ## Clone the repo of project
  30. You can then configure nodm or just use the configuration file with this repo
  31. ```
  32. cp /home/pi/eggnoggpi/files/etc/default/* /etc/default/
  33. ```
  34. ## Download eggnoggplus
  35. To be continued
  36. Then copy the setting file
  37. ```
  38. cp -R files/home/pi/.madgarden /home/pi/
  39. ```
  40. ## Install the service
  41. To allow eggnogg to start on boot, we install it as a systemd service, you can write your own or just use the one with this repos
  42. ```
  43. cp files/etc/systemd/system/eggnoggpi.service /etc/systemd/system/eggnoggpi.service
  44. systemctl daemon-reload
  45. systemctl enable eggnoggpi
  46. systemctl start eggnoggpi
  47. ```
  48. If eggnoggpi doesn't start with the pi, add this little hack too
  49. ```
  50. echo "@reboot root /sbin/service eggnoggpi start" >> /etc/crontab
  51. ```