EgoEngineModding / ego.nefsedit

NeFS archive editor for Ego Engine
MIT License
25 stars 9 forks source link

Add support for saving encrypted Archives Dirt Rally 2.0 #18

Closed Fabxx closed 3 years ago

Fabxx commented 4 years ago

image The archives can be opened and edited, but can't save the modifications to them

Fabxx commented 3 years ago

Is this project still active?

victorbush commented 3 years ago

This won't be supported. There's no way to save an encrypted archive. The first 80 bytes of the header are encrypted with RSA-1024 (i.e, public/private key pair). We can only decrypt, we'd need Codemasters' key to re-encrypt this data. This section of the header has the expected hash of the archive, if its incorrect the game will crash.