From 7d6355116ca572588364035e293a87de1e393209 Mon Sep 17 00:00:00 2001 From: Griffin T Date: Tue, 29 Oct 2024 05:33:32 +0800 Subject: [PATCH] hyst: add better biome blend & entity culling --- pack/config/betterbiomeblend.cfg | 9 +++ pack/config/entityculling.cfg | 93 ++++++++++++++++++++++++++++ pack/config/renderlib.cfg | 61 ++++++++++++++++++ pack/index.toml | 27 ++++++++ pack/mods/better-biome-blend.pw.toml | 13 ++++ pack/mods/entity-culling.pw.toml | 13 ++++ pack/mods/renderlib.pw.toml | 13 ++++ pack/pack.toml | 2 +- 8 files changed, 230 insertions(+), 1 deletion(-) create mode 100644 pack/config/betterbiomeblend.cfg create mode 100644 pack/config/entityculling.cfg create mode 100644 pack/config/renderlib.cfg create mode 100644 pack/mods/better-biome-blend.pw.toml create mode 100644 pack/mods/entity-culling.pw.toml create mode 100644 pack/mods/renderlib.pw.toml diff --git a/pack/config/betterbiomeblend.cfg b/pack/config/betterbiomeblend.cfg new file mode 100644 index 0000000..0e7a319 --- /dev/null +++ b/pack/config/betterbiomeblend.cfg @@ -0,0 +1,9 @@ +# Configuration file + +general { + # Min: 0 + # Max: 14 + I:"Blend Radius"=14 +} + + diff --git a/pack/config/entityculling.cfg b/pack/config/entityculling.cfg new file mode 100644 index 0000000..6aa663e --- /dev/null +++ b/pack/config/entityculling.cfg @@ -0,0 +1,93 @@ +# Configuration file + +general { + # Ideally should be set to equal the render distance. Ram usage (in Bytes) = 1063 * (2x + 1) ^ 3 + I:cacheSize=12 + B:disabledInSpectator=true + + # If you have a weak CPU enabling this option might help reducing the CPU usage. + B:enableRaytraceCache=false + + # Disable all changes from this mod (This is not equal to removing the mod!). + B:enabled=true + + # If enabled and OpenGl 4.4 is supported OpenGl based culling is used which is a lot faster and more accurate. If you have a weak GPU you might want to disable this. + B:openglBasedCulling=true + + # Mode that is used to calculate the distance from camera to a raytrace end point. + # Valid values: + # SPHERICAL + # CYLINDRICAL + S:raytraceDistanceCalculator=SPHERICAL + + # Used to calculate the raytrace distance limit. Points farther away than the limit are not raytraced. Distance limit = (renderDistance * 16 + adder) * multiplier + # Min: 0.0 + # Max: 1024.0 + D:raytraceDistanceLimitAdder=16.0 + + # Used to calculate the raytrace distance limit. Points farther away than the limit are not raytraced. Distance limit = (renderDistance * 16 + adder) * multiplier + # Min: 0.0 + # Max: 1024.0 + D:raytraceDistanceLimitMultiplier=1.0 + + # If you feel the need to increase this value because of entities being culled falsely then another modder probably messed up their render bounding boxes and you should report the issue to them. Alternatively you can use the (tile-)entityBoundingBoxGrowthList settings to fix bounding boxes on your own. + # Min: 0.0 + # Max: 1024.0 + D:raytraceThreshold=1.0 + + # If enabled tile entity bounding boxes are increased slightly to avoid issues when other mods don't correctly set their bounding boxes (requires opengl based culling). If you still have culling or flickering issues you can use the 'debugRenderBoxes', 'entityBoundingBoxGrowthList' and 'tileEntityBoundingBoxGrowthList' config options to try to fix the bounding box of that entity or tile entity. + B:tileEntityAABBGrowth=true + + entity { + B:alwaysRenderBosses=true + B:alwaysRenderEntitiesWithName=true + B:alwaysRenderPlayers=true + B:alwaysRenderViewEntity=true + B:ignoreEndCrystalsWithBeam=true + + # Skip rendering of entities that are not visible (hidden behind blocks). This might cause issues where an entity is partly behind a block and thus does not get rendered but it's usually not really noticable. + B:skipHiddenEntityRendering=true + + # Tile entities which will always be rendered. (Accepts 'modid' or 'modid:entity_name') + S:skipHiddenEntityRenderingBlacklist < + > + + # Entities with a width or height greater than this value will always get rendered. + # Min: 0.0 + # Max: 1024.0 + D:skipHiddenEntityRenderingSize=16.0 + } + + tileentity { + # Skip rendering of entities that are not visible (hidden behind blocks). This might cause issues where a tile entity is partly behind a block and thus does not get rendered but it's usually not really noticable. + B:skipHiddenTileEntityRendering=true + + # Tile entities which will always be rendered. (Accepts 'modid' or 'modid:tile_entity_name') + S:skipHiddenTileEntityRenderingBlacklist < + enderio:tile_travel_anchor + > + + # Tile entities with a width or height greater than this value will always get rendered. + # Min: 0.0 + # Max: 1024.0 + D:skipHiddenTileEntityRenderingSize=16.0 + } + + optifineshaderoptions { + B:entityShadowsCulling=true + B:entityShadowsCullingLessAggressiveMode=true + + # Min: 0.0 + # Max: 1024.0 + D:entityShadowsCullingLessAggressiveModeDiff=4.0 + B:tileEntityShadowsCulling=true + B:tileEntityShadowsCullingLessAggressiveMode=true + + # Min: 0.0 + # Max: 1024.0 + D:tileEntityShadowsCullingLessAggressiveModeDiff=4.0 + } + +} + + diff --git a/pack/config/renderlib.cfg b/pack/config/renderlib.cfg new file mode 100644 index 0000000..e433552 --- /dev/null +++ b/pack/config/renderlib.cfg @@ -0,0 +1,61 @@ +# Configuration file + +general { + B:debugRenderBoxes=false + + # Allows you to increase the render bounding boxes of entities (or all entities of a mod). Width increases the size on the X and Z axis. Top increases the size in the positive Y direction. Bottom increases the size in the negative Y direction. (Accepts 'modid=width,top,bottom' or 'modid:entity=width,top,bottom'). + S:entityBoundingBoxGrowthList < + > + I:mainMenuFPS=60 + + # If set to true the main menu FPS is synced to the in game FPS (but clamped between 30 and 240). + B:mainMenuFPSSynced=false + B:openGLLogExtensions=false + B:showFrameTimes=false + + # Allows you to increase the render bounding boxes of tile entities (or all entities of a mod). Width increases the size on the X and Z axis. Top increases the size in the positive Y direction. Bottom increases the size in the negative Y direction. (Accepts 'modid=width,top,bottom' or 'modid:tileentity=width,top,bottom'). + S:tileEntityBoundingBoxGrowthList < + > + + # Tile entities whose bounding boxes won't be cached (Accepts 'modid' or 'modid:tileentity'). + S:tileEntityCachedBoundingBoxBlacklist < + > + + # Most tile entities have static bounding boxes and thus they can be cached. Tile entities whose bounding boxes are likely to change every frame or so should be added to the blacklist. Tile entities whose bounding only change every once in a while should be covered by cache updates (update speed adjustable through tileEntityCachedBoundingBoxUpdateInterval) + B:tileEntityCachedBoundingBoxEnabled=true + + # Every frame there is a 1 in x chance to update the cached bounding box. Higher = better performance, Lower = tile entities with dynamic bounding boxes get updated faster. + # Min: 1 + # Max: 1000000 + I:tileEntityCachedBoundingBoxUpdateInterval=100 + + opengldebugoutput { + # Enable/Disable crashing when an OpenGL error occurs. If disabled OpenGL errors are likely to go unnoticed unless the log is checked manually. + B:crashOnError=false + + # Better debugging of OpenGL errors. Might not be supported by your hardware/driver. + B:enabled=true + + # Enable/Disable appending of the stack trace when logging a debug message. + # Valid values: + # DISABLED + # ALWAYS + # ERRORS_ONLY + S:logStackTrace=ERRORS_ONLY + + # Enable/Disable debug messages matching the specified filters. + # Format: 'source, type, severity, enabled' + # Valid source values: [ ANY, API, WINDOW_SYSTEM, SHADER_COMPILER, THIRD_PARTY, APPLICATION, OTHER ] + # Valid type values: [ ANY, ERROR, DEPRECATED_BEHAVIOR, UNDEFINED_BEHAVIOR, PORTABILITY, PERFORMANCE, MARKER, PUSH_GROUP, POP_GROUP, OTHER ] + # Valid severity values: [ ANY, HIGH, MEDIUM, LOW, NOTIFICATION ] + S:messageFilters < + ANY;ERROR;ANY;true + > + + # May be required by some systems to generate OpenGL debug output. (Enabling might have a negative impact on performance) + B:setContextDebugBit=false + } + +} + + diff --git a/pack/index.toml b/pack/index.toml index 75c115c..fcc92de 100644 --- a/pack/index.toml +++ b/pack/index.toml @@ -6976,6 +6976,10 @@ hash = "e508483e8a803419d2600e3135cd0ccb6ea71307e3b20ccefc7943cbde4e1b18" file = "config/betteradvancements/betteradvancements.cfg" hash = "6b26c60fe7e9eecf218f6136ee9188a1538e560e2aced0a62b61b22404c24052" +[[files]] +file = "config/betterbiomeblend.cfg" +hash = "7575920f2203bc52de8dfd940a873f9143e908002c006db1a1f89e49725869b4" + [[files]] file = "config/betterbuilderswands.cfg" hash = "059133216f2f843b667caad4f06022855aa3f7a7b2dbcc93c521e154038acc16" @@ -8416,6 +8420,10 @@ hash = "eaa0a887355b5ab29f81d79fac01cddeb1a34c8e49f7d468ff150f5cc1e10772" file = "config/enderstorage.cfg" hash = "0e768f6d9d9275564e12c41e0364cc3f0b98b6d2a1715af31509c1d577860853" +[[files]] +file = "config/entityculling.cfg" +hash = "8a1dc449204426365e60b56c217b6b279df87156c054500037aca90500fe1638" + [[files]] file = "config/epicsiegemod.cfg" hash = "5000039cba21c41501293a15243bdbe070e430589e0bcb3aab275aecbe710bcf" @@ -9600,6 +9608,10 @@ hash = "2b587ca12f0b39037da88d1b37686ac8d5f2d0e77dc125abd088a882f0cc1733" file = "config/recipehandler.cfg" hash = "c5ab5de863d2540cc16269abf150f005e40c694064502667d83775086eab6250" +[[files]] +file = "config/renderlib.cfg" +hash = "0141dfb86b5bd862e801b3e0fb3e8ad50f50200f84fd7d7ce76dedaac5053eff" + [[files]] file = "config/restrictedportals.cfg" hash = "6ccd15672d91e010368b20bb3e7937032d88137fff9c80cbbb20bea0bbd832f7" @@ -10046,6 +10058,11 @@ file = "mods/better-advancements.pw.toml" hash = "7a812e6a1d2e45df6d44834a1fbb5358e7222fed21739601abef5d6bbe00cd97" metafile = true +[[files]] +file = "mods/better-biome-blend.pw.toml" +hash = "54daf55723880c0c325a1226ade7c75d55d863443e5c552332015d2b34b94931" +metafile = true + [[files]] file = "mods/better-builders-wands.pw.toml" hash = "f7c821287bcb460b7cd51438d4f08c818beb1070d687a0460ce5c5279941bad2" @@ -10346,6 +10363,11 @@ file = "mods/endertweaker.pw.toml" hash = "c99940171284edcf75dc2c588a2d462fede08ab849acc67ffe125dc93a66bb0c" metafile = true +[[files]] +file = "mods/entity-culling.pw.toml" +hash = "28f3104079a644a1dc5ac037880777e5eb7de613917f5164f7e09ed3a90c734a" +metafile = true + [[files]] file = "mods/epic-siege-mod.pw.toml" hash = "caa9e90b3c0b1203a6e4185ec5302d9050d699f35bdf68bfd5ebdba5cb4dfbe4" @@ -10956,6 +10978,11 @@ file = "mods/reliquary-reincarnations.pw.toml" hash = "1b4a0a19615a8b8ed0d78ddfd05fa3ee59f7050a8a4490de0e800115c0b66885" metafile = true +[[files]] +file = "mods/renderlib.pw.toml" +hash = "5b65213d7179d07ab308e4a108b53d5d3fc4caef98efd4fef64ddaaeaf489400" +metafile = true + [[files]] file = "mods/resource-loader.pw.toml" hash = "5b23fff02027846cadc887ffe26fce12a4e20bdee2cc0c06732897a44f364357" diff --git a/pack/mods/better-biome-blend.pw.toml b/pack/mods/better-biome-blend.pw.toml new file mode 100644 index 0000000..7f34e6f --- /dev/null +++ b/pack/mods/better-biome-blend.pw.toml @@ -0,0 +1,13 @@ +name = "Better Biome Blend" +filename = "betterbiomeblend-1.12.2-1.1.7-forge.jar" +side = "client" + +[download] +hash-format = "sha1" +hash = "a9463fed7357f39515707b5bbb4cac780916abf5" +mode = "metadata:curseforge" + +[update] +[update.curseforge] +file-id = 3554486 +project-id = 446253 diff --git a/pack/mods/entity-culling.pw.toml b/pack/mods/entity-culling.pw.toml new file mode 100644 index 0000000..776baeb --- /dev/null +++ b/pack/mods/entity-culling.pw.toml @@ -0,0 +1,13 @@ +name = "Entity Culling" +filename = "EntityCulling-1.12.2-6.4.3.jar" +side = "client" + +[download] +hash-format = "sha1" +hash = "6cecf04d943834fd2b09953b98d46d9340735e49" +mode = "metadata:curseforge" + +[update] +[update.curseforge] +file-id = 5096144 +project-id = 409087 diff --git a/pack/mods/renderlib.pw.toml b/pack/mods/renderlib.pw.toml new file mode 100644 index 0000000..1d844e2 --- /dev/null +++ b/pack/mods/renderlib.pw.toml @@ -0,0 +1,13 @@ +name = "RenderLib" +filename = "RenderLib-1.12.2-1.3.5.jar" +side = "both" + +[download] +hash-format = "sha1" +hash = "0635a2cd62e1ab352941af5d886d2ebb0aa593fa" +mode = "metadata:curseforge" + +[update] +[update.curseforge] +file-id = 5421689 +project-id = 624967 diff --git a/pack/pack.toml b/pack/pack.toml index 021b2d9..2fc03aa 100644 --- a/pack/pack.toml +++ b/pack/pack.toml @@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "85aad0cc6e5b6acae4a7a0b00ed5e10b7a1a557af51c9e4eb1cb33d051501350" +hash = "a345af7201119cfe2dc4abe3b43c3161517cfc18a1501f411fff63b283decccc" [versions] forge = "14.23.5.2860"