Shop  •   Avatar  •   FAQ  •   Search  •   Memberlist  •   Usergroups  •   Profile  •   Log in to check private messages  •   Log in  •  Register 

East Indies Mod (and contest)
Post new topic   Reply to topic     Forum Index -> Customization & Modding Goto page Previous  1, 2, 3, ... 11, 12, 13  Next
View previous topic :: View next topic  
Author Message
dogcigar
Swabbie
Posts: 82



542 Gold -

PostPosted: Thu Mar 14, 2013 5:29 pm    Post subject: Reply with quote

I got it to work. Instead of patching the app file I changed the path directly to the unix executable when you right click on the app. It read but found a few things more than once so I deleted them from the patch got the major 1408 byte one plus a few others. 60, 30,30, and 40. If anyone has any trouble you could solve it in this way. Just started 2 new games at 1600 and 1680 and saw the change from Portugese to Dutch dominance on the map. Can`t remember the exact size but I`ll repatch a file sometime to see how many bytes it has.

Ahh... in all this I somehow lost my save games, somehow.

You know in my unpatched game it played really well although historically inaccurate because I was chasing the Baron from India to the Philippines. Haven`t played this one yet but if you tweak it you might wan`t to leave just a few Spanish cities spread around for gameplay, so the Baron will travel across the East Indies. Maybe there could be some historical example that the truth could be stretched from.

The Portugese and the Spanish kind of kept out of each others hair though didn`t they? Didn`t the pope draw some lines divvying up the world to keep them apart?
Back to top
View user's profile Send private message
Roland
Helmsman
Posts: 4190



23929 Gold -

PostPosted: Thu Mar 14, 2013 6:31 pm    Post subject: Reply with quote

dogcigar wrote:
The Portugese and the Spanish kind of kept out of each others hair though didn`t they? Didn`t the pope draw some lines divvying up the world to keep them apart?

The relevant treaty for this part of the world was the 1529 Treaty of Zaragoza, which extended the 1494 Treaty of Tordesillas, which in turn superseded papal bulls of 1481 and 1493 that granted certain regions to Portugal and Spain, respectively.

My impression is that such treaties between colonial powers typically resolved an immediate conflict, but over time the boundaries they imposed came to be disregarded when one power thought it could get away with expanding beyond its allotted territory. Brazil eventually extended much further west than the treaties permitted, and the Phillipines were eventually colonized by Spain even though they were clearly on the Portugese side of the line.
Back to top
View user's profile Send private message Send e-mail
jlangsdo
Cutthroat
Posts: 398



11012 Gold -

PostPosted: Thu Mar 14, 2013 11:00 pm    Post subject: Reply with quote

dogcigar - Congrats on getting it to work!

The -multi switch will let it change blocks that it finds more than once, so you can get all of the patch working.

When I played it through, I found it kind of convenient that those Evil Spaniards mainly sailed up and down the west coast of the Philippines... wouldn't want to look a gift horse in the mouth, you know? I found no historical evidence of Spaniards further West, but you could always correct that yourself. Go install a new governor in Surat!

Keep your eyes out for the Treasure Fleet. I never saw them, I'm worried that that part of the game is dead.

The Philippines were ruled from Mexico (that's why the Treasure fleet is set up to sail from Acapulco). So the Spaniards had less motivation to establish bases further West; they were heading East to go home.
Back to top
View user's profile Send private message
parksbanyon
Gunner
Posts: 564



13127 Gold -

PostPosted: Thu Mar 21, 2013 4:07 pm    Post subject: Reply with quote

my understanding the SMP patch was made for mac systems? I'm on a Dell 9400 Pc. Have a 2007white macbook with mountain lion and win 7.

I was wanting to ask up on this as I saw the other posts concerning the SMP patch and stuff about bridgers work. thats what Im after. TRUE mods
Back to top
View user's profile Send private message
jlangsdo
Cutthroat
Posts: 398



11012 Gold -

PostPosted: Fri Mar 22, 2013 10:30 am    Post subject: Reply with quote

Yes, smp_patch.pl was written on a mac (Tiger), but it is designed to work on PC as well. You have to download perl if you don't already have it on your machine.

Even though our executables are different, the idea is that the string of bytes that define how much cargo the different types of ships can hold (or which cities start in which nationality at which timeperiod, etc.,) would be stored the same way in any version. The script copies aside your executable, and then makes a new version with just those bits swapped.
Back to top
View user's profile Send private message
Anne Bonny
Powder Monkey
Posts: 3


39 Gold -

PostPosted: Wed Mar 27, 2013 4:21 pm    Post subject: Reply with quote

Hey!

I just downloaded your mod and now I'm very excited about trying it.

Hope I get this to work! Smile

--> Update:

The mod works, but can someone explain to me how to get this patch working. I tried with tortoise but everything I get is. ... "is not a working copy".
Where do I have to apply this patch?

Sorry, I'm really not a pro... Confused
Back to top
View user's profile Send private message
jlangsdo
Cutthroat
Posts: 398



11012 Gold -

PostPosted: Thu Mar 28, 2013 11:42 pm    Post subject: Reply with quote

dogcigar, can you tell us what you needed to do to get it working for you?
Back to top
View user's profile Send private message
dogcigar
Swabbie
Posts: 82



542 Gold -

PostPosted: Tue Apr 02, 2013 10:34 pm    Post subject: Alternative smp address Reply with quote

sure. I`ve just been on holiday and my computer is really on the blink now, Almost unuseable.

I have mac snow leopard. I have so many versions of the executable now it`s hard to say what the original one is. Do not use the downloadable disc image for the patch. It won`t work at all. I`m never going to use Mac APstore again. there are so many restrictions on programs.

Anyway you must have the actual discs I think or a NOCD executable which we shouldn`t talk about on this forum. I originally got the patch to work on one version just like jlangsdo said but I encountered problems. So on another version I tried, but it couldn`t find the bytes so I did this.

Using the script in terminal I substituted the smp executable for another address. If you are new to terminal like me you can just drag files in to load addresses. This substitute address was found when I right clicked on the SMP executable and did "show package contents". then "contents" then "mac OS". In here is a unix executable file "sid meiers pirates!". It is inside the real executable. This is the substitute address. For convenience I copied this file to another location to alter it then moved the altered file back to the original location inside the app file.

The script found a few things more than once so through trial and error I removed them from the patch file. The script will only write if it finds everything once but as jlangsdo says there are other options.

So from memory the terminal command was

(address of smp_patch.pl script) -smp (executable or sub address) -patch (address of original patch or your own altered one)

On windows I have no idea. If you are getting it to the stage where it finds scripts more than once you are definately on the right track. If it reads properly but won`t write anything try my alternative way on the mac.

If you really want to make some good mods I suggest you spend time getting the perl script to work. The script is really simple once you get it to work and the modding applications are nearly endless so hopefully I can put a few of my own mods up as a patch, but with this dodgey computer I think it might be a couple of months before I get a new one and can get down to it. Any requests?

The real test will be when a windows user gets the patches to work
Back to top
View user's profile Send private message
Anne Bonny
Powder Monkey
Posts: 3


39 Gold -

PostPosted: Fri Apr 05, 2013 6:30 pm    Post subject: Reply with quote

So, I will have to be the real test - I'm on win 7, 64bit. Sailor

Sounds really "piratey" - I like it! Smile

So let's hope, that the weather stays as stinky as it is at the moment. This will keep me inside and working on that issue.

If I succeed you'll be the first to know!
Back to top
View user's profile Send private message
calibur
Powder Monkey
Posts: 2


40 Gold -

PostPosted: Sun May 12, 2013 3:11 am    Post subject: Reply with quote

So, the mod is working and looks great
However, the french are still showing up as french...
Also, the Spanish seem to dominate the map, which seems odd since they only had small east Indian possessions.
Are these intentional?
Back to top
View user's profile Send private message
jlangsdo
Cutthroat
Posts: 398



11012 Gold -

PostPosted: Sun Jun 02, 2013 11:59 am    Post subject: Reply with quote

calibur -

This is a two-part mod. The conventional mod part consists of the files that change the map and flags; it sounds like you have that working. The second part is the patch - altering the executable with smp_patch.pl - that's what changes the text from French to Portuguese and changes which country starts with each city.
Back to top
View user's profile Send private message
jlangsdo
Cutthroat
Posts: 398



11012 Gold -

PostPosted: Sat Jun 08, 2013 12:04 pm    Post subject: Reply with quote

I found a minor error in East_Indies.patch - one of the lines was substituting French with both Portuguese and French - which in turn was changing the length of the executable, shifting everything down a few bytes. This might have been the cause of the occasional crashes.

I've just posted a new version of the zip file (I changed the link above).
Back to top
View user's profile Send private message
Capt Peter Blackthorne
Cutthroat
Posts: 312



1784 Gold -

PostPosted: Sat Jun 22, 2013 5:33 pm    Post subject: Reply with quote

I can't wait to try this out. Can someone provide step-by-step instructions, including how to save/backup the original files?

Also, how does it run on 64 bit systems? I'm on Windows 8 now. I was pleasantly surprised to see that my downloaded version of SMP, which I got through GameStop, works perfectly on my new OS.
Back to top
View user's profile Send private message
jlangsdo
Cutthroat
Posts: 398



11012 Gold -

PostPosted: Sun Jun 23, 2013 11:42 am    Post subject: Reply with quote

Hello Capt Peter Blackthorne -

I can only give you hand-wavy step by step directions, because I have a mac, so the file names are different, but perhaps someone else will chime in with more details.

This should work on a Windows 8 machine, and if it doesn't, we can work together and make it work (either publicly in this thread, or through messages)

You didn't specify in your post whether you have ever installed any mods before, or just you haven't tried the executable patch method, so I'm going to just explain everything as best I can.

1. Find key file locations computer.

There are two locations you need to find. The first is the "Assets" folder, needed for doing mods. The second is the path to the executable file itself.

On my mac, these paths are:
/Applications/Sid Meier's Pirates!/PiratesData/Asset
/Applications/Sid Meier's Pirates!/app/Contents/MacOS/Sid Meier's Pirates!

but the paths will be different for your machine.

2. Find out how to get a command prompt

For a windows machine, this would be a DOS prompt.
On a mac, it's called Terminal

3. Install perl

http://stackoverflow.com/questions/14185560/how-can-i-install-perl-on-windows-8

At your command prompt, you need to be able to run perl from any directory. This may require doing something to your path. The best way to test this is with "perl -v" which prints out some simple versioning information.

4. Download the zip file

5. Unzip the zip file

6. Move the contents of the zip file into the Assets folder.

You may need to put them in a custom subfolder. On my computer, it seems that any file in the Assets folder or in any subfolder of it will work, so I don't bother with a folder named "custom" or "Custom"

7. Test that the mod is working

Open up SMP and start a new game. The map should be completely different, putting you in the East Indies, and the French flags are now Portuguese white. Quit SMP.

8. Copy East_Indies.patch and smp_patch.pl to the directory that contains the executable.

9. Get ready to patch the executable

In your command prompt, change directories to the directory that contains the executable. Test that smp_patch.pl is alive by running
perl smp_patch.pl -h which should print a short help message.

10. Patch the executable

In the command prompt a set up above:
perl smp_patch.pl -patch East_Indies.patch -clear -multi -smp <executable file name>

This will copy the executable file to a .orig version, then search through it to make sure it has the bytes that need to be patched, then write out a version with the bit swapped. Because the bytes to be patched are data, they are the same in different versions of SMP.

11. Test SMP

Open up SMP and start a new game. Text that refers to France or French ships will now say Portuguese, and the cities on the map when you start will be primarily Dutch or Portuguese depending on the time period.

12. Play through to 126 points to claim the reward (still unclaimed as of this post)

13. To restore:

To remove the mods, delete or move them out of the Assets folder.

To restore the executable, you can copy the .orig version of the executable back over the active version. Or you can run perl smp_patch.pl -clear which will do the same thing. Or you can uninstall and reinstall.
Back to top
View user's profile Send private message
Guardacostas
Rigger
Posts: 1221



10938 Gold -

PostPosted: Fri Jul 05, 2013 7:05 pm    Post subject: Reply with quote

I tried to download.... said something like "unsafe to download, file has been blocked" You might want to check that out.

Also, can you tell me how to install on a regular computer? I don't have a mac.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Customization & Modding All times are GMT
Goto page Previous  1, 2, 3, ... 11, 12, 13  Next
Page 2 of 13

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group