Home | Webstore
Latest News: OOTP 26 Available - FHM 11 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 26 > OOTP Mods > OOTP Mods - Names and Nations

Reply
 
Thread Tools
Old 01-14-2022, 10:41 PM   #1
FleetWalker
Minors (Double A)
 
Join Date: May 2002
Location: Granby, CT
Posts: 127
Automated World.XML creation

I'm putting the finishing touches on a python script that generates the OOTP World.XML file from the data available at geonames.org. I think that site was probably the origin of the existing data in the game, but the world file has fallen out-of-date and has some fairly big errors in it.

I have replaced all the existing ids for continents/nations/states/cities with the geonameid. That means the generated files probably won't work with saved games. On the other hand, it makes it very easy to maintain going forward as the file can be updated programatically and the ids will remain the same.

It also makes it easy to do things like turn states into countries: either for all nations, some nations, or just specific states. I can also specify which nations should have states and which level of administrative unit to use—so if I want a world where the U.S is divided into counties rather than states i can do that.
FleetWalker is offline   Reply With Quote
Old 02-24-2022, 02:04 PM   #2
darkcloud4579
Hall Of Famer
 
Join Date: Jun 2003
Posts: 8,659
Amazing work!
darkcloud4579 is offline   Reply With Quote
Old 02-24-2022, 02:14 PM   #3
Rain King
Hall Of Famer
 
Rain King's Avatar
 
Join Date: Nov 2005
Posts: 3,072
Infractions: 1/1 (1)
I would absolutely be interested in file that adjusts U.S. states to be nations.
Rain King is offline   Reply With Quote
Old 04-19-2022, 08:42 AM   #4
boscoJJ
Major Leagues
 
Join Date: Aug 2019
Posts: 316
update?
boscoJJ is offline   Reply With Quote
Old 04-20-2022, 05:50 PM   #5
cavebutter
All Star Starter
 
cavebutter's Avatar
 
Join Date: Dec 2005
Location: Los Angeles
Posts: 1,164
Would love to see the script! Sounds awesome!
__________________
MySQL, MyStruggle - A self-indulgent blog about my attempts to roll my own MySQL Database with OOTP

Logo Gallery
cavebutter is offline   Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:54 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments