From f757b6a17cc338abbb1da419bd54c369cb826b3d Mon Sep 17 00:00:00 2001 From: Alexander German Date: Sun, 29 Apr 2018 21:24:14 +0500 Subject: [PATCH 1/3] Fix preload.sh if you use steam runtime Should fix #387 --- preload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preload.sh b/preload.sh index 6f5a0762..a8ccc129 100755 --- a/preload.sh +++ b/preload.sh @@ -51,7 +51,7 @@ export LD_LIBRARY_PATH="$GAMEROOT"\ ulimit -n 2048 export LD_PRELOAD -LD_PRELOAD="$(pwd)/bin/libcathook.so" +LD_PRELOAD="$(pwd)/bin/libcathook.so:/usr/lib/i386-linux-gnu/libstdc++.so.6" # Enable nVidia threaded optimizations export __GL_THREADED_OPTIMIZATIONS=1 From 6a7979d96852d889695da867b9de4fbf5b551a46 Mon Sep 17 00:00:00 2001 From: bread <32032674+buyBread@users.noreply.github.com> Date: Sun, 29 Apr 2018 20:37:27 +0300 Subject: [PATCH 2/3] and simple-ipc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cmake couldn't find SimpleIPC ¯\_(ツ)_/¯ --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 80eb5a54..3e3d1481 100755 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ and a lot of useful features, including You need CMake to build cathook, CMake should take care of dependencies -Install [libglez](https://github.com/nullifiedcat/libglez) and [libxoverlay](https://github.com/nullifiedcat/libxoverlay) +Install [libglez](https://github.com/nullifiedcat/libglez), [libxoverlay](https://github.com/nullifiedcat/libxoverlay) and [simple-ipc](https://github.com/nullworks/simple-ipc) * Clone the repo of library (`git clone `) * `mkdir build && cd build` From ccf2572767bea1807068f0073acad30c9f49a55b Mon Sep 17 00:00:00 2001 From: BenCat07 Date: Mon, 30 Apr 2018 12:21:01 +0200 Subject: [PATCH 3/3] Fix cmake issues --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b55e91a7..9ad2c737 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ set(CMAKE_BUILD_TYPE_VALUES "Debug;Release" CACHE INTERNAL "List of supported bu set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_BUILD_TYPE_VALUES}) cmake_minimum_required(VERSION 3.0) -project(cathook VERSION 0.0.1 DESCRIPTION "Free Source Engine Trainer") +project(cathook VERSION 0.0.1) add_library(cathook SHARED "") set(GameSpecific 1 CACHE BOOL "Build for specific target game (As opposed to universal, but slower, lib)") @@ -128,4 +128,4 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release") endif() add_custom_command(TARGET cathook POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy $ "${CMAKE_SOURCE_DIR}/bin/$") \ No newline at end of file + COMMAND ${CMAKE_COMMAND} -E copy $ "${CMAKE_SOURCE_DIR}/bin/$")