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

jlangsdo says ahoy
Post new topic   Reply to topic     Forum Index -> Pirates! Chat Goto page Previous  1, 2, 3  Next
View previous topic :: View next topic  
Author Message
themodelcitizen
Gunner
Posts: 903



15615 Gold -

PostPosted: Sat Oct 30, 2021 6:23 pm    Post subject: Reply with quote

Ahhh OK. I'm a Perl beginner but it seems fairly intuitive. Last night I was just playing around with island.pl to get the directories right.

I know the East Indies "world" is like a 7x4 grid or something like that.

For the NOAA map once you downloaded your dataset, did you use a specific program to scale the terrain and colour it? Or are the blues and greens stored in the tiff (for example, this dataset I just grabbed?) and this is picked up by island.pl in creating the extra files from the _h.bmp?

edit:

sorry for my programming ineptness, I'll pick this stuff up quick though.

jlangsdo wrote:
According to an old post:
Quote:

Then you create Islands.csv detailing where to place any new islands. You create _h.bmp files for them derived from same size original _h.bmp files.

Try running make_world.pl, that writes out an Islands.csv. It has the right syntax, at least. Note that you have to make an Islands directory somewhere and point it to a world_map.bmp file.


In running make_world, this is where I get stuck, how do I get it to point to world_map.bmp correctly? From what i can tell, I've got a bmp with that name in the islands directory along with the other ones I'm using. Do I need to add a line somewhere?

I tried skipping that step and just creating a one-line Islands.csv in notepad like you posted, and that seemed to work in taking a world_h bmp and exporting all the other files, but the game just crashes at the title screen if I try to load it up with those in "custom". I'm guessing it's the wrong size or something. Also, caribbeanmap2 etc still show as an outline of the Caribbean, so I must be missing a step
Back to top
View user's profile Send private message
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Sun Oct 31, 2021 5:08 am    Post subject: Reply with quote

We’ll have ya made the African coastline yet?
Back to top
View user's profile Send private message
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Sun Oct 31, 2021 6:03 am    Post subject: Reply with quote

Be nice if we could make a map that follows the pirate round but that covers extensive territory from the Atlantic Africa and as far as Yemen and India. Libertatia in Madagascar would make a good BOTC mod.
Back to top
View user's profile Send private message
jlangsdo
Cutthroat
Posts: 398



11012 Gold -

PostPosted: Sun Oct 31, 2021 3:48 pm    Post subject: Reply with quote

Getting closer....

I have Pirates! running on my old mac. I downloaded the East Indies 2020 mod, unzipped it from a modern machine, and got that to my mac, but I'm having some trouble getting it working.

Any idea where the old "patch" file was? An exe file is not going to work for me. Pirate and themodelcitizen, when you built the 2020 version, do you have a copy of the original version around that you could point me to?

Even without the exe, I'm not getting the new map yet - the only thing that is changed is that the French have become Portuguese. Maybe I'm doing something wrong with Assets or Custom. Any ideas?

If I can get the East Indies 2020 mod working again, then my plan will be to reverse engineer how I built the map the first time, and release a proper map replacement tool. Y'all are going to curse me because it will be in perl, though.

Then you guys can go nuts making sequels - Mediterranean (trireme edition), Africa, North Pole, Northern Europe (Viking edition), Great Lakes, Gangs of New York....
Back to top
View user's profile Send private message
jlangsdo
Cutthroat
Posts: 398



11012 Gold -

PostPosted: Sun Oct 31, 2021 4:10 pm    Post subject: Reply with quote

Ah, I figured it out.

On a Mac, you don't use the custom folder distinction. Everything goes in Assets.

I've got the new map, new splash screen, looks great!

I noticed that when I start a new game it still talks about wanting passage "to the New World". That should be fixed, too.
Back to top
View user's profile Send private message
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Sun Oct 31, 2021 5:39 pm    Post subject: Reply with quote

Thanks for coming back. Your still the legend here. I thought the New World was fixed but seems like something always escapes the eye. I could fix that if the Modal Citizen doesn’t want to and of course we know you could too.
Back to top
View user's profile Send private message
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Sun Oct 31, 2021 5:44 pm    Post subject: Reply with quote

I always keep a mods folder in my Assets anyway. Even on Windows the Text.Ini has to be in assets or it uses the default one in the fpk packs if you have it in customs. When you put everything in customs you have about ten million flags to switch from on your ship so for me customs is for flag and sail emblems not a mod folder.
Back to top
View user's profile Send private message
themodelcitizen
Gunner
Posts: 903



15615 Gold -

PostPosted: Sun Oct 31, 2021 6:29 pm    Post subject: Reply with quote

jlangsdo wrote:
I noticed that when I start a new game it still talks about wanting passage "to the New World". That should be fixed, too.


I believe "passage to the new world" is changed to "path to the east indies" in the exe, but yeah, there are text files for the video that I should just change for people who can't use the exe - although some cities will show as the wrong nationality without the new exe.

Really I should just figure out how to let people patch it themselves like your original.

If you're still looking for your OG mod and smp_patch, it should be in the version of the mod here: https://www.dropbox.com/sh/4rjpm6zt4ru517t/AADafjCo4h0a4W-APOzXY8Qta?n=385028626&oref=e

Making the pause map was a lot of fun, mostly copying the style of the original. We also redid the top 10 Pirates and I re-wrote the Pirate-o-Pedia with new images.

Perl is fine, I don't mind learning! It's been fun trying to figure out how a lot of your changes worked.

If you're re-jigging the East Indies with the same map, I'm not sure if we can edit it on Photoshop to make certain passages wider. Either way I'm excited at the possibilities. Viking era with Helluland and Vinland, anyone?


Last edited by themodelcitizen on Sun Oct 31, 2021 6:50 pm; edited 3 times in total
Back to top
View user's profile Send private message
Guardacostas
Rigger
Posts: 1221



10938 Gold -

PostPosted: Sun Oct 31, 2021 6:30 pm    Post subject: Reply with quote

Pirate wrote:
Be nice if we could make a map that follows the pirate round but that covers extensive territory from the Atlantic Africa and as far as Yemen and India. Libertatia in Madagascar would make a good BOTC mod.



Yes, the world is much bigger with the east indies map. So we know that much, would be cool having the carribean extend to africa or dull ports and the map down a notch and do whole world. Probably impossible, but the carribean to africa would be cool.

Or better yet do the 13 colonies all the way down to brazil, that would be the best and most interesting way to go!
Back to top
View user's profile Send private message
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Sun Oct 31, 2021 9:10 pm    Post subject: Reply with quote

When making a executable using the challenge pack it should work in all windows versions regardless steam or CD but Mac not likely but it’s a lot of work making one for different OS especially if you own only a windows or vice versa. Here is some issues I found with the East Indies that probably need to be taken a look at. Sometimes a village or Haven etc will pop up past the no go line meaning you can see it from a distance but get the message you strayed to far before you can actually sail to it. In other words it’s out of range and if it’s a top ten pirate you will have to wait until he comes in range as your not able to go to the haven itself and deal with him there. Sometimes landmarks are buried in the terrain rather being at the shoreline. Sacking towns often the forts are partially buried into the terrain rather then just being on it. Shoreline would look better if cut in the same way as the OG with not as much light to blue water as it kinda looks artificial to me. Other than except narrow channels might need widening just a tad bit because even if the channels are supposed to be that narrow I’m pretty sure the ships may be bigger than they ought to be if we’re dealing with realistic issues here.
Back to top
View user's profile Send private message
themodelcitizen
Gunner
Posts: 903



15615 Gold -

PostPosted: Sun Oct 31, 2021 9:52 pm    Post subject: Reply with quote

I haven't noticed them popping up past the no-go line. Is that in New Guinea area? Or up past China? You can always save when you start a new game, and then quickly teleport and check where they're at

Landmarks and forts you'd have to manually scale the terrain around it, sounds too difficult to plan around. Deep blue water might be doable if there's a way to edit the land/water colours on the NOAA maps before they're converted
Back to top
View user's profile Send private message
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Sun Oct 31, 2021 11:10 pm    Post subject: Reply with quote

I haven’t played the game in awhile but yes it’s possible to not be able to reach a settlement or haven but doesn’t seem to happen every game. It might be too that it’s not a top ten haven and just didn’t try to sail there. Seems like it was in the upper part maybe not far from Keelung or someplace that way. It may be a issue of the forts not recognizing where the terrain exactly lays as if it did it probably would just lay on top it. Have you ever seen dolphins swimming on land in the game? I have and the reason is they don’t recognize exactly where the shoreline starts and ends. Anyway I’m not complaining about anything and why should I? I’m just pointing things out and if we can’t fix them then must of us probably can deal with it. Nothing is perfect and I’m certainly not.
Back to top
View user's profile Send private message
jlangsdo
Cutthroat
Posts: 398



11012 Gold -

PostPosted: Tue Nov 02, 2021 12:26 am    Post subject: Reply with quote

Pirate - that's a good list. Seems like the land/sea delineation is a little off somewhere. The funny colored water (long stretches of light blue) we can fix - just need to add a filter when setting up the maps to make the water deeper wherever it isn't very close to land. The only reason it looks like that right now is that the oceans really are extremely shallow in those areas.

I tried East Indies 2020, I'm very impressed that you were able to beef up the garrisons of the cities. Much more realistic, and gives a reason to try to sneak around once in a while.

Hey, I have a few other questions...

Has anyone ever worked out what sets the boundaries of where Pirate Havens and Settlements can land? They never land in the east edge of the map (Texas / India). It might be a number in the executable.

Do we have anyone active who can use the decompiler to look for stuff in the executable?

Did anyone ever test whether you can really relocate the location of land battles, as was posted, with an executable patch? That restriction is quite annoying when you are trying to build your own maps.

Has anyone ever figured out how (or if) the weather is included in savegame files? Or any other way to affect the weather? I played the original Pirates! way back when, and I remember being driven around by hurricanes.
Back to top
View user's profile Send private message
Pirate
Helmsman
Posts: 5927



117641 Gold -

PostPosted: Tue Nov 02, 2021 1:10 am    Post subject: Reply with quote

Most of those questions I can’t answer without showing how smart I really am. For the cities they use the cityloc file but maybe it’s strictly in the executable with the settlements etc. If you notice when you go past the cities in the executable you run into the settlements etc but everything is pretty much nothing until you actually fire up the game then when you look at the settlements in a saved game those nothings are actually something now. I don’t know if location can be adjusted using those strings in a saved game but the data has to be coming from somewhere. I meant to do at least a study on what happens if I put city strings in those settlements spots in the executable but never did. I’m guessing you would get something similar to using the trainer and making the settlements into cities but only having plain daughters and the inability to attack them. If location is by the strings for the settlements it’s probably gonna be the beginning of it and to get the current locations you would have to do so from a saved game rather then the executable. Even the cities in the executable are nothing more than templates to get things started but once you start playing and save a game then take a peek at the saved game your gonna see lots of changes made to those city strings. A good way to make cities I found is by actually using the trainer and double the population make rich etc then save the game grab the string and slap it into the executable. Works like magic. I guess I better stop talking before someone thinks I’ve lost it but no I don’t have the answers to most your questions.
Back to top
View user's profile Send private message
themodelcitizen
Gunner
Posts: 903



15615 Gold -

PostPosted: Tue Nov 02, 2021 1:14 am    Post subject: Reply with quote

Thanks so much for helping us out. Pirate played with the city settings to get some of the garrison sizes we wanted, and with some trial and error I was able to get spice cheap in the Spice Islands, and so on (without fully realizing what the values meant).

jlangsdo wrote:

Has anyone ever worked out what sets the boundaries of where Pirate Havens and Settlements can land? They never land in the east edge of the map (Texas / India). It might be a number in the executable.

Do we have anyone active who can use the decompiler to look for stuff in the executable?

Did anyone ever test whether you can really relocate the location of land battles, as was posted, with an executable patch? That restriction is quite annoying when you are trying to build your own maps.

Has anyone ever figured out how (or if) the weather is included in savegame files? Or any other way to affect the weather? I played the original Pirates! way back when, and I remember being driven around by hurricanes.


For settlements, perhaps the fact that our subcontinent roughly "corresponds" to the Gulf of Mexico on the map might be at play? Although I moved some of the cities in India to more realistic spots which seemed to open up one or two spots for settlements.

I also added Madras and Pondicherry to the Coromandel Coast, this adds some traffic that would otherwise be missing from the lack of settlements.

Another knock-on effect of dropping Medan, Bengkulu, and Syriam (due to the issue with the Straits of Malacca and Sunda being too tight), the settlements around the Andaman Sea now send ships across the Bay of Bengal to feed/plunder the cities in India.

Re: land battles - from AdamMil in 2014:

Quote:
I believe I've found how to change this. At offset 0x327520 in the PC .exe, there's the following data: 44 01 00 00 8D 00 00 0. This corresponds to the integers 324, 141. Coordinates of the location for land battles, I think!


As for weather, I suppose starting different save games on different difficulties and checking the code might shed some light? Similarly with setting your special skill as navigation - perhaps the code responds by just making the wind affect you less?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Pirates! Chat 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