Skip to content

Commit

Permalink
v1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
nomnomab committed May 16, 2024
1 parent ac0246a commit daab04c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Bepinex/Runtime/LethalCompanyPluginSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ public struct MoonData {
public bool autoLoadMoonEnabled;
public string levelSceneName;

#if ENABLE_BEPINEX
[TypeObjectField("SelectableLevel, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
#endif
public ScriptableObject selectableLevel;
}

Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# 1.0.6
# 1.0.7

- Fixed attribute error when `com.nomnom.unity-project-patcher-bepinex` wasn't installed
- Added step to move dungen scripts out of their folder
- Added `https://github.com/Unity-Technologies/AssetBundles-Browser.git` to git dependencies for `UPPatcherSettings`

# 1.0.6

- Removed seemingly unneeded animator conversion for `eclipse` to `eclipsed`

Expand Down
5 changes: 5 additions & 0 deletions Editor/LethalCompanyWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ public static void GetSteps(StepPipeline stepPipeline) {
stepPipeline.InsertBefore<CopyAssetRipperExportToProjectStep>(
new MakeProxyScriptsStep(new MakeProxyScriptsStep.Proxy("ES3Defaults", "LethalCompany"))
);
stepPipeline.InsertAfter<AssetRipperStep>(
new MoveFilesInExportStep(
(Path.Combine("Scripts", "Assembly-CSharp", "DunGen", "Editor", "*"), Path.Combine("Scripts", "Assembly-CSharp", "DunGen"))
)
);
stepPipeline.InsertAfter<CopyAssetRipperExportToProjectStep>(
// https://github.com/flamacore/UnityHDRPSimpleWater/tree/master
new MigrateProjectMaterialsStep(
Expand Down
5 changes: 3 additions & 2 deletions Runtime/LethalCompany_UnityProjectPatcherSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ MonoBehaviour:
m_Name: LethalCompany_UnityProjectPatcherSettings
m_EditorClassIdentifier:
_gameName: Lethal Company
_customGameName:
_gameVersion: 2022.3.9.15351836
_pipelineType: 2
_dllsToCopy:
Expand Down Expand Up @@ -1317,5 +1318,5 @@ MonoBehaviour:
version: 2.1.1
matchType: 2
_gitPackages:
- name: https://github.com/Unity-Technologies/AssetBundles-Browser.git
version:
- name: com.unity.assetbundlebrowser
version: https://github.com/Unity-Technologies/AssetBundles-Browser.git
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.nomnom.unity-lc-project-patcher",
"version": "1.0.6",
"version": "1.0.7",
"displayName": "Lethal Company Project Patcher",
"description": "A game wrapper that generates a Unity project from Lethal Company's build that can be playable in-editor",
"unity": "2022.3",
Expand Down

0 comments on commit daab04c

Please sign in to comment.