-
Notifications
You must be signed in to change notification settings - 8000 Fork 18
Successful compile on macOS arm64 #64
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
Comments
And here is a Console log for running the
|
I did not correctly follow the installation instructions. I now have the game up and running! Should I leave this issue open for the macOS compile changes or open a PR? |
Got this working also. One thing I noticed, the menu UI is super tiny on a 4K/Retina display. Wonder if there is any way to fix that? |
@trilantis try this #43 (comment) |
Try to use smaller resolution in options. Resolution affects only 2D graphics (UI). Didn't you touch world.ini for change resolution in begin_bg or etc ? |
@trilantis did you build using my patches? @Marisa-Chan did you have any thoughts on the original diffs? master...rnkn:UA_source:master |
@rnkn @Marisa-Chan I fiddled around with world.ini and made it look much better. Thanks for the pointer!
|
Closing this in favour of #65 |
I managed to get UA_source compiled without errors on macOS with the following changes:
master...rnkn:UA_source:master
First I added a couple of includes:
Then I needed to change the SDL context profile to
CORE
:For good measure I increased the GLSL version to the highest available on macOS, 4.1. I don't think this is necessary.
This allowed UA_source to compile successfully on macOS Sonoma 14.4.1 (23E224).
I then followed the instructions on the wiki to copy in required files.
Launching
./UA_source
then complained of shader errors, so I made the following changes:(Again the GLSL 4.1 version bump is probably unnecessary.)
For good measure I also updated the shaders in
/res
to 4.1:After this the
./UA_source
binary would launch without error, but it immediately exits with status 0.I ran with
lldb
add received the message:But I don't believe this has anything to do with UA_source.
Do you have any ideas about how I should further debug this?
System
Apple MacBook Air M1 (arm64)
macOS Sonoma 14.4.1 (23E224)
Apple clang version 15.0.0 (clang-1500.3.9.4)
Thank you for your time.
The text was updated successfully, but these errors were encountered: