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

Mods compatible with this autopatcher #4

Closed
Shock9616 opened this issue May 26, 2022 · 3 comments
Closed

Mods compatible with this autopatcher #4

Shock9616 opened this issue May 26, 2022 · 3 comments

Comments

@Shock9616
Copy link

Hey I'm just wondering if there is a list of mac compatible mods anywhere or if there even are mac compatible mods. I'm also wondering what needs to be different from other versions of mods. Would it be fairly easy for me to modify a windows/linux mod (ex. Multitroid) to make it compatible here or would I have to ask the devs of the mods have to create a whole new version specifically for this?

@Miepee
Copy link
Owner

Miepee commented May 26, 2022

Non-exhaustive list of mods can be found here, this includes Mac compatible ones:
https://gitlab.com/Miepee/AM2R-Mods

It is possible to modify VM Windows Builds into Mac Builds AM2RPortHelper (Note that this requires either installing the Mod on Windows before feeding it into the program, or patching/installing it manually on other OS). Keep the Mac Notes on that page in mind.
After a Mac Build has been created, it is possible to use this AM2RModPacker fork (Windows only for now, works via WINE and Mono on Linux, not sure about Mac) to create DMCA-safe Mods.

Modifying YYC Builds is impossible, for that you'd have to ask the Mod devs to release a special build.


I know that by default one has to remove two or three snippets of code from the Community Source before feeding it into the PortHelper, but don't know which places it were by heart. Procedure is somewhat like this:

  • open data.win in UndertaleModTool
  • search for instances of immersion_play_effect and immersion_stop via scripts -> builtin -> search and either remove them or make them Android exclusive. See this PR for an example: https://github.com/AM2R-Community-Developers/AM2R-Community-Updates/pull/109/files
  • search for instances of font_replace and delete or lock the whole if chunk behind an OS check. Don't have an example for this one.

@Miepee Miepee closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2022
@Miepee Miepee pinned this issue May 26, 2022
@Shock9616
Copy link
Author

Awesome! Thanks! I'm just wondering, the AM2RPortHelper script seems to only support porting to Linux or Android, is there a flag or something that I need to give it to port to mac? I don't see anything about this in the README...

@Miepee
Copy link
Owner

Miepee commented May 30, 2022

Slightly out-of-scope for this issue, but i'll answer it here for now.
The current release (1.2) does not support Mac, but the in-dev does. Either wait until a new release comes out, or build from source. Artifacts also exist, in case you can't build from source.

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

No branches or pull requests

2 participants