|
|
#1 (permalink) |
|
Hall Of Famer
Join Date: Jun 2004
Posts: 4,218
Thanks: 1,495
Thanked 1,318x in 521 posts
|
Is there a method to the madness of the cities.txt?
I want an all Michigan League with player only coming from Michigan cities. I know I need to erase every city except the Michigan ones to do this (yes, I renamed it before I started changing things). Is there an easy way to do this? Are the cities organized in any way other than alphabetical? Any help would be great.
|
|
|
|
|
|
#3 (permalink) |
|
OOTP Developments
|
You can definitely do it in Excel, if you're good at that sort of thing.
1. Open the file in Excel 2. Delete every row without a state of Michigan 3. Save the file as a csv file 4. Rename the saved file nations.txt That's really simplified, assumes you somewhat know what you're doing. Gotta run! |
|
|
|
|
|
#4 (permalink) |
|
Hall Of Famer
Join Date: Jun 2004
Posts: 4,218
Thanks: 1,495
Thanked 1,318x in 521 posts
|
Thanks, guys. I'm not too familiar with this but I'm willing to try it.
1. I opened in excel. It said the whole file couldn't load. Does that mean it's too big? 2. I see the columns with Michigan in it. Is there an easy way of isolating the rows that are not Michigan? EDIT: Nevermind... that filter thingy rocks ![]() 3. I've saved the file as a csv. That's comma delimited, correct? 4. Rename the file as nations.txt? Not cities.txt? I've seen you explain this before (to me actually) I just don't remember the reason. EDIT: I've just renamed it nations.txt and... wow! it opens in in notepad! That should do it, right?Thanks again. Last edited by cephasjames; 06-01-2006 at 09:51 AM. |
|
|
|
|
|
#5 (permalink) |
|
Hall Of Famer
Join Date: Mar 2003
Posts: 8,403
Thanks: 104
Thanked 78x in 52 posts
|
link is borked. . .fixing!
Go to that link, get the US cities only cities.txt The game included cities.txt cannot be completely opened by excel, it is too big, by about 35,000 lines. It's too comprehensive! The alternate file is only about ~30,000 lines, and is easily opened in Excel. Open up the alternate cities.txt, sort by the state row, and delete what you want. I will have to write this up well later tonight, maybe with screen caps. Last edited by Raidergoo; 06-01-2006 at 11:09 AM. |
|
|
|
|
|
#7 (permalink) | |
|
Hall Of Famer
Join Date: Jun 2004
Posts: 4,218
Thanks: 1,495
Thanked 1,318x in 521 posts
|
Quote:
I got it figured out. You helped a ton, thanks.
|
|
|
|
|
|
|
#8 (permalink) | |
|
All Star Starter
Join Date: Apr 2004
Location: Not Here
Posts: 1,226
Thanks: 0
Thanked 0x in 0 posts
|
Quote:
__________________
Beer Snob and Baseball Sim Geek |
|
|
|
|
|
|
#10 (permalink) | |
|
Minors (Single A)
Join Date: Mar 2006
Posts: 67
Thanks: 0
Thanked 0x in 0 posts
|
Quote:
Considering that the first spreadsheet I ever owned (Visi-Calc for the Apple II in the late 1970s) was limited to a 64x256 grid, like the commercial says, "You've come a long way, baby!" |
|
|
|
|
|
|
#11 (permalink) | |
|
All Star Starter
Join Date: Apr 2004
Location: Not Here
Posts: 1,226
Thanks: 0
Thanked 0x in 0 posts
|
Quote:
Columns went from 256 to 16,000 Rows went from 64,000 to a cool Million.
__________________
Beer Snob and Baseball Sim Geek |
|
|
|
|
|
|
#12 (permalink) |
|
All Star Starter
Join Date: Apr 2004
Location: Not Here
Posts: 1,226
Thanks: 0
Thanked 0x in 0 posts
|
Dola,
they really overhauled the interface though. I think I like it, but it's been taking some time getting used to it. It probably doesn't help that I've been going back and forth between 2007 and 2003 throughout the day either.
__________________
Beer Snob and Baseball Sim Geek |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|