Skip to content

Commit

Permalink
Fixed some bugs, added manual path override, changed what usage shows.
Browse files Browse the repository at this point in the history
  • Loading branch information
WarpZephyr committed Jul 24, 2024
1 parent 0692214 commit 1b5fa8f
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 170 deletions.
6 changes: 6 additions & 0 deletions ACVLooseLoader/LooseLoaderConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ public class LooseLoaderConfig
/// </summary>
public bool ApplyFmodCrashFix { get; set; } = true;

/// <summary>
/// The path provided will be treated as the root folder and the default platform will be used.
/// </summary>
public bool UseManualPath { get; set; } = false;

/// <summary>
/// Whether or not to use the default platform.
/// </summary>
Expand Down Expand Up @@ -109,6 +114,7 @@ public void Parse(string path)
SkipMapResourcePack = SearchBoolProperty(parser, SkipMapResourcePack);
HideHeaders = SearchBoolProperty(parser, HideHeaders);
ApplyFmodCrashFix = SearchBoolProperty(parser, ApplyFmodCrashFix);
UseManualPath = SearchBoolProperty(parser, UseManualPath);
UseDefaultPlatform = SearchBoolProperty(parser, UseDefaultPlatform);
UseDefaultGame = SearchBoolProperty(parser, UseDefaultGame);
DefaultPlatform = SearchEnumProperty(parser, DefaultPlatform);
Expand Down
Loading

0 comments on commit 1b5fa8f

Please sign in to comment.