![]() ![]() Obfuscation maps provided by Mojang do not include local variable names. ![]() If running in PowerShell, place SpecialSource-1.10.0.jar *. If running under Linux or macOS, replace the semicolons with colons before running it. is replaced by the path to the version's obfuscation map.is replaced by the path of the JAR file to output.is replaced by the path to a version's obfuscated JAR file.net.md_5.specialsource.SpecialSource -in-jar -out-jar -srg-in -kill-lvt To use SpecialSource to decompile a JAR file, download all the dependencies above in the same directory and run the following command inside this directory: jar), available under BSD 3-Clause License. jar), available under BSD 3-Clause License jar), available under Apache License, Version 2.0 Here is the list of the dependencies required for version 1.10.0 to work: You don't actually need to download every dependency to get SpecialSource to run. You can download the latest version on Maven. A free and open source program you can use is SpecialSource. To deobfuscate a JAR file, you need a program that takes the JAR file and its corresponding obfuscation map as inputs, and returns a deobfuscated JAR file. The contents of this section are not supported by Mojang Studios or the Minecraft Wiki. Once you have found the JSON file corresponding to the version you want to decompile, locate the client_mappings or server_mappings field (depending on which side you want to decompile) under the downloads field and download the file from the URL inside the url field. The JSON file for a version can be found in the version_manifest.json. This can be extended to decompiling and accessing Minecraft's code as a whole, the only things you cannot do under any circumstances are releasing the code or releasing something that contains an exact copy of the code.Įvery version's JSON file contains a link to the obfuscation maps for that version since 19w36a. It should be noted however that this tweet is not legally withstanding, so while it is probably fine to use these mappings for such purposes, you do so at your own risk. Furthermore, a tweet from Dinnerbone suggests usage of the mappings inside of projects by the community, such as modding (using them to decompile Minecraft for usage with Forge, Fabric, Quilt and other modloaders) or for usage in server software with plugins (such as Spigot, Bukkit, Paper, and others) is okay, and an intended use. According to the license, decompiling Minecraft is allowed, but it is recommended not to release decompiled code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |