[TuT] Modding Duke Nukem Forever!

Alright guys, im gonna show you how to mod the Duke Nukem Forever savegame! This will be a very easy step-by-step tutorial. I hope you enjoy!

  1. We are going to first open our device and locate the save.

  2. Now that we have located the save, extract it to your desktop.

  3. Drag the SaveGames.dat into Horizon, and click the “Contents” tab.

  4. You are going to find two files. They are, last.dcp and progress. Extract those to your desktop.

  5. Now we are going to open a notepad, and drag last.dcp into it.

  6. Now look for:

Class=dnGame.Pistol_Gold Name=Pistol_Gold___1
{
Ammo=PistolAmmo___1
AmmoLoaded=8
bActive=True
Charge=69.000000

and

Class=dnGame.PistolAmmo Name=PistolAmmo___1
{
Charge=64.000000

and

Class=dnGame.ShotgunAmmo Name=ShotgunAmmo___0
{
Charge=15.000000

and

Class=dnGame.Shotgun Name=Shotgun___1
{
Ammo=ShotgunAmmo___0
AmmoLoaded=7
bActive=False
Charge=69.000000
  1. As you can see the pistol and shotgun have two class strings. So what we are going to do is,change the “charge” of the shotgun to where it matches 2147483647 on both of it’s strings. The same goes for the pistol. The “charge” is your ammo. So if you have changed it, it should look like this:
Class=dnGame.Pistol_Gold Name=Pistol_Gold___1
{
Ammo=PistolAmmo___1
AmmoLoaded=8
bActive=True
Charge=2147483647.000000

and

Class=dnGame.PistolAmmo Name=PistolAmmo___1
{
Charge=2147483647.000000

and

Class=dnGame.ShotgunAmmo Name=ShotgunAmmo___0
{
Charge=2147483647.000000

and

Class=dnGame.Shotgun Name=Shotgun___1
{
Ammo=ShotgunAmmo___0
AmmoLoaded=7
bActive=False
Charge=2147483647.000000

If you mod the charge(ammo), remember to not pick up a resupply, because it’ll reset your ammo.

  1. Now save that file and replace the one in Horizon with the one you just modded.

  2. Now we are going to mod the progress file, you will open a notepad and drag it in.

  3. Now when you first open it, you will see [EgoAwards]. Those are the awards that you have completed, such as pissing in the yernal or making a basketball shot. It’ll look like this on your file:

[EgoAwards]
EGOAWARD_DefeatLeech=1
EGOAWARD_DefeatOctaking=1
EGOAWARD_DefeatBattlelord2=1
EGOAWARD_TipStripper=1
EGOAWARD_DukePorno=1
EGOAWARD_AlienAbortion=1
EGOAWARD_DefeatAlienQueen=1
EGOAWARD_DefeatBattlelord1=1
EGOAWARD_BookSigning=1
EGOAWARD_ComputerPorn=1
EGOAWARD_BasketBall=1
EGOAWARD_PoolWin=1
EGOAWARD_Microwave=0
EGOAWARD_Mirror=1
EGOAWARD_WallBoobs=1
EGOAWARD_SpeedBag=0
EGOAWARD_PunchingBag=1
EGOAWARD_SmokeCigar=1
EGOAWARD_PornMagazineC=1
EGOAWARD_PornMagazineB=1
EGOAWARD_PornMagazineA=0
EGOAWARD_Frisbee=1
EGOAWARD_PaperAirPlane=0
EGOAWARD_Calendar=1
EGOAWARD_HandWeight=1
EGOAWARD_PinballHighScore=1
EGOAWARD_GloryHole=0
EGOAWARD_CopyMachine=1
EGOAWARD_PayBinoculars=1
EGOAWARD_AirHockeyWin=0
EGOAWARD_WorkoutBenchMaxLift=1
EGOAWARD_WorkoutBench=1
EGOAWARD_SlotsWin=1
EGOAWARD_PokerWin=0
EGOAWARD_Toilet=1

You will notice a lot of zeros, we want to change them all to 1. So it should look like this after you’ve done that:

[EgoAwards]
EGOAWARD_DefeatLeech=1
EGOAWARD_DefeatOctaking=1
EGOAWARD_DefeatBattlelord2=1
EGOAWARD_TipStripper=1
EGOAWARD_DukePorno=1
EGOAWARD_AlienAbortion=1
EGOAWARD_DefeatAlienQueen=1
EGOAWARD_DefeatBattlelord1=1
EGOAWARD_BookSigning=1
EGOAWARD_ComputerPorn=1
EGOAWARD_BasketBall=1
EGOAWARD_PoolWin=1
EGOAWARD_Microwave=1
EGOAWARD_Mirror=1
EGOAWARD_WallBoobs=1
EGOAWARD_SpeedBag=1
EGOAWARD_PunchingBag=1
EGOAWARD_SmokeCigar=1
EGOAWARD_PornMagazineC=1
EGOAWARD_PornMagazineB=1
EGOAWARD_PornMagazineA=1
EGOAWARD_Frisbee=1
EGOAWARD_PaperAirPlane=1
EGOAWARD_Calendar=1
EGOAWARD_HandWeight=1
EGOAWARD_PinballHighScore=1
EGOAWARD_GloryHole=1
EGOAWARD_CopyMachine=1
EGOAWARD_PayBinoculars=1
EGOAWARD_AirHockeyWin=1
EGOAWARD_WorkoutBenchMaxLift=1
EGOAWARD_WorkoutBench=1
EGOAWARD_SlotsWin=1
EGOAWARD_PokerWin=1
EGOAWARD_Toilet=1

Ego is basically your health, so making all these one, you will make the ego bar bigger!

  1. Now scroll down a little bit and you’ll find:
[Achievements]
NumKills=94
ACH_PhysicsImpactKills=1
ACH_Executions=21
ACH_SteroidKills=12
ACH_HeadShotKills=13
ACH_ExplosiveKills=9
ACH_GunskipKill=9
ACH_AlienFighterKills=10

Now these are the kills you have gotten, and how many of each. These are all achievements for doing a specific amount of each.Here is the achievements matching the kill amounts that we are going to mod:




  1. Once done modifying, save it and replace the progress file in your save with this modded one!

  2. Now just re-inject your save back into your device and have fun!

UNLIMITED HEALTH

  1. Open last.dcp in a notepad, and find this: (your health value will be different than mine)
Class=dnGame.DukePlayer Name=DukePlayer___0
{
TeleportTravel=False
TravelVehicleTag=None
TravelVehicleVelocity=(X=0.000000,Y=0.000000,Z=0.000000)
TravelViewRotation=(Pitch=62889,Yaw=16926,Roll=0)
BladderLevel=5
SteroidsDuration=21.000000
SteroidsStartTime=1336.864624
DrunkStartTime=717.351746
DrunkEndTime=739.351746
DrunkLevel=0.000000
bHasCheatedThisLevel=False
SavedGameTimeSeconds=718.661316
CheckpointTravelActors=()
bOnSteroids=False
Weapon=Pistol_Gold___3
SelectedItem=None
PreviousWeapon=MachineGun___0
PreviousWeaponForQuickSwitch=MachineGun___0
Health=45.000000
HealthCap=45.000000
HealthMin=0.000000
bHidden=False
bWillTravel=False
Owner=None
TravelLocation=(X=2.292969,Y=2.336426,Z=83.091187)
TravelRotation=(Pitch=0,Yaw=16926,Roll=0)
}

Change it to this:

Class=dnGame.DukePlayer Name=DukePlayer___0
{
TeleportTravel=False
TravelVehicleTag=None
TravelVehicleVelocity=(X=0.000000,Y=0.000000,Z=0.000000)
TravelViewRotation=(Pitch=62889,Yaw=16926,Roll=0)
BladderLevel=5
SteroidsDuration=21.000000
SteroidsStartTime=1336.864624
DrunkStartTime=717.351746
DrunkEndTime=739.351746
DrunkLevel=0.000000
bHasCheatedThisLevel=False
SavedGameTimeSeconds=718.661316
CheckpointTravelActors=()
bOnSteroids=False
Weapon=Pistol_Gold___3
SelectedItem=None
PreviousWeapon=MachineGun___0
PreviousWeaponForQuickSwitch=MachineGun___0
Health=2147483647.000000
HealthCap=2147483647.000000
HealthMin=0.000000
bHidden=False
bWillTravel=False
Owner=None
TravelLocation=(X=2.292969,Y=2.336426,Z=83.091187)
TravelRotation=(Pitch=0,Yaw=16926,Roll=0)
}

Now go kick some ass and chew some bubblegum!

Now go kick some ass and chew some bubblegum!

I seem to be all out of gum.

Cool tutorial :wink:

Very sexy tutorial, I’m going to try this when the game is released and I have bought it. :smile:

Yea im all out too

Damn I was going to take a shot at doing this. >.< Good job!

You can add upp to 2147483647 charge, and im working on ego (health) modding right now.

Caugh Caugh Thanks to Resigner for telling you about that.

Updated with unlimited health!!

I keep getting this error

EDIT: Fixed!

Thanks!

Sweet use of Horizon in your tutorial. =]

Very nice tutorial thank you.

Now im working on movement speed and possibly jump height.

awesome tutorial and find

Is this game out?

No, it was leaked early.

i can see a mod tool for this coming on

Great tut

Nice tut keep it up. :thumbsup:

12 years too make but 12 seconds to mod

Yep, 2k Games never has security on their stuff.