substitutefor

software · Q399

FNA

C# reimplementation of XNA 4.0 Refresh focused on game preservation and portable execution.

Suggest a correction

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.[1][3]

Purpose and development model

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.[1][2]

Project and runtime setup

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.[3]

Content and shaders

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.[2][5]

Porting existing assets

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.[4]

Platform boundaries

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.[1][2][4]

Licensing

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.[3][6]

Substitution considerations

FNA and MonoGame 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.[5][7]

Capabilities & limitations

XNA-style game runtime

supported

FNA implements XNA 4.0 Refresh APIs with an explicit preservation focus.[1]

Maintaining or porting XNA-style C# games · Windows, Linux, macOS, iOS, tvOS · Version, build and integration requirements apply

1 source · check evidence
https://fna-xna.github.io/

XNA preservation goal and platform model

vendor · checked 2026-10-07

MonoGame content migration

limited

FNA documents broad overlap but different effect and media formats; DesktopGL MGCB output is the documented starting point rather than a universal compatibility guarantee.[5]

Maintaining or porting XNA-style C# games · Windows, Linux, macOS, iOS, tvOS · Version, build and integration requirements apply

1 source · check evidence
https://fna-xna.github.io/docs/appendix/Appendix-D:-MonoGame/

API differences, MGCB and effect/song/video formats

vendor · checked 2026-10-07

Native-library deployment

limited

SDL, FNA3D, FAudio and Theorafile serve different runtime needs and require appropriate target binaries.[3]

Maintaining or porting XNA-style C# games · Windows, Linux, macOS, iOS, tvOS · Version, build and integration requirements apply

1 source · check evidence
https://fna-xna.github.io/docs/1:-Setting-Up-FNA/

Project references, native libraries and runtime choices

vendor · checked 2026-10-07

Official Android support

unsupported

The current FAQ explicitly excludes Android from official support.[2]

Maintaining or porting XNA-style C# games · Windows, Linux, macOS, iOS, tvOS · Version, build and integration requirements apply

1 source · check evidence
https://fna-xna.github.io/docs/0:-FAQ/

Developer audience, no official NuGet, content/shader scope and Android

vendor · checked 2026-10-07

Can substitute for

These are products or services this entry can replace. Check the task and limitations for each comparison.

MonoGame for Maintaining or porting XNA-style C# games

limited

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.[2][5][7]

Windows, Linux, macOS, iOS, tvOS · Version, build and integration requirements apply

References

  1. FNA overview

    XNA preservation goal and platform model

    vendor · retrieved 2026-10-07
  2. FNA FAQ

    Developer audience, no official NuGet, content/shader scope and Android

    vendor · retrieved 2026-10-07
  3. Setting up FNA

    Project references, native libraries and runtime choices

    vendor · retrieved 2026-10-07
  4. Building XNA games with FNA

    Content exceptions, media codecs and game portability

    vendor · retrieved 2026-10-07
  5. FNA MonoGame compatibility

    API differences, MGCB and effect/song/video formats

    vendor · retrieved 2026-10-07
  6. FNA licensing

    MS-PL and source component exceptions

    vendor · retrieved 2026-10-07
  7. MonoGame documentation

    C# framework, XNA reimplementation and content tools

    vendor · retrieved 2026-10-07

Discussion & disputes

Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.

No discussion yet.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
3852026-10-11 20:40:06/* wbeditentity-create-item:0| */ sf:d68852fc-6b23-425d-aa48-61a04b23792b:v1 | Adds FNA with explicit MonoGame migration boundaries, native-library packaging, shader/content restrictions and no official Android support. Vendor comparison c | attribution: /proposals/d68852fc-6b23-425d-aa48-61a04b23792b