mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
3.0.0.4
This commit is contained in:
parent
35cabfa540
commit
2a8b4f5bbc
@ -1,5 +1,8 @@
|
|||||||
### Changelog
|
### Changelog
|
||||||
|
|
||||||
|
#### Version - 3.0.0.4 - 8/20/2022
|
||||||
|
* Fix for: when some optional game files weren't present (like CreationKit.exe), the app would refuse to recognize any files from that game
|
||||||
|
|
||||||
#### Version - 3.0.0.3 - 8/20/2022
|
#### Version - 3.0.0.3 - 8/20/2022
|
||||||
* Properly detect the program version
|
* Properly detect the program version
|
||||||
* Fix how the download folder is set in MO2 during installation
|
* Fix how the download folder is set in MO2 during installation
|
||||||
|
@ -255,15 +255,17 @@ public abstract class ACompiler
|
|||||||
_logger.LogInformation($"Including {files.Length} stock game files from {ag} as download sources");
|
_logger.LogInformation($"Including {files.Length} stock game files from {ag} as download sources");
|
||||||
GameHashes[ag] = files.Select(f => f.Hash).ToHashSet();
|
GameHashes[ag] = files.Select(f => f.Hash).ToHashSet();
|
||||||
|
|
||||||
IndexedArchives.AddRange(files.Select(f =>
|
IndexedArchives.AddRange(files.TryKeep(f =>
|
||||||
{
|
{
|
||||||
var state = (GameFileSource) f.State;
|
var state = (GameFileSource) f.State;
|
||||||
return new IndexedArchive(
|
if (_vfs.Index.ByRootPath.TryGetValue(path.Combine(state.GameFile), out var vf)) {
|
||||||
_vfs.Index.ByRootPath[path.Combine(state.GameFile)])
|
return (true, new IndexedArchive(vf)
|
||||||
{
|
{
|
||||||
Name = state.GameFile.ToString().Replace("/", "_").Replace("\\", "_"),
|
Name = state.GameFile.ToString().Replace("/", "_").Replace("\\", "_"),
|
||||||
State = state
|
State = state
|
||||||
};
|
});
|
||||||
|
}
|
||||||
|
return default;
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
Loading…
Reference in New Issue
Block a user