TPShell (and ACE) bypass for x86-64 Windows games.
Find a file
2026-10-21 05:35:47 -04:00
src Implement debug logging 2026-10-21 05:03:59 -04:00
.gitignore Move tested games to TESTED.MD 2026-10-21 05:34:35 -04:00
build.zig Implement debug logging 2026-10-21 05:03:59 -04:00
build.zig.zon Bump version to 0.3.0 2026-10-21 05:35:47 -04:00
config.zon Implement debug logging 2026-10-21 05:03:59 -04:00
LICENSE.txt Initial implementation 2026-10-01 11:05:56 -04:00
README.md Bump version to 0.3.0 2026-10-21 05:35:47 -04:00
TESTED.md Move tested games to TESTED.MD 2026-10-21 05:34:35 -04:00
tpgate.def Initial implementation 2026-10-01 11:05:56 -04:00

TPGate

TPShell (and ACE) bypass for x86-64 Windows games.

Version License

TPGate uses Zig 0.17.0, which you can download here:

Usage

  1. Configure config.zon if needed
  2. Build with zig build
  3. Back up the game's *Base.dll beside its executable
  4. Copy zig-out/bin/tpgate.dll beside the executable under the Base DLL's exact filename
  5. Launch the game normally

To undo the replacement, remove the copied DLL and restore the backup.

Notes

  • The game must import its Base DLL by ordinal 1. TPGate does not include a launcher or injector.
  • The game's imported *Base.dll is TPShell; TPGate replaces it.
  • TPGate reconstructs the executable's protected code and compressed sections, restores imports from TPShell's recipe, then runs the original entry point.
  • It redirects LoadLibrary*, GetProcAddress, and FreeLibrary imports in loaded DLLs and restores TPShell native fragments there, including in DLLs loaded later.
  • By default, TPGate blocks ACE-Base64.dll when loaded through redirected LoadLibrary* functions.
  • See tested games here.