New mod: Better Fingers Tracking

Default muscles values to zero
Embedding of debug symbols
This commit is contained in:
SDraw 2024-03-25 14:18:53 +03:00
parent d6e52feb27
commit 2aaac8f7bd
No known key found for this signature in database
GPG key ID: BB95B4DAB2BB8BB5
27 changed files with 1457 additions and 36 deletions

View file

@ -0,0 +1,26 @@
using System;
using System.IO;
using System.Reflection;
namespace ml_bft
{
static class ResourcesHandler
{
public static string GetEmbeddedResource(string p_name)
{
string l_result = "";
Assembly l_assembly = Assembly.GetExecutingAssembly();
string l_assemblyName = l_assembly.GetName().Name;
try
{
Stream l_libraryStream = l_assembly.GetManifestResourceStream(l_assemblyName + ".resources." + p_name);
StreamReader l_streadReader = new StreamReader(l_libraryStream);
l_result = l_streadReader.ReadToEnd();
}
catch(Exception) { }
return l_result;
}
}
}