help me

black baron

Daemon Prince of Tzeentch
Joined
Nov 20, 2007
Messages
302
Location
Planet of the Sorcerers
this is got to be the most annoying problem ever. i wanted to edit some python and while doing so i made it so that civics no longer have an effect (i figure i messed up some other stuff on the way but the civics were most noticeable)


summery-i opened the file w/ note pad and now it doesn't recognize it
 
it's not that i screwed up the the information, its that i made it a file type that civ IV doesn't recognize

ps: i know what the problem is and i have a theory of my own on how to fix it but i want to confirm my theory without having to test it; go off the experience of others



EDITED OUT:Python but i made it open it with note pad and now id doesn't recognize it(python)
 
please listen it's not that i changed a line of python, it that i didn't download python and used notepad to open it, but i antecedently told it to always open it with notepad, after downloading python i told it always to open it with python but that didn't help. in summery i converted the file into something civ4 doesn't recognize.

my guess is that re-instaling windows will fixx this but i want to know if there's another way to fix this
 
Choosing to have files open with a certain program does absolutely nothing to the content of the files; that only tells Windows what program to launch when you double-click such files. As long as the file name is the same, Civ4 will recognize it just fine regardless of the "default program." Thus if the game is having problems with a certain file, then the contents of the file have been changed, either intentionally or accidentally.

While you may not have intended to change any of the code after opening it in Notepad, if you re-saved the file after opening it, the formatting may have changed. Spacing is critical in Python and changes to tabs & spaces might mess things up in a way that isn't easy to notice by looking at the contents. I would suggest restoring the original Python files from backup or through re-installing the game.
 
it worked thank you(i feel really stupid not thinking of re-installing civ (insted of windows))

@zebra: thank you for trying
 
Back
Top Bottom