mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-19 15:51:58 +00:00
Update to BepInEx 785
This commit is contained in:
1 parent
7c751425c6
commit
0bd10b9969
6 files changed
+14
-15
No files matched your search
@@ -187,13 +187,13 @@ jobs:
|
||||
# IL2CPP
|
||||
# -----------------------------
|
||||
|
||||
- name: Download BepInEx 6 pre-release 735
|
||||
- name: Download BepInEx 6 pre-release 785
|
||||
run: |
|
||||
curl -L https://builds.bepinex.dev/projects/bepinex_be/735/BepInEx-Unity.IL2CPP-win-x64-6.0.0-be.735%2B5fef357.zip -o bepinex-x64.zip
|
||||
curl -L https://builds.bepinex.dev/projects/bepinex_be/785/BepInEx-Unity.IL2CPP-win-x64-6.0.0-be.785%2B5fef357.zip -o bepinex-x64.zip
|
||||
unzip bepinex-x64.zip -d epic
|
||||
chmod -R u+rwX,go+rX epic
|
||||
|
||||
curl -L https://builds.bepinex.dev/projects/bepinex_be/735/BepInEx-Unity.IL2CPP-win-x86-6.0.0-be.735%2B5fef357.zip -o bepinex-x86.zip
|
||||
curl -L https://builds.bepinex.dev/projects/bepinex_be/785/BepInEx-Unity.IL2CPP-win-x86-6.0.0-be.785%2B5fef357.zip -o bepinex-x86.zip
|
||||
unzip bepinex-x86.zip -d steam
|
||||
chmod -R u+rwX,go+rX steam
|
||||
|
||||
|
||||
@@ -207,13 +207,13 @@ jobs:
|
||||
# IL2CPP
|
||||
# -----------------------------
|
||||
|
||||
- name: Download BepInEx 6 pre-release 735
|
||||
- name: Download BepInEx 6 pre-release 785
|
||||
run: |
|
||||
curl -L https://builds.bepinex.dev/projects/bepinex_be/735/BepInEx-Unity.IL2CPP-win-x64-6.0.0-be.735%2B5fef357.zip -o bepinex-x64.zip
|
||||
curl -L https://builds.bepinex.dev/projects/bepinex_be/785/BepInEx-Unity.IL2CPP-win-x64-6.0.0-be.785%2B5fef357.zip -o bepinex-x64.zip
|
||||
unzip bepinex-x64.zip -d epic
|
||||
chmod -R u+rwX,go+rX epic
|
||||
|
||||
curl -L https://builds.bepinex.dev/projects/bepinex_be/735/BepInEx-Unity.IL2CPP-win-x86-6.0.0-be.735%2B5fef357.zip -o bepinex-x86.zip
|
||||
curl -L https://builds.bepinex.dev/projects/bepinex_be/785/BepInEx-Unity.IL2CPP-win-x86-6.0.0-be.785%2B5fef357.zip -o bepinex-x86.zip
|
||||
unzip bepinex-x86.zip -d steam
|
||||
chmod -R u+rwX,go+rX steam
|
||||
|
||||
@@ -235,7 +235,9 @@ jobs:
|
||||
cp -rf packaging/il2cppinterop/* epic/BepInEx/core/
|
||||
|
||||
- name: Steam App ID
|
||||
run: echo "945360" > steam/steam_appid.txt
|
||||
run: |
|
||||
echo "945360" > steam/steam_appid.txt
|
||||
echo "945360" > epic/steam_appid.txt
|
||||
|
||||
# -----------------------------
|
||||
# Mono
|
||||
@@ -299,7 +301,6 @@ jobs:
|
||||
file_path: release-artifacts/EHR.v${{ github.event.inputs.version }}_Steam_Epic-Games_Microsoft-Store.zip
|
||||
display_name: EHR v${{ github.event.inputs.version }} (x64 - Steam/Epic/MS Store)
|
||||
release_type: release
|
||||
game_versions: "18.0.0"
|
||||
|
||||
# ---------------------------------------------------------
|
||||
# 6) Create GitHub Release
|
||||
|
||||
+2
-2
@@ -44,8 +44,8 @@
|
||||
|
||||
<ItemGroup Condition="'$(Configuration)' == 'IL2CPP'">
|
||||
<PackageReference Include="AmongUs.GameLibs.Steam" Version="2026.9.29" PrivateAssets="all" />
|
||||
<PackageReference Include="BepInEx.IL2CPP.MSBuild" Version="2.1.0-rc.1"/>
|
||||
<PackageReference Include="BepInEx.Unity.IL2CPP" Version="6.0.0-be.735" Private="false" ExcludeAssets="runtime;native" />
|
||||
<PackageReference Include="NextBepLoader.BepInEx.IL2CPP.MSBuild" Version="2.1.0-dev-6" />
|
||||
<PackageReference Include="BepInEx.Unity.IL2CPP" Version="6.0.0-be.785" Private="false" ExcludeAssets="runtime;native" />
|
||||
<PackageReference Include="Samboy063.Cpp2IL.Core" Version="2022.1.0-pre-release.21" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
using System;
|
||||
#if !IL2CPP
|
||||
using System.Collections;
|
||||
using EHR.Patches;
|
||||
#endif
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using AmongUs.Data;
|
||||
using EHR.Patches;
|
||||
using EHR.Roles;
|
||||
using HarmonyLib;
|
||||
using Hazel;
|
||||
|
||||
+1
-3
@@ -910,7 +910,7 @@ internal static class SabotageMapPatch
|
||||
for (int roomId = 0; roomId < countRooms; roomId++)
|
||||
{
|
||||
MapRoom mr = __instance.rooms[roomId];
|
||||
if (!mr.special || !mr.special.transform) continue;
|
||||
if (!mr || !mr.special || !mr.special.transform) continue;
|
||||
|
||||
SystemTypes room = mr.room;
|
||||
|
||||
@@ -959,9 +959,7 @@ internal static class MapRoomDoorsStartPatch
|
||||
}
|
||||
}
|
||||
}
|
||||
#if !IL2CPP
|
||||
[HarmonyPatch(typeof(MapRoom), nameof(MapRoom.DoorsUpdate))]
|
||||
#endif
|
||||
internal static class MapRoomDoorsUpdatePatch
|
||||
{
|
||||
public static Dictionary<SystemTypes, TextMeshPro> DoorTimerTexts = [];
|
||||
|
||||
@@ -7,4 +7,4 @@
|
||||
|
||||
For Epic Games, you need to have the newly created folder at the exact same location with the exact same name as the original AmongUs folder, and launch from the Epic Games launcher (delete the old folder or rename it)
|
||||
|
||||
Feel free to delete "INSTRUCTIONS.txt" and "AmongUsDotNetInstaller.exe" after you've successfully completed all steps and got EHR to load properly.
|
||||
Feel free to delete "INSTRUCTIONS.txt" and "AmongUsDotNetInstaller.exe" after you've successfully completed all steps and got EHR to load properly. Although you might need them when the base game updates.
|
||||
Reference in new issue
Block a user