Skip to content

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

Open
isHarryh wants to merge 5 commits intoK0lb3:masterfrom
isHarryh:docs
Open

Documentation update with better examples of objects reading and editing#350
isHarryh wants to merge 5 commits intoK0lb3:masterfrom
isHarryh:docs

Conversation

@isHarryh
Copy link
Copy Markdown
Contributor

@isHarryh isHarryh commented Nov 4, 2025

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
Copy link
Copy Markdown
Owner

K0lb3 commented Nov 29, 2025

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

@K0lb3
Copy link
Copy Markdown
Owner

K0lb3 commented Feb 19, 2026

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
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