This works properly if the 1.17.1 jar was already downloaded by launching the 1.17.1 version at least once, and the launcher will properly replace it with the 1.17.1 jar if you launch 1.17.1 afterwards (assuming this is because sha check fails there, that should probably also be checked when launching the one that inherits from it). The launcher is trying to download the 1.17.1 jar from, that seems to be a default/fallback url, instead of the actual URL as specified in the 1.17.1 json. Try launching again, and see that the game doesn't launch because the main class was just not found.Launch that profile (acknowledge "modded" risks), and find the game not launching and an error in the log (and output window if open) about the downloaded file.Open the launcher and create a new profile using version 1.17.1-Test (you need the "modded" checkbox enabled).Save 1.17.1-Test.json into a folder called 1.17.1-Test in your versions folder.Remove the JAR file from your 1.17.1 folder inside of versions if you have it, you can keep the json.I've attached a minimal json file to reproduce this problem that simply inherits everything from 1.17.1, both the rest of the JSON and the jar. If you create a JSON file for a version that uses "jar" in order to reuse the jar (for example, the jar from an official version), the launcher will fail to download the jar if that didn't exist yet, and instead download an invalid file (the permission denied error page) that will make the startup crash without any useful debug info in subsequent launches. To run the following code, you have to install Json.NET framework for.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |