Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7 days to die support - cant find game files after hashing #2668

Closed
JanuarySnow opened this issue Dec 18, 2024 · 0 comments · Fixed by #2669
Closed

7 days to die support - cant find game files after hashing #2668

JanuarySnow opened this issue Dec 18, 2024 · 0 comments · Fixed by #2669

Comments

@JanuarySnow
Copy link
Contributor

JanuarySnow commented Dec 18, 2024

7 days to die support was added, but the game files werent hashed.

I used an old 2.5 build with the same game metadata code added to hash the game files, and uploaded the hashes to the indexed game files repo.

Modlist author tries to compile, gets this error :

00:11:15.110 [FATAL] (Wabbajack.Compiler.MO2Compiler) Unable to find existing game files for SevenDaysToDie, skipping.|System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at System.Net.Http.Json.HttpClientJsonExtensions.<FromJsonAsyncCore>g__Core|12_0[TValue,TJsonOptions](HttpClient client, Task`1 responseTask, Boolean usingResponseHeadersRead, CancellationTokenSource linkedCTS, Func`4 deserializeMethod, TJsonOptions jsonOptions, CancellationToken

presumably when trying to retrieve the version json from the indexed repo.
relevant code in WJ is :

 public async Task<Archive[]> GetGameArchives(Game game, string version)
    {
        var url = $"https://raw.githubusercontent.com/wabbajack-tools/indexed-game-files/master/{game}/{version}.json";
        return await _client.GetFromJsonAsync<Archive[]>(url, _dtos.Options) ?? Array.Empty<Archive>();
    }

the hash json is here :

https://raw.githubusercontent.com/wabbajack-tools/indexed-game-files/refs/heads/master/SevenDaysToDie/2022.3.50f1%20(c3db7f8bf9b1).json

cant work out whats causing it, though I suspect its the version number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant