When testing what algorithm to use, It states you should restart the game. Is that Minecraft entirely or just the world you are in? (hope its not minecraft entirely with a 8 minute load time on my custom DX20 1.10.2 pack)
It would also help to know exactly what every algorithm setting even does so we know what each one goes going into this mod.
When testing what algorithm to use, It states you should restart the game. Is that Minecraft entirely or just the world you are in? (hope its not minecraft entirely with a 8 minute load time on my custom DX20 1.10.2 pack)
It would also help to know exactly what every algorithm setting even does so we know what each one goes going into this mod.
Unfortunately, Minecraft entirely, that's because it can save a bit more performance that way. I plan to change this and implement a better algorithm system, which generates the algorithm based on your computer specifications.
Unfortunately, Minecraft entirely, that's because it can save a bit more performance that way. I plan to change this and implement a better algorithm system, which generates the algorithm based on your computer specifications.
This is an awesome idea and definitely something I look forward to seeing. I love your mod and really appreciate the work you've done in developing it.
Why does this crash when i'm on 1.10.2 forge? i use the old launcher for this and everytime i start 1.10.2 forge it crashes and it always says it'sBetterFPS.
2017-06-21 11:25:10,794 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-06-21 11:25:10,800 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[11:25:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[11:25:11] [main/INFO] [FML]: Forge Mod Loader version 12.18.3.2185 for Minecraft 1.10.2 loading
[11:25:11] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_111, running on Windows 8:x86:6.2, installed at C:\Program Files (x86)\Java\jre1.8.0_111
[11:25:11] [main/INFO] [FML]: Loading tweaker guichaguri.betterfps.tweaker.BetterFpsTweaker from BetterFps-1.10.2-Universal.jar
[11:25:11] [main/WARN] [FML]: The coremod micdoodle8.mods.miccore.MicdoodlePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[11:25:11] [main/INFO] [FML]: Loading tweaker optifine.OptiFineForgeTweaker from OptiFine_1.10.2_HD_U_D8.jar
[11:25:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Loading tweak class name guichaguri.betterfps.tweaker.BetterFpsTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Loading tweak class name optifine.OptiFineForgeTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Calling tweak class optifine.OptiFineForgeTweaker
[11:25:11] [main/INFO] [STDOUT]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: acceptOptions
[11:25:11] [main/INFO] [STDOUT]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: injectIntoClassLoader
[11:25:12] [main/INFO] [STDOUT]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine ClassTransformer
[11:25:12] [main/INFO] [STDOUT]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine URL: file:/C:/Users/ursula%20terry/AppData/Roaming/.minecraft/mods/OptiFine_1.10.2_HD_U_D8.jar
[11:25:12] [main/INFO] [STDOUT]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine ZIP file: C:\Users\ursula terry\AppData\Roaming\.minecraft\mods\OptiFine_1.10.2_HD_U_D8.jar
[11:25:12] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[11:25:18] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[11:25:19] [main/INFO] [FML]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[11:25:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[11:25:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[11:25:19] [main/INFO] [STDOUT]: [micdoodle8.mods.miccore.MicdoodlePlugin:getASMTransformerClass:101]: Successfully Registered Transformer
[11:25:21] [main/INFO] [STDOUT]: [micdoodle8.mods.miccore.MicdoodlePlugin:injectData:294]: [Micdoodle8Core]: Patching game...
[11:25:21] [main/INFO] [STDOUT]: [micdoodle8.mods.miccore.MicdoodlePlugin:injectData:294]: [Micdoodle8Core]: Patching game...
[11:25:21] [main/INFO] [LaunchWrapper]: Calling tweak class guichaguri.betterfps.tweaker.BetterFpsTweaker
[11:25:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[11:25:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[11:25:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[11:25:23] [main/INFO] [STDOUT]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: getLaunchArguments
[11:25:23] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2017-06-21 11:25:23,831 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-06-21 11:25:23,883 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-06-21 11:25:23,888 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[11:25:23] [main/INFO] [BetterFps]: Patching net.minecraft.client.Minecraft... (bcx)
[11:25:23] [main/ERROR] [BetterFps]: Couldn't patch class bcx with guichaguri/betterfps/patches/misc/MinecraftPatch
[11:25:23] [main/ERROR] [BetterFps]: catching
java.lang.NullPointerException
at guichaguri.betterfps.patchers.MinecraftPatcher.patch(MinecraftPatcher.java:25) ~[BetterFps-1.10.2-Universal.jar:?]
at guichaguri.betterfps.transformers.Patch.patch(Patch.java:104) [BetterFps-1.10.2-Universal.jar:?]
at guichaguri.betterfps.transformers.PatcherTransformer.transform(PatcherTransformer.java:59) [PatcherTransformer.class:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_111]
at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_111]
at net.minecraft.client.main.Main.main(SourceFile:39) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
[11:25:24] [main/INFO] [BetterFps]: Patching net.minecraft.client.entity.EntityPlayerSP... (bnn)
[11:25:25] [Client thread/INFO]: Setting user: BlockWuster
[11:25:26] [Client thread/INFO] [BetterFps]: Patching net.minecraft.block.Block... (akf)
[11:25:27] [Client thread/ERROR] [LaunchWrapper]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/block/BlockHopper
at java.lang.Class.getDeclaredFields0(Native Method) ~[?:1.8.0_111]
at java.lang.Class.privateGetDeclaredFields(Unknown Source) ~[?:1.8.0_111]
at java.lang.Class.getDeclaredField(Unknown Source) ~[?:1.8.0_111]
at net.minecraftforge.fml.relauncher.ReflectionHelper.findField(ReflectionHelper.java:87) ~[forge-1.10.2-12.18.3.2185.jar:?]
at net.minecraftforge.fml.common.registry.GameData.<init>(GameData.java:83) ~[GameData.class:?]
at net.minecraftforge.fml.common.registry.GameData.<clinit>(GameData.java:66) ~[GameData.class:?]
at net.minecraft.util.SoundEvent.<clinit>(SoundEvent.java:9) ~[ni.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:536) ~[kq.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:341) ~[bcx.class:?]
at net.minecraft.client.main.Main.main(SourceFile:124) ~[Main.class:?]
... 6 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.block.BlockHopper
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_111]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_111]
at java.lang.Class.getDeclaredFields0(Native Method) ~[?:1.8.0_111]
at java.lang.Class.privateGetDeclaredFields(Unknown Source) ~[?:1.8.0_111]
at java.lang.Class.getDeclaredField(Unknown Source) ~[?:1.8.0_111]
at net.minecraftforge.fml.relauncher.ReflectionHelper.findField(ReflectionHelper.java:87) ~[forge-1.10.2-12.18.3.2185.jar:?]
at net.minecraftforge.fml.common.registry.GameData.<init>(GameData.java:83) ~[GameData.class:?]
at net.minecraftforge.fml.common.registry.GameData.<clinit>(GameData.java:66) ~[GameData.class:?]
at net.minecraft.util.SoundEvent.<clinit>(SoundEvent.java:9) ~[ni.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:536) ~[kq.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:341) ~[bcx.class:?]
at net.minecraft.client.main.Main.main(SourceFile:124) ~[Main.class:?]
... 6 more
Caused by: java.lang.NullPointerException
at guichaguri.betterfps.transformers.Conditions.shouldPatch(Conditions.java:31) ~[BetterFps-1.10.2-Universal.jar:?]
at guichaguri.betterfps.transformers.Conditions.shouldPatch(Conditions.java:52) ~[BetterFps-1.10.2-Universal.jar:?]
at guichaguri.betterfps.transformers.PatcherTransformer.transform(PatcherTransformer.java:48) ~[BetterFps-1.10.2-Universal.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_111]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_111]
at java.lang.Class.getDeclaredFields0(Native Method) ~[?:1.8.0_111]
at java.lang.Class.privateGetDeclaredFields(Unknown Source) ~[?:1.8.0_111]
at java.lang.Class.getDeclaredField(Unknown Source) ~[?:1.8.0_111]
at net.minecraftforge.fml.relauncher.ReflectionHelper.findField(ReflectionHelper.java:87) ~[forge-1.10.2-12.18.3.2185.jar:?]
at net.minecraftforge.fml.common.registry.GameData.<init>(GameData.java:83) ~[GameData.class:?]
at net.minecraftforge.fml.common.registry.GameData.<clinit>(GameData.java:66) ~[GameData.class:?]
at net.minecraft.util.SoundEvent.<clinit>(SoundEvent.java:9) ~[ni.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:536) ~[kq.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:341) ~[bcx.class:?]
at net.minecraft.client.main.Main.main(SourceFile:124) ~[Main.class:?]
... 6 more
Exception in thread "Client thread" [11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException
[11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:49)
[11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.SecurityManager.checkExit(Unknown Source)
[11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.Runtime.exit(Unknown Source)
[11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.System.exit(Unknown Source)
[11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:138)
[11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Why does this crash when i'm on 1.10.2 forge? i use the old launcher for this and everytime i start 1.10.2 forge it crashes and it always says it'sBetterFPS.
Which version of Forge and BetterFps are you using?
The Meaning of Life, the Universe, and Everything.
Location:
&#x27;Merica!
Join Date:
2/8/2017
Posts:
81
Location:
'Merica!
Minecraft:
ItsSuperNova
Member Details
Besides testing out each individual algorithm, is there a way to know what algorithm is good? Is it spec based, as in if you have X Ram you should use N setting, but if you have Y GHz on your processor you should use M setting. Or is it company based as well? Like Intel/Nividia/AMD?
private static final double FIVE_PI_SQR = 5 * Math.PI * Math.PI;
public static double sin(double x) {
double piMinusX = Math.PI - x;
double numerator = 16 * x * piMinusX;
double denominator = FIVE_PI_SQR - (4 * x * piMinusX);
// you can do the code minifying yourself later
return numerator / denominator;
}
This thing is tiny and approximates well.
You might also consider going with a shader-based Minecraft optimization. There is a lot of potential there. You could probably take advantage of the GPU and make a shader with a single uniform that lets you input a value and the shader itself calculates sin() or cos(). You might go further and simply use OpenCL (if Mojang ever decides they will finally update to LWJGL 3 which is far superior to LWJGL 2). What do you think?
I also played around with Desmos and came up with the following equation, though it isn't as accurate as Bhaskara's approximation:
private static final double FIVE_PI_SQR = 5 * Math.PI * Math.PI;
public static double sin(double x) {
double piMinusX = Math.PI - x;
double numerator = 16 * x * piMinusX;
double denominator = FIVE_PI_SQR - (4 * x * piMinusX);
// you can do the code minifying yourself later
return numerator / denominator;
}
This thing is tiny and approximates well.
You might also consider going with a shader-based Minecraft optimization. There is a lot of potential there. You could probably take advantage of the GPU and make a shader with a single uniform that lets you input a value and the shader itself calculates sin() or cos(). You might go further and simply use OpenCL (if Mojang ever decides they will finally update to LWJGL 3 which is far superior to LWJGL 2). What do you think?
I also played around with Desmos and came up with the following equation, though it isn't as accurate as Bhaskara's approximation:
I can definitely try Bhaskara's formula, it still uses a lot of operations, so it might not be that fast.
I thought about creating a shader before, but a few OpenGL calls are actually way slower than simple math operations.
As I'm limited in time the next two months, you can create a PR implementing any of the ideas, if you want.
My game just disappears if I use this mod. For example, I press the start button on launcher and insteading of launching minecraft it just dissapears and nothing happens. Help?
When testing what algorithm to use, It states you should restart the game. Is that Minecraft entirely or just the world you are in? (hope its not minecraft entirely with a 8 minute load time on my custom DX20 1.10.2 pack)
It would also help to know exactly what every algorithm setting even does so we know what each one goes going into this mod.
Is it clientside?
Unfortunately, Minecraft entirely, that's because it can save a bit more performance that way. I plan to change this and implement a better algorithm system, which generates the algorithm based on your computer specifications.
Yes and no. It is not needed in the servers for it to work, but you can also have it in the server because some improvements may affect servers too
This is an awesome idea and definitely something I look forward to seeing. I love your mod and really appreciate the work you've done in developing it.
Thank you!
Why does this crash when i'm on 1.10.2 forge? i use the old launcher for this and everytime i start 1.10.2 forge it crashes and it always says it'sBetterFPS.
2017-06-21 11:25:10,794 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-06-21 11:25:10,800 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[11:25:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[11:25:11] [main/INFO] [FML]: Forge Mod Loader version 12.18.3.2185 for Minecraft 1.10.2 loading
[11:25:11] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_111, running on Windows 8:x86:6.2, installed at C:\Program Files (x86)\Java\jre1.8.0_111
[11:25:11] [main/INFO] [FML]: Loading tweaker guichaguri.betterfps.tweaker.BetterFpsTweaker from BetterFps-1.10.2-Universal.jar
[11:25:11] [main/WARN] [FML]: The coremod micdoodle8.mods.miccore.MicdoodlePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[11:25:11] [main/INFO] [FML]: Loading tweaker optifine.OptiFineForgeTweaker from OptiFine_1.10.2_HD_U_D8.jar
[11:25:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Loading tweak class name guichaguri.betterfps.tweaker.BetterFpsTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Loading tweak class name optifine.OptiFineForgeTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:25:11] [main/INFO] [LaunchWrapper]: Calling tweak class optifine.OptiFineForgeTweaker
[11:25:11] [main/INFO] [STDOUT]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: acceptOptions
[11:25:11] [main/INFO] [STDOUT]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: injectIntoClassLoader
[11:25:12] [main/INFO] [STDOUT]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine ClassTransformer
[11:25:12] [main/INFO] [STDOUT]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine URL: file:/C:/Users/ursula%20terry/AppData/Roaming/.minecraft/mods/OptiFine_1.10.2_HD_U_D8.jar
[11:25:12] [main/INFO] [STDOUT]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine ZIP file: C:\Users\ursula terry\AppData\Roaming\.minecraft\mods\OptiFine_1.10.2_HD_U_D8.jar
[11:25:12] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[11:25:18] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[11:25:19] [main/INFO] [FML]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[11:25:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[11:25:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[11:25:19] [main/INFO] [STDOUT]: [micdoodle8.mods.miccore.MicdoodlePlugin:getASMTransformerClass:101]: Successfully Registered Transformer
[11:25:21] [main/INFO] [STDOUT]: [micdoodle8.mods.miccore.MicdoodlePlugin:injectData:294]: [Micdoodle8Core]: Patching game...
[11:25:21] [main/INFO] [STDOUT]: [micdoodle8.mods.miccore.MicdoodlePlugin:injectData:294]: [Micdoodle8Core]: Patching game...
[11:25:21] [main/INFO] [LaunchWrapper]: Calling tweak class guichaguri.betterfps.tweaker.BetterFpsTweaker
[11:25:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[11:25:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[11:25:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[11:25:23] [main/INFO] [STDOUT]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: getLaunchArguments
[11:25:23] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2017-06-21 11:25:23,831 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-06-21 11:25:23,883 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-06-21 11:25:23,888 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[11:25:23] [main/INFO] [BetterFps]: Patching net.minecraft.client.Minecraft... (bcx)
[11:25:23] [main/ERROR] [BetterFps]: Couldn't patch class bcx with guichaguri/betterfps/patches/misc/MinecraftPatch
[11:25:23] [main/ERROR] [BetterFps]: catching
java.lang.NullPointerException
at guichaguri.betterfps.patchers.MinecraftPatcher.patch(MinecraftPatcher.java:25) ~[BetterFps-1.10.2-Universal.jar:?]
at guichaguri.betterfps.transformers.Patch.patch(Patch.java:104) [BetterFps-1.10.2-Universal.jar:?]
at guichaguri.betterfps.transformers.PatcherTransformer.transform(PatcherTransformer.java:59) [PatcherTransformer.class:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_111]
at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_111]
at net.minecraft.client.main.Main.main(SourceFile:39) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
[11:25:24] [main/INFO] [BetterFps]: Patching net.minecraft.client.entity.EntityPlayerSP... (bnn)
[11:25:25] [Client thread/INFO]: Setting user: BlockWuster
[11:25:26] [Client thread/INFO] [BetterFps]: Patching net.minecraft.block.Block... (akf)
[11:25:27] [Client thread/ERROR] [LaunchWrapper]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/block/BlockHopper
at java.lang.Class.getDeclaredFields0(Native Method) ~[?:1.8.0_111]
at java.lang.Class.privateGetDeclaredFields(Unknown Source) ~[?:1.8.0_111]
at java.lang.Class.getDeclaredField(Unknown Source) ~[?:1.8.0_111]
at net.minecraftforge.fml.relauncher.ReflectionHelper.findField(ReflectionHelper.java:87) ~[forge-1.10.2-12.18.3.2185.jar:?]
at net.minecraftforge.fml.common.registry.GameData.<init>(GameData.java:83) ~[GameData.class:?]
at net.minecraftforge.fml.common.registry.GameData.<clinit>(GameData.java:66) ~[GameData.class:?]
at net.minecraft.util.SoundEvent.<clinit>(SoundEvent.java:9) ~[ni.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:536) ~[kq.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:341) ~[bcx.class:?]
at net.minecraft.client.main.Main.main(SourceFile:124) ~[Main.class:?]
... 6 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.block.BlockHopper
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_111]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_111]
at java.lang.Class.getDeclaredFields0(Native Method) ~[?:1.8.0_111]
at java.lang.Class.privateGetDeclaredFields(Unknown Source) ~[?:1.8.0_111]
at java.lang.Class.getDeclaredField(Unknown Source) ~[?:1.8.0_111]
at net.minecraftforge.fml.relauncher.ReflectionHelper.findField(ReflectionHelper.java:87) ~[forge-1.10.2-12.18.3.2185.jar:?]
at net.minecraftforge.fml.common.registry.GameData.<init>(GameData.java:83) ~[GameData.class:?]
at net.minecraftforge.fml.common.registry.GameData.<clinit>(GameData.java:66) ~[GameData.class:?]
at net.minecraft.util.SoundEvent.<clinit>(SoundEvent.java:9) ~[ni.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:536) ~[kq.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:341) ~[bcx.class:?]
at net.minecraft.client.main.Main.main(SourceFile:124) ~[Main.class:?]
... 6 more
Caused by: java.lang.NullPointerException
at guichaguri.betterfps.transformers.Conditions.shouldPatch(Conditions.java:31) ~[BetterFps-1.10.2-Universal.jar:?]
at guichaguri.betterfps.transformers.Conditions.shouldPatch(Conditions.java:52) ~[BetterFps-1.10.2-Universal.jar:?]
at guichaguri.betterfps.transformers.PatcherTransformer.transform(PatcherTransformer.java:48) ~[BetterFps-1.10.2-Universal.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_111]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_111]
at java.lang.Class.getDeclaredFields0(Native Method) ~[?:1.8.0_111]
at java.lang.Class.privateGetDeclaredFields(Unknown Source) ~[?:1.8.0_111]
at java.lang.Class.getDeclaredField(Unknown Source) ~[?:1.8.0_111]
at net.minecraftforge.fml.relauncher.ReflectionHelper.findField(ReflectionHelper.java:87) ~[forge-1.10.2-12.18.3.2185.jar:?]
at net.minecraftforge.fml.common.registry.GameData.<init>(GameData.java:83) ~[GameData.class:?]
at net.minecraftforge.fml.common.registry.GameData.<clinit>(GameData.java:66) ~[GameData.class:?]
at net.minecraft.util.SoundEvent.<clinit>(SoundEvent.java:9) ~[ni.class:?]
at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:536) ~[kq.class:?]
at net.minecraft.client.Minecraft.<init>(Minecraft.java:341) ~[bcx.class:?]
at net.minecraft.client.main.Main.main(SourceFile:124) ~[Main.class:?]
... 6 more
Exception in thread "Client thread" [11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException
[11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:49)
[11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.SecurityManager.checkExit(Unknown Source)
[11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.Runtime.exit(Unknown Source)
[11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.System.exit(Unknown Source)
[11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:138)
[11:25:27] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Which version of Forge and BetterFps are you using?
Does it work for 1.12?
It does, here it is. It's not stable, so if you find any issues, please report them
I'm using the latest 1.12 forge and the latest version for BetterFPS.
Besides testing out each individual algorithm, is there a way to know what algorithm is good? Is it spec based, as in if you have X Ram you should use N setting, but if you have Y GHz on your processor you should use M setting. Or is it company based as well? Like Intel/Nividia/AMD?
@Guichaguri
Have you not considered using the simplest possible algorithm yet and adapting it to minecraft?
https://en.wikipedia.org/wiki/Bhaskara_I's_sine_approximation_formula
(x is in radians)
that is:
This thing is tiny and approximates well.
You might also consider going with a shader-based Minecraft optimization. There is a lot of potential there. You could probably take advantage of the GPU and make a shader with a single uniform that lets you input a value and the shader itself calculates sin() or cos(). You might go further and simply use OpenCL (if Mojang ever decides they will finally update to LWJGL 3 which is far superior to LWJGL 2). What do you think?
I also played around with Desmos and came up with the following equation, though it isn't as accurate as Bhaskara's approximation:
I can definitely try Bhaskara's formula, it still uses a lot of operations, so it might not be that fast.
I thought about creating a shader before, but a few OpenGL calls are actually way slower than simple math operations.
As I'm limited in time the next two months, you can create a PR implementing any of the ideas, if you want.
My game just disappears if I use this mod. For example, I press the start button on launcher and insteading of launching minecraft it just dissapears and nothing happens. Help?
hi, what is the fastest setting and which is the best (not about fps) setting?
so it works for personal games, but if i add it to my servers mod folders does it boost my server?
Is there a reason as to why LibGDX isn't shown in options menu anymore? Or is it still there, and just has a different name?
=
So which algorithm is best for Aternos servers?