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
Mac: Screen blank with gfx_sdl (hróðvitnir not compiled with gfx_sdl2) #1231
Comments
Hi, which version are you using? (It will be printed in c_debug.txt). I know that older versions builds suffer this problem on recent Mac OS versions (I'm not sure whether it was because they were 32-bit, or gfx_sdl, or used old SDL versions; apparently I never filed that bug anywhere, not even in the Bughunters table), but this ought to be fixed in the latest stable release, hróðvitnir. As for the authorization to receive keystrokes, I had never heard of it, but looking into it I found that it was a problem in SDL2 (not SDL 1.2) that was fixed in SDL 2.0.10. We upgraded to SDL 2.0.12 on Mac well over a year ago, so please upgrade to a the latest OHRRPGCE version. |
I don't know where c_debug.txt gets put on mac, so I can't get it from there, but the About dialog shows "O.H.R.RPG.C.E version hróðvitnir 20210913" I'm on macOS 11.6.1 (20G224) |
Oh dear, guess those are new Mac/SDL problems then; I'll search the SDL bug tracker. But it still would be very useful to see c_debug.txt. It's normally created next to OHRRPGCE-Custom.app (or next to the .rpg once you load one), but is deleted when quitting if there are no errors. However Gatekeeper on Mac does "App Translocation" of downloaded apps, which causes the file to go to a temp directory instead. Last I checked, moving the .app out of your Downloads directory deactivates translocation. Also, you can try pressing Ctrl-F8 or Shift-F8 in Custom which normally opens c_debug.txt, and might still work. |
shift-F8 did not work until after I manually removed the quarantine flag from the terminal. But after that, I was able to find c_debug.txt
|
Yikes! I see that the Mac 64-bit hróðvitnir stable release was miscompiled. It was compiled using the obsolete gfx_sdl instead of gfx_sdl2. Thanks for reporting this. This wasn't noticed earlier because a lot of people use nightly builds instead, which aren't affected. So as a workaround you can download a nightly build. See https://rpg.hamsterrepublic.com/ohrrpgce/Downloads#Latest_Nightly_Version for the download link and warning. Currently, nightly builds are quite stable; there are no known new bugs or any other concerns. James, can you recompile and replace the build? I expect we'll have the Ichorescent release pretty soon anyway... nice to have a correct build in the release archive though. |
Semi-related, I haven't gotten any Mac nightly build logs since Nov 2, although it's still building successfully. |
I re-ran release-mac.sh and then fixed the symlinks on the website. Should be good now! (I also fixed the e-mail sending problem on the Mac nightly build box, curl was failing to pick up the ssl cert updates to the smtp server that we send through, I just fixed it by adding -k to the curl command line) |
it works! 🙌 |
Great, thanks for testing. Closing this as "resolved: obsolete" because there are two separate bugs here: hróðvitnir was miscompiled, and gfx_sdl doesn't work on recent macOS, which will never be fixed. |
after authorizing OHRRPGCE-Custom to recieve keystrokes from any application, the application window is blank. Subsequent relaunches changes nothing.
The console is filled with this:
The text was updated successfully, but these errors were encountered: