Browse Source

Merge branch 'master' into 4.0.0-beta

pull/46/head
Anairkoen Schno 4 years ago
parent
commit
3abeb43ff1
6 changed files with 20 additions and 6 deletions
  1. +0
    -1
      BSIPA.sln
  2. +11
    -3
      IPA.Injector/Injector.cs
  3. +1
    -1
      IPA.Loader/Loader/manifest.json
  4. BIN
      Refs/Unity.TextMeshPro.dll
  5. BIN
      Refs/UnityEngine.CoreModule.Net4.dll
  6. +8
    -1
      Refs/refs.txt

+ 0
- 1
BSIPA.sln View File

@ -262,7 +262,6 @@ Global
{23AB2621-A05C-4377-8418-85E6012C0BBE}.Debug|x86-Net4.ActiveCfg = Debug|Any CPU
{23AB2621-A05C-4377-8418-85E6012C0BBE}.Release|x64-Net3.ActiveCfg = Release|Any CPU
{23AB2621-A05C-4377-8418-85E6012C0BBE}.Release|x64-Net4.ActiveCfg = Release|Any CPU
{23AB2621-A05C-4377-8418-85E6012C0BBE}.Release|x64-Net4.Build.0 = Release|Any CPU
{23AB2621-A05C-4377-8418-85E6012C0BBE}.Release|x86-Net3.ActiveCfg = Release|Any CPU
{23AB2621-A05C-4377-8418-85E6012C0BBE}.Release|x86-Net4.ActiveCfg = Release|Any CPU
{23AB2621-A05C-4377-8418-85E6012C0BBE}.Verbose_Release|x64-Net3.ActiveCfg = Release|Any CPU


+ 11
- 3
IPA.Injector/Injector.cs View File

@ -240,15 +240,23 @@ namespace IPA.Injector
{
var ascPath = Path.Combine(managedPath,
"Assembly-CSharp.dll");
"MainAssembly.dll"); // TODO: change to config option for other games
#region Virtualize Assembly-CSharp.dll
{
CriticalSection.EnterExecuteSection();
var ascModule = VirtualizedModule.Load(ascPath);
ascModule.Virtualize(cAsmName, () => bkp?.Add(ascPath));
try
{
var ascModule = VirtualizedModule.Load(ascPath);
ascModule.Virtualize(cAsmName, () => bkp?.Add(ascPath));
}
catch (Exception e)
{
loader.Error($"Could not virtualize {ascPath}");
loader.Error(e);
}
CriticalSection.ExitExecuteSection();
}


+ 1
- 1
IPA.Loader/Loader/manifest.json View File

@ -5,7 +5,7 @@
"#![IPA.Loader.description.md]",
"A mod loader specifically for Beat Saber."
],
"gameVersion": "1.5.0",
"gameVersion": "1.6.0",
"id": "BSIPA",
"name": "Beat Saber IPA",
"version": "4.0.0-beta.1",


BIN
Refs/Unity.TextMeshPro.dll View File


BIN
Refs/UnityEngine.CoreModule.Net4.dll View File


+ 8
- 1
Refs/refs.txt View File

@ -1,7 +1,6 @@
::from ./bsinstalldir.txt
"Beat Saber_Data/
""Managed/
"""Assembly-CSharp.dll?virt
"""Unity.TextMeshPro.dll
"""UnityEngine.
""""dll?alias=UnityEngine.Net4.dll
@ -27,6 +26,14 @@
""BeatSaberCustomUI.
"""dll
::startopt
::from ./bsinstalldir.txt
"Beat Saber_Data/
""Managed/
"""Assembly-CSharp.dll?virt
"""MainAssembly.dll?virt
::endopt
::startopt
::from ./mdinstalldir.txt
"MuseDash_Data/


Loading…
Cancel
Save