|
||||
|
03-29-2018, 01:09 AM | #1 |
Hall Of Famer
Join Date: Jun 2011
Posts: 3,630
|
List of Name Mods
This is a list of all the first name, last name, and nickname mods that have been posted in the OOTP community forums. Not listed here are namesets that: (1) are included with the game; (2) can only be downloaded from the OOTP Mods site; or (3) are posted in forums for other OOTPD games (e.g. FHM). Some of these mods duplicate namesets that are currently included as part of the game's files. In those cases, the authors presumably felt that their mods were an improvement on the standard OOTP namesets. In compiling this list, I have primarily relied on the name designations provided by the authors. I have not tested these mods and make no claim to the accuracy of any mod that is not my own.
This is not a thread for requesting mods. Continue to post your requests in the Names & Nations sub-forum. Please bring any additions, omissions, and errors to my attention. UNITED STATES AND CANADA African-American (modern) first names African-American (Negro Leagues) first & last names / first & last names / nicknames Anglo-American first & last names Anglo-Canadian first & last names / first names / last names American last names American (white) first names American (female) first names American (nineteenth-century) first names American (historical) first & last names / first names / nicknames / first names (1880-1920) Austrian-American first & last names Czech-American first & last names Dutch-American first & last names French-American first & last names French-Canadian last names German-American first & last names Greek-American first & last names Hawaiian first & last names Hispanic-American first names Irish-American first & last names Italian-American first & last names Jewish-American first & last names Polish-American first & last names Scottish-American first & last names Swedish-American first & last names CENTRAL AMERICA, SOUTH AMERICA, AND CARIBBEAN British Caribbean first & last names / first & last names Cuban first & last names Dominican first & last names Dutch Caribbean first & last names French Caribbean first & last names Hispanic (Historical) first names EUROPE Albanian first & last names Armenian first & last names Austrian first names / first & last names Belarussian first & last names Bosnian first & last names British (historical) first names British (modern) first names Bulgarian first & last names Channel Islands first & last names Dutch first names / first & last names English first names Estonian first & last names Faroese first & last names Finnish first & last names Georgian first & last names German first & last names Hungarian first names / last names Icelandic first & last names Irish first & last names Italian first names Latvian first & last names Lithuanian first & last names / first & last names Macedonian first & last names Maltese first & last names Polish last names Russian first names / first names / last names Serbian first & last names Slovenian first & last names Swiss first & last names Ukranian first names / last names ASIA AND PACIFIC Bhutanese first & last names Burmese first & last names Cambodian first & last names Central Asian first & last names Chinese first & last names Filipino first & last names Israeli first & last names Laotian first & last names Malay first & last names Mongolian first & last names Nepalese first & last names Persian first & last names Singaporean first & last names Sri Lankan first & last names Thai first & last names / first & last names AFRICA North African first & last names South African first & last names Swahili first & last names West African first & last names MULTIPLE REGIONS Female first names Historical (1900-1950) first & last names World first & last names FANTASY AND HISTORICAL
__________________
American-Ethnic (and Canadian) Namesets Historical Minor League Schedules 1870s City/Team Nickname Randomizers "It's Usually Sunny in Philadelphia" weather mod Last edited by joefromchicago; 10-25-2021 at 11:13 AM. |
03-29-2018, 01:09 AM | #2 |
Hall Of Famer
Join Date: Jun 2011
Posts: 3,630
|
NOTE: This guide is for modding OOTP version 22 and earlier. For version 23 and later, see this post.
Guide to Modding Namesets I. Introduction Creating your own nameset can be an easy and fun way to enhance your OOTP game-playing experience, but you need to follow a few basic rules. This will provide simple step-by-step instructions. More information can be found in the OOTP manual, but be aware that the manual is, in many important respects, outdated. This guide, in contrast, reflects all of the changes that have been made to the way that the game handles namesets since version 19. Namesets consist of a list of comma-separated values. Each line contains three pieces of information, separated by commas: (1) the name; (2) the frequency of that name; and (3) the nameset ID number. The first and last values need little explanation. The name is the name that the game assigns randomly to players created using that nameset. The nameset ID is the number assigned to that nameset in the world_default.xml file. You can find a list of nameset IDs at the beginning of that file, listed under <ETHNICITIES>. The frequency value is a relative number, not a percentage. It determines how often a name appears relative to other names in the same nameset. So, for instance, if "Smith" has a frequency of 100 while "Jones" has a frequency of 1, that means that "Smith" will, on average, appear 100 times more often than "Jones." Consequently, the frequency value can be any number. II. Creating a Nameset There are two basic ways to create your own nameset. The first is to enter all of the information into a simple text program, such as Notepad. The second is to enter all of the information initially into a spreadsheet program and then transfer it to a text program. The first method is fairly straightforward. All entries should follow the same format: name,frequency,ID. The manual recommends that you do not put spaces before or after the commas. You can enter all of the information on a single line, but you will probably find it easier to read the file if you put each entry on a separate line. You do not need to enter the names in alphabetical order, although you may find that it's easier to avoid duplications if you do so. The second method involves a little extra work, but it allows for more flexibility in handling your data and also allows you to catch errors before they creep into your nameset. I will use OpenOffice for this example, as it is a free open-source spreadsheet program available for download on the internet. You can use other spreadsheet programs, such as Excel, but the commands and format might be different. After creating a spreadsheet, enter the name and frequency values in the first two columns (no need, at this stage, to enter the nameset ID). Your spreadsheet, then, will look something like this: Column A will, therefore, contain all the names and Column B will contain the frequency values. After entering all of your data, you may want to perform a sort to put the entries into alphabetical order. That's not necessary, but, as noted above, you may find that it helps to organize your data and it can make it easier to scan for any duplicate names. Next, in cell C1, enter a comma, and then fill down to the end of the list. Once you are satisfied with your work, enter the following string in cell D1: Code:
=A1&C1&B1&C1&* When choosing a text program, remember: the simpler the better. In particular, avoid programs that have "smart" punctuation, such as apostrophes, that might not appear correctly in OOTP. Also, OOTP has had some problems in the past with displaying foreign diacritical marks and characters, such as tildes and umlauts. If you find that the game is not displaying your names correctly, you may need to edit out some of those foreign characters. CONTINUED
__________________
American-Ethnic (and Canadian) Namesets Historical Minor League Schedules 1870s City/Team Nickname Randomizers "It's Usually Sunny in Philadelphia" weather mod Last edited by joefromchicago; 05-16-2022 at 08:06 AM. |
03-29-2018, 01:10 AM | #3 |
Hall Of Famer
Join Date: Jun 2011
Posts: 3,630
|
NOTE: This guide is for modding OOTP version 22 and earlier. For version 23 and later, see this post.
III. Incorporating Your Nameset Into the OOTP Names Files I recommend creating a separate nameset text file before incorporating that information into the OOTP names files. You'll probably find that it's easier to make edits in a separate nameset file than in the names files, and it will make it possible for you to post your namesets in this forum so that the rest of the OOTP community can enjoy the benefits of your hard work. When creating players, OOTP draws names from two files located in your game's Database Folder: the names.txt file for last names and the first_names.txt file for first names (nicknames are handled in a somewhat different manner and will not be covered here). In order for OOTP to use your names, therefore, they have to be added to these names files. Now that OOTP can handle an unlimited number of namesets, it's easy to add a nameset to the ones that are currently included in the game. If you are replacing an existing nameset, you will copy-and-paste your names over the names that you want to replace in each file. If you are adding a nameset, you can simply copy-and-paste the new names to the end of each names file. In addition, you will also need to make changes to the world_default.xml file (the procedure for that is outlined below). IV. Incorporating Modded Namesets Into the OOTP Names Files A number of namesets have been posted to this subforum and are listed in the original post above. You can follow the instructions in the preceding section to incorporate any of those modded namesets into your OOTP names files. Pay careful attention to the nameset ID assigned to the modded nameset. If it duplicates an existing nameset ID, adding that modded nameset will simply add those new names to the existing nameset that has the same ID. To avoid this situation, if the ID value of the modded nameset either conflicts with an existing nameset ID or if the ID is a special character rather than a number, you will need to make a change to the nameset's ID value before adding it to the names files. For instance, you may want to incorporate a nameset, but the names in that set have "35" as their ID number, and you don't want to replace or add to the existing "35" nameset. How, then, do you add the modded "35" nameset while keeping the existing one? There are a couple of ways to handle this situation. You could, of course, edit every single ID value individually, but for large namesets that task would be both laborious and tedious. A quicker way is to go into the modded nameset file(s) and perform a search-and-replace for the nameset ID that you want to replace. For instance, you can search for "35" in the modded nameset and change it to some number that does not duplicate the number of an existing nameset. That way, the two namesets won't have the same ID. The problem with this method, though, is that you will replace every instance of the number "35" in the file, including any instance where "35" is in the frequency field (that's not a problem where the nameset ID is a special character, such as an asterisk, as there would be no danger of replacing a frequency value). A more efficient method for replacing a nameset ID is to transfer the data to a spreadsheet. Again, I will use OpenOffice for this example: other spreadsheet programs should be able to perform this function, although they may use different steps. First, after creating a spreadsheet, select all of the data in the modded nameset and then copy-and-paste that data to cell A1 in the spreadsheet. In OpenOffice, you will immediately get a dialog box asking you how you want that data to be copied. Check the "separated by comma" box and press "OK." The spreadsheet will now display all of the data in the first three columns. The nameset ID values will appear in column C. You can now replace all of the values in that column with the value that you want to assign to that nameset, using a fill-down function. Next, enter a comma in cell D1 and fill down to the end of the list. After you have made these edits, you can recreate the comma-separated values by entering the following code into cell E1: Code:
=A1&D1&B1&D1&C1 CONTINUED
__________________
American-Ethnic (and Canadian) Namesets Historical Minor League Schedules 1870s City/Team Nickname Randomizers "It's Usually Sunny in Philadelphia" weather mod Last edited by joefromchicago; 05-16-2022 at 08:07 AM. |
06-12-2019, 04:33 PM | #4 |
Hall Of Famer
Join Date: Jun 2011
Posts: 3,630
|
V. Making Changes to the World Default File - A. Adding Ethnicity Information (for ALL versions of OOTP)
"Ethnicity" information is now located in the world_default.xml file, which can be found in your game's Database Folder. That information is necessary so that (1) you can access a nameset by using the in-game nation editor; and (2) the game can accurately create facegens for players that utilize that nameset. The ethnicity ID and the nameset ID are identical. If you are adding a nameset to the game, you will, therefore, need to add the ethnicity information for that nameset in the world default file. The ethnicity information in the world default file looks like this: Up until OOTP19, it was clear that the values for the individual ethnic groups (african, asian, east indian, caucasian, hispanic) had to equal 1000. The values for the newest nameset (Israeli), though, only add up to 100, so maybe that's not a requirement any more. Still, it would be advisable to make your numbers equal 1000, just to be safe. The values represent the percentage chance that a player with a name drawn from a particular nameset will have a particular facegen. So, for example, if a nameset's values equaled 1000 and it has "asian=300," that means that 30% of the players drawn from that nameset will, on average, have Asian facegens. For each nameset that you add to the names files, you will need to add a corresponding ethnicity line in the world default file. You can simply copy an existing entry and paste it to the end of the list while making appropriate changes. VI. Making Changes to the World Default File - B. Changing Nation Information If all you want to do is make a one-time change to the namesets, you don't need to make any additional changes to the world default file. Once you've made the above edits, you can then make any additional changes to a nation using the game's nation editor, which can be found by going to a nation's profile under the "Explore World" screen (note: you must be in commissioner mode to access the nation editor). To add a nameset to a nation, go to that nation's page, choose "Nation Editor," and then press the "Add a Language" button located in the upper right-hand corner of the screen. A new "Ethnicity/Language/Name Origin" will appear under the "Ethnicities" header on the left-hand side of the screen. You can change the nameset by choosing it and then using the pull-down menu to select a new one. Then you can assign a percentage to that nameset in the third column. If you want to delete a current nameset, simply assign it a percentage of zero. If, on the other hand, you want to re-use your modded names and world default files, you should also change the relevant nation information in the world default file. That way, you won't have to make the same changes each time you start a new game. The world default file contains information for all of the nations on earth, listed alphabetically by continent. The information looks like this: The only values that you will need to modify are the "etid" ID located in the header and the "ETHN_PCTS" ID(s) and value(s). Together, this information is used by the game when creating players from a particular nation. For instance, in the above example, the Dominican Republic is assigned ethnicity ID ("etid") "1," the Hispanic nameset, and it has an ethnic percentage ("ETHN PCT") value of "100," meaning that 100% of the players created for this nation will have names drawn from the Hispanic nameset and will have facegens created using the percentages listed for that nameset. The values for all of the namesets listed for a nation's "ETHN PCTS" should equal 100, although that evidently isn't a hard-and-fast rule (e.g. Canada's values equal 105, Puerto Rico's equal 90). Still, to play it safe, you should make sure that the ethnic percent values you modify end up equalling 100. If you want a nation to use your modded nameset instead of or in addition to the one(s) assigned to it, you may or may not need to edit the ID in the "etid=" field. For instance, if, in the above example, you want Dominican players to use your new "41" nameset instead of the "1" set, just insert "41" where the "1" currently is in the header after "etid=". Some nations have more than one ethnicity, but there's only one etid ID in the nation's header. I'm not sure if the changes made with OOTP19 made this irrelevant. To be safe, always assign the etid ID to the ethnicity with the highest ETHN PCT value. Do the same with the ETHN PCT values. Change the etid(s) in this field to the nameset ID(s) that you want. That will tell the game that it should take names from the new nameset(s) when it is creating players for that nation. It will also tell the game to create facegens for those players based on the percentages listed in the ethnicity information for the nameset(s) at the beginning of the world default file. NOTE: any time you are making changes to the game's files, you should make back-up copies of the original files and also of your modded files. When the game updates, it may overwrite your modded files, so it is very important to keep your backups in a separate folder. VII. Adding New Names to an Existing Game If you have made the necessary changes to the names and world default files, any OOTP game that you start after you made those changes will use the modded files and your changes should be reflected in the game from the start. If, on the other hand, you have a game in progress and want to incorporate your new names into that existing game, you will need to reload the names and world default files. To do that, go to the Game Settings screen and choose the Database tab. In the upper-right corner of that tab is a pull-down menu named Tools. Select that menu. Among the options are "Re-import name & ethnicity database" and "re-import world database from XML file." You will need to choose both of those options. Be advised that each will take some time to load.
__________________
American-Ethnic (and Canadian) Namesets Historical Minor League Schedules 1870s City/Team Nickname Randomizers "It's Usually Sunny in Philadelphia" weather mod Last edited by joefromchicago; 05-16-2022 at 08:08 AM. |
06-12-2019, 04:34 PM | #5 |
Hall Of Famer
Join Date: Jun 2011
Posts: 3,630
|
MODDING THE NAMES.XML FILE
PART I: ADDING NAMES Starting with OOTP version 23, names are included in an xml file rather than the previous csv (comma separated values) files. As a result, any mod in the old csv format will need to be converted into the new xml format in order for it to work with any version of the game after version 22. This tutorial, therefore, will go through the process of changing csv namesets into the xml format. A few things to note about the names.xml file, which can be found in the database folder, located inside the game's data folder):
CREATING A SPREADSHEET You'll want to open up the names.xml file, preferably with an xml editor such as Notepad++. Working directly in the xml file, however, can be daunting. A much easier method involves transferring the data from the names file into a spreadsheet program, editing the data in that program, and then converting back into xml format. To do that, of course, you will need to create a spreadsheet. I will be using OpenOffice, as it is a widely used program available for free on the internet. It is very similar, but not exactly the same, as Microsoft Excel, so many of the commands, for instance, will be identical. I will note any differences that I'm aware of. Likewise, these instructions are intended primarily for Windows users, although Macintosh spreadsheet programs tend to use the same commands. Attached here is a template to use when taking a csv nameset and converting the names to xml format. The top line looks like this: There are four blank columns, into which you will enter the following information: Column B: name ID Column D: name Column F: language ID (aka ethnicity) Column H: distribution (aka frequency) The other columns are already filled in. You won't be changing any of that information. Instead, you will want to select cells A1 to J1 and "fill down" as many rows as you will need in order to fit the data from your csv nameset (you'll know how many rows you need when you enter your nameset data, which is covered in the next section). To "fill down:"
ADDING NAMES FROM A CSV NAMESET In order to transfer the information into the template, you will need to copy and paste the nameset data into a spreadsheet. You don't, however, want to paste that information into the template, as you will be using that to convert your csv data into the new xml format. You will, therefore, want to create a new spreadsheet for this part of the process. You can do that easily by simply going to Sheet2 in the spreadsheet (look for a small tab in the lower left of the screen) and following the steps found here . To recap:
Column A: names Column B: distribution (frequency) Column C: language ID (ethnicity) From here, transferring the data into the template (Sheet1) will be easy:
Repeat the above process for the distribution/frequency data found in column B of Sheet2, copying those and pasting them into column H of Sheet1. For the language ID/ethnicity information, you can either copy that information in the same way that you copied the names and distribution data, or else you can enter the language ID in cell F1 and then "fill down" that number to the bottom of your spreadsheet. CREATING UNIQUE NAME IDs At this point you should have all of the information from the csv nameset entered into the template. From this point forward, all of your work will be in Sheet1. You will now need to assign unique name IDs to each of your names. Currently, the highest name ID in the default names.xml file is 309382. You can, therefore, start at 309383 or you can choose some other number that is greater than 309382. If you are adding multiple namesets, you will want to note the range of name IDs for each of those sets, as you will want to avoid inadvertently duplicating name IDs. An easy way to assign name IDs is as follows:
CONVERTING THE INFORMATION TO XML FORMAT If you click on cell J1, you will see a formula in the text box that looks like this: =A1&B1&C1&D1&E1&F1&G1&H1&I1 In the spreadsheet, however, it will look something like this: <N nid="400000"><EN>Aaron</EN><NL><L lid="0" dist="100"/></NL></N> This is the name information from your csv nameset converted to xml format. You will now need to copy the information in column J into the names.xml file. To do that, follow these steps:
name mod conversion template.zip
__________________
American-Ethnic (and Canadian) Namesets Historical Minor League Schedules 1870s City/Team Nickname Randomizers "It's Usually Sunny in Philadelphia" weather mod Last edited by joefromchicago; 05-01-2022 at 09:58 AM. |
06-12-2019, 04:52 PM | #6 |
Hall Of Famer
Join Date: Jun 2011
Posts: 3,630
|
MODDING THE NAMES.XML FILE
PART II: DELETING NAMES FROM THE XML FILE (tutorial to follow)
__________________
American-Ethnic (and Canadian) Namesets Historical Minor League Schedules 1870s City/Team Nickname Randomizers "It's Usually Sunny in Philadelphia" weather mod Last edited by joefromchicago; 04-19-2022 at 09:30 PM. |
10-22-2019, 05:18 AM | #7 |
All Star Reserve
Join Date: Apr 2012
Posts: 929
|
if you re-import name and ethnicity database does it rename current players in an existing game?
|
10-22-2019, 10:07 AM | #8 |
All Star Reserve
Join Date: Mar 2003
Posts: 907
|
No, it shouldn't. The changes should only apply to newly created players going forward (i.e. drafts), and new games/saves.
__________________
Peace, albatross |
12-16-2020, 07:01 AM | #9 |
Minors (Double A)
Join Date: Aug 2020
Posts: 120
|
I get "file not found" for all the mod links. Are they now somewhere else?
|
12-17-2020, 12:23 AM | #10 |
Hall Of Famer
Join Date: Jun 2011
Posts: 3,630
|
Thanks for pointing that out. All fixed now.
|
12-17-2020, 08:08 AM | #11 |
Minors (Double A)
Join Date: Aug 2020
Posts: 120
|
|
01-31-2021, 05:15 PM | #12 |
Bat Boy
Join Date: Jan 2021
Posts: 8
|
Trouble with Namesets
Hi,
I'm new to adding namesets into OOTP, and have been following the steps posted in this thread and elsewhere. However, after I add the new names into the first name and last name txt files and attempt to load the game (I'm adding names to existing namesets already in the game), I get the following error: "OOTP 21 is damaged and can't be opened. You should move it to Trash" It's strange because this error occurs even by adding or removing a single name. Has anyone else had a similar problem? Am I missing a step in the process? Any help on this is much appreciated! |
02-01-2021, 01:18 PM | #13 | |
Hall Of Famer
Join Date: Jun 2011
Posts: 3,630
|
Quote:
|
|
02-01-2021, 03:19 PM | #14 |
Bat Boy
Join Date: Jan 2021
Posts: 8
|
Will do! Thank you!
|
04-04-2021, 10:25 AM | #15 |
Bat Boy
Join Date: Apr 2021
Posts: 2
|
I don't know what I've been doing wrong. I have the first_names_english for OOTP 22 with all the female namesets and none of the names from the original file (I got that as a backup). It follows the same 1-40 nameset ordering as the world_default file but none of the names are ever used. I haven't changed the names_english file at all.
I am at a loss what to do. |
04-04-2021, 10:29 AM | #16 |
Bat Boy
Join Date: Apr 2021
Posts: 2
|
I guess a follow up might be is there a limit to how many names the game can handle? Because there is a lot of names in this file.
|
04-04-2021, 11:15 AM | #17 | |
Hall Of Famer
Join Date: Jun 2011
Posts: 3,630
|
Quote:
|
|
05-11-2021, 03:10 PM | #18 |
Bat Boy
Join Date: Oct 2020
Posts: 15
|
What a great resource. Thank you. Quesiton: if I wanted to build a new database using a few of these, could i simply create a new txt file, pick and choose which of these work for me and dump them in there, combine that with the existing OOTP names, and then make that my new "first_names_english" file? Also, if I'm not adding any new ethnicities / countries, do I have to change the world database xml? I'm only playing North and South America so would love to just augment what the game already has.
|
05-11-2021, 06:55 PM | #19 | |
Hall Of Famer
Join Date: Feb 2003
Location: BC
Posts: 4,458
|
Quote:
__________________
"The ice is getting even more thinner, my friend!" |
|
05-12-2021, 02:00 AM | #20 |
Bat Boy
Join Date: Oct 2020
Posts: 15
|
If you are editing the world_default file in OOTP 22, does it matter if you have a Korean language tag for a new ethnicity?
|
Bookmarks |
Thread Tools | |
|
|