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

macOS version #16

Open
MrEbbinghaus opened this issue Feb 6, 2024 · 6 comments
Open

macOS version #16

MrEbbinghaus opened this issue Feb 6, 2024 · 6 comments

Comments

@MrEbbinghaus
Copy link

Is it possible to compile this patch so it works with the macOS client?

(I guess not, because the game is a single binary on Mac and you can't compile a new one without the STFC code, but I would be glad to be told otherwise.)

@tashcan
Copy link
Collaborator

tashcan commented Feb 7, 2024

Technically one could make this compatible with mac, but it'll require quite some work and some additional things that currently don't exist.
There is some windows specific code, but most of the dependencies already have mac support in some form or another.

But as is, no, this doesn't support macOS at the moment.

@stevesuh
Copy link

stevesuh commented Feb 28, 2024

@tashcan I might take up this issue. I haven't done C++ for decades but I'm currently unemployed. I can also do a fork. Whatever you prefer since this is your baby. I'm playing on OS X on a Mac Mini M1 currently so I have some selfish reason to do it.

@tashcan
Copy link
Collaborator

tashcan commented Feb 28, 2024

@tashcan I might take up this issue. I haven't done C++ for decades but I'm currently unemployed. I can also do a fork. Whatever you prefer since this is your baby. I'm playing on OS X on a Mac Mini M1 currently so I have some selfish reason to do it.

You'd fork and make a PR. It's not a super easy task though. As on mac you will have to write like a jump-start executable to inject the code into the game which is a little tricky and then replace all the GetModuleHandle/GetProcAddress things all over the place.

@stevesuh
Copy link

Should be fun. I've got bandwidth. Mainly playing STFC so this should be a good segue into something more productive. :)

@tashcan
Copy link
Collaborator

tashcan commented Feb 28, 2024

Should be fun. I've got bandwidth. Mainly playing STFC so this should be a good segue into something more productive. :)

If you have questions or need advice on things, feel free to reach out. Happy to help if I can.

@ahknight
Copy link

Above patch works like a charm over here.

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

4 participants