Valk: I tried using that DLL, and the maps all explode into flam--I mean, they crash.
Oddly enough, I also couldn't get the Restrict Random popup to, well, pop up using your DLL. Clicking that option resulted in the box being checked, but no window. Going back to the old DLL brought the popup back while retaining the crashes. Not sure what's happening there.
I've done a few more map tests (I'm obsessive and I can't stand unsolved problems). Here are the total results, just in case something is actually useful:
- RandomRestrict locking the Opheliacivs for all, human, AI or any combination thereof did not prevent crashing.
- Manually selecting civs and/or leaders for all players (including both Ophelias in one game): 20/20 successful map generations.
--- crashes occurred in all five additional attempts when even one civ was left as random
--- crashes also occurred in five more attempts when one or both versions of Ophelia were selected, with additional civs set to random
- Limiting leaders to "random good/evil": 20/20 clean maps
- Setting both Ophelia iUnique tags or all her LeaderAvailability tags to 0: 30/30 clean maps for each.
- Setting Ophelia2's LeaderAvailability to 0 while leaving Ophelia's three tags at 1, and vice versa failed in all attempts.
- Setting Ophelia's iUnique tag to 0 while leaving Ophelia2's tag at 1, and vice versa failed in all attempts.
- Setting Ophelia2's single LeaderAvailability tags to 0 while also setting Ophelia's (not Ophelia2's) iUnique tag to 0, or vice versa, worked in all attempts (including selecting the remaining Ophelia as a leader). This is a neat alternative that will still let you have a possible Ophelia for the Bannor, Sheaim or Dural while preventing her from spawning twice (see below).
- Really interesting bit: default XMLs, four players each set to random leader of one of Ophelia's possible civs (Bannor, Dural, Sheaim and Scions): 15/15 clean maps, 8 of which had Ophelia leading one of the four civs, and 2 of which had BOTH Ophelias (one Scions, one Bannor/Dural/Sheaim). This was with iUnique tags as 1. <Stuff, more stuff, and some other stuff went here, even though I don't know what I'm talking about. Continue!>
As with Cyther, I'm not so sure it's PC-related -- I actually just upgraded to my beast/baby a month ago. It might be OS-related, though, somehow. I'm running on Vista 64bit.
Thanks for the suggestion!
As someone who has never modded, though, perhaps you can offer up another bit of advice? Every time I attempt to do as you've suggested (in word pad) my computer tells me that I can't save what I just modified, saying "access denied" for some odd reason. When I attempt to mod it in notepad, it just tells me that my pathing is screwed up and won't try to save to the location (despite having said that there is already said file name in said location and if I'd like to save over it).
I'm stumped!
Hmm, that's tricksy.
What happens when you try renaming that file in the folder, making a copy, deleting, moving it, etc. -- does it tell you the same thing? If it WILL allow you to alter it:
Try renaming the file to something like "oldversion", then open it with notepad, make the changes, and try to save as the desired name (CIV4LeaderHeadInfos.xml or CIV4CivilizationInfos.xml, including the .xml so it saves as that file type). If it's still telling you something about the pathing (path/folder destination denied?), try saving it to your desktop instead, then manually copy-pasting to the right folder. It's not very elegant, and it completely ignores the mystery source of the problem, but it should work.
If it won't let you do anything to it, and you still can't save to that folder, then the only real thing I can think of to ask is if you're running on Vista. The standard stuff would follow: are you the administrator, do you still have the helpful/irritating User Account Control active, is the folder/file set to allow writing, etc.? If you're not running on Vista...then...I'm stumped too, haha. I usually overcome all such problems by scouring the internet, exhausting all suggested solutions and then just getting increasingly frustrated until I dissolve into hysterics. It seems to work!