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

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 24 > OOTP 24 - General Discussions

OOTP 24 - General Discussions Everything about the brand new 2023 version of Out of the Park Baseball - officially licensed by MLB, the MLBPA and the KBO.

Reply
 
Thread Tools
Old 10-03-2023, 05:03 PM   #1
Tyke
All Star Starter
 
Tyke's Avatar
 
Join Date: Apr 2002
Location: Cleckheaton, West Yorkshire, U.K.
Posts: 1,138
Nation Editor, delete cities

Starting a new save, based in a fictional country and I am using the in-game Nation Editor. I started with Norway, changed its name and then changed the names of lots of the cities. That has all worked really well, but I am left with a quantity of Norwegian cities that I don't need and I can't find a way of deleting them. Can anyone point me in the right direction, please?
Tyke is offline   Reply With Quote
Old 10-04-2023, 12:24 AM   #2
snepp
All Star Starter
 
Join Date: Jan 2008
Posts: 1,502
Editing the world_default.xml file in an xml editor would probably be the easiest way. You can modify and delete to your heart's content.

Should probably make a backup of it first though.
Attached Images
Image 

Last edited by snepp; 10-04-2023 at 12:36 AM.
snepp is offline   Reply With Quote
Old 10-04-2023, 05:13 AM   #3
Tyke
All Star Starter
 
Tyke's Avatar
 
Join Date: Apr 2002
Location: Cleckheaton, West Yorkshire, U.K.
Posts: 1,138
Thanks very much, snepp. I was trying to avoid that, but I can certainly give it a try that way.
Tyke is offline   Reply With Quote
Old 10-05-2023, 12:10 PM   #4
Tyke
All Star Starter
 
Tyke's Avatar
 
Join Date: Apr 2002
Location: Cleckheaton, West Yorkshire, U.K.
Posts: 1,138
It looks like doing it that way means starting the process all over again and possibly re-starting the league, which I don't really want to do. Can anyone say if it's possible through the "Explore World" > Nation Editor route. The good thing about that is that it lists the cities in order of population, and I was able to re-name the ones with the largest population - but, as I said, that leaves me with quite a number of cities that are surplus to requirements and I would like to delete them.
Tyke is offline   Reply With Quote
Old 10-06-2023, 08:39 PM   #5
FleetWalker
Minors (Double A)
 
Join Date: May 2002
Location: Granby, CT
Posts: 135
You can edit the XML file and then import it into the existing league without re-starting. I do this all the time. It's possible a really extreme edit might break something, but mine continues to work even when I have deleted countries that existing players come from. They just show up with a blank country.

You do want to recheck your leagues after import to make sure they have the same Nation and region they are supposed to.

You import the XML file under Game->Game Settings->Database->Database Tools->Re-import world database from XML file.

I recommend making a backup of the original XML file (just in case). Also, until you manually re-import the file this way, editing the XML file won't have any impact on the game. The game only imports the XML file at the time of creation of the new game.
FleetWalker is offline   Reply With Quote
Old 10-06-2023, 11:37 PM   #6
snepp
All Star Starter
 
Join Date: Jan 2008
Posts: 1,502
Fleet, what do you use for an XML editor? I've only dabbled a bit and have been using XML Notepad.
snepp is offline   Reply With Quote
Old 10-07-2023, 04:20 AM   #7
Tyke
All Star Starter
 
Tyke's Avatar
 
Join Date: Apr 2002
Location: Cleckheaton, West Yorkshire, U.K.
Posts: 1,138
Thanks for your help and advice, you guys.
Tyke is offline   Reply With Quote
Old 10-08-2023, 04:07 PM   #8
FleetWalker
Minors (Double A)
 
Join Date: May 2002
Location: Granby, CT
Posts: 135
Quote:
Originally Posted by snepp View Post
Fleet, what do you use for an XML editor? I've only dabbled a bit and have been using XML Notepad.
I actually wrote a python script that pulls in more up-to-date population data, especially for US, Mexico, and Canada. The script also allows me to break countries apart or combine them, change their baseball quality, etc.

For general XML editing, I use Notepad+

Having said that, if you go to the Mod forum on Nations, there is nifty program out there that is designed to make it easy to modify a world. I haven't used it, but it would likely have save me a lot of hours of program if it had existed when I started messing around.
FleetWalker is offline   Reply With Quote
Old 10-08-2023, 10:24 PM   #9
snepp
All Star Starter
 
Join Date: Jan 2008
Posts: 1,502
Awesome, thanks.
snepp 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 03:31 AM.

 

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 - 2026, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments