PDA

View Full Version : City Editor utility version 1.0


Taco
11-14-2003, 07:47 PM
I have made a little utility to edit city information in FOF2004. For full details and to download, visit http://www.geocities.com/tacosalad4me/cityeditor.html

Have fun!

Primal
11-14-2003, 07:51 PM
Looks nice

GoldenEagle
11-14-2003, 07:56 PM
Sorry to thread jack but Primal - did you ever get aorund the that posting news utiliity?

Primal
11-14-2003, 08:07 PM
ECD Tomorrow. (Yeah, I know I've said that before, but I have some time to work on it tonight.)

mrskippy
11-14-2003, 08:28 PM
Awesome. Can you change a city's desire for a new team and therefore make it possible for one city to have two or even three teams?

Taco
11-14-2003, 08:37 PM
Originally posted by mrskippy
Awesome. Can you change a city's desire for a new team and therefore make it possible for one city to have two or even three teams?

No, as far as I can tell this isn't possible. A city's desire for a new team appears to be a calculated value based on a number of factors (and probably an X-factor as well).

mrskippy
11-14-2003, 08:39 PM
Darn. It'd be cool if someone could figure this one. I've always wanted to do something nuts, like put two teams in Oakland.

Karim
11-14-2003, 11:43 PM
Damn. This add-on really bumps the playability for me... Great job, Taco.

Ben E Lou
11-15-2003, 06:21 AM
Bump. Adding this to Sticky thread.

gottimd
11-19-2003, 06:55 PM
I can't get this file to work. I have saved it into my FOF2K4 folder, and opened it up, edited the city I wanted to and pressed save.characteristics only, not changing city name). Then I opened up FOF2K4, and started a new career first (website instructions, changes were there) then I loaded my game, and the changes were gone.

Did I do something wrong, or is this only available when you begin a new career and not available if you have already started one?

Taco
11-19-2003, 09:48 PM
Originally posted by gottimd
I can't get this file to work. I have saved it into my FOF2K4 folder, and opened it up, edited the city I wanted to and pressed save.characteristics only, not changing city name). Then I opened up FOF2K4, and started a new career first (website instructions, changes were there) then I loaded my game, and the changes were gone.

Did I do something wrong, or is this only available when you begin a new career and not available if you have already started one?

As you suspected, this only works for careers that you start after you made the city change. Careers that you have already started are not affected.

Fido
11-19-2003, 10:31 PM
Originally posted by Taco
As you suspected, this only works for careers that you start after you made the city change. Careers that you have already started are not affected.

Taco,

I have located and migured out most of the city data in the save gane file if you're interrested in modifying your utility to access that info.

Taco
11-19-2003, 10:41 PM
Originally posted by Fido
Taco,

I have located and migured out most of the city data in the save gane file if you're interrested in modifying your utility to access that info.


Ooooh, that's great! Yeah, I'm definitely interested in that. Send me the info. Thanks!

Canadian Football Guy
12-10-2003, 02:07 PM
YAYYY!!!!! I CAN ADD CANADIAN CITIES!!!!! FINALLY!!!!

Karim
12-28-2003, 02:48 AM
If anyone is remotely interested in accurate FOF2004-taylored data for Canadian cities, I have an Excel spreadsheet with data for:

Calgary
Edmonton
Vancouver
Regina
Winnipeg
Toronto
Hamilton
Ottawa
Montreal
Halifax

Huckleberry
01-11-2004, 11:24 AM
Okay, somebody tell me what I'm doing wrong. I can't get this to work. I go in, edit the cities, select Save, exit the editor, open FOF2K4, start a new game, and the cities are still the same.

Assistance appreciated.

Mike D
01-11-2004, 11:32 AM
This is awesome. So MP leagues would have to submit the citydata.fdt file as well as the fni and fcy files now, I would assume, for this to work for everybody?

Karim
01-11-2004, 12:10 PM
Huckleberry,

Are you starting a new career? I don't think you can edit a career in progress.

Huckleberry
01-11-2004, 04:00 PM
Yes, new career.

Fido
01-11-2004, 04:19 PM
If I am not mistaken, Taco's utility modifies the default files (cities.fdt and nicks.fdt). These files are overriddeen by teh frfoot.fcy and frfoot.fni files in the unioverse folder, so if you have those then your changes will not appear. But I could be wrong.

Huckleberry
01-15-2004, 09:05 AM
Does anyone know if Fido is correct?

What do I have to do to make this work?

Fido
01-15-2004, 09:19 AM
Does anyone know if Fido is correct?Not me

What do I have to do to make this work?
rename those two files in your universe folder (adding an underscore to the end will suffice). Then fire up the game. If I'm right your cities will show up then.

Huckleberry
01-15-2004, 09:27 AM
Thanks, I'll try it when I get home.

And, for the record, you should always assume you're right. Unless you're TroyF. Then only assume you're right when you agree with me.

Huckleberry
01-19-2004, 06:26 PM
Okay, I'm trying to create a Texas Football League universe. With that in mind, do I have to edit every single city in the database to a Texas city, or can I stop after, say 50 cities and simply delete the rest of the rows from a .csv export, re-import to the editor, and go from there? Will that cause problems in FOF? Do I have to be the guinea pig?

Huckleberry
01-19-2004, 11:13 PM
If anyone's curious, I ran a test career with this. First of all, it screwed around the city affiliations to start. Once I got that fixed, it seemed like no team ever wanted to change cities, which made sense. But the problem was that for some reason the Front Office Bowl was always listed twice the final week, one played at each city's home field. Never saw that before, so I assume it's related.

I guess I'll create a full list of Texas cities.

Huckleberry
01-21-2004, 01:45 AM
For my unprecedented 4th post in a row on this thread, I'd like to present the following:

http://www.hornfans.com/recruiting/huckleberry/fofchamp.jpg

Has anyone else experienced this after using the city editor? I don't recall this ever happening before. If I exit the simulate games screen after simming the first game but before the second, the career is over. I can't advance. Seems like the game keeps the records from the first game as the real championship each year.

edit: Just noticed something else. The scores of the games were different when simulated, but once I exit out and then go back in to the screen, the scores have been adjusted to be the same for each team.

Karim
01-21-2004, 02:33 AM
Man, I just don't know. I added nine cities to my game, editting all the weather, etc. I then selected the default teams and changed affiliations where necessary.

I haven't had any problem at all.

Too bad Taco isn't around.

Huckleberry
01-21-2004, 02:13 PM
Okay, I've now noticed that this problem occurs in 80-90% of the seasons. It is not an always or never thing within careers.

How does the game determine where to play the championship and can anyone figure out how that would affect this?

Huckleberry
01-22-2004, 10:29 PM
Well, because there wasn't exactly a huge number of you who were jumping at the chance to help me out, I actually thought about the problem and figured it out.

It occurred to me that the game might choose the championship site based on region. This seemed to jive with the 80-90% guesstimate from above because there are 9 regions. So 1 out of 9 times it picked the Southwest region (which is where I put all the Texas teams) and it had plenty of cities to choose from. So I edited 8 cities to be one each from the other 8 regions and as soon as I tried again I had valid championship "vs." games in 3 straight seasons.

All you have to do is leave at least one city in each region. Problem solved. If everyone else already knew this, then you should have told me sooner. Rude. :D

fantastic flying froggies
01-24-2004, 07:41 AM
See, you figured it out all by yourself. :)

Huckleberry
02-03-2004, 08:36 AM
Actually, it turns out that that didn't work either. I am now starting again after changing the regions for all the teams to be as nearly an equal distribution between the 9 regions as possible (9 regions, 169 cities).

That seems to be working so far. We'll see.

By the way, in the .csv file format, does anyone know what the column with zeros and a few ones just to the left of the region and city represents? I can't figure that one out.

fantastic flying froggies
02-03-2004, 09:06 AM
By the way, in the .csv file format, does anyone know what the column with zeros and a few ones just to the left of the region and city represents? I can't figure that one out.

what csv file you talking about ? the player file ?

Huckleberry
02-03-2004, 09:11 AM
what csv file you talking about ? the player file ?

No, the City Editor will export to and import from a .csv file. When making mass changes like changing all the cities to Texas as the state, or changing all the regions, it's easier to edit the .csv file. So I was just wondering what that column is for.

fantastic flying froggies
02-03-2004, 10:06 AM
Sorry then, can't help you there.

Taco
02-03-2004, 07:41 PM
By the way, in the .csv file format, does anyone know what the column with zeros and a few ones just to the left of the region and city represents? I can't figure that one out.

This is the "has team" column. "1" is for cities that have a team, while "0" is for cities that do not have a team. There should be 32 "1"s, and the rest of the cities should be "0".

As far as your other problems, I'm not sure, but it seems like you are on the right track. I never ran into any problems like you described while I was testing this utility. Let me know if you figure it out!

gottimd
05-05-2004, 01:17 PM
Okay, instead of finding all the information for each city, I am just going to use this city editor. I tried changing the value in the "has team" Column from 0 to 1 and vice versa to reflect the cities that I want to have teams to start out with. But it won't let me import back in? Am I doing this wrong, or is it not possible to change the teams that have a team to start with?

Taco
05-05-2004, 07:32 PM
Actually, you can just use the game itself to change the cities that have a team to start with. First use the city editor to set up your cities, and then open the game and use the "Edit City Affiliations" command to match the teams with the cities.

mmarra82
05-12-2005, 09:20 PM
Using this utilitiy is it possible to get the Jets out of Jersey and move them to New York? If so, how?

Mike

Karim
05-12-2005, 11:30 PM
Using this utilitiy is it possible to get the Jets out of Jersey and move them to New York? If so, how?

Mike
Can't you just use the 'city affiliation' option in FOF?

mmarra82
05-14-2005, 04:39 PM
City affiliation option was the way to go, thanks.

Michael

Ben E Lou
09-16-2006, 07:44 AM
Downloaded. Feedback?

NoMyths
11-13-2006, 10:43 AM
Any chance this utility might be updated? It was a very useful tool for 2K4, and it would be great to continue using it.

twothree
11-13-2006, 10:52 AM
Taco said he might update it when he has a chance in this thread.

http://www.operationsports.com/fofc/showthread.php?t=53819

NoMyths
11-13-2006, 10:55 AM
Thanks. :)

Taco
11-13-2006, 05:24 PM
Yeah, I do plan on updating it. My current thinking is that I'll get this done during the holidays. I don't think I'll have time before that.

gstelmack
12-10-2006, 01:11 PM
Yeah, I do plan on updating it. My current thinking is that I'll get this done during the holidays. I don't think I'll have time before that.

Any update? My league needs one, so I'll probably have a basic one in the next day or two unless you are really close. I've got the file format if you need it.

If anyone wants to help verify, see this CSV file (http://www.gstelmack.com/Cities.csv).

JeeberD
12-10-2006, 05:38 PM
"My league", eh?

F'in tyrant...

Ben E Lou
12-10-2006, 05:40 PM
"My league", eh?

F'in tyrant...F'in elitist.




Oh, wait...

Taco
12-10-2006, 08:32 PM
The earliest I would get to doing it would be right around New Years. As posted earlier, you could probably just use the current City Editor and then use a hex editor to change the header record to the updated version.

gstelmack
12-10-2006, 08:40 PM
The earliest I would get to doing it would be right around New Years. As posted earlier, you could probably just use the current City Editor and then use a hex editor to change the header record to the updated version.

Not sure that'll work. Rain days seem gone, maybe 1 or 2 others.

But then my 2k4 experience was with the city data embedded in the game which has some differences from the main file (added economic tracking).

nilodor
12-10-2006, 08:53 PM
I gave it a go and it seemed to work, just edited the FOF 04 cities and citydata.fdt files using the editor. Then used a hex editor to change the 5 to a 6 in the header and it seems to work.

twothree
12-10-2006, 10:46 PM
Not sure that'll work. Rain days seem gone, maybe 1 or 2 others.

But then my 2k4 experience was with the city data embedded in the game which has some differences from the main file (added economic tracking).

Both cities.fdt and citydata.fdt have the same file structure in 2k4 and 2k7. They are exactly the same when opened in a hex editor except one location which is changed from a 5 to a 6.

gstelmack
12-11-2006, 09:19 AM
Well then, that'll make it easier.