Modding[SOURCE][C#] Borderlands GOTY Enhanced Trainer (STEAM)
Posted:

Modding[SOURCE][C#] Borderlands GOTY Enhanced Trainer (STEAM)Posted:

NightFyre
  • Fairy Master
Status: Offline
Joined: Aug 29, 201212Year Member
Posts: 193
Reputation Power: 1338
Status: Offline
Joined: Aug 29, 201212Year Member
Posts: 193
Reputation Power: 1338
I just got the whole Borderlands series for about 40$ on steam with all DLC except for the 3rd game.
Haven't really played the series since having a console and thought I would have some extra fun while replaying this beloved classic by making a very simple trainer in C#

I did some searching around myself for a simple / basic trainer and came up short on having one that did a little of everything. So I set out to make my own taking scraps here and there from what I could find.

There's so much more potential for this trainer and I'm sure I'll be updating it while replaying through the game. But I figured I would share something with the community.

Enjoy the trainer , feel free to fork and submit merge requests. If you encounter any bugs or problems just reply to this thread or open an issue on the git repo. I'm currently looking for other offsets for ammo as well as player pointer including coordinates and entity pointers.

Made with Visual Studio 2019 ,
Windows Form App
.Net 4.8

SOURCE: https://github.com/xCENTx/Borderlands-GOTY-Enhanced-Trainer-Source

Required Packages:
- Memory.dll (x86 and x64 , ultimately ended up using x64)
- Memory Sharp (I was trying to use this but ended up using memory.dll)

HOW TO USE

  • Download the source code
  • Unzip contents to folder somewhere
  • Open "Borderlands GOTY Enhanced Trainer.sln"
  • Change the code to your liking or build it as is. (You will need to restore packages via nuget)
  • Start Borderlands and load into the game
  • Run "Borderlands GOTY Enhanced Trainer.exe"


FEATURES:

  • No Recoil Mod
  • Adjust Level
  • Adjust Money
  • Adjust Golden Keys
  • Adjust Skill Points
  • XP Multiplier
  • Infinite Health and Shields Toggle
  • Infinite Everything Toggle ... (Besides Vehicle Boost and skill time)


HOTKEYS:

  • NUMPAD 0 => Refill Health , Shields & Ammo
  • NUMPAD 1 => NO RECOIL (Toggle ON/OFF)


v1.0.3 (6.10.21)

  • No Recoil Toggle
  • Adjust XP Multiplier
  • Adjust Skill Points
  • Bug Fixes


v1.0.2 (6.9.21)

  • Infinite Everything button now includes ammo
  • Included No Recoil Hotkeys for ON and OFF (NUMPAD 1 & 2)
  • Heavily commented throughout the code to help users navigate


v1.0.1 (6.8.21)

  • Added more offsets, Make sure to check out the Offsets Class!
  • Ammo for most weapon types now refill when pressing NUMPAD 0 (Health and Shields still refill as well)
  • Unlimited Health toggle now includes Unlimited Shields and Ammo for most weapon types
  • Made preparations for a No Clip toggle along with some other neat features that can be accessed for users who just want to compile and get right to the fun





OFFSETS




//Player Position
Camera Pitch = "0x02555AA8,0xC4,0x630,0x10,0x9C";                                               //Int
Camera Yaw = "0x02555AA8,0xC4,0x630,0x10,0xA0";                                                 //Int
Player X = "0x025C1DA0,0x18,0x40,0x90";                                                                   //Float
Player Y = "0x025C1DA0,0x18,0x40,0x94";                                                                   //Float
Player Z = "0x025C1DA0,0x18,0x40,0x98";                                                                   //Float

//Player Info
Money = "0x025C1D90,0x68,0x550,0x1F8,0x350";                                               //Int
GoldenKeyTotal = "0x025C1D90,0x68,0x550,0x1B8,0x1070,0x64,0x300";         //Int
GoldenKeyUsed = "0x025C1D90,0x68,0x550,0x1B8,0x1070,0x64,0x31C";          //Int
SkillPoints = "0x025C1D90,0x68,0x550,0x1F8,0x348";                                        //Int
SkillCooldown = "0x025C1D90,0x68,0x550,0x1F8,0x36C,0x270,0x98";                        //Float
Level = "0x025C1D90,0x68,0x550,0x1F8,0x32C";                                                      //Int
Experience = "0x025C1D90,0x68,0x550,0x1F8,0x358,0x268,0x98";                      //Float
Health = "0x025C1D90,0x68,0x550,0x1F8,0x364,0x98";                                        //Float
MaxHealth = "0x025C1D90,0x68,0x550,0x1F8,0x364,0x80";                                     //Float
Shield = "0x025C1D90,0x68,0x550,0x390,0x290,0x98";                                        //Float
MaxShield = "0x025C1D90,0x68,0x550,0x390,0x290,0x80";                                     //Float
Skill Cooldown Timer Max = "0x025C1D90,0x68,0x550,0x1F8,0x36C,0x270,0x80";    //Float
XP Multiplier = "0x025C1D90,0x68,0x550,0x1F8,0x358,0x268,0x194";          //Float
Max XP = "0x025C1D90,0x68,0x550,0x1F8,0x358,0x268,0x80";               //Float

//Ammo
RevolverAmmo = "0x02542680,98"                                                        //Float
RevolverAmmoMax = "0x02542680,80"                                                             //Float
SMGAmmo = "0x02542678,98"                                                           //Float
SMGAmmoMax = "0x02542678,80"                                                        //Float
CarbineAmmo = "0x02542690,0x98";                                                             //Float
CarbineAmmoMax = "0x02542690,0x80"                                                     //Float
ShotgunShells = "0x02542670,98"                                                                //Float
ShotgunShellsMax = "0x02542670,80"                                                             //Float
SniperRifleAmmo = "0x02542668,98"                                                             //Float
SniperRifleAmmoMax = "0x02542668,80"                                      //Float
Grenades = "0x025C1D90,0x50,0x280,0x98";                                   //Float
Grenades Max = "0x025C1D90,0x50,0x280,0x80";                                //Float
Repeater Pistol Ammo = "0x025C1D90,0x50,0x2A0,0x98";                                  //Float
Repeater Pistol Max = "0x025C1D90,0x50,0x2A0,0x80";                             //Float

var RecoilAddress = m.ReadBytes("BorderlandsGOTY.exe+1412B05", 9); //45 0F 57 E4 90 90 90 90 90





Last edited by NightFyre ; edited 3 times in total

The following 1 user thanked NightFyre for this useful post:

Wraith (06-09-2021)
#2. Posted:
Wraith
  • Rated Awesome
Status: Offline
Joined: Sep 29, 20177Year Member
Posts: 5,113
Reputation Power: 66007
Motto: https://wraith.to
Motto: https://wraith.to
Status: Offline
Joined: Sep 29, 20177Year Member
Posts: 5,113
Reputation Power: 66007
Motto: https://wraith.to
I remember when you were playing around with the older game and managed to make a trainer for that. You have made some great progress so far and its really interesting to see so be sure to keep posting it!
#3. Posted:
NightFyre
  • Challenger
Status: Offline
Joined: Aug 29, 201212Year Member
Posts: 193
Reputation Power: 1338
Status: Offline
Joined: Aug 29, 201212Year Member
Posts: 193
Reputation Power: 1338
Wraith wrote I remember when you were playing around with the older game and managed to make a trainer for that. You have made some great progress so far and its really interesting to see so be sure to keep posting it!


Appreciate the kind words , I'm very passionate about this stuff.
Modding has always caught my interest. So its pretty cool that I have the resources to make my own codes and trainers now.


TRAINER UPDATE

v1.0.2 (6.10.21)
- Infinite Everything button now includes ammo
- Included No Recoil Hotkeys for ON and OFF (NUMPAD 1 & 2)
- Heavily commented throughout the code to help users navigate
#4. Posted:
NightFyre
  • Blind Luck
Status: Offline
Joined: Aug 29, 201212Year Member
Posts: 193
Reputation Power: 1338
Status: Offline
Joined: Aug 29, 201212Year Member
Posts: 193
Reputation Power: 1338
Don't mean to bump but I've added a bunch more features to this trainer of mine and also moved onto another application that ties the whole series together ... although have not provided a release for the new project quite yet as I'm still working out some minor bugs.

Regarding the new trainer I'm working on ... I'm still currently working on BL1 GOTY Edition soley because I have not beaten it yet and I do not wish to move onto another game until I ahve beaten this current one. I'm doing a playthrough you see ? lol . So If you would like to see this done quicker and you have the resources , send me any offsets you might have to either my discord , PM me here or fork the repository and add to the offsets txt document

LINK TO NEW TRAINER

Here's a preview image of things to come.. As I've said ... I would like to support every borderlands title and be able to provide unique options for each title




I figured I would bring some of the new options I have since figured out how to implement in my new trainers , back to this Borderlands Source.

Some new features
- Toggle Hotkeys (ON / OFF)
- Many more offsets added (can be found in original post)

LINKS
GitHub Repository Main Page
GitHub Release Page

HOTKEYS

  • NUMPAD 0: REFILL Health, Shields & Ammo
  • NUMPAD 1: NO RECOIL
  • NUMPAD 2: INFINITE Health, Shields & Skill Time
  • NUMPAD 3: INFINITE Ammo
  • NUMPAD 4: INFINITE Money
  • NUMPAD 5: INFINITE Golden Keys

Users browsing this topic: None
Jump to:


RECENT POSTS

HOT TOPICS