Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
- [CLI] Update default settings.
Browse files Browse the repository at this point in the history
- [GUI] Update default settings.
  • Loading branch information
Razmoth committed Nov 28, 2023
1 parent 2050544 commit 7c67939
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion AssetStudio.CLI/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<add key="restoreExtensionName" value="True" />
<add key="enableFileLogging" value="False" />
<add key="minimalAssetMap" value="True" />
<add key="texs" value="{}" />
<add key="uvs" value='{"UV0":{"Item1":true,"Item2":0},"UV1":{"Item1":true,"Item2":1},"UV2":{"Item1":false,"Item2":0},"UV3":{"Item1":false,"Item2":0},"UV4":{"Item1":false,"Item2":0},"UV5":{"Item1":false,"Item2":0},"UV6":{"Item1":false,"Item2":0},"UV7":{"Item1":false,"Item2":0}}' />
<add key="texs" value="{}" />
</appSettings>
</configuration>
12 changes: 0 additions & 12 deletions AssetStudio.CLI/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ public class Settings

public static Settings Default => defaultInstance;

public bool displayAll => AppSettings.Get("displayAll", false);
public bool enablePreview => AppSettings.Get("enablePreview", true);
public bool displayInfo => AppSettings.Get("displayInfo", true);
public bool openAfterExport => AppSettings.Get("openAfterExport", true);
public int assetGroupOption => AppSettings.Get("assetGroupOption", 0);
public bool convertTexture => AppSettings.Get("convertTexture", true);
public bool convertAudio => AppSettings.Get("convertAudio", true);
public ImageFormat convertType => AppSettings.Get("convertType", ImageFormat.Png);
Expand All @@ -57,13 +52,6 @@ public class Settings
public bool exportBlendShape => AppSettings.Get("exportBlendShape", true);
public bool castToBone => AppSettings.Get("castToBone", false);
public bool restoreExtensionName => AppSettings.Get("restoreExtensionName", true);
public bool encrypted => AppSettings.Get("encrypted", true);
public byte key => AppSettings.Get("key", (byte)0x93);
public int selectedGame => AppSettings.Get("selectedGame", 0);
public bool enableResolveDependencies => AppSettings.Get("enableResolveDependencies", true);
public int selectedCNUnityKey => AppSettings.Get("selectedCNUnityKey", 0);
public int selectedAssetMapType => AppSettings.Get("selectedAssetMapType", 0);
public bool exportMiHoYoBinData => AppSettings.Get("exportMiHoYoBinData", true);
public bool enableFileLogging => AppSettings.Get("enableFileLogging", false);
public bool minimalAssetMap => AppSettings.Get("minimalAssetMap", true);
public string texs => AppSettings.Get("texs", string.Empty);
Expand Down
2 changes: 1 addition & 1 deletion AssetStudio.GUI/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<value>True</value>
</setting>
<setting name="assetMapType" serializeAs="String">
<value>0</value>
<value>1</value>
</setting>
<setting name="collectAnimations" serializeAs="String">
<value>True</value>
Expand Down
2 changes: 1 addition & 1 deletion AssetStudio.GUI/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion AssetStudio.GUI/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="assetMapType" Type="System.Int32" Scope="User">
<Value Profile="(Default)">0</Value>
<Value Profile="(Default)">1</Value>
</Setting>
<Setting Name="collectAnimations" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
Expand Down

0 comments on commit 7c67939

Please sign in to comment.