Closed iProgramMC closed 8 months ago
Hrm. OpenGL Error error 0x0506 looks like a problem with the frame buffer initialization, but we don't see errors specifically about initialization on the log with that (maybe it needs more error checking), however, I do see "Unable to load font interface/font_trajan.rtfont" which probably causes an early exit from App::Init(), so need to clear that up first. Where is the font? Why can't it find it?
I still don't have an M1 Mac so unfortunately I don't think I can be of much help right now.
I've got the same issue with my M2 Mac, freshly trying out Proton SDK. I think this is an issue with all ARM-based Macs when trying to get Proton to run...
I've got the same issue with my M2 Mac, freshly trying out Proton SDK. I think this is an issue with all ARM-based Macs when trying to get Proton to run...
Actually it does the same thing on Intel Mac on latest macOS.
Ok, I got a M2 Mac yesterday (my 10 year old mac can't do builds for my iPhone anymore, boo!) and got the exact same errors you guys are talking about on both the new machine and old. I guess something changed and resize events aren't send on startup, but the problem seemed deeper and I could never even get a black screen to render.
So, after hours of pulling my hair I just ripped out most of the mac GL init stuff and rewrote a greatly simplified version and it seems to work fine now.
I've updated the samples, but if you see "32-bit macOS targets are no longer supported" when opening your own Proton OSX projects, here's how to fix it:
Do Product->Clean Build Folder
Click where it says "Any Mac (i386 Deprecated))" at the top of the screen. Choose "Update and build" when it asks "<appname" uses custom architectures. Would you like to update to build with standard architectures?"
If you click on the little yellow triangle warning at the top of the screen, it will show warnings on the left. Click on "Update to recommended settings" and click "Perform changes". It seems really slow to me and barely works.. but I guess do it, or try to
In the project icon on the project navigator, remove all the source under shared/Boost/Signals, it's header only now
Click the project icon (in the the project navigator on the left) so it shows the targets, click the target, and change the minimum deployment to something higher. (10.13 was the lowest I could check)
Change project format to something newer if it's very old,
If you get an error saying "/MainMenu.xib:global: Compiling for earlier than macOS 10.6 is no longer supported. [12]": Click Resources/MainMenu.xib, choose "Open and upgrade".
In build settings (both at the project and target level) sort by "Customized" and remove everything under "User-Defined", I assume none of it matters anymore and can just break things
Oh, I added that and some stuff for getting FMOD audio to work on Mac here.
I've managed to compile RTBareBones for MacOS, but it's blank upon startup, InitDeviceScreenInfoEx is never called upon startup, only when resizing the window, however it gives me errors and the window stays blank: