Skip to content

Documentation update with better examples of objects reading and editing - #350

Merged
K0lb3 merged 5 commits into
K0lb3:masterfrom
isHarryh:docs
Nov 15, 2026
Merged

K0lb3 merged 5 commits into
K0lb3:masterfrom
isHarryh:docs

Conversation

@isHarryh

@isHarryh isHarryh commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

Summary

This PR updates the README file:

  • Adds tips for properly closing files (use with and open() to manage file handle). We already have some issues like Can't move files after opening them #349 related to the new file-locking feature introduced in 1.23.0. The best way to avoid these issues is to improve our documentation.
  • Adds details for object modification. Btw, fixes a outdated code that obj.save(instance) should be instance.save().

closes #349
closes #332

@K0lb3

K0lb3 commented Nov 29, 2025

Copy link
Copy Markdown
Owner

Thanks, I will try to come around combining your changes with the ones I recently made.

Comment thread README.md Resolved
@K0lb3

K0lb3 commented Feb 19, 2026

Copy link
Copy Markdown
Owner

Welp, sorry, I somehow totally forgot about your PR -.-'

@isHarryh
isHarryh marked this pull request as draft February 21, 2026 09:42
@isHarryh

Copy link
Copy Markdown
Contributor Author

Update:

  1. Solved review comment.
  2. Added appropriate quote blocks like [!NOTE], [!TIP] for better reading experience.
  3. Formated some code blocks.

Preview can be quickly accessed in https://github.com/isHarryh/UnityPy/tree/docs?tab=readme-ov-file#unitypy

@isHarryh
isHarryh marked this pull request as ready for review April 14, 2026 13:37
@isHarryh

Copy link
Copy Markdown
Contributor Author

Welp, sorry, I somehow totally forgot about your PR -.-'

This PR is still active. You can take a look when you have time. Thanks.

@K0lb3

K0lb3 commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Yeah, sorry, I kinda keep forgetting about it -.-'
I tend to try going through the PRs when I have some time at the evening or night,
which isn't really the best case to judge wording and explanations.
Code is no real issue, as it's just logic,
but real language....has just so many more layers.

@K0lb3
K0lb3 merged commit af1503d into K0lb3:master Nov 15, 2026
6 checks passed
@K0lb3

K0lb3 commented Nov 15, 2026

Copy link
Copy Markdown
Owner

I guess that I'm currently not brain fried,
so I went through it now.

Thanks a lot for the changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't move files after opening them File is locked

2 participants