mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
consider .fomod a .7z few other compilation tweaks
This commit is contained in:
parent
454cff052e
commit
a254f0d99a
@ -15,7 +15,10 @@
|
||||
* Improve compilation times by reworking file indexing algorithm
|
||||
* Store patch files in byte format instead of base64 strings
|
||||
* Verify SHA of patched files after install
|
||||
|
||||
* Treat .fomod files as archives
|
||||
* Include WABBAJACK_INCLUDE files before including patches
|
||||
* Ignore .bin and .refcache files (DynDOLOD temp files)
|
||||
|
||||
#### Version 0.9.1 - 9/5/2019
|
||||
* Fixed a bug where having only one profile selected would result in no profiles being selected
|
||||
|
||||
|
@ -13,7 +13,7 @@ namespace Wabbajack.Common
|
||||
public static string BSACreationDir = "TEMP_BSA_FILES";
|
||||
public static string MegaPrefix = "https://mega.nz/#!";
|
||||
|
||||
public static HashSet<string> SupportedArchives = new HashSet<string> {".zip", ".rar", ".7z", ".7zip"};
|
||||
public static HashSet<string> SupportedArchives = new HashSet<string> {".zip", ".rar", ".7z", ".7zip", ".fomod"};
|
||||
public static HashSet<string> SupportedBSAs = new HashSet<string> {".bsa"};
|
||||
|
||||
public static HashSet<string> ConfigFileExtensions = new HashSet<string> {".json", ".ini", ".yml"};
|
||||
|
@ -533,10 +533,10 @@ namespace Wabbajack
|
||||
IgnoreRegex(Consts.GameFolderFilesDir + "\\\\.*\\.bsa"),
|
||||
IncludeModIniData(),
|
||||
DirectMatch(),
|
||||
IncludeTaggedFiles(),
|
||||
DeconstructBSAs(), // Deconstruct BSAs before building patches so we don't generate massive patch files
|
||||
IncludePatches(),
|
||||
IncludeDummyESPs(),
|
||||
IncludeTaggedFiles(),
|
||||
|
||||
|
||||
// If we have no match at this point for a game folder file, skip them, we can't do anything about them
|
||||
@ -552,6 +552,9 @@ namespace Wabbajack
|
||||
// Theme file MO2 downloads somehow
|
||||
IgnoreEndsWith("splash.png"),
|
||||
|
||||
IgnoreEndsWith(".bin"),
|
||||
IgnoreEndsWith(".refcache"),
|
||||
|
||||
IgnoreWabbajackInstallCruft(),
|
||||
|
||||
PatchStockESMs(),
|
||||
|
@ -132,8 +132,15 @@ namespace Wabbajack
|
||||
Directory.CreateDirectory(Consts.NexusCacheDirectory);
|
||||
|
||||
var path = Path.Combine(Consts.NexusCacheDirectory, $"mod-info-{archive.GameName}-{archive.ModID}.json");
|
||||
if (File.Exists(path))
|
||||
return path.FromJSON<ModInfo>();
|
||||
try
|
||||
{
|
||||
if (File.Exists(path))
|
||||
return path.FromJSON<ModInfo>();
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
File.Delete(path);
|
||||
}
|
||||
|
||||
|
||||
var url =
|
||||
|
Loading…
Reference in New Issue
Block a user