1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Simple tool for dumping your event log to file

Discussion in 'Civ4 - Utility Programs' started by Gyathaar, Nov 18, 2005.

  1. Gyathaar

    Gyathaar Warlock Retired Moderator GOTM Staff

    Joined:
    Nov 19, 2003
    Messages:
    3,753
    Location:
    Trondheim, Norway
    This is a simple command line program that reads a savefile and dumps the output to file (or screen if no outfile specified)

    Syntax: eventlog.exe \path\to\savefile.Civ4SavedGame optional_output_file.txt

    Version1 removed after 42 downloads
    Version2 removed after 50 downloads
    Version3 removed after 123 downloads
    Version4 removed after 25 downloads
    Version5 removed after 270 downloads
    Version6 removed after 1038 downloads

    Changelog:
    Version7: Supports Warlords saves. Should properly recognize all multiplayer saves.
    Version6: Supports patch 1.61
    Version5: Made compatible with the HOF-mod
    Version4: Supports patch 1.52, added years for ancient age start saves. Added info for played time and save version/speed.
    Version3: Supports patch 1.09 (and most likely 1.08 too)
    Version2: also dumps current active trade deals the player has.
    Version1: original version

    If you miss zlib1.dll when running the program, you can copy this file from the civ4 game dir, or download latest zlib compiled DLL from http://www.zlib.net/

    Added eventlog_bat.zip
    This contains a .bat file.. this batch file is assuming you unzip eventlog.exe into your 'my documents' folder (and that you are running english version of windows) - if not you would have to edit it.. it is a text file.
    You can place this .bat file anywhere you like, and it will allow you to drag and drop civ4 savesfiles onto in, and make notepad pop up with the eventlog inside.

    Download the file here:
    http://forums.civfanatics.com/downloads.php?do=file&id=1443
     

    Attached Files:

  2. warpstorm

    warpstorm Yumbo? Yumbo!

    Joined:
    Dec 19, 2001
    Messages:
    7,688
    Location:
    Snack Food Capital of the World
    Cool! I've wanted something like this.
     
  3. Rik Meleet

    Rik Meleet Top predator Retired Moderator

    Joined:
    Apr 11, 2003
    Messages:
    11,980
    Location:
    Nijmegen Netherlands
    I get a "ZLIB1.DLL" missing error message.
     
  4. Gyathaar

    Gyathaar Warlock Retired Moderator GOTM Staff

    Joined:
    Nov 19, 2003
    Messages:
    3,753
    Location:
    Trondheim, Norway
    Hmm.. I thought I compiled that in statically.. guess not.. there should be a copy of that file in the civ4 dir.. just copy it into same dir as the program
     
  5. Gyathaar

    Gyathaar Warlock Retired Moderator GOTM Staff

    Joined:
    Nov 19, 2003
    Messages:
    3,753
    Location:
    Trondheim, Norway
    Added a new version that also dumps active trade deals (and contains the latest version of zlib1.dll )
     
  6. snepp

    snepp King

    Joined:
    Oct 27, 2005
    Messages:
    667
    Location:
    Sioux Falls, SD
    Any chance of getting this updated to work after the patch? Would be much appreciated. :)
     
  7. Gyathaar

    Gyathaar Warlock Retired Moderator GOTM Staff

    Joined:
    Nov 19, 2003
    Messages:
    3,753
    Location:
    Trondheim, Norway
    I am away from home since before patch.. will update late sunday or monday when I get home :)
     
  8. snepp

    snepp King

    Joined:
    Oct 27, 2005
    Messages:
    667
    Location:
    Sioux Falls, SD
    Looking forward to it, thanks.
     
  9. Gyathaar

    Gyathaar Warlock Retired Moderator GOTM Staff

    Joined:
    Nov 19, 2003
    Messages:
    3,753
    Location:
    Trondheim, Norway
    Updated to work with v1.09 (and v1.00) saves.
     
  10. snepp

    snepp King

    Joined:
    Oct 27, 2005
    Messages:
    667
    Location:
    Sioux Falls, SD
    Thanks again. :)
     
  11. Wallabulla

    Wallabulla Warlord

    Joined:
    Nov 9, 2002
    Messages:
    110
    Location:
    Norway
    Thanks alot for this nice app, comes in handy when I forget to keep a log :)
     
  12. Drogear

    Drogear Prince

    Joined:
    Mar 14, 2005
    Messages:
    508
    Location:
    Sweden, Umeå
    how does this file work? Plz explain in detail cuz im dumb
     
  13. Drogear

    Drogear Prince

    Joined:
    Mar 14, 2005
    Messages:
    508
    Location:
    Sweden, Umeå
    tried to start the .exe and get a dos promt that i cant read cuz it closes down in a milli sec.
     
  14. Gyathaar

    Gyathaar Warlock Retired Moderator GOTM Staff

    Joined:
    Nov 19, 2003
    Messages:
    3,753
    Location:
    Trondheim, Norway
    start a dos prompt (start->run , type 'cmd' (or 'command' if in win9x ) )
    cd to the dir where you put the file.. then run the command from there
     
  15. Drogear

    Drogear Prince

    Joined:
    Mar 14, 2005
    Messages:
    508
    Location:
    Sweden, Umeå
    Thanks I finaly got it to work
     
  16. ajil

    ajil Chieftain

    Joined:
    Jun 2, 2003
    Messages:
    46
    grrr. same problem as drogear, but I got an error message when I tried the start menu, run cmd. Now that one also instantly disappears when it opens. Whatever happened to the good old ms dos prompt?
     
  17. DaveMcW

    DaveMcW Deity

    Joined:
    Oct 8, 2002
    Messages:
    6,489
    Is there any chance you could detect the game speed and label the turns with appropriate dates?
     
  18. Gyathaar

    Gyathaar Warlock Retired Moderator GOTM Staff

    Joined:
    Nov 19, 2003
    Messages:
    3,753
    Location:
    Trondheim, Norway
    I could.. I also need to update the program for v1.52
     
  19. VoiceOfUnreason

    VoiceOfUnreason Deity

    Joined:
    Dec 5, 2005
    Messages:
    3,663
    Any guess at ETA? I'd love to have this before my report is due.
     
  20. Gyathaar

    Gyathaar Warlock Retired Moderator GOTM Staff

    Joined:
    Nov 19, 2003
    Messages:
    3,753
    Location:
    Trondheim, Norway
    Updated to version 4.
    Should show years for all ancient age saves (those that start in 4000BC).
    Added some extra info at end of output (playtime, game version and speed)
     

Share This Page