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

enhancement: script editor commands.pak edit log #356

Open
ghramsey opened this issue Mar 31, 2024 · 4 comments
Open

enhancement: script editor commands.pak edit log #356

ghramsey opened this issue Mar 31, 2024 · 4 comments
Labels
enhancement Something which will improve the user experience. [TOOL] Script Editor This issue applies to the script editor within OpenCAGE.

Comments

@ghramsey
Copy link
Sponsor

Is there any way to create an edit log that gets dumped to text upon saving edits?

It doesn't need to be overly complex though it might be harder to impement than I'm thinking.

After all the changes I made and documenting them I have found multiple instances where upon
file compare to a vanilla commands.pak my written down changes don't match what I saved.
Either I made a further change I did not record or plain forgot I'd changed it and didn't write it down.

An edit log saved by the editor would help with such changes being recorded as a running log.

@MattFiler
Copy link
Owner

This is a nice idea, and kinda tied to #301 - basically just more explicitness about modifications.

It'd also potentially be useful down the line for making lighter weight mod installers, as you could probably have something that re-runs the modification steps rather than distributing all the asset files.

@MattFiler MattFiler added enhancement Something which will improve the user experience. [TOOL] Script Editor This issue applies to the script editor within OpenCAGE. labels Apr 1, 2024
@ghramsey
Copy link
Sponsor Author

ghramsey commented Apr 1, 2024

OH. I'm sorry for the duplication. I forgot I'd actually made such a request before.

OliverGoetz made a handy program for comparing two commands.paks of same mission.
It's very handy for making sure I've written down change. I've asked him for something similar
though a way to output the changes to either PDF or maybe XML so they're more visible.

https://github.com/Oliver2Goetz/AIPAKFileDifferentiation
He's using CathodeLib to gather the information.
Any way to add a native export function to CathodeLib ?

@MattFiler
Copy link
Owner

I think there's a differentiation here - the log from OpenCAGE would be step-by-step changes made via the GUI. The log from Oliver's tool would be raw diffs without any context history.

@ghramsey
Copy link
Sponsor Author

ghramsey commented Apr 1, 2024

Yeah. That's true.

It's all I've had to date to check for changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something which will improve the user experience. [TOOL] Script Editor This issue applies to the script editor within OpenCAGE.
Projects
None yet
Development

No branches or pull requests

2 participants