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

How do I change a bunch of Spanish cities to other nations?
Post new topic   Reply to topic     Forum Index -> Customization & Modding Goto page Previous  1, 2, 3  Next
View previous topic :: View next topic  
Author Message
fleetp
Helmsman
Posts: 4600



26028 Gold -

PostPosted: Sun May 31, 2020 7:32 pm    Post subject: Reply with quote

I'm going to make using the perl version of the save game editor as easy on myself as possible.

To reduce problems with long path names, I'll place the Perl program and the save game editor script on a separate hard drive. I have one that has only a few items on it.
I'll copy any savegame files that I want to edit to that hard drive, placing them where they are easy to get to (as in short path structure).
On the taskbar there is a white box that says 'Type here to search'. When I type cmd there it opens up a new window with the command prompt.

Thanks, guys, for the help and advice. I could not have gotten this far without you. Smile
Back to top
View user's profile Send private message Send e-mail
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Sun May 31, 2020 8:40 pm    Post subject: Reply with quote

Are you planning on making a mod?
Back to top
View user's profile Send private message
fleetp
Helmsman
Posts: 4600



26028 Gold -

PostPosted: Sun May 31, 2020 9:25 pm    Post subject: Reply with quote

Pirate wrote:
Are you planning on making a mod?


Yes, I am, eventually.

What I hope to do is make a revised exe file where some scattered Spanish cities are changed to Dutch cities.
I'll probably convert St. Augustine, Trinidad, Villa Hermosa, Santa Catalina and Port-de-Paix.

When I did a test converting Cartagena to Dutch, after loading a previously saved game, I noticed the flag on my pirate ship changed from the Jolly Roger to the Dutch flag. I'll need to see if the same thing happens on a 'new' game.
Back to top
View user's profile Send private message Send e-mail
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Sun May 31, 2020 11:26 pm    Post subject: Reply with quote

Port-de-Paix belongs to France. Another thing it would probably be best to give the new cities a name that goes with the nationality.
Back to top
View user's profile Send private message
fleetp
Helmsman
Posts: 4600



26028 Gold -

PostPosted: Sun May 31, 2020 11:31 pm    Post subject: Reply with quote

Pirate wrote:
Port-de-Paix belongs to France. Another thing it would probably be best to give the new cities a name that goes with the nationality.


Good point about Port-de-paix being French. I may choose Santiago instead
Back to top
View user's profile Send private message Send e-mail
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Sun May 31, 2020 11:32 pm    Post subject: Reply with quote

The flag on your ships are switchable anyway. That’s my primary reason not to dump everything in my customs folder but make a mod folder in my assets folder. That way every single flag that shouldn’t be in the customs folder won’t be as that is where the flag switch reads from. Flags on your ship and sails can be swapped anytime in game so I wouldn’t really call that a concern yet.
Back to top
View user's profile Send private message
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Mon Jun 01, 2020 3:01 am    Post subject: Reply with quote

If you do a mod and need anything I’ll be glad to help like texture work or anything.
Back to top
View user's profile Send private message
fleetp
Helmsman
Posts: 4600



26028 Gold -

PostPosted: Mon Jun 01, 2020 3:03 am    Post subject: Reply with quote

Using the hex-editor I modified the pirates!.exe file to make the following cities Dutch:
St. Augustine
Trinidad
Villa Hermosa
Santa Catalina
Santiago

When I started a new game the cities had the nationalities I'd assigned, and my ship had the Jolly Roger flag.
When I loaded a previously saved game, the cities did not have the nationalities I'd assigned. However, my ship still had the Jolly Roger flag.

Tomorrow I'll upload the mod to a file host site and post a link in the 'Reserved for Game Mods' section. [/b]
Back to top
View user's profile Send private message Send e-mail
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Mon Jun 01, 2020 4:02 am    Post subject: Reply with quote

If your saying you launched a saved game that you had prior to making the changes to the executable then nothing wrong happened because the cities in the executable are starting points once you start then cities can get bigger poorer and change hands. When you save the game it saves everything as it was when you saved it so of course editing the executable won’t have any effect on a saved game.
Back to top
View user's profile Send private message
fleetp
Helmsman
Posts: 4600



26028 Gold -

PostPosted: Mon Jun 01, 2020 7:47 pm    Post subject: Reply with quote

Pirate wrote:
If your saying you launched a saved game that you had prior to making the changes to the executable then nothing wrong happened because the cities in the executable are starting points once you start then cities can get bigger poorer and change hands. When you save the game it saves everything as it was when you saved it so of course editing the executable won’t have any effect on a saved game.


Thanks for the explanation.

I plan to make Coro available in all eras in the revised exe file before uploading it.

Pirate, I'd like to include you in the credits for the mod when I upload it.
Back to top
View user's profile Send private message Send e-mail
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Mon Jun 01, 2020 8:30 pm    Post subject: Reply with quote

I learned by the East Indies mod and finding the cities. I then posted on here somewhere probably jingalos East India forum and asked them what tells me this is English city and he or they happily shared their knowledge. All credit stArts from there.
Back to top
View user's profile Send private message
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Mon Jun 01, 2020 8:53 pm    Post subject: Reply with quote

Make it more clear I opened up the patch file in the East Indies mod and inside is a list of the current cities and a list of new cities for the mod as well as some text changes to replace the French with Portuguese. This is the file you use pearl to replace it for you but since I was a hex editor pro I knew without asking that was a option but I didn’t know anything about what the strings or should I say how to read them so my big mouth started asking questions and now I know.
Back to top
View user's profile Send private message
Guardacostas
Rigger
Posts: 1221



10938 Gold -

PostPosted: Tue Jun 02, 2020 12:48 am    Post subject: Reply with quote

Sounds very interesting. Maybe change santa Catalina to Providence for the 1620 scenario and Port Royale to Santiago vega for the 1640 scenario. You know "bringing back" old cities that aren't with the original SMP game by changing the name of their "future" counterparts. Is that possible?


EDIT

It's kind of weird seeing Jamaica empty before 1660. And I can't off the top of my head remember any other cities that existed under different names and owners in the other scenarios
Back to top
View user's profile Send private message
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Tue Jun 02, 2020 3:00 am    Post subject: Reply with quote

Yes it can be done by adjusting the eras to change ownership from one era to another but the drawback to that is you would have to eliminate a city entirely because you would have to count that one city as two even if it’s used in separate eras.
Back to top
View user's profile Send private message
corsair91
Sailing Master
Posts: 10374



296960 Gold -

more...
PostPosted: Tue Jun 02, 2020 4:12 am    Post subject: Reply with quote

May want to mention the game patch version
for the replacement game executable in the mod release description

I assume it is for v1.02
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  Next
Page 2 of 3

 
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