Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AoE2-DE aoe2record file format support #44

Open
rnestler opened this issue May 5, 2021 · 4 comments
Open

AoE2-DE aoe2record file format support #44

rnestler opened this issue May 5, 2021 · 4 comments

Comments

@rnestler
Copy link
Contributor

rnestler commented May 5, 2021

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?

@the-eater
Copy link
Collaborator

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 :)

@rnestler
Copy link
Contributor Author

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 🙂

@M1ngXU
Copy link

M1ngXU commented Jan 22, 2023

What's the status of genie-rec?

@simonsan
Copy link
Collaborator

simonsan commented Feb 2, 2023

What's the status of genie-rec?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants