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 04-27-2022, 11:50 PM   #61
darkcloud4579
Hall Of Famer
 
Join Date: Jun 2003
Posts: 8,658
Quote:
Originally Posted by Mister_G View Post
I'm having all kinds of difficulties with this. Google sheets keeps telling me, "This action would increase the number of cells in the workbook above the limit of 10000000 cells." when I try to add rows so I can fit all the names. I haven't even gotten to how to actually do all of it.
Yeah same problem. This message just reminded me of an idea I'm going to try, which is splitting the names into two files then consolidating the xml files into one when the spreadsheet is done. Hopefully that'll work.

Stay tuned.
darkcloud4579 is offline   Reply With Quote
Old 04-28-2022, 09:41 AM   #62
erik.ootp
OOTP Developments
 
erik.ootp's Avatar
 
Join Date: Sep 2021
Location: Berlin, Germany
Posts: 107
I actually didn't try it with Google Sheets. I only tried it with Excel, but I uploaded it as .ods so it could also be used with Open Office.
erik.ootp is offline   Reply With Quote
Old 04-28-2022, 02:03 PM   #63
darkcloud4579
Hall Of Famer
 
Join Date: Jun 2003
Posts: 8,658
Quote:
Originally Posted by erik.ootp View Post
I actually didn't try it with Google Sheets. I only tried it with Excel, but I uploaded it as .ods so it could also be used with Open Office.

Excel or Open Office both have the limit, Google Sheets for sure can't handle it.
darkcloud4579 is offline   Reply With Quote
Old 04-30-2022, 04:10 PM   #64
Mister_G
All Star Reserve
 
Mister_G's Avatar
 
Join Date: Jan 2012
Posts: 576
Last year there were files for both first names and last names separately. I'm confused, is this new XML file for both? How do we separate them?
__________________
A man doesn't make mistakes, mistakes make the man

@MisterG90
Mister_G is offline   Reply With Quote
Old 04-30-2022, 04:58 PM   #65
darkcloud4579
Hall Of Famer
 
Join Date: Jun 2003
Posts: 8,658
Quote:
Originally Posted by Mister_G View Post
Last year there were files for both first names and last names separately. I'm confused, is this new XML file for both? How do we separate them?
Correct, it's diffeent now. The XML has first names, last names and nicknames all in one file with localisations for different languages too.

It won't change the way your imported OOTP22 files generate names, but it will for new saves in OOTP23.
darkcloud4579 is offline   Reply With Quote
Old 04-30-2022, 05:54 PM   #66
Mister_G
All Star Reserve
 
Mister_G's Avatar
 
Join Date: Jan 2012
Posts: 576
Thanks! Now I'm having a different issue though. When a type in =sum(B1+1); and fill-down to create the name IDs I'm getting Err:509 throughout the entire B column.
__________________
A man doesn't make mistakes, mistakes make the man

@MisterG90
Mister_G is offline   Reply With Quote
Old 04-30-2022, 07:08 PM   #67
joefromchicago
Hall Of Famer
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 3,691
Quote:
Originally Posted by Mister_G View Post
Thanks! Now I'm having a different issue though. When a type in =sum(B1+1); and fill-down to create the name IDs I'm getting Err:509 throughout the entire B column.
EDIT: Ignore, bad advice. See below

Last edited by joefromchicago; 05-01-2022 at 10:05 AM.
joefromchicago is offline   Reply With Quote
Old 04-30-2022, 11:54 PM   #68
Mister_G
All Star Reserve
 
Mister_G's Avatar
 
Join Date: Jan 2012
Posts: 576
Quote:
Originally Posted by joefromchicago View Post
I'm so sorry. That's entirely my fault. The correct equation to insert in cell B1 is:
=sum(A1+1)
I changed that in the instructions. My bad!
Hmm, thanks for the help, but...now I'm getting only the number 1 in every cell.

And if I put the ; after it (am I supposed to do this? I'm bad with open office, excel, sheets, etc.) I get the same error.

EDIT: And this goes in B1? With nothing in column A?
__________________
A man doesn't make mistakes, mistakes make the man

@MisterG90

Last edited by Mister_G; 04-30-2022 at 11:56 PM.
Mister_G is offline   Reply With Quote
Old 05-01-2022, 10:04 AM   #69
joefromchicago
Hall Of Famer
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 3,691
Quote:
Originally Posted by Mister_G View Post
Hmm, thanks for the help, but...now I'm getting only the number 1 in every cell.

And if I put the ; after it (am I supposed to do this? I'm bad with open office, excel, sheets, etc.) I get the same error.

EDIT: And this goes in B1? With nothing in column A?
Wow, I'm batting 0-for-2

Clearly, your problem is that you're following what I said, not what I meant to say

What I meant to say is that, in cell B2, you insert the following equation:
=sum(B1+1)
In cell B1, you put the unique ID number that you want to start the range of ID numbers you'll be assigning to your names. So, for instance, if you want to start with ID number 400000, then you'll insert that number into cell B1. With the equation in cell B2, the cell will be filled with 400001. Then fill down from cell B2 to the end of your list.

Sorry for all of the confusion
joefromchicago is offline   Reply With Quote
Old 05-01-2022, 11:26 AM   #70
pilight
All Star Starter
 
pilight's Avatar
 
Join Date: Mar 2003
Location: Where the Action is
Posts: 1,953
Why wouldn't you just fill a series with a step of one?
pilight is offline   Reply With Quote
Old 05-01-2022, 01:07 PM   #71
joefromchicago
Hall Of Famer
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 3,691
Quote:
Originally Posted by pilight View Post
Why wouldn't you just fill a series with a step of one?
I don't think I understand your question.

Of course, that might be the answer to your question.
joefromchicago is offline   Reply With Quote
Old 05-01-2022, 01:26 PM   #72
pilight
All Star Starter
 
pilight's Avatar
 
Join Date: Mar 2003
Location: Where the Action is
Posts: 1,953
I'll demonstrate graphically:
Attached Images
Image Image Image 
pilight is offline   Reply With Quote
Old 05-02-2022, 08:20 AM   #73
joefromchicago
Hall Of Famer
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 3,691
Quote:
Originally Posted by pilight View Post
I'll demonstrate graphically:
Sure, you could do that too
joefromchicago is offline   Reply With Quote
Old 05-11-2022, 12:27 PM   #74
piggypotpie
Minors (Rookie Ball)
 
Join Date: Sep 2021
Posts: 41
good lord?!

I am so CONFUSED. I don't have much experience with any of those programs. Should I just not consider putting new names/country specific names in the game?
piggypotpie is offline   Reply With Quote
Old 05-13-2022, 08:01 AM   #75
joefromchicago
Hall Of Famer
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 3,691
Quote:
Originally Posted by piggypotpie View Post
I am so CONFUSED. I don't have much experience with any of those programs. Should I just not consider putting new names/country specific names in the game?
What are you trying to do? Add names to the existing names file or add new namesets or replace the current names file with a different one? If you're not comfortable doing the work yourself, you can wait for the modder community to help out. That's already happening, and I'm sure more mods are on the way.
joefromchicago is offline   Reply With Quote
Old 06-25-2022, 05:22 PM   #76
darkcloud4579
Hall Of Famer
 
Join Date: Jun 2003
Posts: 8,658
it's clear that when they changed this file this time, they underestimated how much people edit these things. It was very easy to edit the old file and make changes and add countries or whatever. In the new file, if you make any adjustments whatsoever and screw up even a linebreak or spacing issue, it will crash the game.

I've resorted to replacing territories in this existing places as a way to get around this, but it means you can't move countries to other continents because the file gets very picky about doing anything with the spacing and it's really hard because all it tells you is there's an xml parsing error.

I have no illusions this will be fixed ever, but...just letting the OOTP overlords know that in the future when you make these kinds of changes, you're impacting a significant number of people who play the game for its customizability and changes like this that don't get tested (were I only beta like I used to be, I'd have flagged this early on) mean that the users suffer.

</endrant>
darkcloud4579 is offline   Reply With Quote
Old 06-26-2022, 01:50 AM   #77
BRyMcBourbon
Minors (Single A)
 
Join Date: Jul 2020
Posts: 92
Quote:
Originally Posted by darkcloud4579 View Post
it's clear that when they changed this file this time, they underestimated how much people edit these things. It was very easy to edit the old file and make changes and add countries or whatever. In the new file, if you make any adjustments whatsoever and screw up even a linebreak or spacing issue, it will crash the game.

I've resorted to replacing territories in this existing places as a way to get around this, but it means you can't move countries to other continents because the file gets very picky about doing anything with the spacing and it's really hard because all it tells you is there's an xml parsing error.

I have no illusions this will be fixed ever, but...just letting the OOTP overlords know that in the future when you make these kinds of changes, you're impacting a significant number of people who play the game for its customizability and changes like this that don't get tested (were I only beta like I used to be, I'd have flagged this early on) mean that the users suffer.

</endrant>

I absolutely get that it’s a pain. I run a completely custom world and got hit when schools changed to .xml last year and the names this year.

But from their standpoint, it lets them build translations into the file rather than calling a different file based on language setup.

If they wanted to add a new language, they can just plug that tag into the .xml rather than creating entirely new files they now have to account for.
BRyMcBourbon is offline   Reply With Quote
Old 06-27-2022, 12:07 PM   #78
joefromchicago
Hall Of Famer
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 3,691
Quote:
Originally Posted by darkcloud4579 View Post
it's clear that when they changed this file this time, they underestimated how much people edit these things. It was very easy to edit the old file and make changes and add countries or whatever. In the new file, if you make any adjustments whatsoever and screw up even a linebreak or spacing issue, it will crash the game.

I've resorted to replacing territories in this existing places as a way to get around this, but it means you can't move countries to other continents because the file gets very picky about doing anything with the spacing and it's really hard because all it tells you is there's an xml parsing error.

I have no illusions this will be fixed ever, but...just letting the OOTP overlords know that in the future when you make these kinds of changes, you're impacting a significant number of people who play the game for its customizability and changes like this that don't get tested (were I only beta like I used to be, I'd have flagged this early on) mean that the users suffer.

</endrant>
I can't argue with any of this.

The XML format is definitely not very modder-friendly. As you point out, it used to be very easy to make changes to the CSV files. For example, if I wanted to swap out one nameset with my own modded set but keep all the other default namesets in place, that would be no problem at all. Now, however, it's actually easier to replace the entire names file rather than replacing only one nameset. That's because many names now belong to multiple namesets, so modding one existing nameset means editing each name in that set individually. And there are over a quarter-million names! As a result, I expect that modders will be offering more "all-in-one" names files (as, for instance, Dogzilla has done) rather than individual namesets, because editing the XML names file is now so difficult, if not practically impossible.
joefromchicago is offline   Reply With Quote
Old 06-27-2022, 07:04 PM   #79
darkcloud4579
Hall Of Famer
 
Join Date: Jun 2003
Posts: 8,658
.

Last edited by darkcloud4579; 06-30-2022 at 10:52 PM.
darkcloud4579 is offline   Reply With Quote
Old 07-14-2022, 05:21 AM   #80
erik.ootp
OOTP Developments
 
erik.ootp's Avatar
 
Join Date: Sep 2021
Location: Berlin, Germany
Posts: 107
I can see, that no easy way for everyone to work on the names.xml file has been found.
What I took away from the discussions:
  • filesize to big
  • a lot of new/extra steps to mod the file
  • uncertainty about correct structure
I can maybe work on the filesize a bit, so hopefully everyone can open this file without crashing their PC.
Other than that it's just a whole lot getting used to XML. You can check the structure of XML files by opening them in your browser. Things like replacing a whole nameset shouldn't take to long. Maybe we can get some tutorial, that looks at some of the standard modifications a user would do.
Please let me know if I missed some problems with this file.
erik.ootp 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 10:14 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 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments