-
Notifications
You must be signed in to change notification settings - Fork 0
Look into platform port options #3
Comments
With the adoption of custom shaders, we cannot presume that Mac is supported. It will have to be investigated as a separate option. Linux has been compiled and booted in Linux, but that brings its own share of headaches. To name a few:
So far, Linux efforts have been attempted on VMs. We will want to try it on real hardware as well. Gotta claim that Steam Deck verification. Ubuntu and SteamOS are prime targets for running the game. Alpine could be useful purely for building. |
Movie playback seems fine when run natively on Windows. Some combination of Linux and the nature of a virtual machine causes it to choke badly. The video playback reaches the final frame long before the audio finishes. I'm not sure if the audio is slowed or what. Hardware acceleration could be helpful here. But really, the two streams SHOULD be synced. |
Upon closer inspection, the video file is 8 FPS, but the game appears to be displaying at 10 FPS. This happens on Windows as well. fa2ec07 seems to be the culprit; playing video before that will result in proper syncing (albeit without the letter boxing, and the video will freeze on the last frame and loop the audio). |
The movie playback bug was fixed in 993e9ea, but it was not related to Linux or VMs. Furthermore, I don't think the 8 FPS sample video we have comes close to bottlenecking. If I force the frame rate to 60, it zips through without incident. For the time being, I am able to build on Ubuntu 22 by changing a reference to |
Shader conversions are underway. First person works. Regular maps and battles work. SEs do seem to lag or sometimes not play at all. It is unclear if this is an issue with Linux, the virtual machine, or the fact that I changed a library's code to make the game compile. If it's not the latter, perhaps converting to WAV or archiving everything together would mitigate the issue. |
The above was resolved with 5e712bf. I'm not sure how robust the Xcode fix in rb_shader.cpp is, but it works for now. Shaders and FPS work. Performance is crap, but that is likely due to the VM. Real hardware will be needed for proper testing. The SE latency in Linux does not appear on MacOS. |
With this custom executable, our options for porting have expanded.
Mac and Linux are already supported.Other possibilities:The text was updated successfully, but these errors were encountered: