Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Commit 7e6aed0

Browse files
Update README.md
1 parent 3d5aa65 commit 7e6aed0

1 file changed

Lines changed: 59 additions & 2 deletions

File tree

README.md

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,59 @@
1-
# Java-Mods-Optimizer
2-
Bruh.
1+
# Minecraft Java Mods Optimizer
2+
3+
This application is a simple way to optimize Minecraft java mods size (and performance) by up to 50 % !
4+
***Examples:***
5+
6+
- Advent Of Ascension: 85.9 MB -> 46.4 MB (-46%) !
7+
- Ore Spawn: 16.7 MB -> 7.6 MB (-54,5 %) !
8+
- Biomes O'Plenty: 3.1MB -> 2.0MB (-35 %) !
9+
10+
11+
12+
# What about the performance benefits ?
13+
This tool lowers the requirements for playing Minecraft modpacks:
14+
15+
- **Memory usage is lowered**, since files are smaller. It allows for faster startup times.
16+
- CPU usage when playing sounds, accessing images and sounds is **lowered**.
17+
- VRAM usage is **lowered** due to smaller file size. (If you are using integrated graphics, the RAM is used as VRAM)
18+
- **Increase on FPS on integrated graphics** due to lower RAM bandwidth being taken by textures.
19+
20+
# Should I use this awesome optimizer ?
21+
**Yes**, I personally use this in **all my modpacks** to allow them **to run on my lower-end hardware** (limited RAM, integrated graphics...).
22+
23+
However, consider performing other optimizations before doing this one, like removing useless mods, tweaking config files, using optifine and performing some windows 10 optimizations to make more RAM friendly (W7 is pretty RAM friendly already).
24+
25+
# Nice ! How is this achieved ?
26+
27+
Almost all textures within a Minecraft mods are at the .PNG format. I'm using the fantastic PNGQuant software to optimize all textures.
28+
29+
Same story for the sounds, all of them are stored at the .OGG format using the Vorbis codec. For this task, I'm using a custom build of FFMPEG to cut really high frequencies and save space.
30+
31+
Some more recent mods make heavy use of JSON files, those can be trimmed down as well.
32+
33+
# How to use the app ?
34+
35+
Upon opening the application, you will encounter the main (and only) menu of the app.
36+
37+
Notice that two options are already activated, as they are the recommended settings, however nothing blocks you from changing them.
38+
Once your are satisfied with the options, click on the "+" button and choose a Minecraft mod to optimize.
39+
After, just wait for the process to complete.
40+
You can see the progression of each steps with the various progress bars.
41+
42+
43+
# Credits
44+
45+
- StackOverflow for helping me to learn Java ^^'
46+
- [Kornelski](https://github.com/kornelski) for [PNGQuant](https://github.com/kornelski/pngquant) and [ndahlquist](https://github.com/ndahlquist) for the android [implementation](https://github.com/ndahlquist/pngquant-android)
47+
- [Tanersener](https://github.com/tanersener) for [mobile-ffmpeg](https://github.com/tanersener/mobile-ffmpeg)
48+
- [Charlesbihis](https://github.com/charlesbihis) for the [Json minifier](https://github.com/charlesbihis/minify)
49+
- [SerpentSpirale](https://github.com/serpentspirale) for this app !
50+
51+
And of course, thanks to all contributors of all of those projects !
52+
53+
# Building the app
54+
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**
55+
I did not test it, but I'm fairly sure you can just clone the repository, open the android studio project on run the app, libs are pre-compiled.
56+
57+
## Things I should do that I surely won't.
58+
59+
- Make the app compatible with API 21 instead of 24.

0 commit comments

Comments
 (0)