-
Hi, thanks for the great project. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Are you writing a mod to support extra controllers for a game? Generally the way to go about this is the following: Override public override bool TryRunCustomConfiguration(Configurator configurator)
{
Process.Start($"{configurator.ModFolder}//your_exe_file_name.exe");
// We launched a custom EXE to configure, so say we handled the event.
return true;
} You can find Additional notes below. |
Beta Was this translation helpful? Give feedback.
Here's some extra info.
As for the actual EXE being launched for config itself, if you're building it with .NET (C#), you should use NativeAOT if it is possible for you. To ensure you get a fully static binary. If you're using another programming language, make a static build if possible.
Alternatively, if that is not possible set
<RollForward>Major</RollForward>
in the.csproj
file of the project that creates the EXE.This will allow the built program to use a newer .NET version than it was originally created for. For example, using .NET 9 if the program was built for .NET 8 and the user does not have .NET 8 installed. While that technically can break long term, it is relatively rare fo…