This repo is for automating the build of WebAssembly (WASM) native libraries for FNA, including:
- FNA3D.a - 3D graphics library for FNA.
- FAudio.a - XAudio reimplementation for FNA.
- SDL3.a - Simple DirectMedia Layer.
libtheorafile.a - Ogg Theora videos decoder library.(not yet implemented)liba
+hot_reload_detour
- Library used for MonoMod on WASM.- dotnet - Patched dotnet wasm multithreaded runtime for MonoMod on WASM
- openssl - OpenSSL wasm
There is currently just one workflow:
- WASM Build (FNA).
This fork contains a few patches (and uses SDL3 instead of SDL2):
SDL3.patch
fixes some issues withEM_ASM
not being proxied to main thread.FNA3D.patch
adds-pthread
to theCFLAGS
so FNA3D is built with WASM threads support.dotnet.patch
patches the dotnet runtime so MonoMod can be used
Go to the Actions tab and download the .zip artifact from the latest workflow run.
See for further details: https://gist.github.com/TheSpydog/e94c8c23c01615a5a3b2cc1a0857415c