{"schemaVersion":"1.0","record":{"label":"FNA","description":"C# reimplementation of XNA 4.0 Refresh focused on game preservation and portable execution.","aliases":[],"kind":"software","website":"https://fna-xna.github.io/","overview":"FNA reimplements Microsoft's XNA Game Studio 4.0 Refresh libraries in C#, with a stated emphasis on preserving XNA behavior. It can support existing XNA games and new code-driven games, but developers still supply game logic, content and deployment packaging. Its portability model separates managed game assemblies from the native libraries required on each target.","license":"Microsoft Public License, with documented MIT and dual MS-PL/LGPL component exceptions; native libraries have separate terms.","lifecycle":"active","example":false,"features":[{"name":"XNA-style game runtime","status":"supported","detail":"FNA implements XNA 4.0 Refresh APIs with an explicit preservation focus.","useCase":"Maintaining or porting XNA-style C# games","platforms":["Windows","Linux","macOS","iOS","tvOS"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://fna-xna.github.io/","locator":"XNA preservation goal and platform model","retrievedAt":"2026-10-07T19:48:46Z","kind":"vendor"}]},{"name":"MonoGame content migration","status":"limited","detail":"FNA documents broad overlap but different effect and media formats; DesktopGL MGCB output is the documented starting point rather than a universal compatibility guarantee.","useCase":"Maintaining or porting XNA-style C# games","platforms":["Windows","Linux","macOS","iOS","tvOS"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://fna-xna.github.io/docs/appendix/Appendix-D:-MonoGame/","locator":"API differences, MGCB and effect/song/video formats","retrievedAt":"2026-10-07T19:50:13Z","kind":"vendor"}]},{"name":"Native-library deployment","status":"limited","detail":"SDL, FNA3D, FAudio and Theorafile serve different runtime needs and require appropriate target binaries.","useCase":"Maintaining or porting XNA-style C# games","platforms":["Windows","Linux","macOS","iOS","tvOS"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://fna-xna.github.io/docs/1:-Setting-Up-FNA/","locator":"Project references, native libraries and runtime choices","retrievedAt":"2026-10-07T19:50:13Z","kind":"vendor"}]},{"name":"Official Android support","status":"unsupported","detail":"The current FAQ explicitly excludes Android from official support.","useCase":"Maintaining or porting XNA-style C# games","platforms":["Windows","Linux","macOS","iOS","tvOS"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://fna-xna.github.io/docs/0:-FAQ/","locator":"Developer audience, no official NuGet, content/shader scope and Android","retrievedAt":"2026-10-07T19:49:56Z","kind":"vendor"}]}],"alternatives":[],"slug":"fna","draftAlternatives":[{"targetSlug":"monogame","status":"limited","detail":"Assessment: a substitute for MonoGame when maintaining XNA-style C# games on supported FNA targets. Review API extensions, content processing and effects/media formats; Android deployment and automatic compatibility of MonoGame-specific functionality are outside the supported scope.","useCase":"Maintaining or porting XNA-style C# games","platforms":["Windows","Linux","macOS","iOS","tvOS"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://fna-xna.github.io/docs/appendix/Appendix-D:-MonoGame/","locator":"API differences, MGCB and effect/song/video formats","retrievedAt":"2026-10-07T19:50:13Z","kind":"vendor"},{"url":"https://fna-xna.github.io/docs/0:-FAQ/","locator":"Developer audience, no official NuGet, content/shader scope and Android","retrievedAt":"2026-10-07T19:49:56Z","kind":"vendor"},{"url":"https://docs.monogame.net/articles/index.html","locator":"C# framework, XNA reimplementation and content tools","retrievedAt":"2026-10-07T19:49:46Z","kind":"vendor"}]}],"evidence":[{"url":"https://fna-xna.github.io/","locator":"XNA preservation goal and platform model","retrievedAt":"2026-10-07T19:48:46Z","kind":"vendor"},{"url":"https://fna-xna.github.io/docs/0:-FAQ/","locator":"Developer audience, no official NuGet, content/shader scope and Android","retrievedAt":"2026-10-07T19:49:56Z","kind":"vendor"},{"url":"https://fna-xna.github.io/docs/1:-Setting-Up-FNA/","locator":"Project references, native libraries and runtime choices","retrievedAt":"2026-10-07T19:50:13Z","kind":"vendor"},{"url":"https://fna-xna.github.io/docs/2a:-Building-XNA-Games-with-FNA/","locator":"Content exceptions, media codecs and game portability","retrievedAt":"2026-10-07T19:50:47Z","kind":"vendor"},{"url":"https://fna-xna.github.io/docs/appendix/Appendix-D:-MonoGame/","locator":"API differences, MGCB and effect/song/video formats","retrievedAt":"2026-10-07T19:50:13Z","kind":"vendor"},{"url":"https://fna-xna.github.io/license/","locator":"MS-PL and source component exceptions","retrievedAt":"2026-10-07T19:49:46Z","kind":"vendor"},{"url":"https://docs.monogame.net/articles/index.html","locator":"C# framework, XNA reimplementation and content tools","retrievedAt":"2026-10-07T19:49:46Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://fna-xna.github.io/","locator":"XNA preservation goal and platform model","retrievedAt":"2026-10-07T19:48:46Z","id":"home","title":"FNA overview","kind":"vendor"},{"url":"https://fna-xna.github.io/docs/0:-FAQ/","locator":"Developer audience, no official NuGet, content/shader scope and Android","retrievedAt":"2026-10-07T19:49:56Z","id":"faq","title":"FNA FAQ","kind":"vendor"},{"url":"https://fna-xna.github.io/docs/1:-Setting-Up-FNA/","locator":"Project references, native libraries and runtime choices","retrievedAt":"2026-10-07T19:50:13Z","id":"setup","title":"Setting up FNA","kind":"vendor"},{"url":"https://fna-xna.github.io/docs/2a:-Building-XNA-Games-with-FNA/","locator":"Content exceptions, media codecs and game portability","retrievedAt":"2026-10-07T19:50:47Z","id":"port","title":"Building XNA games with FNA","kind":"vendor"},{"url":"https://fna-xna.github.io/docs/appendix/Appendix-D:-MonoGame/","locator":"API differences, MGCB and effect/song/video formats","retrievedAt":"2026-10-07T19:50:13Z","id":"compat","title":"FNA MonoGame compatibility","kind":"vendor"},{"url":"https://fna-xna.github.io/license/","locator":"MS-PL and source component exceptions","retrievedAt":"2026-10-07T19:49:46Z","id":"license","title":"FNA licensing","kind":"vendor"},{"url":"https://docs.monogame.net/articles/index.html","locator":"C# framework, XNA reimplementation and content tools","retrievedAt":"2026-10-07T19:49:46Z","id":"monogame","title":"MonoGame documentation","kind":"vendor"}],"overviewCitations":["home","setup"],"licenseCitations":["license"],"sections":[{"id":"purpose","heading":"Purpose and development model","paragraphs":[{"id":"purpose-detail","content":[{"text":"FNA's stated goal is an accurate reconstruction of XNA behavior for preserving games, rather than a general visual authoring environment. Its documentation addresses experienced C# developers who understand build tooling and the distinction between managed and native code. This makes it especially relevant to maintaining an existing codebase, although new games can also use it."}],"citations":["home","faq"]}]},{"id":"setup","heading":"Project and runtime setup","paragraphs":[{"id":"setup-detail","content":[{"text":"The setup guide incorporates FNA as a project reference and distinguishes .NET Framework/Mono compatibility work from its recommended .NET 8 route for new projects. Native dependencies provide windowing and input through SDL, graphics through FNA3D, audio through FAudio and video decoding through Theorafile. Required libraries depend on the APIs used, and their platform binaries remain part of deployment even when managed assemblies can be shared."}],"citations":["setup"]}]},{"id":"content","heading":"Content and shaders","paragraphs":[{"id":"content-detail","content":[{"text":"FNA supports the XNA content pipeline for preservation but does not supply a replacement pipeline tool. Its FAQ also describes loading common image and audio formats directly. The shader path uses Direct3D 9 Effects compatible with XNA rather than accepting arbitrary modern shader languages. A project changing frameworks must therefore review its asset build process as well as the C# source."}],"citations":["faq","compat"]}]},{"id":"media","heading":"Porting existing assets","paragraphs":[{"id":"media-detail","content":[{"text":"The XNA porting guide identifies practical exceptions to content portability. WMA and WMV are not supported; the documented alternatives include Ogg Vorbis or QOA audio and Ogg Theora video. XACT banks using xWMA or XMA need rebuilding, with ADPCM described as an alternative. Shader input layouts also require attention because newer graphics backends can be stricter than older ones."}],"citations":["port"]}]},{"id":"platforms","heading":"Platform boundaries","paragraphs":[{"id":"platforms-detail","content":[{"text":"The project emphasizes desktop portability and additionally lists Apple and console targets. Its current FAQ explicitly rules out official Android support. Moving an XNA runtime dependency to FNA also does not automatically remove Windows-specific calls elsewhere in a game. Platform suitability therefore depends on the entire application and its dependencies, not only the framework's own target list."}],"citations":["home","faq","port"]}]},{"id":"license","heading":"Licensing","paragraphs":[{"id":"license-detail","content":[{"text":"FNA is distributed under the Microsoft Public License. The project's licensing page separately identifies MIT-derived code and a decoder with an MS-PL/LGPL choice. Native dependencies have their own terms. The availability of source code does not grant rights to redistribute a game's third-party assets or remove platform-specific distribution requirements."}],"citations":["license","setup"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"FNA and "},{"text":"MonoGame","targetSlug":"monogame"},{"text":" both support XNA-style C# game development. FNA's own compatibility guide documents substantial overlap alongside API and content exceptions; it directs MGCB users toward DesktopGL output and calls out incompatible effect and media formats. This supports a qualified migration option, not a drop-in guarantee. MonoGame-specific extensions and the required deployment targets should be checked before choosing the replacement."}],"citations":["compat","monogame"]}]}]},"id":"Q399","revision":385,"updatedAt":"2026-10-11T20:40:06Z","sourceUrl":"https://substitutefor.net/entities/Q399?revision=385"}}