GTLibPy is Game Trainer library/module for Python in windows it provides all the necessary methods to make simple game trainer in windows using WIN32-API with ease. It uses only WIN32-API methods because this is intended to work on Windows system only and not shall be portable or to target other OS like Linux,MAC OS etc.
NOTE : This ain't memory scanning,hooking,analyzing library, it won't provide methods for scanning/signature or dumping RAW memory.
UNDERHOOD WORKING : GTLibPy is actually a wrapper module over GTLibc which actually does all the work beneath,this module just converts Python datatypes,data-structures to C-Type data and passes them to GTLibc library and shows result afterwards. So this has all the features which GTLibc had FindGame,ReadAddress,WriteAddress,SetCheatCodes etc.
AIM : The aim of this library is only to provide the most efficient way of creating game trainer and to provide a layer on top of WIN-32 API cumbersome methods and to make reading/writing ,finding Game process easier and convenient.
Using GT_FindGameProcess() method.
Using GT_FindGameWindow() method.
using GT_ReadAddress() or GT_ReadAddressoffset() methods.
using GT_WriteAddress() or GT_WriteAddressOffset() methods.
using GT_HotKeysPressed() MACRO or GT_IsKeyPressed()/GT_IsKeyToggled() methods.
using GT_SetCheatCode() method.
using GT_SearchOffsetArea() method.
using GT_DoMousePress() and GT_DoKeyPress() methods.
All the error/exception handling is done by library itself like if you tried read or write from Invalid Memory section or if process id,game handle/HWND are invalid it will automatically handle error.So you don't have to check for any error by yourself
All Public and Semi-Public methods are accessible . But Private methods are not and library will throw error if you tried to access them.
Logs are disabled by default but if you want library to maintain logs use GT_EnableLogs() method to enable logs. or if you want to disable logs again you can use GT_DisableLogs() method.
As a demo of this module IGI 1 Trainer is included to show demo of all the GTLiPy methods and how to use them in making simple game trainer.
Download from PIP : GTLibPy
DOCUMENTATION INFO : All Public and Semi-Private methods are well documented. but private methods are not documented as it was not necessary to do so.
VERSION INFO :
GTLibPy Version : V 1.0
Dated : 31/05/2019.
GTLibPy Version : V 1.1
Changelogs
- Added support for 64bit games.
- Added folder for both 32 and 64 bit games in GTLibcs
Using for 32 and 64 bit games.
GTLibcs containts two file
- GTLibc_x86.so for 32 bit.
- GTLibc_x64.so for 64 bit.
Just copy the file you need and rename it to GTLibc.so and place it in root directory and replace old file with your new file and you are done.
Q : I am getting this error OSError: [WinError 193] %1 is not a valid Win32 application ?
A : The error states that you are using 32-bit application but GTLIbPy is 64bit so use 64bit version of Python.
Q : When i try to import it to python it says there is no module named GT_LibPy ?
A : Download GTLibPy from Github and place it in your source root directory because pip is not updated.
Dated : 20/05/2020.