![]() |
|
Decompiling Minecraft 1.8 with OptiFine using MCP's decompiler - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: General Topics (https://hackforums.net/forumdisplay.php?fid=7) +--- Forum: Entertainment (https://hackforums.net/forumdisplay.php?fid=446) +---- Forum: Gaming (https://hackforums.net/forumdisplay.php?fid=65) +---- Thread: Decompiling Minecraft 1.8 with OptiFine using MCP's decompiler (/showthread.php?tid=4963725) |
Decompiling Minecraft 1.8 with OptiFine using MCP's decompiler - latematt - Aug 26, 2015 Minecraft 1.8 has proven to be a huge inconvenience for people who've come from past Minecraft versions. Minecraft 1.8, while possibly for the better, has MANY code differences between itself and 1.7. People, such as myself, have come across issues while trying to use MCP to decompile Minecraft with OptiFine. This is apparent when searching for OptiFine in the Griefing section. I'm posting this thread to help out those people. W: This is only relevant to people who are using MCP to decompile Minecraft, as opposed to using mod loaders such as Forge or LiteLoader. In order to get MCP to decompile a jar file with OptiFine in it, we need to stop MCP from Applying Fernflower fixes. Here's steps on how to do this: Step 1: Navigate to (your MCP folder) and then navigate to the folder.Step 2: Inside this folder, you'll want to open the file in a text editor. I recommend using something like Sublime Text or Notepad++ (highly recommend notepad++)Step 3: In this file, navigate to line number . It will look like this:![]() Step 4: Comment out line , like so:![]() Step 5: Save the file. If you're using notepad++ like a true man, click ![]() Then your copy of MCP will then be able to decompile OptiFine. While decompiling you should expect errors, don't worry as they're easy to fix. This thread only explains how to decompile, not how to fix compile errors.
* - Brendan - Aug 26, 2015 It's rude to tell people to die. * - latematt - Aug 26, 2015 (Aug 26, 2015 06:10 PM)Rederpz Wrote: uhm actually -- works better then # because # means its a main thing or i just made this up and -- is a comment like the big ASCCIIII in the latemod for gmod had -- before it i think because its not important MCP is written in python and trying to comment out a line of code in Python as if it was Lua wouldn't end up too pretty. In layman's terms, use #. * - |Foundry - Aug 26, 2015 (Aug 26, 2015 06:10 PM)Rederpz Wrote: uhm actually -- works better then # because # means its a main thing or i just made this up and -- is a comment like the big ASCCIIII in the latemod for gmod had -- before it i think because its not important Vouch for Rederpz, he is the big ASCII man in the late modification for Gmod. * - rederpz - Aug 26, 2015 (Aug 26, 2015 06:11 PM)ttametal ton Wrote: MCP is written in python and trying to comment out a line of code in Python as if it was Lua wouldn't end up too pretty. oh okay thank u based god themetalton (notlatemeth) * - latematt - Aug 26, 2015 (Aug 26, 2015 06:11 PM)Rederpz Wrote: oh okay thank u based god themetalton (notlatemeth) god ur dumb * - LeetMate - Aug 26, 2015 (Aug 26, 2015 06:03 PM)ttametal ton Wrote: snip Thanks for the tutorial latematt ttametal ton. RE: Decompiling Minecraft 1.8 with OptiFine using MCP's decompiler - Sahilio - Jun 22, 2020 (Aug 26, 2015 06:03 PM)latematt Wrote: Minecraft 1.8 has proven to be a huge inconvenience for people who've come from past Minecraft versions. Minecraft 1.8, while possibly for the better, has MANY code differences between itself and 1.7. The images dont seem to work anymore. Could you possibly update them? Thanks! |