• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days. For more updates please see here.

News: Online xOTM Replay Utility - Beta

AlanH

Mac addict, php monkey
Moderator
Hall of Fame Staff
GOTM Staff
Supporter
Joined
Jan 9, 2003
Messages
29,706
Location
England
Have you ever wanted to ...

  • investigate how the xOTM winners achieve their great results?
  • recall how you played that great game last year?
  • compare your game progress with that of another player?
  • see how the AI behaves in different games?
  • just watch a replay?
Well, now you can do all this and more on line.
  • Fire up any web browser except Internet Explorer.
  • Point it at this page
  • Select a game type in the first menu - Civ3 or Civ4, GOTM, COTM, WOTM, BOTM, SGOTM ...
  • Select a game from the next menu to see some game data.
  • Select one or two players in the lower menus.
  • Use the controls to control the replay.
  • Play forward or backward; single step or auto-step at variable speeds; or enter a specific turn. If you have selected two players, their displays will play in sync.
  • Drag panels using their yellow title bars to take advantage of a bigger screen if you have one.
The moveable panels display:
  • A list of civs in the game, colour coded to match the map colours.
  • For each selected player:
    • A Map, showing civ cities and culture boundaries.
      Click a territory for a pop-up showing its current owner.
      Click a city for a pop-up showing its current and previous ownership, and its wonders.
    • An Event Log displays events up to the current date of the map (latest event at the top).
      Click an event to set that player's map to display the territories at that date.
    • Progress Graphs display various performance indicators for all the civs, and a vertical line at the current date of the map.
      Choose a graph parameter from the menu in the panel.
      Click a point on the graph to set that player's map to display territories at that date.

This is a beta. I started building it a while back, and it had some rough edges. I always intended to tidy it up before releasing for public use. However, I have not been able to get back to do that. Rather than leave it hidden and unused until hell freezes, I have done a bit more minimal work on it to fix obvious issues and to include SGOTMs, and I offer it here now.

Known issues include:

  • Internet Explorer support IE doesn't support the HTML5 <canvas> graphics tag, which is used heavily in this app. I don't feel inclined to learn Silverlight. Impasse!
  • Overlapped panel display issues If you drag panels to overlap, you will sometimes see odd display problems, or be unable to move a panel without first dragging another one away.
  • Graphic design is not my strong point So the page layout, controls and panel design could be improved significantly.
  • Civ3 SGOTM 1 doesn't work. I have not investigated this yet. There's no obvious difference between this game and the other 200+ games in the system.
  • Some old games are not included This is because we no longer have the saves for those games.
  • Some maps are a bit big! Probably need to use a smaller scale for those. Meanwhile you need a big screen!
  • Civ3 Event Logs are less comprehensive than Civ4 ones. Sorry, that's just the way it is. Civ3 saves contain less data.
  • More testing is required Based on my work and a few others who have looked at it, I think it basically works, but I'm sure there are bugs in the code.

Let me know what you think. Is it useful as it is? Please comment here on improvements you would like to see, or bugs you find.
 
I like it Alan. I like that I can move the map to be beside the events and look at both at once. Now as I do not follow xotm, I would love to be able to load it in my machine and look at my games. I use Viewer for that now, but you can only see one nation at a time.

Any chance it will be available for us to down load? It is a good thing that you have not wait so long that III was completely dead. I marvel at the efforts some players have gone to to provide some of these great tools. These are what made the game last this long IMO.

Thanks again for a great job.
 
Making a tool you could download is not trivial. The software you are seeing is a combination of:

  • Linux server-based programs that parse the saves. This is the same software we use to process and check xOTM submissions.
  • Server-based PHP scripts that extract the relevant data to drive the replay displays.
  • Javascript code that runs in your browser to display the data and respond to your control actions.
Rewriting and rebuilding all that as a downloadable app would be (a) a lot of work and (b) outside my expertise. I'm a Mac user, and don't have all the tools and expertise needed to create and maintain a Windows application ... even if I wanted to!

It would actually be a backward step to convert this into a downloadable tool. We are now living in the Google/Azure Cloud world. Online tools have huge benefits. If I want to update the software to fix a bug or improve a feature I do it once on the server and it is instantly available to all users. Since the only requirement on the client system is a standards-compliant web browser, this system will work on Macs, PCs or Linux systems. It will even run on my iPhone (apart from the panel dragging - must fix that)!

A better option would be to provide a facility for you to submit a game file and have the system deliver the data back to your browser. Much less work for me, and it retains all the above benefits of the online service. Since this was also raised in the Civ4 copy of this thread, it sounds as if this may be high on the new feature request list.

[PS] The reason this has arrived now for Civ3 is that I created a Civ4 utility, and then realised I could add Civ3 replay to it by bending the data structures to work with both.
 
Really cool. Easy to use and it's fun to be able to compare games this way. Also, nice to take a look back at some older games.

Thanks, Alan!
 
Wow!!!! AlanH has knocked the cover off folks. The ability to do a comparative viewing is a feature that can't be praised enough. I recommend that everyone drop what they are currently doing and give this new tool a try. You won't regret it. Thank you AlanH.

PS. BTW AlanH will it prepare my breakfast too?
 
Back
Top Bottom