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

Some Mac and Linux support for Unity/Mono #93

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

AlexKnauth
Copy link
Contributor

This PR depends on #92 for V1Cattrs support, and replaces the old #53.

This adds Mac and Linux support for Unity/Mono V1, V1Cattrs, and V2. More V3 offsets could be added in the future after testing with a V3 game.

The Linux support all around, and the Mac SceneManager support, both work without needing std or alloc.

The Mac Mono support needs alloc, but not std.

@AlexKnauth AlexKnauth marked this pull request as draft May 11, 2024 23:32
@AlexKnauth
Copy link
Contributor Author

AlexKnauth commented May 11, 2024

The macho::symbols iterator function still needs work.

It currently works for Hollow Knight 1.2.2.1 and 1.5.78, but not 1.4.3.2 on Mac.

Something is wrong with finding the symbol table and string table in memory.

A previous version that used the filesystem for the symbol table and string table, was able to work just fine. (I think)

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.

2 participants