Coder Social home page Coder Social logo

kbz's Introduction

*仅限研究使用,禁止用作非法用途,非法使用造成的一切后果自行承担

termux 编译

pkg install clang termux-elf-cleaner
clang kk.cc -o kk -lstdc++ -pthread
strip -s kk
strip -R .comment kk
termux-elf-cleaner kk

注意:如果直接使用 termux 编译那你删掉了 termux 那就无法运行了,除非想办法静态链接。

建议使用 aarch64 alpine clang编译,优点依赖少性能好文件小

apk add musl-dev clang gcc g++
clang kk.cc -o kk -lstdc++ -static
strip -s kk
strip -R .comment kk

预先编译好的版本 https://github.com/kekeimiku/kbz/releases

PS:可以使用 termux 或 linuxdeploy 安装 alpine

c4droid 不支持 clang 但是可以编译,不过不推荐

交叉编译

...

测试

使用 aarch64 alpine 预编译的静态静态链接版本下载 https://github.com/kekeimiku/kbz/releases

解压文件到 /data/local/tmp 之类的任意有执行权限的目录,然后chmod +x kk

打开一局游戏,匹配排位自定义,进入游戏后打开终端 ./kk 运行本程序。

英雄对应id参考 http://www.87g.com/wzry/63929.html

双方buffcd时间是倒计时,100代表已经冷却好了

termux中运行的测试图

有什么问题可以发邮件 [email protected]

kbz's People

Contributors

kekeimiku avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.