Research portable Memory game | Исследовать портируемую игру Память
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Михаил Капелько 3a6a3a54db d pirms 7 mēnešiem
..
ogspkg/games/ogs-memory d pirms 7 mēnešiem
README.md d pirms 7 mēnešiem

README.md

Instructions for TP-Link TL-MR3020 v1

Based on OpenWrt Hello World guide

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)

  1. Install necessary dependencies:
    apt install libtinfo5 gawk
    

    ``

  2. Place this Memory game repository clone to ~/research-portable-memory
  3. Download the last supported SDK 17.01.7
  4. Unpack it to ~/openwrt-sdk:
    tar -xf lede-sdk-17.01.7-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64.tar.xz
    mv lede-sdk-17.01.7-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64 ~/openwrt-sdk
    

    ``

  5. ?? Set PATH https://openwrt.org/docs/guide-developer/helloworld/chapter1#adjusting_the_path_variable
  6. Create feeds.conf pointing to ogspkg:
    echo 'src-link ogspkg /home/vboxuser/research-portable-memory/platform-OpenWrt/ogspkg' > ~/openwrt-sdk/feeds.conf
    

    ``

  7. Update feeds:
    ~/openwrt-sdk/scripts/feeds update ogspkg
    ~/openwrt-sdk/scripts/feeds install -a -p ogspkg
    

    ``

  8. Run make menuconfig from openwrt-sdk
  9. Make sure Games -> ogs-memory is selected as Module , Save if necessary
  10. Build the package:
    cd ~/openwrt-sdk
    make package/ogs-memory/compile
    

    ``

  11. Transfer built ~/openwrt-sdk/bin/packages/ogspkg/ogs-memory*ipk to /tmp on the device with OpenWrt
  12. Install package to device's RAM:
    opkg install /tmp/ogs-memory*ipk -d ram
    

    ``

  13. Run ogs-memory:
    LD_LIBRARY_PATH=/tmp/usr/lib /tmp/usr/bin/ogs-memory