Log in

View Full Version : Modding Tropico 3 help needed



madasahat
06-21-2011, 01:04 PM
Here are 2 saves from the first lv with diff money amounts

6771 money lv1 http://www.megaupload.com/?d=9WF4YV5F
8500 miney lv1 http://www.megaupload.com/?d=VPWFWJ4V

I used this After looking further into the save, each mission will have its own .DAT file encrypted in the save file after it is unlocked. You will have to search the "money" string in each DAT file to find the one you wish to edit. It is very important that you spend money on something before saving as the default 10,000 doesn't seem to show correctly in the save and may make you edit the wrong value.

Also I noticed I have provided a bad command in the walk-thru text. In line 13 you are told to enter the following:

packzip.exe -0 0x002b80?? 002b80??.dat 1.sav

It should read:

packzip.exe -o 0x002b80?? 002b80??.dat 1.sav

the -0 should be -o sorry for the confusion.

Here is the complete text of the walk-thru:

How to use offzip.exe and packzip.exe with Tropico 3 saves.

FIRST AND FOREMOST:
MUCH RESPECT TO JizzaBeez FOR THE DARKSIDERS TUTORIAL. WITHOUT IT THIS WOULD NOT BE. MOST OF WHAT IS INCLUDED IS HIS ORIGINAL WORK WITH MY TINKERING TO MAKE IT WORK FOR TROPICO 3.

1. Start Tropico 3 on your XBOX360 and make a new game. I have only tested this method with the first Campaign "Bananas".

2. After reading the initial text for the mission, slow the game speed to pause. Spend money on anything. Note the amount of cash you have remaining. I personally chose to enact the Building Permit Edict. This left me with $9500.

3. Copy offzip.exe and packzip.exe to the root of any drive. I.E. c:\
This will make using the command prompt much easier later.

4. Copy your Tropico 3 saves to the same location. They have very long names so I recommend making note of the correct save name and changing it to 1.sav or something very short again for command prompt usage. I will be using 1.sav for my examples.

5. Open the command prompt by pressing start and typing COMMAND in the run box and pressing ENTER.

6. Navigate to the location you placed offzip and packzip as well as your Tropico 3 saves. For me it was C:\

7. Type the following:
offzip.exe -a 1.sav c:\ 0
Press ENTER

8. Using a Hex Editor, I recommend HxDen, open the DAT file starting with 002b80??. In my experience so far the ?? has been different each time so you may have to open multiple files to find the correct one.

9. Search for the TEXT STRING money. After this you will find hex value for the money you have available. In my case $9500 = 251C

10. Edit this value to anything you like. I chose FF FF FF which gave me $16,777,215 in game.

11. Save the file using your Hex Editor.

12. Now you have to inject the DAT file you just saved into the Tropico 3 save file.

13. Back in the Command Prompt window type the following:
packzip.exe -o 0x002b80?? 002b80??.dat 1.sav
Remember to change the ?? to the correct values for your DAT file.

14. Rename the save file to the original name. I told you to make note of it.

15. Rehash and Resign the save file using whatever method you prefer. I use Modio for this.

16. Replace the save file on your XBOX360 and lauch the game.

TUT to mod my saves (offzip and packzip needed)

But when I rehashed and put back to use the save is always corrupt

Anyone care to help please :)

nnaatteedd
06-23-2011, 11:10 PM
Hey, I would love to help you with your problem (as I have this game too). I want to get into modding and I'm a very fast learner, what is this TUT program you speak of??? Where can I find it???

fairchild
06-23-2011, 11:58 PM
The corruption of the savegame is probably due to some checksum protection within the game.

madasahat
06-24-2011, 12:28 AM
TUT = tutorial! it is in the spoiler

nnaatteedd
06-26-2011, 03:00 AM
TUT = tutorial! it is in the spoiler

Yeah, I totaly realized that a day later and have been smacking myself in the head since, lol.

Insane JIC
06-28-2011, 05:09 AM
Tropico 4 is coming out this year.

IxXFinnyXxI
07-15-2011, 03:56 PM
Any chance of a mod Tool?

cassisnimmuc
09-08-2011, 05:23 AM
I am also looking for a mod tool. Anyone got the file as all the links I've found for it on the net are now broken.

cassisnimmuc
09-09-2011, 12:20 AM
The tutorial is not exactly correct. To get it to work for you need to do the following....

Follow the Tut to part 7, the the bit where you need to unpack the save.

Now the boring lengthy bit. Part 8 of the Tutorial states that the file you are looking for is 002b80??. This was never the case for me on any save. The names of the files that I found containing the HEX value your after varied vastly between 001...., 002..., 0002.., 003..., etc meaning that it could literally be any of the DAT files. So what you need to do is start HxDen and open every .dat file that has been unpacked at the same time. Might take a minute to open as there is typically anywhere between 140 to 300 files. You now to need search through each .dat file that has been unpacked, searching for string text 'money' by hitting CTRL & F and entering 'money' and hit ENTER, if it comes up not not found then push CTRL & TAB, it will bring you to the next .dat file, repeat although money should be saved so you just got to hit return. So, it's CTRL & F, RETURN, CTRL & TAB, etc. Ended up getting really fast at this. Might take 2-3 minutes to find the file.

Once you have located the file and found the Hex value for 'money' locate the Hex value for amount you had when you saved it. This (http://www.mathsisfun.com/binary-decimal-hexadecimal-converter.html) is a good website to check the Hex value. It should be at the 14th set of Hex values, i.e. 00 = 1st, 00 00 00 00 = 4th, etc. So if your value was 9500 that would be 251C Hex value. Get the cursor now before Hex set before the 25 and typing FF FF FF.

It should look something like this ...............

6D 6F 6E 65 79 00 00 00 01 00 00 02 15 00 00 00 03 00 00 25 1C.

becomes

6D 6F 6E 65 79 00 00 00 01 00 00 02 15 00 00 00 03 00 FF FF FF.

Blue = Hex value of word money.
Red = The original amount of money you had.
Green = The new value of money which eqautes to 16777215 (More then enough money for any level).

Note: Ignore the Hex values in-between. They seem to be different in every save.

Now save the file and repack the .sav file and just do as the rest of the Tut says from part 12 .

After you know what your doing, you should be able to unpack, mod, repack, rehash, resign and reinsert back onto your memory device in less then five minutes.
(This mod does not seem to work for the Touristico campaign level although that is quite easy.)

Hope this helps. Any problems understanding let me just let me know. Also, remember to thank because initially this was hours of playing about with gamesaves and getting a frozen loading screen continuously.