Reply
 
Thread Tools
Old March 13, 2002, 00:06   #1
chiefpaco
Chieftain
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: Canada
Posts: 79
MapStat
This Windows or Macintosh compatible utility for Civ III offers the following:

Track your domination victory* progress:
MapStat can compile the map and population information of a CivIII save game. With this information, it displays precisely how many more tiles and city population each Civ needs to trigger a domination victory. Numbers may also be displayed in percentages.

Export your city statistics:
After opening a .sav file, you can export your city statistics (same information as the domestic advisor "F1" screen) to a tab-separated file that spreadsheet programs can read. The totals are also summed and written.

Gather map terrain Statistics:
The total terrain count details are also viewable for .sav files by selecting "View Terrain Counts" in the "File" menu. BIC map files are also compatible with MapStat. No Civ owns territory in a BIC map file but you can view the terrain statistics.

*Domination victory is triggered by owning greater than 2/3 of the total world's land+coast and total world's population at the beginning of your next turn (see FAQ for more information).

There are two versions of MapStat: Windows and Java. The windows version is the latest version and is heavily recommended for all Windows users. Mac users must use the Java version. Please note that a Java Run-time Environment must be installed on any computer to support the Java version. More details can be found in this thread.

A PTW-compatible version of Mapstat is available now here:
Mapstat PTW Alpha 2

Civ3 v1.29 non-patched WINDOWS version 3.0
To download the windows version, see below several posts, or click here:
Mapstat Windows Executable

The latest Java version 2.1, JMapstat : (note, this version, created by civfanatic AlanH, was made to provide compatibility with GOTM modded files)
Mapstat Java Executable

Here is the Java v2.0 source code:
Mapstat Java Source

Here is a screenshot of the 3.0 version:


Civ3 Tile Counter v1.0 removed after 2 downloads.
Civ3 MapStat v1.1 removed after 14 downloads.
MapStat v1.2 removed after 36 downloads.
MapStat v1.3 removed after 91 downloads.
MapStat v1.4 removed after 18 downloads.

Last edited by chiefpaco; November 29, 2003 at 13:04.
chiefpaco is offline   Reply With Quote
Old March 13, 2002, 01:00   #2
godinex
Prince
 
godinex's Avatar
 
Local Time: 15:40
Local Date: October 31, 2010
Join Date: Jan 2002
Location: because I'm the son of the King of Kings.
Posts: 661
testing...
testing...
See You later.
__________________
Traigo sueños, tristezas, alegrías, mansedumbres, democracias quebradas como cántaros,
religiones mohosas hasta el alma...
godinex is offline   Reply With Quote
Old March 15, 2002, 12:58   #3
chiefpaco
Chieftain
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: Canada
Posts: 79
For anyone with starting troubles
FYI. Double-clicking the JAR file should work but...

I developed using Windows ME & using Sun's Java Runtime Environment (JRE) 1.4.

General information: you need a " Java Application 'runner' " to run MapStat (or any Java application). Microsoft's Java Virtual Machine (JVM) comes with most windows versions but not XP (a controversial move on their part, but I digress...). If MapStat does not start, you might not have a good JVM or JRE. One possible solution is to download the latest JRE from: http://java.sun.com/j2se/1.4/download.html and then pick the JRE for your platform (this program could even work on UNIX or LINUX). This will let you run any java app . It's about 8-9 megs, but free.

Alternatively, Microsoft does have a new version of the Java Virtual Machine, which also supports Windows XP, and is also free to download. It shouldn't be too tough to find, knowing Microsoft.

I'd like to make a version that doesn't require the JRE (maybe some sort of .exe or C wrapper), but I haven't found out how to do it yet.
chiefpaco is offline   Reply With Quote
Old March 16, 2002, 18:40   #4
chiefpaco
Chieftain
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: Canada
Posts: 79
New Version 1.2
The new version of MapStat is ready and available now. New in this version:

- SAV file support
- GUI Boxing Improvements
- Some code streamlining
- Open starts in current directory

It can now analyze SAV or BIC files.
chiefpaco is offline   Reply With Quote
Old March 22, 2002, 02:09   #5
chiefpaco
Chieftain
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: Canada
Posts: 79
New Version 1.3
Hi. I've just finished version 1.3. Here are the new features:

1.3 - Current Version, Mar 22, 2002
- Added Civ-specific counts and select menu for save files
- Patched a bug in the search algorithm, fixing an extremely rare case of an incorrect count by 1 or 2

Basically, it now can read your save files & break down the tile counts into how much each civ has. It still includes a total count as well as an "unclaimed territory" count.

As it stands, I can't see much more that I would like to add to this utility, so this may be the final version, unless some problems arise or I get over ambitious about the look & feel or something. Anyway, it was fun
chiefpaco is offline   Reply With Quote
Old April 8, 2002, 22:31   #6
chiefpaco
Chieftain
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: Canada
Posts: 79
New version 1.4
Hi again. Version 1.4 is ready. New in this version:

- Added domination limit & civ-specific tiles-to-go boxes
- Added Export utility

Let me explain:

New boxes:
The domination limit was shown to be 2/3 of the world's land + coast. I included this in a new box.

There is also a new box for the civ's number of tiles before the domination will be triggered. Attention those who do not wish to trigger. You're going to aim for this to be = 1. When it = 0, domination will be triggered!

Export Utility:
My rumored "domestic dump". Exports the uncorrupted and corrupted gold & shields for each city & a total at the bottom. Use as you like.

Futher exploration:
- I might see if there's a solid formula I can apply to the city stats to predict the effects of different governments. I've seen some progress on this matter, but not enough to include it yet.

-------
MapStat - 41 settlers saved, 2 domination victories saved, and 1 NOT saved because it wasn't used! (shame, shame)
chiefpaco is offline   Reply With Quote
Old April 12, 2002, 18:38   #7
stepson
Settler
 
Local Time: 21:40
Local Date: October 31, 2010
Join Date: Apr 2002
Posts: 1
Go java! This works great on Mac OSX too!
stepson is offline   Reply With Quote
Old April 16, 2002, 17:00   #8
chiefpaco
Chieftain
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: Canada
Posts: 79
Thanks, stepson. I forgot to mention that Mapstat should work on Macs too. Versions older than OSX may need additional Java runtimes. They are available, I believe this should work. I can confirm myself soon (when I get Mac access), if it actually does:
http://developer.apple.com/java/download.html

In further news, I have released my source code. This version of the project is covered by the GNU license, which means you can read it, use it, build it, distribute it, but can't make any $$ off it.

Also, a Windows Executable (.exe) version is imminent. Someone was great enough to port everything to C & it is looking great. We're just testing it out & will wait to make sure it is new patch compatible before releasing (seeing as how it will only be a few days away).

If anyone plans to use the source code, they are encouraged to contact me via PM or email links by my profile.

Mapstat 1.41 source removed after 43 downloads.

Last edited by chiefpaco; November 29, 2003 at 13:06.
chiefpaco is offline   Reply With Quote
Old April 22, 2002, 15:08   #9
chiefpaco
Chieftain
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: Canada
Posts: 79
Hi again. V2.0 is ready now. Here are the main points:

- Windows version created by Lovro
- Added 1.21f patch and backwards compatibility

This version of the program is a windows executable. So, no need for the windows Java runtimes! Also, it has been re-configured to open 1.21f .sav and .bic files as well as your old files too!

A big hand for Lovro for the C++ port and for the 1.21 compatibility! A truly magnificent effort!

1.21f is still young, so we don't have a lot of new maps to test, but we're confident this will hold up. If you find any problems, please post here!

Java and Mac users stay tuned. If a Mac patch is released, the Java version shall be updated where necessary.

Edit: Ver 2.0 removed after 100 downloads. We thank you for your support!

Last edited by chiefpaco; May 13, 2002 at 17:03.
chiefpaco is offline   Reply With Quote
Old May 9, 2002, 08:14   #10
ultrix
Settler
 
ultrix's Avatar
 
Local Time: 23:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: European Federation, State of Finland
Posts: 10
attachment.php???
This sucks!What I hafta do if I REALLY wanna download mapstat and other utils? Netscape whines so, It seems that I must use IE?
Bravo, It's working
ultrix is offline   Reply With Quote
Old May 9, 2002, 08:45   #11
ultrix
Settler
 
ultrix's Avatar
 
Local Time: 23:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: European Federation, State of Finland
Posts: 10
Now wow! IE works correctly. I must remember to use IE when I use again this really very great service (apolyton.net). Still, it would be easier if the files were not in a thread but in a list where everyone could load the file directly.
ultrix is offline   Reply With Quote
Old May 13, 2002, 16:38   #12
chiefpaco
Chieftain
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: Canada
Posts: 79
New Version 2.12
Version 2.12 Has been released. Here are the changes from 2.0

- Open Newest option now scans for the newest saved game in the "saves" directory and opens it.
- Export City Stats now included in the Windows version.
- improved performance
- civilizations eliminated from the game are no longer available for viewing
- mod compatibility

Thanks to Lovro for including these changes.

Edit: Version 2.12 removed after 72 downloads. Once again, thanks for your support.

Last edited by chiefpaco; July 9, 2002 at 12:01.
chiefpaco is offline   Reply With Quote
Old May 13, 2002, 16:41   #13
chiefpaco
Chieftain
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: Canada
Posts: 79
I thought I should take the Java version out of the original post, to limit confusion. It shall be attached here. This is version 1.41.

The original post's 1.41 version was downloaded 45 times.

Edit: v1.41 version removed after 51 downloads.

Last edited by chiefpaco; November 29, 2003 at 13:09.
chiefpaco is offline   Reply With Quote
Old July 9, 2002, 11:52   #14
chiefpaco
Chieftain
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: Canada
Posts: 79
New version 3.0
Lovro has produced a new version, 3.0! Here are the changes/additions:

- Redesigned user interface. Terrain counts now in a separate window
- Included population requirement for domination victory
- Improved performance
- Added Explorer integration option: access MapStat by right-clicking SAV or BIC file in windows explorer
- Export city stats now can export any Civ's stats
- Added more data to the export city stats feature
- Added "Open after exporting" option
- Added "View as percentages" option
- Added "Save settings" option

Enjoy!
Attached Files:
File Type: zip mapstat_win3.0.zip (278.4 KB, 250 views)
chiefpaco is offline   Reply With Quote
Old July 10, 2002, 10:53   #15
Velociryx
staff
PtWDG Gathering StormApolytoners Hall of FameC4DG Gathering StormThe Courts of Candle'Bre
Moderator
 
Velociryx's Avatar
 
Local Time: 21:40
Local Date: October 31, 2010
Join Date: Apr 1999
Location: of Candle'Bre
Posts: 8,664
Question for the programmer, or anybody who has used it thus far:

I'm currently making a Candle'Bre Mod for Civ3, and want to illustrate the historical sites for cities (so if players want, they can construct each major city in CB exactly where it's supposed to be). To mark the spots, I'm using Saltpeter, which has no use in CB, so it will essentially give each city a +1 commerce bonus if you build on that site.

I know there are *supposed to be* 60 Saltpeter on the map, and was wondering if MapStat could tell me instantly....would save me from having to manually count them!



-=Vel=-
__________________
The list of published books grows. If you're curious to see what sort of stories I weave out, head to Amazon.com and do an author search for "Christopher Hartpence." Help support Candle'Bre, a game created by gamers FOR gamers. All proceeds from my published works go directly to the project.
Velociryx is offline   Reply With Quote
Old July 10, 2002, 13:25   #16
chiefpaco
Chieftain
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: Canada
Posts: 79
It is very possible. It is on the list for the next version. I'll check when we can get the next version out (3.0 is still hot off the press).
chiefpaco is offline   Reply With Quote
Old July 10, 2002, 15:59   #17
Velociryx
staff
PtWDG Gathering StormApolytoners Hall of FameC4DG Gathering StormThe Courts of Candle'Bre
Moderator
 
Velociryx's Avatar
 
Local Time: 21:40
Local Date: October 31, 2010
Join Date: Apr 1999
Location: of Candle'Bre
Posts: 8,664


Sweet! Thanks Chief!

-=Vel=-
__________________
The list of published books grows. If you're curious to see what sort of stories I weave out, head to Amazon.com and do an author search for "Christopher Hartpence." Help support Candle'Bre, a game created by gamers FOR gamers. All proceeds from my published works go directly to the project.
Velociryx is offline   Reply With Quote
Old July 10, 2002, 21:41   #18
Thrawn05
King
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Dec 2001
Location: Constantly giggling as I type my posts.
Posts: 1,735
Just ran your program, works fine on my computer. He's a quick overview of my computer config to help you in your future developments.

CPU: PIII 550MHz
RAM: 256MB 100MHz SDRAM
OS: Windows XP Pro upgraded from Windows 98SE
C: 13.1GB NTFS ATA/66 PM
D: 15GB NTFS ATA/66/100 PS
E: DVD SM
F: CD-RW SS

I ran the program under an Admin account only though.

Civ3 is installed on D:, and MapStat program located in the same directory as civ3.exe.

Great program, I'm using to help better tack my enemies.
__________________
I drink to one other, and may that other be he, to drink to another, and may that other be me!
Thrawn05 is offline   Reply With Quote
Old April 11, 2003, 06:46   #19
BigFurryMonster
PtWDG2 SunshineC3C IDG: Apolyton TeamC3CDG Team BabylonInterSite Democracy Game: Apolyton Team
Emperor
 
BigFurryMonster's Avatar
 
Local Time: 22:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: EMPEROR of Cats
Posts: 3,229
Any change you're going to:

* allow PTW files;
* add resources statistics

?
__________________
Greatest moments in cat:
__________________
"Miaooow..!"
BigFurryMonster is offline   Reply With Quote
Old November 25, 2003, 01:03   #20
MrWhereItsAt
Alpha Centauri Democracy GameCivilization II Democracy GamePtWDG RoleplayAlpha Centauri PBEMSpanish CiversCall to Power Democracy GameCivilization II Democracy Game: Red FrontPtWDG2 Latin LoversACDG The Cybernetic ConsciousnessCivilization III PBEMC3C IDG: Apolyton TeamACDG Planet University of TechnologyACDG3 GaiansC3CDG The Lost BoysCivilization III Democracy GameInterSite Democracy Game: Apolyton Team
Deity
 
MrWhereItsAt's Avatar
 
Local Time: 09:40
Local Date: November 1, 2010
Join Date: Nov 2001
Location: That's DR WhereItsAt...
Posts: 10,157
Not to be too ungrateful or anything, but could it be possible to make a C3C version of this?
__________________
Consul.

Back to the ROOTS of addiction. My first missed poll!
MrWhereItsAt is offline   Reply With Quote
Old November 27, 2003, 12:59   #21
chiefpaco
Chieftain
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: Canada
Posts: 79
The domination statistics are included in the new C3C game. Not sure what Lovro plans for the new expansion but I'll post something if there is an update. In the meantime, I should post up the latest updates to the Java program sometime...
chiefpaco is offline   Reply With Quote
Old November 29, 2003, 13:15   #22
chiefpaco
Chieftain
 
Local Time: 16:40
Local Date: October 31, 2010
Join Date: Feb 2002
Location: Canada
Posts: 79
Updated the first post to inlcude the latest versions of Mapstat available. There's no current news on further development from the current Mapstat team.
chiefpaco is offline   Reply With Quote
Old November 29, 2003, 21:37   #23
kring
Civilization III Democracy GameCivilization III PBEMCivilization III MultiplayerNationStatesCTP2 Source Code ProjectApolyton UniversityCivilization IV Creators
King
 
kring's Avatar
 
Local Time: 15:40
Local Date: October 31, 2010
Join Date: Dec 2001
Location: Wichita,KS,USA
Posts: 1,044
Thank you for the updated files.
kring is offline   Reply With Quote
Old November 29, 2003, 21:55   #24
Rasputin
lifer
DiploGamesThe Courts of Candle'Bre
Deity
 
Rasputin's Avatar
 
Local Time: 07:40
Local Date: November 1, 2010
Join Date: May 1999
Location: Between Coast and Mountains
Posts: 14,475
a very useful too, certainlyu added my last win in knowing what land i needed for dom win...
__________________
GM of MAFIA #40 ,#41, #43, #45,#47,#49-#51,#53-#58,#61,#68,#70, #71
Rasputin is offline   Reply With Quote
Old December 1, 2003, 02:53   #25
TechWins
King
 
TechWins's Avatar
 
Local Time: 14:40
Local Date: October 31, 2010
Join Date: Apr 2001
Location: Arizona
Posts: 1,747
chiefpaco, go to www.exe4j.com to get a free program to change a jar into a exe. The only problem with the free version is that there is a small pop up at the beginning of any exe you create with it that says "this program was created using exe4j". The pop up is not too big of a deal, and if you'd like I could create the exe for you so you don't have to download the program. Either way.

Also, by looking at your source it doesn't look like you made a C3C version. If you don't plan on creating a C3C version I might try giving it a shot if that would be ok with you. Although, I'm not sure if I would be able to succesfully update it.

At any rate good job.
TechWins is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 17:40.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team