Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

WillySunny

[Save-Edit] Tutorial: Cash / Item / Stats / Difficulty Edit

Recommended Posts

WillySunny    10

Before going into deeper, I'd strongly recommend that you have first read http://forums.kleientertainment.com/topic/41022-save-edit-tutorial-how-to-changerestart-your-mission/ before reading this thread.

 

Go on, I'll give you 15 minutes, read it.

 

*Wastes 15 minutes of time*

 

Oh, you are back, alright, let's do it then.

 

PS: I assume you know all the pointer address [0x00000000] changes base on your own game saves

 

1. Let's start with the easy ones

 

Search the following lines to modify them.

 

Script line: table [ "cash" ] = <Money value>

Description: This is your cash, duh.

 

Script line: table [ "cpus" ] = <It's over 9000!>

Description: This is your power, max 20, changing above the value will have no change.

 

Script line: table [ "seed" ] = <Plant it>

Description: This is the seed of the level, change the value to something else will cause the map to spawn differently (and most likely will result in an error and forcing you to restart)

 

Script line: table [ "dayPassed" ] = <true/false>

Description: This will cause the game to have the "Days X" animtation at the beginning when loading the global map

 

Script line: table [ "hours" ] = <Hour value>

Description: This will cause the game to start at X hour (in other words, you can have hour set to 71, and play any mission, and will cause the next mission to become final mission in story mode)

 

Script line: table [ "gameDifficulty" ] = <1 or 2>

Description: 1 for easy, 2 for normal

 

2. Time for roller coaster rides - Item edit

 

Alright, those are easy modifications, how about something more complex?

 

Honestly, I can only tell you HOW to change it, but I highly don't recommend you to do something real big (such as inserting a new item to the inventory), because it is going to be A HECK A LOT OF WORK, unless with tools.

 

First of all, keep in minds that all the objects [0x00000000] are in sequences, and they are in hexadecimals, so if you were to INSERT something, then you'd need to either shift everything down from your current position, or add it to the end of the whole sequence.

 

Another thing that you need to keep in mind is that all these tables are NESTED, so one linking to another is something you always need to bare in mind, because the following part is going to be hectic.

 

With that being said, let's continue

 

Script line: table [ "unitDefs" ] = <unitDefs Table Address>

Description: This will point to the units

 

Script line: table = objects [<unitDefs Table Address>]

Description: This will tell the game how many agents you currently have, and each of them is pointing to the <unit info table address>

 

Script line: table = objects [<unit info Table Address>]

Description: This lists the abilities, xp, name, upgrdades, and stuff about the agent

 

Script line: table = objects[<upgrades Table Address>]

Description: This lists the items that the agent currently has

 

Now, if you can follow me this far, that means you should be able to guess what each of the item table addresses are referring to, but to make sure everyone is on the same pace, let's keep going.

 

- If the item is an item

 

Code:

table = object [0x00000000]

table [ "upgradeName" ] = [==[<insert item name here>]==]

 

-- Requires just one table, and nothing else

 

- If the item is a gun

 

Code:

table = objects [ 0x00000000 ]
table [ "upgradeParams" ] = objects [ 0x00000001 ]
table [ "upgradeName" ] = [==[<insert gun name here>]==]
 
table = objects [ 0x00000001 ]
table [ "traits" ] = objects [ 0x00000002 ]
 
table = objects [ 0x00000002 ]
table [ "ammo" ] = <ammo count>
 

-- Has a nested table, and ammo over gun's capacity will only result at the max ammo the gun has.

 

- If the item is an argument

 

Code:

table = objects [ 0x00000000 ]
table [ "upgradeParams" ] = objects [ 0x00000001 ]
table [ "upgradeName" ] = [==[<insert argument name here>]==]
 
table = objects [ 0x00000001 ]
table [ "traits" ] = objects [ 0x00000002 ]
 
table = objects [ 0x00000002 ]
table [ "installed" ] = true
 

-- Has a nested table, and installed must be true to have effect

 

3. Time for a break - Incognita upgrades

 

Now, after getting bombard with the item edit information, here comes the easier part - Incognita upgrades. To find it, simply look for table [ "abilities" ], however, you might hit results from abilities from your agents, thus, to find the right node, please follow the below instructions

 

To find the right node that will point you to the incognita upgrade, you will need to find in the following:

1. Find table [ "agency" ], note the table pointer

2. Find table [ "abilities" ] under the above noted table pointer

3. Go to the above result table pointer, and you should find the incognita upgrades there

 

Code:

table = objects [ 0x00000000 ]
table [ 1 ] = [==[<incognita skill here>]==]
table [ 2 ] = [==[<incognita skill here>]==]
table [ 3 ] = [==[<incognita skill here>]==]
table [ 4 ] = [==[<incognita skill here>]==]
 
--------------------
 
And that's about it, have fun cheating :razz:

 

Share this post


Link to post
Share on other sites
WillySunny    10

How DARE you cheat!

 

Because cheating is human's natural behavior :p

 

We are too lazy to do everything so we spend hard working hours to invent stuff to make our lives much easier XD

 

(Ohh, the oxymoron XD)

Share this post


Link to post
Share on other sites
the truthseeker    1561

Because cheating is human's natural behavior :razz:

 

We are too lazy to do everything so we spend hard working hours to invent stuff to make our lives much easier XD

 

(Ohh, the oxymoron XD)

BTW, you missed something:

 

(good job!)

Share this post


Link to post
Share on other sites
WillySunny    10

Hey, this is invisible inc, and you are an operator who has the knowledgeable on hacking security cameras and databases, I'm sure cracking this little save file isn't too much of trouble for you :-)

Share this post


Link to post
Share on other sites
Palpetinus    839

Hey, this is invisible inc, and you are an operator who has the knowledgeable on hacking security cameras and databases, I'm sure cracking this little save file isn't too much of trouble for you :-)

 

No, indeed not, anyone with basic understanding of software could crack all that, it's rather simple.

Thing is that I have better things to do :p

Then again, I never really tried. Might be fun.

Share this post


Link to post
Share on other sites
WillySunny    10

No, indeed not, anyone with basic understanding of software could crack all that, it's rather simple.

Thing is that I have better things to do :razz:

Then again, I never really tried. Might be fun.

 

You should try it, it is fun xD

Share this post


Link to post
Share on other sites

Thanks for the edit suggestions.  It's like a whole new layer of fun in the game.  Ive been keeping lists of names, but haven't found all the items.  Does anyone have a more complete list?

 

item_adrenaline

item_clip

item_stim_3

item_shocktrap_3

item_paralyzer_3

item_tazer_3

item_laptop_3

item_icebreaker_3

item_emp_pack_3

item_cloakingrig_3

item_bio_dartgun

item_energy_pistol

item_power_tazer_3

vault_passcard

item_shocktrap_tony

item_paralyzer_banks

item_cloakingrig_deckard

item_tazer_shalem

item_light_rifle_shalem

 

augment_anatomy_analysis

augment_holocircuit_overloaders

augment_piercing_scanner

augment_nika

augment_tony

augment_international

augment_banks

augment_shalem

augment_deckard

 

remoteprocessor

fusion

parasite

hunter

leash

lockpick_1

Share this post


Link to post
Share on other sites