your current location:首页 > news>Extreme optimization!Use Cleanroom+Java21 to run the greedy integrated package![GC] Minecraft Game

Extreme optimization!Use Cleanroom+Java21 to run the greedy integrated package![GC] Minecraft Game

2024-12-06 22:08:42|Myriagame |source:minecraft skins

This tutorial is set by the author's setting without permission.

Are you still envious of being greedy for your computer?

Are you still crazy about spending 20 minutes to start greedy?

Are you still collapsed for the sudden Waiting for Server's mentality?

This tutorial will teach you to use Cleanroom+Java21 to get fast speed!

(Not yet completed, the completion degree is 95%, and the remaining JVM parameters will be discussed)

First release my configuration and optimization effect:

Computer configuration: CPU: i7-6500U @ 2.5GHz (2 cores and 4 threads, CPU-Z running single-core 231.8, multi-core 721.6)

RAM: 2*8GB DDR3 1600MHz

Graphics card: NVIDIA GeForce930M (with 4GB DDR3 memory)

Optimization effect: Before optimization: Start 27min, the number of frames in the game is about 10 frames (can't play a little), the early period of 50-60 in the early stage 30-40

After optimization: Start 15min, the number of frames in the game has not been tried, and 80-90 in the early stage of no light and shadow has not yet played in the later stage

The following parts are personal attempts, which may help other people who are willing to migrate and integrate packages. If you have no interest, you can skip it.

Cleanroom profile


Module loader made based on the Cleanroommc team based on Minecraft Forge 1.12.2.

Cleanroom is committed to continuing to maintain the 1.12.2 FORGE module community and allows to run games under Java 21 + LWJGL3.

Transplantation


1. Please backup the archive in advance, please create a new folder for the transplantation process

2. In the new folder, install a greedy integrated package with the HMCL starter normally

3. Please ensure that the network is unobstructed, especially the connection with github, otherwise please solve it by yourself

Personal trying process


After discussing with the author next door, I first added some optimized mods in the forge environment:

Stellarcore (Note! In Cleanroom environment, it seems that there is no need to configure the file to modify the EnderCore related, if it is exploded, then change it)

Loliasm (Cleanroom is not compatible with Vanillafix, please use the version of Loliasm above 5.0 and use AE unofficial version, remember to change the configuration file; I do not need to use 4.13+AE original)

But the difference is that the compatibility of Cleanroom and each module must be determined first

I flipped through the Cleanroom's comment area, summarized all the incompatible modules in a document, and conducted investigation

Fortunately, most modules are really 99%compatible with Cleanroom

There are RELOADED, BDLIB with scarr, other mods have FUGUE repair

Only Vanillafix

So I gradually tried by pressing the MOD name, and the compatibility of the compatibility in advance when the front was missing: A: Normal startup after complement the front

B: After completing the front, the BOUNTIFUL bounty MOD reports an error. After reading it after reading, it is found that the items defined by the bounty are in the MOD behind

C: After completing the front, Binnie's MOD reports an error and read the REPORT without reading it.

D: After completing the front, dungeons2!I have reported an error, I haven't resolved it yet (ISSUE), please try it by yourself. It may be my computer problem

Try this bold

E-H: Normal startup after completion

I-T: After completing the front, LOOTBAG reports an error, and temporarily disables the bounty; LogisticPipe reports an error, this thing Xue Dingzheng, temporarily disabled; the heat report the error, read the report, and find that the dupe has been repaired.

U-Z: After completing the front, the heat is reported to report an error, read a report, and found that it was unifine repair rendering errors.

Restore temporarily disabled MOD: Binnie's Mod, Lootbag, Boundiful is normal, LogisticSpipes still has the probability of jumping

As of 2024.8.18 20: 00, dungeons2!The problem has been solved, please see the adjustment of the configuration file below

Official solution

The overall test is completed. In addition to the slower speed loading speed, the others are in the acceptable range

Text start

Replace Cleanroom

First install the integrated package in a normal way, download the Cleanroom (Release or ACTION version of the GitHub page, and use 0.2.2-Alpha+Build.26.669 version) here).


On the starter automatic installation interface, click the X uninstall on the right side of Optifine, otherwise it will be prompted to repeat the installation for.

I will use the MOD installation method later to replenish Optifine

At the same time, remember to open the required function in the performance> performance

Then drag the Cleanroom installer into the page, or click to install it manually to select

There should be an X in the red circle of Optifine

Then check the default JVM parameters, do not check the integrity of the game, do not check the JVM compatibility, and do not try to automatically replace the local bank in the advanced settings

Open the advanced settings

Open four options

Change module

MODs that need to be changed are: (labeled arrows for replacement)


Delete and add update headshot killing (iBlis Headshots) ----------->>

[IHT] Head -headed killing: a craftsman to the end (IBLIS Headshots Tic)

Dungeons2! 2.0.0+

VanillafixLoliaasm 4.13/5.20SHOULDERFINGRELODed 2.9.6

Phosphorstellarcore

Dupefixfugu

UnifineScala 2.11.1

Performantoptfine hd_u_g5

Better Foliage

Mixinbootstraps

Compatible with mixin0.7-0.8 (Mixin 0.7-0.8 Compositionability)

LogisticSpipes 0.10.4.3 (Insurance, if not, it is not necessary to disable it)

Configuration file modification

Loliasm.cfg FUGUE.CFG Please delete com.someguysoftware in getcodeSource () Patching listStart at the beginning to solve Dungeons2!Error


Advanced UT

Using UT can replace a large amount of MOD, speed up the startup speed (it is difficult to modify the configuration file, it is recommended to use advanced players) (labeled arrows for equivalent replacement)

Deleted modut configuration file modification


"Item Stages" {b: "INGREDIENT MOTCHING" = FALSE}

"Farmland Trample" = NEVER

"Toggle Cheats Button" = FALSE

"Disable Narrator" = True

"Fast World Loading" = TRUE

"Mute Advancement Error" = True

"MUTE Texture Map Error" = TrueaiimProvements-1.12-0.0.1b3.jar --------> "AI Removal" = TRUEALWAYSEAT-1.1.jar ----------> "Alway" TEFIX-Forge-1.12.2-1.0.12.jar

Betterburning -.12.2-0.9.2.jar

Betterplacement -.0.0-1.JAR --------->>

"[1] Better Placement Toggle" = TrueBiggerPacketSplz-Since1.8-1.2.jar

Born in a barn v1.8-1.12-1.1.jar

chunkgenlimiter-1.1.jar ---------> [1] Chunk Gen Limit Toggle "= TRUEDEUF -.1-1.12.2.jar

diethopper-1.1.jar

FastFurnace-1.12.2-1.3.1.jar

FastleafDeCay-V14.jar

Fastworkbench-1.12.2-1.7.4.jar

fencejumper-1.12-1.0.5.jar

IKWID -.0.2.JAR

Morpheus-1.12.2-3.5.106.jar.

nanfix-Final-absorbting.jar

OldjavaWarning-1.12.2-1.1.11.jar

SaveMystronghold-1.12.2-1.0.0.jar

Serverpropertieslan-2.65.jar

Stepupfix-1.12.2-1.0.0.0.4.b17.jar

STG-12.2-1.2.3.jar

Surge-1.12.2-2.0.79.jar

Toast Control-1.12.2-1.8.1.jar

unloader-1.2.0.jar

Other optional small adjustments

MODPACK Configuration Checker, this MOD, is useless to enter the world. It is not useful to enter the world to give some tips, and it takes up a lot of time when loading.

The abyss country occupies a lot of time in the final stage of the game loading (at least 1 minute during the Complete stage). Maybe you can find an optimized MOD?Extra game adjustment


Java: The original Java is really ... It is recommended to use Azul Zulu JDK21

Turn off the light and shadow outside the game: Open ./minecraft/versions/greedycraft, rename or delete the ShaderPacks folder

JVM virtual machine parameter: Use the new star engineering: The parameters recommended by the World Integrated Pack: -XX:+Usezgc-XX:+ZGENTAL-XX:+UNLOCKEXPERIMOPTIONS-XX:+UNLOCKDIAGNOPTIONS-XX:+ALW AysactAsserverClassMachine-XX:+Explicitgcinvokesconcurrent-XX:+Usenuma-XX: NMETHODSWEEPACTITY = 1 -XX: ReserVEDCOCACACACACHESIZE = 400M -XX: NonnMethodCodeheapSize = 12M -XX: ProfiledCodeheapsize = 194m -xx -XX-XXX : NONPROFILEDCODEHEAPSIZE = 194m-XX: -dontcomPilehugeMethods-XX: Maxnodelimit = 240000 -XX: NodelimitFudgeFactor = 8000-XX:+UseVectorCmov -XX:+PerfDisableSharedMem -XX:+UseFastUnorderedTimeStamps -XX:ThreadPriorityPolicy=1 -XX:AllocatePrefetchStyle=3 -Dfml.queryResult=confirm -XX:CompileThreshold=100000


However, in the process of personal attempts, using ZGC will lead to a significant increase in startup time, so delete the first two parameters, please test ZGC performance by yourself

From the commentary area meatball process integration package: -XX:+UNLOCKEXPERIMENTALVMOPTIONS -XX:+UnlockdiagnosticVMOPTIONS -XX:+AlwaySpretouch -XX: Maxinlinelevel = 15 -xx: Maxvectorsi ZE = 32 -XX:+Usecompressedoops -XX: ThreadPrioritypolicy = 1 -XX:AllocatePreFETCHSTYLE = 3 -XX:+Usenuma -XX: NMethodsweepActivity = 1 -XX: ReservedCodecacheSize = 300M -XX: -dontCompileHugeMethods Imit = 240000 -xx: nodelimitFudgeFactor = 8000 -XX:+UsefpuForspilling -XX:+UsestringDeduplication -xx:+Useg1gc -XX: Maxgcpausemillis = 37 -XX: G1heapregionsize = 32M -XX: G1NewsizePercent = 23 -XX: G1maxnewsizePercent = 40 -XX: G1ReserVepercent = 20 -20 XX: Survivorratio = 16 -XX: G1MixedgccookTarget = 3 -XX: G1MixedgClivethResholdPercent = 90-XX: InitiaatingheapoccupationPercent = 10 -XX: MaxTenuringthReshold = 2 -XX: G1RsetupdatingpausetimePercent = 0 -XX: G1SatbbuFFEENGEINGRESHOLDPERCENT = 30 -XX: G1ConcmarkStepDurationMillis = 5.0 -XX: G1CONCRSHOTCARDLIMIT = 16 -XX: G1CONCREFINEEMENTERVALMILLIS = 150 -XX: GCTIMERATIO = 99 -XXX:+ExplicitgCinvokesconcurrentopenjdk 64-Bit Server VM Warning: Ignoring Option G1Concrshotcardlimit; support was removed in 21.0.0.0.0.0.0.0.0

Openjdk 64-Bit Server VM Warning: Ignoring Option G1CONCREFINTEMERVINTERVALMILLIS;

If you use Zulu21, there will be these two lines of warnings

Optimize the start time with this parameter to about 14min

If there are better parameters, you can communicate in the comment area

Known problem

1. If the JVM parameter is used and the computer configuration is really low, it may cause the computer to be severely stuck during start for about two minutes (starting from the game window), please test it by yourself and choose as appropriate.

2.TPS will fall when the block loads (such as fast running), and it will rise to 20 after it is maintained in one area for about 10 seconds

3. In -game information shows that the XML version (maybe a certain subsidiary) will have serious errors under Optifine, resulting in flash screens, and are looking for solutions (inefficient solutions to hold TAB or open F3) or replace MOD

I have found the next place to replace the mod -minihud. I will put the effect screenshot in the comment area. Everyone will see it.


4. If the new star project is used: the JVM parameters recommended by the world, the memory occupation will be increased from 3400MB (34%of 10g) to 8400MB (94%) and then 34%at GC.Play a game

If the JVM parameters recommended by the integration of the meatball process, the memory occupation will be increased from 3400MB (34%of 10g) to 5700MB (56%) and then 34%in GC.

5. The use of Loliasm5.6 does not cause AE2 rendering errors, but extremely stuttering, please try it yourself

Q & A

1.q: After opening a new file, I tried to find that the player would collapse the game card directly.Do you have to do with it) A: Positioned to the problem, please try to change Universal Tweaks -MOD Integration.cfg Files.

end

The tutorial is basically over. If there is a problem with the job copy, please check if all the changes have been completed first. If you are sure, you can leave a message in the comment area, attach the collapse report and Latest.log (passed by mclo.gs)

If you have any other suggestions, you can also make it