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

Names and Places
Post new topic   Reply to topic     Forum Index -> Pirates! Chat
View previous topic :: View next topic  
Author Message
Captain Teague
Rigger
Posts: 1176



12207 Gold -

PostPosted: Mon Oct 14, 2013 1:39 pm    Post subject: Names and Places Reply with quote

Where can I find the game's list of ship and city names for all nations? I need them for a...project I'm working on.
_________________
The Code is the Law.
Back to top
View user's profile Send private message
Roland
Helmsman
Posts: 4190



23929 Gold -

PostPosted: Mon Oct 14, 2013 10:21 pm    Post subject: Re: Names and Places Reply with quote

Captain Teague wrote:
Where can I find the game's list of ship and city names for all nations? I need them for a...project I'm working on.

According to this recent post by lurtz, ship names can be found in the file shipnames_enu.txt.

Regarding city names, you might find this thread by dogcigar and jlangsdo helpful, as might my discussion with jlangsdo in this thread.


Last edited by Roland on Mon Oct 14, 2013 10:33 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
jlangsdo
Cutthroat
Posts: 398



11012 Gold -

PostPosted: Mon Oct 14, 2013 10:30 pm    Post subject: Reply with quote

The city names are in citynames_enu.txt, and the potential settlement names are in location_names_enu.txt

That's until you start a game. Once the game is started, the actual city and settlement names are snapshotted into the savegame file and SMP no longer looks at those .txt files. If you translate the savegame file to a pst file, both city and settlement names are held in the CityName section.

Ship names, by contrast, are not stored in the savegame file. The savegame file holds only the index of the name in the proper section of shipnames_enu.txt; in the pst file this is Ship_*_2_7
Back to top
View user's profile Send private message
Captain Teague
Rigger
Posts: 1176



12207 Gold -

PostPosted: Mon Oct 14, 2013 11:16 pm    Post subject: Reply with quote

Where can I find these files? I couldn't find them, but I'm too (program) illiterate to unpack anything. If it has to be unpacked, could someone do that for me and send me a link or something? I don't want to ruin my game, but I would like a list of all possible ship and settlement names. For my project.
_________________
The Code is the Law.
Back to top
View user's profile Send private message
jlangsdo
Cutthroat
Posts: 398



11012 Gold -

PostPosted: Tue Oct 15, 2013 1:27 am    Post subject: Reply with quote

Here's a script:

smp_fpk_unpack.pl

You give the script an fpk_dir (the Assets directory, where the FPK files are) and an unpack_dir (I called mine Assets_UNPACKED, which I put next to the Assets directory). Make sure the unpack directory is not inside of the Assets directory.

The script will unpack all of the files from the FPK files. You can then copy an individual unpacked file into the Assets directory and edit its contents to create a mod (unpacked files have priority over FPK files). [/url]
Back to top
View user's profile Send private message
Captain Teague
Rigger
Posts: 1176



12207 Gold -

PostPosted: Tue Oct 15, 2013 2:19 am    Post subject: Reply with quote

Sorry, I guess I wasn't clear. If it's not "put this in the custom folder" I can't mod it, that's the extent of my knowledge. Do I need PERL for that script or just CMD prompt? Because I've not been able to get PERL to work for me (I wanted to try the East Indies mod).
_________________
The Code is the Law.
Back to top
View user's profile Send private message
parksbanyon
Gunner
Posts: 564



13127 Gold -

PostPosted: Tue Oct 15, 2013 8:24 pm    Post subject: win or mac Reply with quote

Catain Teague, are you running windows or mac? If your on windows Use this to get perl operable:

Several modders on the forum use Perl to make batch scripts. This is the link I used to after installing Perl to make it more "painless" to use with windows: http://stackoverflow.com/questions/4727480/how-do-i-make-my-perl-scripts-act-like-normal-programs-on-windows

and this:
Most of the PERL scripts don't find the default windows location, I finally got this to work by adding the following:

use Win32; (Place near the top just after comment lines #)

ADD (the "my $f_pc = 0;" gets replaced.):

my $OS = Win32::GetOSDisplayName();my $PF = " ";
if ($OS =~ /64/) {$PF = 'Program Files (x86)'; } else {$PF = 'Program Files';}
my $f_pc = "/$PF/Firaxis Games/Sid Meier's Pirates!/Pirates!.exe";

This only works for default path installs and differeniates between x86 x64 proram file naming conventions.

The above goes into the perl xxx.pl
Back to top
View user's profile Send private message
Captain Teague
Rigger
Posts: 1176



12207 Gold -

PostPosted: Tue Oct 15, 2013 11:24 pm    Post subject: Reply with quote

I'm not trying to be difficult, but that all went over my head. All I want is the list[s] of ship names and settlement names; this seems like a lot of trouble to go through for that. I'll try if I have time (which I most likely won't.) Thanks for all the advise though, even if IS all Greek to me. Smile
_________________
The Code is the Law.
Back to top
View user's profile Send private message
Rusty Edge
Rigger
Posts: 1977



2992 Gold -

PostPosted: Sat Jul 19, 2014 3:12 am    Post subject: Reply with quote

Did you ever find what you were looking for? Finding Treasure
Back to top
View user's profile Send private message
Captain Teague
Rigger
Posts: 1176



12207 Gold -

PostPosted: Mon Jul 21, 2014 10:30 am    Post subject: Reply with quote

Aye, I did. I learned how to extract the lists (shipnames_enu, citynames_enu, etc) from the FPK files. So I got it and made the game my own!
_________________
The Code is the Law.
Back to top
View user's profile Send private message
Salty Dog
Sailing Master
Posts: 10063



192187 Gold -

more...
PostPosted: Mon Aug 10, 2015 3:29 am    Post subject: Reply with quote

Can we ask you to post those lists here? I'd like to read them.
Back to top
View user's profile Send private message Send e-mail
Salty Dog
Sailing Master
Posts: 10063



192187 Gold -

more...
PostPosted: Thu Aug 13, 2015 3:44 pm    Post subject: Reply with quote

There does seem to be a finite number of names for Pirate Havens, Indian Settlements, other Settlements and Jesuit Missions.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Pirates! Chat All times are GMT
Page 1 of 1

 
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