mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix game file indexing
This commit is contained in:
parent
693497711b
commit
164a8a4f4f
@ -36,12 +36,17 @@ namespace Wabbajack.CLI.Verbs
|
||||
.PMap(queue, async f =>
|
||||
{
|
||||
var hash = await f.FileHashCachedAsync();
|
||||
return new GameFileSourceDownloader.State
|
||||
return new Archive(new GameFileSourceDownloader.State
|
||||
{
|
||||
Game = _game,
|
||||
GameFile = f.RelativeTo(gameLocation),
|
||||
Hash = hash,
|
||||
GameVersion = version
|
||||
})
|
||||
{
|
||||
Name = f.FileName.ToString(),
|
||||
Hash = hash,
|
||||
Size = f.Size
|
||||
};
|
||||
|
||||
});
|
||||
|
@ -498,6 +498,7 @@ namespace Wabbajack.Common
|
||||
Game = Game.KingdomComeDeliverance,
|
||||
NexusName = "kingdomcomedeliverance",
|
||||
MO2Name = "Kingdom Come: Deliverance",
|
||||
MO2ArchiveName = "kingdomcomedeliverance",
|
||||
NexusGameId = 2298,
|
||||
SteamIDs = new List<int>{379430},
|
||||
IsGenericMO2Plugin = true,
|
||||
|
Loading…
Reference in New Issue
Block a user