You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hiya, I'm attempting to use pardeike harmony (which in-turn uses MonoMod) to patch a game's headless server. I'm running this under .NET 8 (specifically CLR 8.0.3) on an ARM platform (Oracle's Ampere A1 free tier to be exact) and it appears detours fail to be created. I've tracked it down to the constructor for MonoMod.Core.Platforms.Systems.LinuxSystem. Given there's an 'if' statement in there which specifically checks if the platform is x86_64 and then throws a NotImplementedException, I get that this is probably just not supported yet. I wanted to report this issue anyways since it's still undesired (if understandable) behavior.
What would need to be done in order for MonoMod to work on ARM under .NET 8?
Example
This can very easily be reproduced with the following:
publicstaticvoidMain(string[]args){
DetourFactory.Current.CreateDetour(((Delegate)Test).Method,((Delegate)OtherTest).Method);// Fails with "NotImplementedException" on ARM
Test();}publicstaticvoidTest(){
Console.WriteLine("Test has been called");}publicstaticvoidOtherTest(){
Console.WriteLine("Other test has been called");}
The text was updated successfully, but these errors were encountered:
Note that there are a number of people who will happily sponsor work to bring MonoMod to Apple Silicon and arm64 in the Apple Silicon thread, including with free development hardware: #90 (comment).
Description
Hiya, I'm attempting to use pardeike harmony (which in-turn uses MonoMod) to patch a game's headless server. I'm running this under .NET 8 (specifically CLR 8.0.3) on an ARM platform (Oracle's Ampere A1 free tier to be exact) and it appears detours fail to be created. I've tracked it down to the constructor for
MonoMod.Core.Platforms.Systems.LinuxSystem
. Given there's an 'if' statement in there which specifically checks if the platform is x86_64 and then throws aNotImplementedException
, I get that this is probably just not supported yet. I wanted to report this issue anyways since it's still undesired (if understandable) behavior.What would need to be done in order for MonoMod to work on ARM under .NET 8?
Example
This can very easily be reproduced with the following:
The text was updated successfully, but these errors were encountered: