在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):HeartPattern/MC-Remapper开源软件地址(OpenSource Url):https://github.com/HeartPattern/MC-Remapper开源编程语言(OpenSource Language):Kotlin 100.0%开源软件介绍(OpenSource Introduction):MC-RemapperDeobfuscator for Minecraft Mojang provide mapping file of obfuscated class, field, and method name for minecraft mod developer. This program applies mapping file to original minecraft code. It does not decompile jar, but only apply mapping. You have to decompile jar with your favorite decompiler after deobfuscate minecraft with mc-remapper. CompileJava 17 is required to compile MC-Remapper.
Runnable script and runtime libraries will generate under UsageOpen terminal at ArgumentsExecute with specific fileTo run mc remapper with a specific file, you can provide input jar and mapping txt. Input jar is path to file or url of obfuscated minecraft client or server. Mapping txt is path to file or url of proguard's mapping txt file. You can find it at Execute with versionTo run mc remapper with automatically download artifact and mapping tt, you can provide artifact name and version id. Artifact name is either server or client. Version id is release version or snapshot version. Options--output or --output-name(Default=Generate from other arguments)Path to output file. If file already exists, overwrite it. --thread (Default=8)Number of thread used for apply mapping to class. --fixlocalvar (Default=no)Fix local variable name \u2603(
--reobf (Flag, Default=no)This option is useless for now. Both forge and bukkit modify nms with their own mapping, therefore applying this option is meaningless Reobf option reverses mapping direction. By default, MC-Remapper map obfuscated code to deobfuscated code. However, if you write your mod/plugin with deobfuscated minecraft source and apply it to forge/bukkit, minecraft will crash with NoClassDefFoundException, NoSuchMethodException, or else. That's because, forge or bukkit use obfuscated code, but your plugin tried to access to deobfuscated code. In this case, you have to re-obfuscate your mod/plugin to use obfuscated minecraft code. You can use this option to map deobfuscated to. obfuscated code. For csrg/srg mappings, this option is needed to apply deobfuscating mapping. i.e. deobfuscating = --reobf, reobfuscating = no --reobf. --format (Default=proguard)Supported mapping format: proguard, csrg, srg --autologger (Flag, default=no)Static final fields with type org.apache.logging.log4j.Logger is automatically renamed to --autotoken (Flag, default=no)Members' names that are Java keywords are automatically appended an underscore (_). --mappackage (Map, default=None)Renames packages AFTER other mappings are applied. Can occur multiple times, where they are merged. Example: --mappackage =net.minecraft.server.v1_15 --mappackage net.minecraft.server=net.minecraft.server.v1_15 The unnamed package is renamed to net.minecraft.server.v1_15, and net.minecraft.server is renamed to net.minecraft.server.v1_15. Example usagesExecute by specifying input file and mapping url
Execute by specifying input and mapping file with options
Execute by specifying version
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论