PDA

View Full Version : [Tutorial] Tropico 4 Gold Edition - How To Mod Money



agent zero
12-10-2012, 11:20 PM
I thought I might write a tutorial on how to mod Tropico 4. I have posted starter saves here: http://www.360haven.com/forums/showthread=20430-tropico-4-gold-edition-starter-saves.html, but with these saves you can't customize the presidente. So for those who want to use there own avatar here is how you mod the cash:

1st you will need a few programs:

Horizon, Modio or similar to extract & inject

Windows GREP for easier searching

offzip & packzip to unzip

Your favorite Hex editor

I have included a link for all the programs needed:
http://www.mediafire.com/?jq9bsvzj9bal8q2#!

Step 1. Make a fresh save at the start of a campaign this makes it so much easier to find your current balance. Once you have made the save you need to grab it off your storage device (make sure you backup the save). Once you have your save you need to extract the contents in the same location as offzip & packzip. I use an external drive (again it just makes it easier) so all the files & folders are on the root of my drive.

http://i1171.photobucket.com/albums/r550/agent_leman/Step1.jpg

Step 2. You now need to unzip the extracted the contents of your save using offzip. You may want to create a folder called tropico because a whole load is going to be unzipped. Offzip uses a command window (if you double click application you will just be frustrated to death) so open up a command window (in windows it's usually c:/programs/accessories/command prompt) then type the following command f: (because i'm using f drive you may be using any drive letter) Press enter Then offzip.exe -a 71.sav f:/tropico -0
(your save may be a different number depending on the amount of saves you have)

http://i1171.photobucket.com/albums/r550/agent_leman/Mod2-1.jpg

Step 3. You now need to search through the 100 or so .dat files to find where your money is, so go ahead & run a great little free program called GREP. In grep use the search assistant to find the word balance (if you searched for the word money 25 different files would appear) make sure you search all files in a folder by selecting *.*. Then copy the file onto the same folder offzip packzip is on.

http://i1171.photobucket.com/albums/r550/agent_leman/Mod3-1.jpg

Step 4. Open up your favorite Hex editor, I use Hex workshop & search for the text money on the file you found the word balance on. Tropico hides nothing so once you have found the text money the amount will be directly between the texts money & balance current. So for example: The usual starting balance 20000 so using the base converter we found the hex value to be 00 00 4E 20 (Unsigned Long) That is what's going to be on the file. So now go ahead & edit the amount but be sure to edit the last 3 values (00 00 4E 20 will be 00 FF FF FF), you can enter any amount you like just use base converter, I type FF FF FF (which gives you 16777215 I have never used it all). If you are still having problems finding the the amount 20000 in text will be ..N. click on the dot left of the N & a cursor will be shown on the value.

http://i1171.photobucket.com/albums/r550/agent_leman/Hex1.jpg

http://i1171.photobucket.com/albums/r550/agent_leman/Hex2.jpg

Step 5. You now need to open up a command window to run packzip. you will have to type the name of the file you edited
For mine I'll Type the command f: ENTER packzip.exe -o 0x001cc049
001cc049.dat 71.sav ENTER (offzip & packzip are easier to run when the application & file are on the root of drives otherwise you need to type commands of exact locations).

http://i1171.photobucket.com/albums/r550/agent_leman/pack2.jpg

Step 6. You now need to replace/inject the file back into your save. Then rehash & resign & load back into your storage device.

http://i1171.photobucket.com/albums/r550/agent_leman/mod9.jpg

This my first tutorial ever & I hope I have helped. 1 last thing I should mention Tropico saves are completely random for each campaign so you will need to repeat these steps for each mission. But it sure does beat printing money just to stay ahead.

Serious_M
12-20-2012, 08:12 PM
very nice tut you made agent zero

CloudStrife7x
12-20-2012, 08:19 PM
impressive tutorial agent zero :D

thegutta
12-20-2012, 09:56 PM
Awesome tut Agent Zero :)

VIP Assasin
12-20-2012, 10:24 PM
Nice work on the tut, was just wondering does it matter if you have the gold edition or reg. one? haven't had the time to test it out since my friend is using my game.

kikok
12-21-2012, 12:46 AM
nice tut zero agent :)

agent zero
12-21-2012, 04:48 AM
Nice work on the tut, was just wondering does it matter if you have the gold edition or reg. one? haven't had the time to test it out since my friend is using my game.

Thanks Guys, This tut will work on any edition it doesn't have to be Gold edition VIP Assassin, sorry for the late reply it's the silly season.

agent zero
12-21-2012, 05:02 AM
If you have any trouble just PM me.

VIP Assasin
12-25-2012, 11:05 AM
If you have any trouble just PM me.

I tired to but you have your settings stopping PM's

agent zero
01-29-2013, 04:02 PM
I tired to but you have your settings stopping PM's

Guys just remember if you are using an external HDD like I am, you must enter the drive letter first in the command prompt then type the offzip command. This was the the only thing VIP Assassin was doing wrong. There are tuts that help you use offzip & packzip https://www.youtube.com/watch?v=cJCA4kPII-g

elroco
02-02-2013, 08:21 PM
Thx for the great and good explained tut.
Great work :)

But after all the thinks the game says the save is corrupt.
Ive yoused different money values but everytime the same.

agent zero
02-03-2013, 05:48 AM
Try using a different resigner I have all the tools needed in the link & do not change any file/save names leave them as is..........

drizzy
02-03-2013, 11:36 AM
Thanks for this tutorial, i just got this game i tried modding my money but failed miserably :006:

agent zero
02-03-2013, 12:47 PM
Hey Drizzy is it gold edition if so try my starter saves http://www.360haven.com/forums/threads/20430-tropico-4-gold-edition-starter-saves/

elroco
02-03-2013, 02:04 PM
Try using a different resigner I have all the tools needed in the link & do not change any file/save names leave them as is..........

Ok i give it a try whith the Modio hope it helps. Ive yoused Horizon before & dont changed the save names,i do all your steps :)

drizzy
02-03-2013, 07:12 PM
Hey Drizzy is it gold edition if so try my starter saves http://www.360haven.com/forums/threads/20430-tropico-4-gold-edition-starter-saves/

yes it is gold edition,i tried your started saves and at first it did not work but i downloaded the DLC you provided and everything works now THANKS A LOT agent zero you're the best :029:

maddogtime
03-06-2013, 12:43 AM
This is great - thanks man! My wife loves to play Tropico - she's going to love this. Ace!

aritoni
01-31-2014, 06:51 PM
Nice tutorial,but on step 3 using grep,i always find 6 matches in 3 files with the keyword balance.
Do you know what i might be doing wrong?

agent zero
02-01-2014, 01:14 AM
Nice tutorial,but on step 3 using grep,i always find 6 matches in 3 files with the keyword balance.
Do you know what i might be doing wrong?

Thanks, That is unusual to find so many files containing the word balance. If you know the current balance then I would go ahead and find that amount in 1 of the 3 files then modify it.

Wildcat
02-01-2014, 01:48 AM
Finally I can have all the money! lol Thanks man!

VGCircus
02-01-2014, 11:49 PM
much appreciation, great tutorial.

OzQuant
05-20-2014, 09:57 AM
Can some one help me with this? I have the standard Tropico 4, but modding doesn't work for me. I can offzip and find the file and hex edit it. I then pakzip it, but the game will not load any of my modded files. I don't know where it is going wrong.

agent zero
05-20-2014, 11:55 AM
Can some one help me with this? I have the standard Tropico 4, but modding doesn't work for me. I can offzip and find the file and hex edit it. I then pakzip it, but the game will not load any of my modded files. I don't know where it is going wrong.


There could be a number of reasons please upload the save data & I will have a look for you.