-
Notifications
You must be signed in to change notification settings - Fork 65
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
Fix loading of multimedia for JACL and Hugo #649
Conversation
It would be good to get the Hugo changes upstream. And do they all need to be gated behind GARGLK checks? I don't see any GARGLK specific functions. |
A couple things... First, the technically-not-standard The next part, though, is tied to specific Glk implementations. Multimedia support is very hacky: pictures/sounds are extracted from the Hugo resources and written directly to files with names like I admit I wasn't thinking about upstream when I hacked this solution together, and there is one thing that I'll definitely clean up for that, and just because it's the right thing to do: the new I think I'll probably have to open an issue upstream to forge a path forward there. For now I'll leave this pull request in stasis, but one way or another I'll ensure the fix gets in soonish, to try to maybe push out a 2022.1.2 release. |
Ahh, looks like glkstart.h doesn't have its own header to rely on? Maybe, like Bocfel, the terps should have a GLK_UNIX define then. And if someone wants to build it against Windows Glk for example, then they can add their own parallel solution.
Ah, yeah that's quite hacky. I think a better approach could be to construct an in-memory blorb. Though I haven't tried it. |
I've got an issue open upstream at hugoif/hugo-unix#4, and if that gets resolved, I'll update from there. For now, though, ensure loading is fixed locally for future releases. |
Fixes #648