/GTLibPy

GTLibPy is library to make game trainer in Python it provide all the necessary methods to make simple game trainer in windows using win32-API with ease.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

cover_logo

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.

Your support is needed to keep this project alive, Feel free to donate.

paypal

Main Components :

Finding game :

Using GT_FindGameProcess() method.

finding_game_process

Using GT_FindGameWindow() method.

finding_game_window

Reading Values :

using GT_ReadAddress() or GT_ReadAddressoffset() methods.

reading_memory

Writing Values :

using GT_WriteAddress() or GT_WriteAddressOffset() methods.

writing_memory

Creating Hot-keys :

using GT_HotKeysPressed() MACRO or GT_IsKeyPressed()/GT_IsKeyToggled() methods.

hotkeys

Additional Components :

Applying cheat codes :

using GT_SetCheatCode() method.

set_cheat_code

Searching offset area :

using GT_SearchOffsetArea() method.

search_offset_area

Automation scripting :

using GT_DoMousePress() and GT_DoKeyPress() methods.

GTLibPy Logs and errors :

Error/Exception Handling :

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

game_not_found

reading_invalid_memory

writing_invalid_memory

Methods Accessibility :

All Public and Semi-Public methods are accessible . But Private methods are not and library will throw error if you tried to access them.

private_method_error

Library Logs :

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.

enable_disable_logs

Trainer Demo :

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.

GTLibPy Tutorial on YouTube :

GTLibPy Demo

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.

FAQ

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.