Skip to content

k0nnect/TrinityMenu

Repository files navigation

Trinity Mod Menu

A clean CS:GO-style mod menu for MDickie's Infinite Lives.

Trinity Unity

Project Structure

Trinity/
├── TrinityMenu.cs       # Main mod menu with CS:GO-style UI
├── Loader.cs            # Entry point for DLL injection
├── Injector.cs          # Standalone DLL injector
├── TrinityMenu.csproj   # Menu DLL project
├── TrinityInjector.csproj # Injector EXE project
├── Trinity.sln          # Solution file
└── Doorstop/            # Unity Doorstop config (alternative method)

Features

Player Tab

  • God Mode - Take no damage
  • Infinite Stamina - Never get tired
  • Infinite Lives - Unlimited respawns
  • Super Speed - Move faster (adjustable 1x-5x)
  • Super Jump - Jump higher (adjustable 1x-5x)
  • Fly Mode - Hold SPACE to fly
  • Invisibility - NPCs can't see you
  • Max All Stats - Instantly max all character stats
  • Full Heal - Restore health and stamina

Combat Tab

  • One Hit Kill - Kill enemies instantly
  • Super Strength - Deal massive damage (adjustable 1x-10x)
  • Rapid Fire - No weapon cooldown
  • No Recoil - Perfect accuracy
  • No Cooldown - Abilities ready instantly
  • Auto Block - Automatically block attacks
  • Kill All Enemies - Eliminate all hostile NPCs

World Tab

  • Freeze Time - Stop the in-game clock
  • Unlock All Maps - Access all locations
  • Unlock All Characters - Play as anyone
  • No Police - Disable law enforcement
  • Teleport to Home - Instant travel home
  • Clear Wanted Level - Remove all warrants

Misc Tab

  • Infinite Money - Never run out of cash
  • Set Money - Adjustable money slider
  • Add Money - Quick $10K or $100K buttons
  • ESP / Wallhack - Visual toggle
  • Reset All Settings - Return to defaults

Controls

Key Action
INSERT Toggle menu
F1 Toggle menu (alternate)
SPACE Fly up (when Fly Mode enabled)

Installation Methods

Method 1: Unity Doorstop (Recommended)

  1. Download Unity Doorstop
  2. Extract winhttp.dll to the game folder (same folder as Infinite Lives.exe)
  3. Copy Doorstop/doorstop_config.ini to the game folder
  4. Build TrinityMenu.dll and copy it to the game folder
  5. Launch the game normally

Method 2: Manual Injection

  1. Build both projects:
    • TrinityMenu.dll (the mod menu)
    • TrinityInjector.exe (the injector)
  2. Start the game Infinite Lives.exe
  3. Run TrinityInjector.exe
  4. The menu will be injected into the running game

Method 3: BepInEx

  1. Install BepInEx 5.x for Unity Mono
  2. Build TrinityMenu.dll
  3. Create a BepInEx plugin wrapper (see below)
  4. Place in BepInEx/plugins/ folder

Building

Requirements

  • Visual Studio 2022 or later
  • .NET Framework 4.7.2 SDK
  • Game DLLs from Infinite Lives_Data/Managed/:
    • UnityEngine.CoreModule.dll
    • UnityEngine.InputLegacyModule.dll
    • UnityEngine.IMGUIModule.dll
    • Assembly-CSharp.dll

Build Steps

  1. Open Trinity.sln in Visual Studio
  2. Update DLL reference paths in TrinityMenu.csproj if needed
  3. Build in Release mode
  4. Output files:
    • bin/Release/TrinityMenu.dll
    • bin/Release/TrinityInjector.exe

Game Values Reference

Based on decompiled game code:

Player Fields (Player class)

Field Type Description
fnn float Current health
fno float Max health
fnp float Health percentage
fnu float Current stamina/spirit
fnv float Max stamina
fnm int Dead state (0=alive, >0=dead, <0=zombie)
fmo float X position
fmp float Y position
fmq float Z position
fvx float Attack cooldown

Character Fields (Character class)

Field Type Description
stat[1-6] float[] Base stats (speed, strength, agility, etc.)
superStat[1-6] float[] Super form stats
health float Health value
spirit float Spirit/stamina value
visibility float Visibility (0=invisible, 1=visible)
warrant int Wanted level
crime int Crime level
transform int Super form state

Progress Fields (Progress class)

Field Type Description
bank int Money amount
showBank int Displayed money
lives int Number of lives
clockSpeed float Time speed (0=frozen, 30=normal)
charUnlock[] int[] Character unlock states
mapUnlock[] int[] Map unlock states
offences int Crime count
detention int Detention status

Key Static Classes

  • Players - Active player instances (Players.gas[Players.gaq])
  • Characters - Character data (Characters.c[Characters.star])
  • World - World/location data
  • Progress - Game progress and stats

Troubleshooting

Menu doesn't appear

  • Make sure the game is fully loaded (in gameplay, not main menu)
  • Check that injection was successful (console output)
  • Try pressing both INSERT and F1

Injection fails

  • Run injector as Administrator
  • Make sure game is running before injecting
  • Check antivirus isn't blocking the injection

Game crashes

  • Verify DLL references match your game version
  • Check Unity version compatibility

Credits

  • Trinity - Mod menu development
  • MDickie - Original game developer
  • Unity Doorstop - DLL injection framework

Disclaimer

This mod is for educational and personal use only. Use at your own risk.


Press INSERT to open the menu in-game!

About

A clean mod menu for MDickie's Infinite Lives

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages