All Projects → 0x0ade → XnaToFna

0x0ade / XnaToFna

Licence: Zlib License
Relink games / tools using the XNA Framework 4.0 to use FNA instead

Programming Languages

C#
18002 projects
python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to XnaToFna

Monomod
A C# modding swiss army knife, powered by cecil.
Stars: ✭ 322 (+705%)
Mutual labels:  modding, mono, net-framework
Bepinex
Unity / XNA game patcher and plugin framework
Stars: ✭ 1,001 (+2402.5%)
Mutual labels:  xna, modding, mono
Servicestack.text
.NET's fastest JSON, JSV and CSV Text Serializers
Stars: ✭ 1,157 (+2792.5%)
Mutual labels:  mono, net-framework
Servicestack.redis
.NET's leading C# Redis Client
Stars: ✭ 2,236 (+5490%)
Mutual labels:  mono, net-framework
Oxide.Patcher
IL patcher for use with adding Oxide support to .NET games
Stars: ✭ 27 (-32.5%)
Mutual labels:  modding, patching
Opengl.net
Modern OpenGL bindings for C#.
Stars: ✭ 473 (+1082.5%)
Mutual labels:  mono, net-framework
Centrifuge
Cross-platform runtime mod loader and API for any Unity-based game. Supports Unity 5 and up!
Stars: ✭ 18 (-55%)
Mutual labels:  modding, mono
Open-Terraria-API
Open Terraria API - Mac, Linux & Windows
Stars: ✭ 65 (+62.5%)
Mutual labels:  modding, cecil
Zhsan
中華三國志
Stars: ✭ 135 (+237.5%)
Mutual labels:  xna, mono
PocoDynamo
C# .NET Typed POCO Client for AWS Dynamo DB
Stars: ✭ 39 (-2.5%)
Mutual labels:  mono, net-framework
Centrifuge
Cross-platform runtime mod loader and API for any Unity-based game. Supports Unity 5 and up!
Stars: ✭ 27 (-32.5%)
Mutual labels:  modding, mono
Mono.Cecil.Inject
An extension to Mono.Cecil that provides helper methods for simple method injection.
Stars: ✭ 65 (+62.5%)
Mutual labels:  mono, cecil
FFXIV Modding Tool
FFXIV Modding Tool is the Cross-platform Commandline interface alternative for TexTools
Stars: ✭ 39 (-2.5%)
Mutual labels:  modding
MBINCompiler
A tool for decompiling No Man's Sky .MBIN files to XML format
Stars: ✭ 168 (+320%)
Mutual labels:  modding
Android-ML
@cos8oih 👋
Stars: ✭ 20 (-50%)
Mutual labels:  modding
mono-reactive
open source Reactive Extensions (Rx) implementation for Mono
Stars: ✭ 65 (+62.5%)
Mutual labels:  mono
tiler
N-dimensional NumPy array tiling and merging with overlapping, padding and tapering
Stars: ✭ 26 (-35%)
Mutual labels:  patching
redscript
Compiler/decompiler toolkit for redscript
Stars: ✭ 191 (+377.5%)
Mutual labels:  modding
Uno.Wasm.Bootstrap
A simple nuget package to run C# code in a WASM-compatible browser
Stars: ✭ 242 (+505%)
Mutual labels:  mono
libloot
A C++ library for accessing LOOT's metadata and sorting functionality.
Stars: ✭ 22 (-45%)
Mutual labels:  modding

XnaToFna

Relink C# assemblies from XNA Framework 4.0 to FNA instead

zlib-licensed, clone recursively

XnaToFna game status tracker: https://github.com/0x0ade/XnaToFna-Tracker


TL;DR:

Relinker making some games using XNA 4.0 run with FNA. It goes as far as booting some X360 games on Android.

  • Download release OR compile using Visual Studio, MonoDevelop, xbuild or something that compiles C# code.
  • Put XnaToFna.exe into the game directory.
  • Put FNA.dll and the native libs into the game directory.
  • Run XnaToFna.exe with Mono on Linux / macOS or .NET Framework on Windows.
  • Keep XnaToFna.exe in the game directory because the game now also links to the XnaToFnaHelper inside it, whoops.
  • Update Mono or MonoKickstart.
  • Complain about broken paths, unconverted sound / video assets, Windows-specific DllImports and unsupported, closed-source native libraries.

how gamers think ports work vs how ports actually work

Special thanks to:

How?

Using MonoMod, it sets up the relinking map in MonoMod to relink all Microsoft.Xna.Framework references to FNA instead.

It can also relink from Microsoft.Xna.Framework.Net and Microsoft.Xna.Framework.GamerServices to FNA.NetStub, if it exists in the game directory.

Finally, it applies some optional salt and pepper here and there (XmlIgnore this, XnaToFnaHelper.GetProxyFormHandle that).

What's up with XnaToFna-Legacy?

XnaToFna-Legacy was practically a heavily modified fork of MonoMod, meant to relink and only to relink... and fix the paths, which didn't always work.

This rebuilt version uses "MonoMod neo", which itself is a rebuilt version of MonoMod. It now supports defining a custom relinker and relinking maps for the default relinker.

Before, most relinker fixes ping-ponged between MonoMod and XnaToFna, while some of them weren't even compatible with each other.

Keeping the actual relinking in MonoMod means there's only one relinker to maintain and only one place where it can screw up.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].