View Single Post
Old 06-26-2006, 11:45 PM   #4 (permalink)
LeafsFan2005NC
Minors (Double A)
 
LeafsFan2005NC's Avatar
 
Join Date: Mar 2005
Posts: 108
Indeed I hope to be able to do this. Editing the nations.txt file is pretty simple since it's a small file, but the cities.txt file is a monster. Like already pointed out, Excel won't load it because it's so huge.

I do have the listing of cities pretty much figured out and it works pretty well. It takes a bit for the US cities to load since there's about 15,000 of them, but it's still pretty quick.

I'll see about the sorting deal. It shouldn't be too hard once I figure it out. But, I'll keep everyone abreast as to my progress.

EDIT: Well, I've got sorting (ascending and descending) down pat, plus editing (no find/replace yet) and saving of the new file. I've also managed to add the ability to add or delete a city. Also when you initially start the program the first time, it will back up the nations.txt and cities.txt automatically.
__________________
Download my OOTP 6 to OOTP 2006 Schedule Converter:

http://www.ootpdevelopments.com/boar...d.php?t=121664

Last edited by LeafsFan2005NC : 06-27-2006 at 04:48 PM.
LeafsFan2005NC is offline   Reply With Quote