Merge pull request #448 from BenCat07/master

Add install all script
This commit is contained in:
LightCat 2018-05-18 20:53:29 +02:00 committed by GitHub
commit 05d0df7ee3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 1 deletions

View File

@ -5,7 +5,7 @@
## Risk of VAC detection
The software is most likely detected. Only use it on accounts you won't regret getting VAC banned.
The software Might be VAC detected. Only use it on accounts you won't regret getting VAC banned.
## Community
You can chat with other cathook users in [my official telegram group](https://t.me/nullifiedcat).
@ -35,6 +35,16 @@ and a lot of useful features, including
# INSTALLATION
## Automatic:
If you already downloaded the repo, simply run
* `install-all`
Else simply run:
* `git clone --recursive https://github.com/nullworks/One-in-all-cathook-install/blob/master/install-all.git`
and run it's install-all script.
## Manual:
You need CMake to build cathook, CMake should take care of dependencies
Install [libglez](https://github.com/nullworks/libglez), [libxoverlay](https://github.com/nullworks/libxoverlay) and [simple-ipc](https://github.com/nullworks/simple-ipc)

29
install-all Executable file
View File

@ -0,0 +1,29 @@
#
# Install base Dependencies
#
sudo apt update && sudo apt install build-essential gcc-multilib g++-multilib software-properties-common -y && sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && sudo apt update && sudo apt install gcc-snapshot g++-6-multilib gcc-6 g++-6 -y && sudo apt update && sudo apt install git libssl-dev:i386 libboost-all-dev libc6-dev:i386 gdb libsdl2-dev libglew-dev:i386 libglew-dev libfreetype6-dev libfreetype6-dev:i386 cmake libpng-dev libssl-dev cmake gcc-multilib g++-multilib -y
#
# Install libglez
#
git clone --recursive https://github.com/nullworks/libglez.git;cd libglez;mkdir build;cd build;cmake ..;make;sudo make install;cd ..;cd ..
#
# Install libxoverlay
#
git clone --recursive https://github.com/nullworks/libxoverlay.git;cd libxoverlay;mkdir build;cd build;cmake ..;make;sudo make install;cd ..;cd ..
#
# Install Simple-ipc
#
git clone --recursive https://github.com/nullworks/simple-ipc.git;cd simple-ipc;mkdir build;cd build;cmake ..;make;sudo make install;cd ..;cd ..
#
# Build cathook
#
mkdir build;cd build;cmake ..;make -j$(grep -c '^processor' /proc/cpuinfo);make data