| View previous topic :: View next topic |
| Author |
Message |
Captain Teague

Rigger 
Posts: 1176 

 
12207 Gold -

|
Posted: Mon Oct 14, 2013 1:39 pm Post subject: Names and Places |
|
|
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 |
|
 |
Roland

Helmsman 
Posts: 4190 

 
23929 Gold -

|
Posted: Mon Oct 14, 2013 10:21 pm Post subject: Re: Names and Places |
|
|
| 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 |
|
 |
jlangsdo

Cutthroat 
Posts: 398 

 
11012 Gold -

|
Posted: Mon Oct 14, 2013 10:30 pm Post subject: |
|
|
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 |
|
 |
Captain Teague

Rigger 
Posts: 1176 

 
12207 Gold -

|
Posted: Mon Oct 14, 2013 11:16 pm Post subject: |
|
|
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 |
|
 |
jlangsdo

Cutthroat 
Posts: 398 

 
11012 Gold -

|
Posted: Tue Oct 15, 2013 1:27 am Post subject: |
|
|
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 |
|
 |
Captain Teague

Rigger 
Posts: 1176 

 
12207 Gold -

|
Posted: Tue Oct 15, 2013 2:19 am Post subject: |
|
|
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 |
|
 |
parksbanyon

Gunner 
Posts: 564 

 
13127 Gold -

|
Posted: Tue Oct 15, 2013 8:24 pm Post subject: win or mac |
|
|
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 |
|
 |
Captain Teague

Rigger 
Posts: 1176 

 
12207 Gold -

|
Posted: Tue Oct 15, 2013 11:24 pm Post subject: |
|
|
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.  _________________ The Code is the Law. |
|
| Back to top |
|
 |
Rusty Edge

Rigger 
Posts: 1977 

 
2992 Gold -

|
Posted: Sat Jul 19, 2014 3:12 am Post subject: |
|
|
Did you ever find what you were looking for?  |
|
| Back to top |
|
 |
Captain Teague

Rigger 
Posts: 1176 

 
12207 Gold -

|
Posted: Mon Jul 21, 2014 10:30 am Post subject: |
|
|
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 |
|
 |
Salty Dog

Sailing Master 
Posts: 10063 

 
192187 Gold -

more...
|
Posted: Mon Aug 10, 2015 3:29 am Post subject: |
|
|
Can we ask you to post those lists here? I'd like to read them. |
|
| Back to top |
|
 |
Salty Dog

Sailing Master 
Posts: 10063 

 
192187 Gold -

more...
|
Posted: Thu Aug 13, 2015 3:44 pm Post subject: |
|
|
There does seem to be a finite number of names for Pirate Havens, Indian Settlements, other Settlements and Jesuit Missions. |
|
| Back to top |
|
 |
|