Browse Source

Merge branch 'master' into 4.0.0-beta

4.0.0-beta
Anairkoen Schno 5 years ago
parent
commit
b316b482c0
8 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/Assembly-CSharp.dll
  5. BIN
      Refs/MainAssembly.dll
  6. BIN
      Refs/Unity.TextMeshPro.dll
  7. BIN
      Refs/UnityEngine.CoreModule.Net4.dll
  8. +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}.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-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.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-Net3.ActiveCfg = Release|Any CPU
{23AB2621-A05C-4377-8418-85E6012C0BBE}.Release|x86-Net4.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 {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, var ascPath = Path.Combine(managedPath,
"Assembly-CSharp.dll");
"MainAssembly.dll"); // TODO: change to config option for other games
#region Virtualize Assembly-CSharp.dll #region Virtualize Assembly-CSharp.dll
{ {
CriticalSection.EnterExecuteSection(); 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(); CriticalSection.ExitExecuteSection();
} }


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

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


BIN
Refs/Assembly-CSharp.dll View File


BIN
Refs/MainAssembly.dll View File


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


Loading…
Cancel
Save