|
||||
|
02-12-2011, 10:55 PM | #1 |
All Star Starter
Join Date: Jun 2003
Location: Clyde, NY
Posts: 1,506
|
WorldGen (for OOTP) - Random World Generator
This is the "next generation" of my "City Name Generator" program.
I finally started making headway on this program. I did a lot of research on how cities and towns are named in the United States. Unfortunately, this means that the program currently only generates "American" city names. I simplified the data files to include just root words, prefixes, suffixes, and names. Most cities and towns were either named after a person or were descriptive of the area. Then they might add a suffix and/or prefix to create the name. This program basically does the same thing, but I still need to work a little more on it. When it's complete, it will randomly generate fictional nations.txt & cities.txt files. Current Features:
Here is a screen shot below and just a sample of the city names that it generates currently. This sample list of 100,000 names was generated in less than 2 seconds. I still want to add to the data files to allow for much more wide spread naming. The generated country names are pretty poor, to be honest, but I believe most people would want to name the countries themselves. This at least gives them something to work with if they want it.
__________________
Lemme tell you the first rule of politics; Always know if the juice is worth the squeeze. ~Kelly (AKA Timoty Oyphant), The Girl Next Door (2004) |
02-13-2011, 12:25 AM | #2 |
Banned
Join Date: Oct 2009
Location: Diamond, IL
Posts: 6,339
Infractions: 2/2 (3)
|
That is possibly the coolest program i have yet to see for any baseball game not just OOTP...where was it 4 months ago j/k
congrats. |
02-13-2011, 04:23 PM | #3 |
All Star Starter
Join Date: Jun 2003
Location: Clyde, NY
Posts: 1,506
|
Here it is... HERE
I don't have instructions typed up, yet.. but the quick version is this: 1) Download the zip file using the link above. While downloading, backup your OOTP database folder. 2) Decompress the files to a folder of your choice. 3) Launch the program. 4) Make any changes in anyplace you want. Make sure that only numbers are used where there should be only numbers. 5) Click Continue=> 6) in the WorldGen folder you created, there is a folder named 'database'. Copy the two files from here to the OOTP\Database folder. 7) Launch OOTP and create a new fictional league. 8) You may need to go into the setup and select the country for the league. 9) The rest is up to you... Here's a new updated screen shot.. I want to add country flags.. and some how have it create better country names...
__________________
Lemme tell you the first rule of politics; Always know if the juice is worth the squeeze. ~Kelly (AKA Timoty Oyphant), The Girl Next Door (2004) |
02-13-2011, 06:32 PM | #4 |
Banned
Join Date: Oct 2009
Location: Diamond, IL
Posts: 6,339
Infractions: 2/2 (3)
|
cool...few minor questions
is there a way to have the nations part become 229 or later vs 1? the long/lat does that match up with anything in particular? Oak City,23371,1,Endor,16.66,8.95 the long/lat #'s dont seem to match up with anywhere that I can find how much does that matter for the game? is there a way aside from doing it manually to create states as well? but thanks bro u made my job alot easier. |
02-13-2011, 07:53 PM | #5 | ||
All Star Starter
Join Date: Jun 2003
Location: Clyde, NY
Posts: 1,506
|
Quote:
Quote:
I think the only thing that this affects really is how a player might prefer to play closer to home. I'm not sure I could try to add that in also.. but seeing as the country names I have it generating are so bad, I thought I would just skip the states/provinces part..
__________________
Lemme tell you the first rule of politics; Always know if the juice is worth the squeeze. ~Kelly (AKA Timoty Oyphant), The Girl Next Door (2004) |
||
02-13-2011, 09:38 PM | #6 |
Banned
Join Date: Oct 2009
Location: Diamond, IL
Posts: 6,339
Infractions: 2/2 (3)
|
actually the 229 vs 1 isnt that big of a deal I created 10 cities for Gotham which is the state so once I change the 1 to 229 it was fine, but the long.lat still bothered me....Endor is USA USA is 4 correct? which 4 is the default in your program..or did i do something wrong?
|
02-13-2011, 10:21 PM | #7 | |
All Star Starter
Join Date: Jun 2003
Location: Clyde, NY
Posts: 1,506
|
Quote:
Region of the world. These are hard-coded in the database, in a six-continent model: Are you trying to combine the fictional world and real world? This isn't what I had in mind when creating this thing. I just was looking for an easy and quick way to create a completely fictional world from scratch. If the world is created using this program, the different settings like region, latitude and longitude are fine and work as needed for the game. If I remember reading about what you were doing correctly, I think you were basically replacing city names with your own city names in the nations.txt file. I didn't want to do all of that work and that's why I wrote this program. :-) If you were to just run this program to create the cities, then rename the ones you wanted to, that would solve the problem you are having now...If you open both files in excel, you could just copy the column with the city names and paste into the corresponding column in the new file.
__________________
Lemme tell you the first rule of politics; Always know if the juice is worth the squeeze. ~Kelly (AKA Timoty Oyphant), The Girl Next Door (2004) |
|
02-13-2011, 11:19 PM | #8 |
Banned
Join Date: Oct 2009
Location: Diamond, IL
Posts: 6,339
Infractions: 2/2 (3)
|
ok what affects long and lat? other then players signing with home team?
The way I am doing my EBL is matching each of my cities up with a real city going into the cities.txt copying it and the pasting it into a dummy file so i can edit it then copying that into the schools files and doing those then cutting the copy back into the orig cities file. then i copy and paste for weather also. I guess what my concern was with the various long/lat was the weather. I guess tech. i dont need long and lat for my nations...do i? I was just pretty much making my world reflect how the game is already. |
02-15-2011, 07:37 PM | #9 |
All Star Starter
Join Date: Jun 2003
Location: Clyde, NY
Posts: 1,506
|
No, you don't need latitude and longitude for your cities.. in fact, I think if you look at the cities.txt file that came with OOTP, you will find some cities that don't have either...
I believe it only affects players preferring teams closer to their home, but I don't even know how much. I really only added it in for anyone who uses the program and wanted to see how close cities were to each other (or they could decide this on their own) You got me thinking about a couple of other things though, too.. the schools file and the weather info... I have never looked into either of them, yet.
__________________
Lemme tell you the first rule of politics; Always know if the juice is worth the squeeze. ~Kelly (AKA Timoty Oyphant), The Girl Next Door (2004) |
02-15-2011, 08:04 PM | #10 | |
All Star Starter
Join Date: Jun 2003
Location: Clyde, NY
Posts: 1,506
|
I found this in a post by "clamel"
Quote:
__________________
Lemme tell you the first rule of politics; Always know if the juice is worth the squeeze. ~Kelly (AKA Timoty Oyphant), The Girl Next Door (2004) |
|
02-15-2011, 09:01 PM | #11 | |
Banned
Join Date: Oct 2009
Location: Diamond, IL
Posts: 6,339
Infractions: 2/2 (3)
|
Quote:
But thank you for creating this program I have done 2/3 of my extra planets/nations using your program i just change the names of the cities and sometimes the pop I leave the long/lat alone. |
|
02-15-2011, 09:04 PM | #12 | |
Banned
Join Date: Oct 2009
Location: Diamond, IL
Posts: 6,339
Infractions: 2/2 (3)
|
Quote:
A schools generator would be a cool program especially if i can add/edit my txt after i start a new game. |
|
02-16-2011, 05:01 AM | #13 |
Banned
Join Date: Oct 2009
Location: Diamond, IL
Posts: 6,339
Infractions: 2/2 (3)
|
not sure if it matters, but no matter which setting i use i get the same ethnicities files for each country
233,Alderaan,Alderaan,ALD,Alderaanian,5,0,25,100,0 ,0,0,0,0,0,123,30,716,6,125 234,Adega,Adega,ADE,Adegain,1,0,02,100,0,0,0,0,0,0 ,123,30,716,6,125 235,Bakura,Bakura,BAK,Bakuran,3,1,14,100,0,0,0,0,0 ,0,123,30,716,6,125 Alderaan is UK Adega is italian Bakura is czeck |
02-23-2011, 10:02 PM | #14 |
Major Leagues
|
This is great, thanks so much for making it. I'm using it to create a new fictional league. So far, works perfectly.
__________________
Check out my OOTP-inspired novel "Lord Bart and the Leagues of SIP and ALE"! |
04-09-2011, 05:27 PM | #15 |
Hall Of Famer
|
Wow. Kudos to you for this!
__________________
Godfather of Fast-Sim OOTP My Mods: GMExcel 24 Major League Women's Baseball (OOTP24) quickstart Indian Premier League | 300+ years of baseball quickstart | Expatriate League quickstart | Off-Field Injuries Update | Women's Name File for OOTP | My (outdated) market calculator & financial spreadsheets |
04-09-2011, 10:45 PM | #16 |
All Star Starter
Join Date: Jun 2003
Location: Clyde, NY
Posts: 1,506
|
Thanks! It still needs a little bit of work (weather settings are off, among other things). But I created this program for the purpose of being able to create a fictional United States in as few clicks as possible.. I will have to think about how to set it up to create others and if it should just randomly create them or allow input for setting them up. Of course, allowing for the input makes it tougher on me.. :-)
__________________
Lemme tell you the first rule of politics; Always know if the juice is worth the squeeze. ~Kelly (AKA Timoty Oyphant), The Girl Next Door (2004) |
10-16-2011, 04:34 AM | #17 |
Hall Of Famer
Join Date: May 2006
Posts: 3,625
|
Is this compatible with OOTP 12?
By the way, I can't get this to work in Windows either. I'm running Windows vista and installed the archived files, using folder names, to a directory on my desktop. After I change the settings and click 'continue', it says 'Run-time error 75: path not found'. There is a data folder in the directory with all the CSV files, and the application is in the root directory above it. But it simply doesn't work. Last edited by Charlie Hough; 10-16-2011 at 05:24 AM. |
10-23-2011, 10:14 PM | #18 |
All Star Starter
Join Date: Jun 2003
Location: Clyde, NY
Posts: 1,506
|
I think it should work with OOTP12, too.. I don't think anything changed as far as the files that this uses/changes.
I just downloaded it again from the link in the original post, saved the files to my desktop, and it works fine. I am running Windows 7, BTW... If you changed any of the .CSV files make sure that they are still formatted correctly. Also, if you change the names of those files, the program will not run. If you think all of those are correct and it still doesn't work, try downloading it again. Sorry for the late response, I missed the post and also somehow overlooked the email that you sent to me.
__________________
Lemme tell you the first rule of politics; Always know if the juice is worth the squeeze. ~Kelly (AKA Timoty Oyphant), The Girl Next Door (2004) |
10-24-2011, 12:50 AM | #19 |
Hall Of Famer
Join Date: May 2006
Posts: 3,625
|
Unfortunately, it still doesn't work. I have already downloaded it multiple times and tried again.
Where are you installing the application? It says that I can install it anywhere, and I preserve the archived subfolders when I extract it. But whenever I click 'Continue' after reviewing the settings, it generates the run-time error '76': path not found. And I haven't changed anything about the files. I have installed it exactly as is. I'm also curious as to why this would work in OOTP 12 if the game now uses the world_default.xml file rather than the old files for fictional worlds. Does this utility generate a world_default.xml file? |
11-29-2013, 10:41 PM | #20 |
All Star Starter
Join Date: Jun 2003
Location: Clyde, NY
Posts: 1,506
|
WorldGen.zip
Trying to upload the file here, I think it's small enough.
__________________
Lemme tell you the first rule of politics; Always know if the juice is worth the squeeze. ~Kelly (AKA Timoty Oyphant), The Girl Next Door (2004) |
Bookmarks |
|
|