Git Product home page Git Product logo

dashloader-legacy's Introduction

Moved to

^ main is empty, please pick the branch for your version

GitHub Workflow Status GitHub license GitHub release Github all releases

DashLoader is a minecraft mod that caches the modelmanager while accelerating the other components of the minecraft client initialization stack. Commits are welcome if you agree to follow the licence. For discussion/questions join the official quantum discord server here https://discord.gg/ERw86gDGdg

yourkit DashLoader's performance is highly aided by the YourKit Java Profiler which helps us greatly with keeping standards high and load times low.

dashloader-legacy's People

Contributors

alphaqu avatar basiqueevangelist avatar k0-rr avatar nebelnidas avatar pluiedev avatar siuolplex 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dashloader-legacy's Issues

Stuck on serializing cache

I am running a lot of mods and recently added quite a few and am now getting stuck on sere. Cache this did not happen before I’m guessing it’s a incompatibility issue but I’m not sure what mod in incompatible. These are screenshots of my mod folder. When I try without dash loader it take ages, so please help:)

84D26EC1-97AA-48D1-83BA-8A5FBF87B85D
91448C0F-A0E8-47F3-9FDC-73077253533B

Font not rendering.

Minecraft rendering any letter as cubes.
What I should see: Link
What I get: Link

With Force Unicode Font everything works fine.
And when I trying to turn Force Unicode Font and change it to another language the game just crashing.

Crash report and mod list: crash-2021-04-16_20.15.17-client.txt

Missing chunks and game freeze with Sodium

When Minecraft is launched from the cache along with sodium, it leads to rendering errors of some chunks and the game freezing after a while.
(the first launch is fine)

To Reproduce
• Launch Minecraft with DashLoader v1.3.1 and Sodium v0.1.0
• Open singleplayer world – all is fine
• Close Minecraft
• Launch Minecraft again to load it from the cache
• Open singleplayer world
• Get the window freezing after a while

Logs
2021-05-06-7.log (First launch)
latest.log (Second launch)

Unsupported models

Hey there,
New thing:

[09:32:04] [Thread-155/WARN]: me.lambdaurora.lambdabettergrass.model.LBGLayerBakedModel is not a supported model format, please contact mod developer to add support.

This has been spammed into my logs like 500 times - and I am pretty sure it's caused by your mod (As it starts with "Mapping Models") - could you maybe print this out only once?
Thanks!

Causes issues when used with Connected Block Textures

When the game loads from the dash cache and the mod Connected Block Textures is installed, it causes a lot (1.4k) of errors that say "model not found in data" to appear in the log and all models and textures seem to be missing, along with some strange rendering issues, and random crashes in some worlds.
This happens also when sodium and indium are installed along cbt, but not when sodium and indium alone are installed.

2021-06-11_20 19 43
2021-05-11_11 34 44

latest.log

Failed to load

[20:28:38] [main/ERROR]: Mixin apply for mod dashloader failed dashloader.mixins.json:option.cache.sprite.SpriteInterpolationMixin -> net.minecraft.class_1058$class_4728: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException @shadow field field_21757 was not located in the target class net.minecraft.class_1058$class_4728. Using refmap dashloader-def-refmap.json
org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: @shadow field field_21757 was not located in the target class net.minecraft.class_1058$class_4728. Using refmap dashloader-def-refmap.json

now handled as a <$ Hyphen Fatal Exception $>

HyphenException Reason
	 -> Mixin transformation of net.minecraft.class_1058$class_4728 failed
	 ?  cause: RuntimeException

Incompability

Remove mod 'Connected Block Textures' (connected_block_textures) 0.1.5+1.17 (connected-block-textures-0.1.5+1.17.jar).

Dashloader stuck on "Serializing Atlas" when updating texture pack

There is not much to it, add or remove a texture pack and after the normal minecraft loading screen is done, dashloader will kick in and get to "Serializing Atlas" and get stuck there, pressing "esc" (escape) will close the dashloader loading screen. Nothing seems off and the texture pack(s) (un)load correctly.

Screenshot:
image

Crash

---- Minecraft Crash Report ----
// Daisy, daisy...

Time: 11/29/21, 1:30 PM
Description: Unexpected error

java.lang.NullPointerException: Cannot read field "field_28466" because "this.parent" is null
at Not Enough Crashes deobfuscated stack trace.(1.17.1+build.32)
at net.minecraft.client.texture.Sprite$Interpolation.apply(Sprite:1553)
at net.minecraft.client.texture.Sprite$Animation.tick(Sprite:441)
at net.minecraft.client.texture.SpriteAtlasTexture.tickAnimatedSprites(SpriteAtlasTexture:4034)
at net.minecraft.client.texture.SpriteAtlasTexture.tick(SpriteAtlasTexture:259)
at net.minecraft.client.texture.TextureManager.tick(TextureManager:160)
at net.minecraft.client.MinecraftClient.tick(MinecraftClient:1702)
at net.minecraft.client.MinecraftClient.render(MinecraftClient:1081)
at net.minecraft.client.MinecraftClient.run(MinecraftClient:728)
at net.minecraft.client.main.Main.main(Main:217)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:567)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:568)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:567)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Render thread
Stacktrace:
at net.minecraft.class_1058$class_4728.method_24128(class_1058.java:1553)
at net.minecraft.class_1058$class_5790.method_4622(class_1058.java:441)
at net.minecraft.class_1059.method_4612(class_1059.java:4034)
at net.minecraft.class_1059.method_4622(class_1059.java:259)
at net.minecraft.class_1060.method_4622(class_1060.java:160)

-- Affected level --
Details:
Chunk stats: 65536, 270
Level dimension: minecraft:overworld
Level spawn location: World: (0,66,0), Section: (at 0,2,0 in 0,4,0; chunk contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 20613 game time, 6000 day time
Server type: Non-integrated multiplayer server
Stacktrace:
at net.minecraft.class_638.method_8538(class_638.java:370)
at net.minecraft.class_310.method_1587(class_310.java:2399)
at net.minecraft.class_310.method_1514(class_310.java:752)
at net.minecraft.client.main.Main.main(Main.java:217)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:568)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)

-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: Default, Fabric Mods, DNKu @ 50k

-- System Details --
Details:
Minecraft Version: 1.17.1
Minecraft Version ID: 1.17.1
Operating System: Windows 10 (amd64) version 10.0
Java Version: 16.0.1, AdoptOpenJDK
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), AdoptOpenJDK
Memory: 1377828864 bytes (1314 MiB) / 3074424832 bytes (2932 MiB) up to 4294967296 bytes (4096 MiB)
CPUs: 8
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Identifier: Intel64 Family 6 Model 60 Stepping 3
Microarchitecture: Haswell (Client)
Frequency (GHz): 3.50
Number of physical packages: 1
Number of physical CPUs: 4
Number of logical CPUs: 8
Graphics card #0 name: NVIDIA GeForce GTX 1050 Ti
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x1c82
Graphics card #0 versionInfo: DriverVersion=30.0.14.7247
Memory slot #0 capacity (MB): 4096.00
Memory slot #0 clockSpeed (GHz): 1.60
Memory slot #0 type: DDR3
Memory slot #1 capacity (MB): 4096.00
Memory slot #1 clockSpeed (GHz): 1.60
Memory slot #1 type: DDR3
Memory slot #2 capacity (MB): 4096.00
Memory slot #2 clockSpeed (GHz): 1.60
Memory slot #2 type: DDR3
Memory slot #3 capacity (MB): 4096.00
Memory slot #3 clockSpeed (GHz): 1.60
Memory slot #3 type: DDR3
Virtual memory max (MB): 32698.52
Virtual memory used (MB): 11642.30
Swap memory total (MB): 16384.00
Swap memory used (MB): 0.00
JVM Flags: 13 total; -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=45 -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=50 -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx4096m
Fabric Mods:
advanced_runtime_resource_pack: Runtime Resource Pack 0.4.3
amecs: Amecs 1.3.4+mc.1.17
amecsapi: Amecs API 1.1.5+mc21w16a
animatica: Animatica 0.1+1.17
architectury: Architectury 2.6.35
autoconfig1u: Auto Config v1 Updated 3.2.2
betterdroppeditems: Better Dropped Items 1.3.0-1.17
bettermounthud: Better Mount HUD 1.1.2
betterpvp: Better PVP 1.0.0
blue_endless_jankson: jankson 1.2.1
c2me: Concurrent Chunk Management Engine 0.2.0+alpha.5.0
capes: Capes 1.2.2+1.17
citresewn: CITResewn 0.8.1
cloth-api: Cloth API 2.0.54
cloth-basic-math: cloth-basic-math 0.6.0
cloth-client-events-v0: Cloth Client Events v0 2.0.54
cloth-common-events-v1: Cloth Common Events v1 2.0.54
cloth-config2: Cloth Config v5 5.1.40
cloth-datagen-api-v1: Cloth Datagen v1 2.0.54
cloth-scissors-api-v1: Cloth Scissors API v1 2.0.54
cloth-utils-v1: Cloth Utils v1 2.0.54
cmdkeybind: Command Macros 1.5.2-1.17
com_moandjiezana_toml_toml4j: toml4j 0.7.2
com_velocitypowered_velocity-native: velocity-native 1.1.0-SNAPSHOT
continuity: Continuity 1.0.2+1.17
cullleaves: Cull Leaves 2.3.1
dark-loading-screen: Dark Loading Screen 1.6.6
dashloader: DashLoader 3.0-beta3
dcch: DCCH 1.0
dev_quantumfusion_dashloader_dashloader-core: dashloader-core 1.0
dev_quantumfusion_hyphen: hyphen 0.1
dynamicfps: Dynamic FPS 2.0.6
enhancedblockentities: Enhanced Block Entities 0.5+1.17
entityculling: EntityCulling-Fabric 1.3.3
fabric: Fabric API 0.42.1+1.17
fabric-api-base: Fabric API Base 0.4.0+5847535018
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.3.1+5847535018
fabric-biome-api-v1: Fabric Biome API (v1) 3.2.2+5847535018
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.6+5847535018
fabric-command-api-v1: Fabric Command API (v1) 1.1.4+5847535018
fabric-commands-v0: Fabric Commands (v0) 0.2.3+5847535018
fabric-containers-v0: Fabric Containers (v0) 0.1.13+5847535018
fabric-content-registries-v0: Fabric Content Registries (v0) 0.3.1+5847535018
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.6+5847535018
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.13+5847535018
fabric-entity-events-v1: Fabric Entity Events (v1) 1.3.1+5847535018
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.11+5847535018
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.2+5847535018
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.8+5847535018
fabric-item-api-v1: Fabric Item API (v1) 1.2.5+5847535018
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.1+5847535018
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.5+5847535018
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.3+5847535018
fabric-language-kotlin: Fabric Language Kotlin 1.6.2+kotlin.1.5.20
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.5+5847535018
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.5+5847535018
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 1.0.2+6d0fac4218
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.5+6d0fac4218
fabric-models-v0: Fabric Models (v0) 0.3.1+5847535018
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.14+5847535018
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.12+5847535018
fabric-networking-v0: Fabric Networking (v0) 0.3.3+5847535018
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.10.11+6d0fac4218
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.5+6d0fac4218
fabric-particles-v1: Fabric Particles (v1) 0.2.5+5847535018
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.13+5847535018
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.5+5847535018
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.9+5847535018
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.6+6d0fac4218
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.6+5847535018
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.2.1+6d0fac4218
fabric-rendering-v0: Fabric Rendering (v0) 1.1.7+6d0fac4218
fabric-rendering-v1: Fabric Rendering (v1) 1.10.1+6d0fac4218
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.9+5847535018
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.5+5847535018
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.9+5847535018
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.14+5847535018
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.2+5847535018
fabric-textures-v0: Fabric Textures (v0) 1.0.7+5847535018
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.3.1+eb76084f18
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.1+6d0fac4218
fabricloader: Fabric Loader 0.12.5
fabricskyboxes: FabricSkyBoxes 0.5.2
ferritecore: FerriteCore 3.1.0
hlandbukkit_c2me-fabric_ver_1_17_libs_: libs 0.2.0+alpha.5.0
hudtweaks: HUDTweaks 1.2-beta
hudtweaks-apihelper: HUDTweaks API Helper 1.0-beta
hydrogen: Hydrogen 0.3
indium: Indium 1.0.1+mc1.17.1
io_airlift_aircompressor: aircompressor 0.21
itemmodelfix: Item Model Fix 1.0.2+1.17
java: OpenJDK 64-Bit Server VM 16
krypton: Krypton 0.1.5-SNAPSHOT
kyrptconfig: Kytpt Config 1.1.10-1.17
lambdabettergrass: LambdaBetterGrass 1.2.0+1.17
languagereload: Language Reload 1.2
lazydfu: LazyDFU 0.1.2
libzoomer: LibZoomer 0.3.0+1.17.1
lithium: Lithium 0.7.5
littletweaks: LittleTweaks 1.0.0
malilib: MaLiLib 0.10.0-dev.26
midnightlib: MidnightLib 0.2.7
minecraft: Minecraft 1.17.1
mm: Manningham Mills 2.1
modid: MCPPPP 0.4.2
modmenu: Mod Menu 2.0.10
morechathistory: MoreChatHistory 1.1.0
niapi: NativeImage API 1.16.5-1.0.0
no_teleport_cooldown: No Teleport Cooldown 1.0.2
nofade: No Fade 1.17-2.0.0
notenoughanimations: NotEnoughAnimations 1.4.0
notenoughcrashes: Not Enough Crashes 4.0.0+1.17.1
okzoomer: Ok Zoomer 5.0.0-beta.3+1.17.1
org_aperlambda_lambdajcommon: lambdajcommon 1.8.1
org_codehaus_groovy_groovy: groovy 3.0.8
org_codehaus_groovy_groovy-jsr223: groovy-jsr223 3.0.8
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.5.20
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.5.20
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.5.20
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.5.20
org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.5.0
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.5.0
org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.2.1
org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.2.1
org_joml_joml: joml 1.10.2
org_quiltmc_quilt-json5: quilt-json5 1.0.0
perspectivemod: Perspective Mod Redux 0.0.5_01
rad: Reload Audio Driver 1.0.1
rebind_all_the_keys: RebindAllTheKeys 1.1.1+1.17
satin: Satin 1.6.1
slight-gui-modifications: 'Slight' GUI Modifications 2.0.2
smoothscrollingeverywhere: Smooth Scrolling Everywhere 3.0.3-unstable
sodium: Sodium 0.3.3+build.767
sodium-extra: Sodium Extra 0.3.5
spruceui: SpruceUI 3.3.0+1.17
starlight: Starlight 1.0.0+fabric.73f6d37
textweaks: TexTweaks 1.17-2.0.0
Launched Version: MultiMC5
Backend library: LWJGL version 3.2.2 build 10
Backend API: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 GL version 3.2.0 NVIDIA 472.47, NVIDIA Corporation
Window size: 1280x720
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
Graphics mode: fast
Resource Packs: vanilla, Fabric Mods, file/DNKu @ 50k (incompatible)
Current Language: English (US)
CPU: 8x Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Client Crashes Since Restart: 1
Integrated Server Crashes Since Restart: 0
Suspected Mods: Minecraft (minecraft), Fabric Loader (fabricloader)

[READ THIS BEFORE OPENING AN ISSUE] Incompatibilities

DashLoader is known to be incompatible with certain other mods, and most of the time the aforementioned mods have custom mechanisms to load baked models, in a way DashLoader does not expect, so compatibility needs to be implemented on their end.

Here's a (possibly incomplete) list of known incompatibilities, sorted by progress:

Added

In progress/On the back burner

Unattempted

There has been no attempts nor plans at fixing the issue for these mods.

This isn't really and issue but at the same time it kinda is

When changing textures in resource packs and using F3+T to reload the textures it doesn't reload the textures because the old textures are cached. Could you either make so F3+T force reload the textures even if it doesn't find any new packs or anything. The second way to fix it is to add a hotkey to force recash everything (maybe F3+Shift+T or something idk).

Wrong license in mod metadata

Hi, your mod is really great, it's unreal how fast it goes!
This isn't really a bug report, more a small nitpick if anything:
Although this project is licensed by the LGPL 2.1, its fabric.mod.json says otherwise, reporting a MIT license.

Could you fix this small incoherence? Other than that, I can't seem to find any issue for now.

Freeze on Mapping Blockstates

It was all good, but I got the problem now.

[14:50:47] [Thread-89/INFO]: [STDERR]: java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.objects.Object2IntMap.size()" because "stateLookup" is null
[14:50:47] [Thread-89/INFO]: [STDERR]: 	at net.oskarstrom.dashloader.data.mappings.DashBlockStateData.<init>(DashBlockStateData.java:27)
[14:50:47] [Thread-89/INFO]: [STDERR]: 	at net.oskarstrom.dashloader.DashMappings.loadVanillaData(DashMappings.java:82)
[14:50:47] [Thread-89/INFO]: [STDERR]: 	at net.oskarstrom.dashloader.DashLoader.saveDashCache(DashLoader.java:169)
[14:50:47] [Thread-89/INFO]: [STDERR]: 	at net.oskarstrom.dashloader.client.DashWindow.lambda$render$0(DashWindow.java:40)
[14:50:47] [Thread-89/INFO]: [STDERR]: 	at java.base/java.lang.Thread.run(Thread.java:831)

Full log: https://pastebin.com/k2yQmDNn

Incompatability with OptiFine and/or OptiFabric

When launching the game, the resources get loaded over and over again.
I tested the same instance without OptiFabric and OptiFine and it hang up on loading the models.
A fresh instance just with FabricAPI and DashLoader worked just fine.

DashLoader don't working with Enhancedblockentities

I'm trying to create a super optimized build of mods in minecraft and I would like to see your mod together with Enhancedblockentities
DashLoader conflicts with Enhancedblockentities and when I try to enter the game, it crashes
Thank you for this cool mod

stuck on loading 4/11

[15:44:34] [Thread-446/INFO]: [STDOUT]: class juuxel.adorn.block.property.OptionalProperty$Value$Some / Some(value=purple)
[15:44:34] [Thread-446/INFO]: [STDOUT]: class juuxel.adorn.block.property.OptionalProperty$Value$Some / Some(value=cyan)
[15:44:34] [Thread-446/INFO]: [STDOUT]: class juuxel.adorn.block.property.OptionalProperty$Value$Some / Some(value=light_gray)
[15:44:34] [Thread-446/INFO]: [STDOUT]: class juuxel.adorn.block.property.OptionalProperty$Value$Some / Some(value=gray)
[15:44:34] [Thread-446/INFO]: [STDOUT]: class juuxel.adorn.block.property.OptionalProperty$Value$Some / Some(value=pink)
[15:44:34] [Thread-446/INFO]: [STDOUT]: class juuxel.adorn.block.property.OptionalProperty$Value$Some / Some(value=lime)
[15:44:34] [Thread-446/INFO]: [STDOUT]: class juuxel.adorn.block.property.OptionalProperty$Value$Some / Some(value=yellow)
[15:44:34] [Thread-446/INFO]: [STDOUT]: class juuxel.adorn.block.property.OptionalProperty$Value$Some / Some(value=light_blue)
[15:44:34] [Thread-446/INFO]: [STDOUT]: class juuxel.adorn.block.property.OptionalProperty$Value$Some / Some(value=magenta)
[15:44:34] [Thread-446/INFO]: [STDOUT]: class juuxel.adorn.block.property.OptionalProperty$Value$Some / Some(value=orange)
[15:44:34] [Thread-446/INFO]: [STDOUT]: class juuxel.adorn.block.property.OptionalProperty$Value$Some / Some(value=white)
[15:44:34] [Thread-446/INFO]: [STDERR]: java.lang.NullPointerException
[15:44:34] [Thread-446/INFO]: [STDERR]: at net.quantumfusion.dashloader.cache.DashRegistry.createSpritePointer(DashRegistry.java:182)
[15:44:34] [Thread-446/INFO]: [STDERR]: at net.quantumfusion.dashloader.cache.models.DashBuiltinBakedModel.(DashBuiltinBakedModel.java:40)
[15:44:34] [Thread-446/INFO]: [STDERR]: at net.quantumfusion.dashloader.cache.models.factory.DashBuiltInBakedModelFactory.toDash(DashBuiltInBakedModelFactory.java:14)
[15:44:34] [Thread-446/INFO]: [STDERR]: at net.quantumfusion.dashloader.cache.DashRegistry.createModelPointer(DashRegistry.java:167)
[15:44:34] [Thread-446/INFO]: [STDERR]: at net.quantumfusion.dashloader.cache.models.DashModelData.lambda$new$0(DashModelData.java:42)
[15:44:34] [Thread-446/INFO]: [STDERR]: at net.quantumfusion.dashloader.cache.models.DashModelData$$Lambda$11719/904953350.accept(Unknown Source)
[15:44:34] [Thread-446/INFO]: [STDERR]: at java.util.HashMap.forEach(HashMap.java:1280)
[15:44:34] [Thread-446/INFO]: [STDERR]: at net.quantumfusion.dashloader.cache.models.DashModelData.(DashModelData.java:40)
[15:44:34] [Thread-446/INFO]: [STDERR]: at net.quantumfusion.dashloader.DashLoader.saveDashCache(DashLoader.java:231)
[15:44:34] [Thread-446/INFO]: [STDERR]: at net.quantumfusion.dashloader.client.DashWindow.lambda$render$0(DashWindow.java:49)
[15:44:34] [Thread-446/INFO]: [STDERR]: at net.quantumfusion.dashloader.client.DashWindow$$Lambda$11709/1927531582.run(Unknown Source)
[15:44:34] [Thread-446/INFO]: [STDERR]: at java.lang.Thread.run(Thread.java:745)

Resource pack caching

Ok, remember when I said that I didn't find any problems? I spoke too soon XD

Basically, everytime there's a resource pack change, the cache gets invalidated and is reserialized. The issue with this approach is that joining and quitting a server with a custom resource pack causes the reserialization to happen every time.

Would it be possible to cache the game content by resource pack? You could probably use its SHA1, just like the game does.
This way joining and quitting a server with a custom resource pack would be way less annoying.

loading server resource pack destroys font

after joining a server and loading its provided resource pack, every font glyph is a square.
Screenshot_22:33:37

only related thing in logs was

[Worker-Main-1/INFO]: [STDOUT]: loaded splash fast
[Worker-Main-1/INFO]: [STDOUT]: Preparing fonts.
[Worker-Main-1/INFO]: [STDOUT]: minecraft:font/glyph_sizes.bin
[Worker-Main-1/INFO]: [STDOUT]: minecraft:font/glyph_sizes.bin

full log:
latest.log


additionally as per the screenshot, custom models and textures do not work at all.

Wierd potion effect crash

I have already discussed this issue in the discord, regarding a wierd edge-case where having any potoin effect crashes the game on any version of the DashLoader. I still do not quite know what happens.
Might try re-producing it in dev later.

Atlas-serialization fails

Hey there,
I just changed some resource packs, and the loading bar for "Serializing atlas" is stuck, due to this:

[09:28:14] [Thread-167/INFO]: [STDERR]: java.lang.NullPointerException: Cannot invoke "io.activej.serializer.BinarySerializer.encode(io.activej.serializer.BinaryOutput, Object)" because "serializer" is null
[09:28:14] [Thread-167/INFO]: [STDERR]: 	at io.activej.serializer.stream.StreamOutput.serialize(StreamOutput.java:107)
[09:28:14] [Thread-167/INFO]: [STDERR]: 	at net.quantumfusion.dashloader.DashLoader.serializeObject(DashLoader.java:318)
[09:28:14] [Thread-167/INFO]: [STDERR]: 	at net.quantumfusion.dashloader.DashLoader.saveDashCache(DashLoader.java:198)
[09:28:14] [Thread-167/INFO]: [STDERR]: 	at net.quantumfusion.dashloader.client.DashWindow.lambda$render$0(DashWindow.java:43)
[09:28:14] [Thread-167/INFO]: [STDERR]: 	at java.base/java.lang.Thread.run(Thread.java:832)

Also please remove this exception from my logs :/
[09:31:50] [dash-manager/INFO]: [STDERR]: java.nio.file.NoSuchFileException: /home/maus/.local/share/multimc/instances/1.16.4_Fusion/.minecraft/config/quantumfusion/dashloader/metadata.activej

Are you able to fix this? Is another mod causing this?
Thanks!

Resource Packs are not functioning properly

Some things with Resource packs don't work the way they should. When you load up a resource pack in a world, the textures are not correct, but it can be fixed in-game in a number of ways. It also happens on servers.

Here's a video I made that shows the bug: https://youtu.be/5e4kegp0x6M

This is my mods list (none of them did anything to resource packs until I added DashLoader):
mods list

Edit: I am on 2021 Macbook Pro with M1 chip. Other than this one bug, DashLoader works perfectly.

DashLoader is unable to find blocks with custom models in cache (eg. Anvil, Trapdoor) when a mod is injecting texutres

Log: https://hastebin.com/aleziqakuc.sql (modlist + args in first lines)
Minecraft 1.17@AmazonCorretto 16
DashLoader 2.0 [commit: 259ab85] (I still face this issue on 1.5)

This issue happens when this mod is used in combo with mods like LambaBetterGrass that inject textures.
A warning should be throwed in console to alert the user that this mod conflicts with LambdaBetterGrass and similar mods but won't crash the game until the issue is fixed.
(using main menu alerts via a notification or the gray box under the minecraft would be cool too, just to help people notice the alert because warnings are never enough)

Pling sound is not played

When the Pling mod is installed, the sound is skipped because DashLoader hijacks the resource reload process.

[possible fix] Maybe? bettergrass

ive been playing around with retexturing most mods in my modpack and not had a problem until better grass (yes ino its a reported issue im not reporting it), but ive found that when i have my own resources to retexture better grass' default textures it seems to work perfectly... somehow...

after discovering this i took the default textures from the jar and redid them as a standalone zip resource pack and it turns out this also fixes it....... there must be a way to grab these resources automatically and then cache them outside the mod environment (basically take it out of better grass' hands).

MC Version: 1.17.1
Dashloader: 2.0
lambdabettergrass: 1.2.1
Resource loader mod: CUSTOM (this shouldnt change anything it just loads a resource pack as a default pack (built in))

EDIT:

okay upon playing with this more server packs can apparently break this........

Crash on game start-up with latest fabric API and mod loader

So I updated the fabric loader and fabric API and I got a crash. I believe that the versions that used to work for me were 0.11.7 (loader) and fabric API 0.41.3+1.17. Currently running the modpack with the 0.12.5 version of the loader and fabric API 0.43.1+1.17 results in the following crash:

java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'dashloader'!
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51)
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49)
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:134)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: net.fabricmc.loader.api.EntrypointException: Exception while loading entries for entrypoint 'preLaunch' provided by 'dashloader'
at net.fabricmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:56)
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47)
... 4 more
Caused by: java.lang.RuntimeException: Mixin transformation of net.oskarstrom.dashloader.client.DashClient failed
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:224)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:133)
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:155)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:466)
at net.fabricmc.loader.impl.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:50)
at net.fabricmc.loader.impl.entrypoint.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:117)
at net.fabricmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:53)
... 5 more
Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [dashloader.mixins.json:accessor.IdentifierAccessor] from phase [DEFAULT] in config [dashloader.mixins.json] from mod [dashloader] FAILED during PREPARE
at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:638)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinPrepareError(MixinProcessor.java:585)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:543)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:462)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:438)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:290)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:222)
... 13 more
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTargetAlreadyLoadedException: Critical problem: dashloader.mixins.json:accessor.IdentifierAccessor target net.minecraft.class_2960 was loaded too early.
at org.spongepowered.asm.mixin.transformer.MixinInfo.readDeclaredTargets(MixinInfo.java:948)
at org.spongepowered.asm.mixin.transformer.MixinInfo.(MixinInfo.java:882)
at org.spongepowered.asm.mixin.transformer.MixinConfig.prepareMixins(MixinConfig.java:852)
at org.spongepowered.asm.mixin.transformer.MixinConfig.prepare(MixinConfig.java:777)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:540)
... 19 more

DashLoader is unable to find blocks with custom models in cache (eg. Anvil, Trapdoor) when a mod is injecting texutres

Log: https://hastebin.com/aleziqakuc.sql (modlist + args in first lines)
Minecraft 1.17@AmazonCorretto 16
DashLoader 2.0 [commit: 259ab85] (I still face this issue on 1.5)

This issue happens when this mod is used in combo with mods like LambaBetterGrass that inject textures.
A warning should be throwed in console to alert the user that this mod conflicts with LambdaBetterGrass and similar mods but won't crash the game until the issue is fixed.
(using main menu alerts via a notification or the gray box under the minecraft would be cool too, just to help people notice the alert because warnings are never enough)

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.