I recently discovered how to have the AI play a game against itself, where you only spectate, thanks to a fall further mod thread (044 progress report). This seemed fun, so I set up a small map erebus world game. I had previously enabled cheat/debug codes via chipotle in the ini file, and used ctrl-z to get a non-fog view at the start of the game. I then used the console (~) and the game.aiplay command ("help" for a list) to run the game autonomously. In 100 and 200 turn batches, I ran the game on its own for 988 turns. At this point, I saved the game. Save attached.
I then noted the memory usage in winxp's task manager, which was 840,760K. I returned to the game, and then hit "enter" for next turn. I timed how long it took to process the turn from hitting enter until I had the option to control my next unit. It took 15.4 seconds.
I then closed Civ4, reloaded it, loaded the save game, and repeated the process. The game took 513,956K of memory (after the turn -- 480M before, presumably some things had to be loaded to process the turn), and 12.4 seconds to process the turn.
This was using 0.40q on a modern computer with a fully patched, clean, recently reinstalled WinXP SP3. 4gigs of physical RAM and an E8400 CPU, and a Radeon 4870. dxdiag summary attached.
Therefore, I contend that there is some kind of memory leak which degrades performance in the latest FFH2. Of course, I don't know if it's in the base Civ4:BtS or the mod itself. mods, feel free to merge this with the bug thread, but as it's kind of a large report I put it here.
Oh, and the ability to have the AI play against itself while you watch is really darn cool. It's entertaining, educational, and a neat testing tool.
I then noted the memory usage in winxp's task manager, which was 840,760K. I returned to the game, and then hit "enter" for next turn. I timed how long it took to process the turn from hitting enter until I had the option to control my next unit. It took 15.4 seconds.
I then closed Civ4, reloaded it, loaded the save game, and repeated the process. The game took 513,956K of memory (after the turn -- 480M before, presumably some things had to be loaded to process the turn), and 12.4 seconds to process the turn.
This was using 0.40q on a modern computer with a fully patched, clean, recently reinstalled WinXP SP3. 4gigs of physical RAM and an E8400 CPU, and a Radeon 4870. dxdiag summary attached.
Therefore, I contend that there is some kind of memory leak which degrades performance in the latest FFH2. Of course, I don't know if it's in the base Civ4:BtS or the mod itself. mods, feel free to merge this with the bug thread, but as it's kind of a large report I put it here.
Oh, and the ability to have the AI play against itself while you watch is really darn cool. It's entertaining, educational, and a neat testing tool.