Git Product home page Git Product logo

mathias-boulay / java-mods-optimizer Goto Github PK

View Code? Open in Web Editor NEW
29.0 1.0 4.0 667.33 MB

An android implementation of my original java mod optimizer.

License: GNU Lesser General Public License v2.1

Java 0.16% Makefile 0.60% Awk 0.02% HTML 0.20% Shell 0.38% CSS 0.03% JavaScript 0.02% Batchfile 0.01% Python 4.82% C 61.85% C++ 23.39% Objective-C 0.01% RenderScript 1.10% Perl 6.05% Raku 1.15% Prolog 0.01% Roff 0.01% GLSL 0.01% Assembly 0.01% XC 0.20%
mods-optimizer minecraft-mods ram integrated-graphics textures minecraft modpacks java android-application

java-mods-optimizer's Introduction

Minecraft Java Mods Optimizer

This tool can optimize your Minecraft Java mod size (and performance) by up to 50%!

Examples:

  • Advent Of Ascension: 85. 9MB -> 46.4 MB (-46%)!
  • Ore Spawn: 16.7 MB -> 7.6 MB (-54.5%)!
  • Biomes O'Plenty: 3.1 MB -> 2.0 MB (-35%)!

Performance benefits

The android application lowers the requirements for playing Minecraft modpacks:

  • Smaller file sizes, resulting in lower memory usage, lower VRAM usage, and faster startup times.
  • Lower CPU usage when playing sounds and loading textures.

Should I use this awesome optimizer?

Yes!! I personally use this in all my modpacks to allow them to run on my lower-end hardware (limited RAM, integrated graphics...).

However, you should consider some other optimizations before doing using this tool, such as:

  • Remove useless mods
  • Tweak config files
  • Use performance-enhancing mods
  • Using the latest java for your minecraft version
  • And other miscellaneous Windows 10 Optimizations (you can find plenty of guides online)

Nice! How does it work?

First, almost all textures in Minecraft Java mods use the .PNG format. This tool uses the fantastic PNGQuant software to optimize all textures.

Second, almost all sounds are stored at the .OGG format using the Vorbis codec. For these, the tool uses a custom build of FFMPEG to cut out really high frequencies and save space.

Finally, some more recent mods make heavy use of JSON files. These can be trimmed down as well.

How to use the app?

Simply launch the app, select your mod(s), and click Optimize! The application will do everything for you.
You'll be able to see the progression of each step with the various progress bars.

How do I build the app myself?

I'm developing on Linux (lubuntu if you're curious) so I don't know if it will work on Mac OS, and it does not work on Windows.




Things I should do that I surely won't.

  • Make the app compatible with API 21 instead of 24.

Credits

And of course, thanks to all contributors of all of those projects!

java-mods-optimizer's People

Contributors

mathias-boulay avatar nordicgamerfe avatar sylveonbottle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

java-mods-optimizer's Issues

Where are files stored

Currently, I run it on a mod pack, but where are the files stored, it doesn't seem to be replacing the original files?

Game crashe when use optimized mods

Forge version: 1.12.2 - 14.23.5.2854
Mod used: Matterial Overdrive
When i use non optimized mod game work but when I exchange it for optimized game dont start
Can you help me? It would be good if i get it to work.
PS:no just MO every mod i use optimized game
crash

Mass file storage

Any chance this application can have an easier way to mass-save files, I like running my entire pack through but than aftwards having to go and save every single file is a pain.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.