PyTerm
PyTerm
Introduction
Injecting&Spawning a python console to game process, with pip support.
Why?
Python: interactive invocation with `ctypes`
Pip: 3rd-party utils (keystone, capstone, pyimgui …)
Injecting: share process space with game => poke memory, modify codes, IAT hook, do whatever you want.
Installation
1. Make sure ModLoader2077 has been installed.
2. Merge `mods` directory
– add python3.8.6 as a mod dependency, in `mods\libs`
– add pyterm as mod
3. Run Game, a python console should pop up.
How to install package with pip?
run powershell, go to `mods\libs\Python38\Scripts\`
run like `.\pip.bat install some_package`
Want to release your python script?
Put the python script in `pyterm\autoruns\`.
Check `pyterm\autoruns\example.py` for detail.