Research portable Memory game | Исследовать портируемую игру Память
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
10 meses atrás
123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Instructions for [TP-Link TL-MR3020 v1](https://openwrt.org/toh/tp-link/tl-mr3020)
  2. Based on [OpenWrt Hello World guide](https://openwrt.org/docs/guide-developer/helloworld/start)
  3. You are supposed to be running **Ubuntu 22.04 LTS** with a home directory at `/home/vboxuser` (Update paths below and `ogspkg/games/ogs-memory/Makefile` if your home directory is different)
  4. 1. Install necessary dependencies:
  5. ```
  6. apt install libtinfo5 gawk
  7. `
  8. 1. Place this Memory game repository clone to `~/research-portable-memory`
  9. 1. Download the last supported [SDK 17.01.7](https://downloads.openwrt.org/releases/17.01.7/targets/ar71xx/generic/lede-sdk-17.01.7-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64.tar.xz)
  10. 1. Unpack it to `~/openwrt-sdk`:
  11. ```
  12. tar -xf lede-sdk-17.01.7-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64.tar.xz
  13. mv lede-sdk-17.01.7-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64 ~/openwrt-sdk
  14. `
  15. 1. Create `feeds.conf` pointing to `ogspkg`:
  16. ```
  17. echo 'src-link ogspkg /home/vboxuser/research-portable-memory/platform-OpenWrt/ogspkg' > ~/openwrt-sdk/feeds.conf
  18. `
  19. 1. Update feeds:
  20. ```
  21. ~/openwrt-sdk/scripts/feeds update ogspkg
  22. ~/openwrt-sdk/scripts/feeds install -a -p ogspkg
  23. `
  24. 1. Run `make menuconfig` from `openwrt-sdk`
  25. 1. Make sure `Games -> ogs-memory` is selected as Module <M>, `Save` if necessary
  26. 1. Build the package:
  27. ```
  28. cd ~/openwrt-sdk
  29. make package/ogs-memory/compile
  30. `
  31. 1. Transfer built `~/openwrt-sdk/bin/packages/ogspkg/ogs-memory-xxx???.ipk` to `/tmp` on the device with OpenWrt
  32. 1. Install package to device's RAM:
  33. ```
  34. opkg install /tmp/ogs-memory-xxx???.ipk -d ram
  35. `
  36. 1. Run `ogs-memory`:
  37. ```
  38. LD_LIBRARY_PATH=/tmp/usr/lib /tmp/usr/bin/ogs-memory
  39. `