Opened 9 years ago

Last modified 8 years ago

#3404 closed defect

Adapt replays for variable turn length — at Version 2

Reported by: elexis Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords: patch
Cc: Patch:

Description (last modified by Imarok)

This ticket deals with adapting the replay menu to variable turn lengths (#3752, #69).

Reading the entire commands.txt file to derive the total game duration of a replay is an I/O-heavy task, as the previous iterations of the patches in #3258 had shown.

If #4020 can be solved, the duration could be loaded from metadata.json, where it is saved as timeElapsed.

Change History (3)

comment:1 by elexis, 8 years ago

Description: modified (diff)
Summary: Save ingame-time in commands.txtAdapt replays for variable turn length
Type: enhancementdefect

(rewrote the ticket as commands.txt is very likely the wrong place to save that information)

comment:2 by Imarok, 8 years ago

Description: modified (diff)

by Imarok, 8 years ago

Attachment: 3404_timeElapsed_v1.patch added
Note: See TracTickets for help on using tickets.