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

64-bit support #1

Open
austenadler opened this issue Dec 27, 2024 · 2 comments
Open

64-bit support #1

austenadler opened this issue Dec 27, 2024 · 2 comments

Comments

@austenadler
Copy link

@hfutrell, I ported FMOD to OpenAL and compiled the game for Intel 64-bit which also runs on new ARM chips: https://github.com/austenadler/Argonaut-2149/tree/feature/openal

If you like this solution, let me know if you want me to make a PR back to this codebase (maybe in a new branch called OpenAL?) so people can play this game on modern computers!

@hfutrell
Copy link
Owner

wow! Yes, put up a PR and if it compiles and runs I will accept it into the main branch.

@austenadler
Copy link
Author

Thanks! I suggest if you do merge #2, you take a backup of the current master though. I haven't written ObjC before so the code isn't super great. Specifically:

  1. The missile sound is quieter in this version, and I'm not sure why
  2. There are minor memory leaks introduced by my usage of OpenAL. There are some in the original game too, so I figured it isn't the biggest deal. Just a few NSStrings every time you start a new game or load a game
  3. I couldn't find a minDistance equivalent in OpenAL, so I left that out

Everything else works fine! I compiled and ran it (you can download here) on an Intel 64-bit and M1 chip Mac and it ran perfectly fine.

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