We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83c6f6e commit b20f97aCopy full SHA for b20f97a
2 files changed
mgz/header/scenario.py
@@ -27,11 +27,12 @@
27
)),
28
Padding(5),
29
"elapsed_time"/Float32l,
30
- "scenario_filename"/PascalString(lengthfield="scenario_filename_length"/Int16ul),
31
If(lambda ctx: ctx._._.version == Version.DE, Struct(
+ # We should try a record with a determined starting time to see if those byte are before elapsed_time or not
32
Padding(64),
33
# If(lambda ctx: find_save_version(ctx) >= 13.34, Padding(64)) 4*16 = 64
34
))
35
+ "scenario_filename"/PascalString(lengthfield="scenario_filename_length"/Int16ul),
36
)
37
38
# Scenarios have intro text, a bitmap, and cinematics.
tests/recs/de-64.3-campaign.aoe2record
9.79 MB
0 commit comments