edo9300 / edopro

A script engine for "yu-gi-oh!" and sample gui (former "ygopro")
Other
279 stars 75 forks source link

Update Client and Replay structure to support new ocgcore RNG seed #228

Closed edo9300 closed 2 years ago

edo9300 commented 2 years ago

https://github.com/edo9300/ygopro-core/pull/124 Update duel generation to the new OCG_DuelOptions::seed value type. Add ExtendedReplayHeader, a structure built on top of ReplayHeader that support the additional fields required to store the new 256 bit rng seed. The structure is designed to be forward compatible by having an integrated versioning system, slightly inspired by sqlite's. The current revision of this structure will have an header_version value of 1. Newer clients woudl still be able to parse older replays while older clients will reject newer replays as unsupported.