genie-rs icon indicating copy to clipboard operation
genie-rs copied to clipboard

AoE2-DE aoe2record file format support

Open rnestler opened this issue 4 years ago • 4 comments

Is there any work underway to support the record game format from AoE 2 DE? When trying to open one I got the following output:

[crates/genie-scx/src/format.rs:181] victory_conquest = true
[crates/genie-scx/src/format.rs:187] _timeline_count = 0
[crates/genie-scx/src/format.rs:187] _timeline_available = 0
[crates/genie-scx/src/format.rs:187] _old_time = 0.0
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
Time(Time { time: 104, old_world_time: 0, unknown: 0 })
ViewLock(ViewLock { x: 30.0, y: 25.0, player: PlayerID(2) })
thread 'tests::aoe2_de_rec' panicked at 'unsupported command type 0x29', crates/genie-rec/src/actions.rs:1443:19

So I guess the file format is kind of support, just not all the commands?

rnestler avatar May 05 '21 14:05 rnestler

Hey! I'm actually working on getting DE support into genie-rs, the actions are quite easy, however genie is able to expose a lot of info in the header that we're trying to figure out how it changed in DE so that might take a while :)

the-eater avatar May 17 '21 10:05 the-eater

Hi @the-eater in the meantime I tested it again and it seems it was kind of random that it thought it could parse the header (and probably misinterpreted some things), since I couldn't get it to work with more recent game recordings.

It looks like https://github.com/happyleavesaoc/aoc-mgz supports DE, so it may be worth taking a look at it :slightly_smiling_face:

rnestler avatar May 20 '21 19:05 rnestler

What's the status of genie-rec?

M1ngXU avatar Jan 22 '23 08:01 M1ngXU

What's the status of genie-rec?

Older recorded game files are supported afaics, 2DE is not supported and work is done in #47.

simonsan avatar Feb 02 '23 11:02 simonsan