WolvenKit / CyberCAT

CyberPunk 2077 Customization Assistant Tool. Work in progress Savegame editor.
MIT License
158 stars 34 forks source link

Add ability to diff nodes of two save files or export save files for diff #12

Open cy11100 opened 3 years ago

cy11100 commented 3 years ago

I'm not sure how easy this is to implement given the current codebase, but the ability to diff nodes (or just export the hex-decoded raw data as CSV so they can be loaded into another diff tool) would significantly improve on the ability of users to figure out the format of the save file and its nuances.

Together with https://github.com/WolvenKit/CyberCAT/issues/11, it would make save editing and figuring out the format more accessible, allowing more people to work towards figuring out the format.

This would be superior to simply editing the decompressed file, due to the already discovered save file data nodes. For example, the CSV dump could contain something along the lines of (per node within the save dat):

NodeName (eg [7]PlayerSystem) DataName (eg FirstPerson, TrailingBytes) RawData (eg hex-decoded raw bytes, or the Collection object)

SirBitesalot commented 3 years ago

Exports of unknown nodes as binary blob are supported now and can be checked out with this release: https://github.com/WolvenKit/CyberCAT/releases/tag/v0.0.6-alpha

Issue can stay open for now as this feature is not done yet and will be extended soon