eggnogg on the pi zero 2w !
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 2.3 KiB

1 year ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # eggnoggpi
  2. eggnogg on the pi zero 2w !
  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, I'll teach you how to setup a pi to autostart with eggnoggpi, so you only need to connect 2 controller, and a screen, power on the pi, and play !
  6. # Installation
  7. ## Installation of raspbian lite 64 bit
  8. 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/
  9. You'll then only need a minimum of 4Gb µsd card, and install raspbian lite 64 bit on it
  10. ## Setup box64
  11. Sadly, eggnogg 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.
  12. 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.
  13. sudo wget https://ryanfortner.github.io/box64-debs/box64.list -O /etc/apt/sources.list.d/box64.list
  14. wget -qO- https://ryanfortner.github.io/box64-debs/KEY.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg
  15. sudo apt update && sudo apt install box64-arm64 -y
  16. ## Setup the screen
  17. 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
  18. sudo apt install nodm xserver-xorg-utils
  19. You can then configure nodm or just use the configuration file with this repo
  20. cp files/etc/default/nodm /etc/default/nodm
  21. ## Download eggnoggplus
  22. To be continued
  23. ## Install the service
  24. 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
  25. cp files/etc/systemd/system/eggnoggpi.service /etc/systemd/system/eggnoggpi.service
  26. systemctl daemon-reload
  27. systemctl enable eggnoggpi
  28. systemctl start eggnoggpi
  29. If eggnoggpi doesn't start with the pi, add this little hack too
  30. echo "@reboot root /sbin/service eggnoggpi start" >> /etc/crontab