Skip to content

Improvements, AssetBundle scenes, some cleanup #13

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

Merged
merged 12 commits into from
Jun 21, 2025
Merged

Improvements, AssetBundle scenes, some cleanup #13

merged 12 commits into from
Jun 21, 2025

Conversation

jkim-y
Copy link
Collaborator

@jkim-y jkim-y commented Jun 4, 2025

  • More improvements by executing events and scenes specifically on the main il2cpp thread. (Fixes to some false events occurred prior to this PR)
  • Some performance improvements, less time between events, less necessary class loading, etc.
  • Delete some unused code. Mainly, we are no longer using unloadScenes(), and triggerAllEvents(), which are dead RPC pipes.
  • Some config cleanup.
  • Updated collision triggering logic.
  • Updated event triggering to also include the object handle with the function callback. what you’d see on the python side is something like: 0x12234@0x7432432, where the left content is the object handle and the right content is the method address.
  • Added AssetBundle scenes. This still won’t work with BeatSaber because of their scene state manager, but you should be able to listen and execute scenes from AssetBundles.
  • AsyncOperation/AsyncOperationHandle handling, allows us to operate on C# async functions .
  • Some fixes with manual mode.
  • Re-add scene counting manually in case the scene count APIs are stripped from the libil2cpp.so binary.

@jkim-y jkim-y marked this pull request as ready for review June 21, 2025 08:58
@jkim-y jkim-y merged commit 8bf20b4 into master Jun 21, 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