Demographics to Clipboard Mod

vovan

Warlord
Joined
Nov 24, 2001
Messages
276
If you play any Succession Games or participate in competitions, or otherwise like to show off your accomplishments, you know that often times you need to produce a screenshot of the Demographics screen. Well, after taking a screenshot of it for like the billionth time today, I got tired of the image processing associated with the cropping, resizing and uploading the picture, and came up with the "Demographics to Clipboard" mod.

This mod adds a button to the demographics screen, which, when clicked, puts an ASCII representation of the information in the table into the clipboard, for easy pasting into a text file or forum post.

Warning: This mod requires that you add a file to your game's installation directory. Use at your own risk, etc, etc, you know the drill. ;)

Installation instructions in the archive's readme.
 

Attachments

  • ClipboardDemographicsMod.zip
    153.4 KB · Views: 178
Attached screenshot produces the following table in the clipboard:

Code:
+------------------+-----+----------+-------------+-----------+----+
|   Demographics   |Value|Rival Best|Rival Average|Rival Worst|Rank|
+------------------+-----+----------+-------------+-----------+----+
|    GNP (Gold)    |  9  |    10    |      9      |     9     | 3  |
+------------------+-----+----------+-------------+-----------+----+
|Mfg. Goods (Prod.)|  1  |    3     |      1      |     1     | 5  |
+------------------+-----+----------+-------------+-----------+----+
|Crop Yield (Food) |  5  |    5     |      4      |     4     | 1  |
+------------------+-----+----------+-------------+-----------+----+
|     Soldiers     |5000 |   8000   |    4833     |   1000    | 3  |
+------------------+-----+----------+-------------+-----------+----+
|    Land Area     |6000 |  12000   |    8333     |   6000    | 6  |
+------------------+-----+----------+-------------+-----------+----+
|    Population    |1000 |   1000   |    1000     |   1000    | 1  |
+------------------+-----+----------+-------------+-----------+----+
|  Approval Rate   | 87% |   85%    |     85%     |    85%    | 1  |
+------------------+-----+----------+-------------+-----------+----+
| Life Expectancy  | 85  |    91    |     88      |    85     | 7  |
+------------------+-----+----------+-------------+-----------+----+
| Imports/Exports  | 0/0 |   0/0    |     0/0     |    0/0    | 1  |
+------------------+-----+----------+-------------+-----------+----+
 

Attachments

  • screen.jpg
    screen.jpg
    99 KB · Views: 389
Damn. I wanted to add this to my MOD, but don't want to have to put stuff in the games root folder. humm.... what to do, what to do....
 
alerum68 said:
Damn. I wanted to add this to my MOD, but don't want to have to put stuff in the games root folder. humm.... what to do, what to do....

Well, I was looking around for a way to access the windows clipboard through python without using any .pyd files, but haven't found any way to do that yet...

Another thing I was thinking is instead of putting the stuff into clipboard, to put the table into a text file. That would allow one to avoid modifying the game folder, but would also be less convenient, IMO...

Vovan
 
No, would be a pain to have to open the text file, and then copy and paste. I guess if someone is playing SGs, and wants to use this feature, they will be able to read the directions and copy it .pyd file to the right location.
 
alerum68 said:
Damn. I wanted to add this to my MOD, but don't want to have to put stuff in the games root folder. humm.... what to do, what to do....


Use and batch file (.bat)? That both moves the file and startup with right mod.
 
Zuul said:
Use and batch file (.bat)? That both moves the file and startup with right mod.

That was my first thought, but not everyone has Civ4, or the MyGames folder, in the same location.:(
 
Top Bottom