Jump to content

Recommended Posts

Posted

So I am trying to adding the optifine mod to my development environment but I struggled on it. I tried different methods but it doesn't work.

I'm trying to add the optifine by using optifine src. 

And also, I'm using intellij.

Helps please.

Learning forge modding right now!

Posted

It doesn't work 

  Reveal hidden contents

 

Learning forge modding right now!

Posted

Most I can find is this comment in the devtweaker's source

  Quote

// this requires the jar to be loaded by FML before OptiFine, the easiest way to do it is to name it aa_SomeJar

Expand  

If that doesn't work you could open an issue on their github. 

Also pinging @Cadiboo since they managed to get it working.

  • Like 1
Posted (edited)

How did you build the jar? Are you using the --all version?

Edited by Cadiboo

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

Try building it with ./gradlew build

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted (edited)
  Reveal hidden contents

@Cadiboo I tried the --all version. And this is what I got,

Edited by Womas

Learning forge modding right now!

Posted

Do you also have Optifine installed?

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

I have my optifine installed only in the playable forge launcher but not the development environment. But I have the other source and normal tweaker jar in the build lib.

Learning forge modding right now!

Posted (edited)

The tweaker modifies Optifine (which is loaded from the /run/mods folder in your dev workspace) to run in a deobfuscated environment.

 

  On 11/17/2018 at 12:13 AM, Cadiboo said:

You can get a decompiled version of Optifine to use as a library by remapping the Optifine jar using simpledeobf with this command (for OSX)

  Reveal hidden contents

(You can also add --forcePublic to the end to make all methods public in the dev version)

 

You can view the source code of Optifine by decompiling the "dev" jar you just made with your preferred decompiler (I use Bytecode-Viewer with FernFlower because it spits it out as a normal zip)

 

You can run Optifine in your dev workspace by placing it and the OptiFineDevTweaker mod into your run/mods folder.

Expand  
Edited by Cadiboo
added quote

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

So I need to put my tweaker with the decompiled Optifine jar by using simpledeobf in the run/mod folder?

Learning forge modding right now!

Posted

No, you just need normal Optifine & the tweaker to run it. If you want to write code that references it, you'll need to (de)compile a library version of it with simpledeobf

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

while it failed again, but I feel like this time is better 

  Reveal hidden contents

Btw I'm using the --all jar and Optifine 1.8.8_HD_U_H8 version. Got them in the mod folder

Learning forge modding right now!

Posted

Alright guys. I finally got it to work. I changed the optifine version and it worked out! Thx for your help and patients!

Learning forge modding right now!

  • 1 year later...
  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.