Skip to content

Commit

Permalink
Merge pull request #29 from fraganator/dev
Browse files Browse the repository at this point in the history
UI improvements and bug fix
  • Loading branch information
fraganator authored Apr 28, 2022
2 parents fc596fd + 578c18b commit 849e21f
Show file tree
Hide file tree
Showing 16 changed files with 270 additions and 147 deletions.
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Archive Cache Manager change history
## v2.13 (2022-04-28)
* Fix config window DPI scaling issue
* Config window performance improvements
* Option to skip version during update check

## v2.12 (2022-04-21)
* Option to copy non-archive files to cache
* Support for extracting additional formats
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

A LaunchBox plugin which caches extracted ROM archives, letting you play games faster. Also allows launching individual files from archives, and loading preferred file types from an archive.

## New in v2.13
* Fix config window DPI scaling issue
* Config window performance improvements
* Option to skip version during update check

## New in v2.12
* Option to copy non-archive files to cache
* Support for extracting additional formats
Expand Down
4 changes: 2 additions & 2 deletions src/ArchiveCacheManager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.12.0.0")]
[assembly: AssemblyFileVersion("2.12.0.0")]
[assembly: AssemblyVersion("2.13.0.0")]
[assembly: AssemblyFileVersion("2.13.0.0")]
17 changes: 17 additions & 0 deletions src/Core/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public enum M3uName
private static readonly string defaultStandaloneExtensions = "gb, gbc, gba, agb, nes, fds, smc, sfc, n64, z64, v64, ndd, md, smd, gen, iso, chd, gg, gcm, 32x, bin";
private static readonly string defaultMetadataExtensions = "nfo, txt, dat, xml, json";
private static readonly bool? defaultUpdateCheck = null;
private static readonly string defaultSkipUpdate = null;
private static readonly bool defaultBypassPathCheck = false;
private static readonly string defaultEmulatorPlatform = @"All \ All";
// Priorities determined by launching zip game from LaunchBox, where zip contains common rom and disc file types.
Expand Down Expand Up @@ -84,6 +85,7 @@ public EmulatorPlatformConfig()
private static bool mMultiDiscSupport = defaultMultiDisc;
private static bool mUseGameIdAsM3uFilename = defaultUseGameIdAsM3uFilename;
private static bool? mUpdateCheck = defaultUpdateCheck;
private static string mSkipUpdate = defaultSkipUpdate;
private static string mStandaloneExtensions = defaultStandaloneExtensions;
private static string mMetadataExtensions = defaultMetadataExtensions;
private static bool mBypassPathCheck = defaultBypassPathCheck;
Expand Down Expand Up @@ -132,6 +134,12 @@ public static bool? UpdateCheck
set => mUpdateCheck = value;
}

public static string SkipUpdate
{
get => mSkipUpdate;
set => mSkipUpdate = value;
}

public static string StandaloneExtensions
{
get => mStandaloneExtensions;
Expand Down Expand Up @@ -376,6 +384,11 @@ public static void Load()
mUpdateCheck = null;
}

if (section.Keys.ContainsKey(nameof(SkipUpdate)))
{
mSkipUpdate = section.Keys[nameof(SkipUpdate)];
}

if (section.Keys.ContainsKey(nameof(StandaloneExtensions)))
{
mStandaloneExtensions = section.Keys[nameof(StandaloneExtensions)];
Expand Down Expand Up @@ -536,6 +549,10 @@ public static void Save()
{
iniData[configSection][nameof(UpdateCheck)] = mUpdateCheck.ToString();
}
if (!string.IsNullOrEmpty(mSkipUpdate))
{
iniData[configSection][nameof(SkipUpdate)] = mSkipUpdate;
}
iniData[configSection][nameof(StandaloneExtensions)] = mStandaloneExtensions;
iniData[configSection][nameof(MetadataExtensions)] = mMetadataExtensions;
iniData[configSection][nameof(BypassPathCheck)] = mBypassPathCheck.ToString();
Expand Down
4 changes: 2 additions & 2 deletions src/Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.12.0.0")]
[assembly: AssemblyFileVersion("2.12.0.0")]
[assembly: AssemblyVersion("2.13.0.0")]
[assembly: AssemblyFileVersion("2.13.0.0")]
8 changes: 4 additions & 4 deletions src/Plugin/ArchiveListWindow.Designer.cs

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

4 changes: 2 additions & 2 deletions src/Plugin/ArchiveListWindowBigBox.Designer.cs

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

4 changes: 2 additions & 2 deletions src/Plugin/CacheConfigWindow.Designer.cs

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

4 changes: 2 additions & 2 deletions src/Plugin/EmulatorPlatformSelectionWindow.Designer.cs

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

Loading

0 comments on commit 849e21f

Please sign in to comment.