Skip to content

Some Mac support for Unity/Mono #93

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

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

Conversation

AlexKnauth
Copy link
Collaborator

@AlexKnauth AlexKnauth commented Feb 2, 2024

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

This adds Mac support for Unity/Mono V1, V1Cattrs, and V2. More V3 offsets could be added in the future after testing with a V3 game: my best educated guess at the V3 offsets is here: https://github.com/AlexKnauth/asr/tree/mono-4-v3

The Mac SceneManager support works 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
Collaborator 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)

@AlexKnauth AlexKnauth changed the title Some Mac and Linux support for Unity/Mono Some Mac support for Unity/Mono Mar 20, 2025
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.

1 participant