SiegeEngineers/genie-rs

cpx: support DE2 campaign files

Closed this issue · 8 comments

Need to figure out the format

Hi !
Have you figured out the format of the Campaign files ?
Would be great if we can extract them :)

I started doing something here https://github.com/SiegeEngineers/genie-rs/tree/de2-cpx but didn't get very far yet.

Managed to find out just enough to be able to extract raw scenario files: #22

Allright !
Are DE2 campaign and scenario files that different from HD version ?

They both contain a bunch of new bytes where I don't know what they are yet. It's hard to say exactly how different they are, even a small difference can cause parsers to fail in strange ways, sometimes at a totally different point. It just needs someone to look at it with a hex editor for a while 🙃

Yes I see what you're talking about :')
There is no script nor software that compares HD and DE2 files and find the differences ? I mean with content extracted from hex edit soft

Ok, I just figured out that I can extract scenarios from campaigns inside the DE2 editor. Just needed to copy the content of "..\Steam\steamapps\common\AoE2DE\resources_common\campaign" to C:\Users%userprofile%\Games\Age of Empires 2 DE[USERID]\resources_common\campaign
Then the game can red them.
Like In HD I suppose, just never done that in HD so..

Done by #22