Guichaguri / BetterFps

Performance Improvements
GNU Lesser General Public License v2.1
100 stars 22 forks source link

Improve the patching system by using binary patches #21

Closed Guichaguri closed 7 years ago

Guichaguri commented 7 years ago

It should fix conflicts between BetterFps and Forge (#19)

Library

Patching

ForgeGradle's Patcher plugin

Forge uses it. But I have to figure out how it works

Create our own gradle task

It will take more time, but it's easier to maintain

Use a external tool to create the patches

This is the last option, it should work but it's not pratical This will probably use a MCP environment

Guichaguri commented 7 years ago

Binary Patches are out of scope, since it may cause a lot of conflicts with other tweakers. Solving a conflict with more conflicts is definitely not optimal.

Mixins are awesome, but also out of scope for now, since it has some limitations and the generated code is also not optimal.

The best thing is to improve our ASM code in a creative way that needs to deal with: