Does pregenerating with mode "Internal Server" fully generate the chunks?

I have pregenerated my server using the Internal Server mode in order to generate both LODs and the world. My understanding is that this pregeneration is identical to if a player was to travel around and load each of these chunks - all data that would be stored if a player was to load the chunk (i.e. lighting data, etc.) should be stored in these chunks. Is this correct? I am asking because I have BlueMap running on my server alongside DH. BlueMap is supposed to read all fully loaded chunks and generate its map. This should also include chunks generated by DH, however, only spawn chunks & chunks loaded by players are rendered by BlueMap, instead of the full generated world. I brought this up with the developers of BlueMap, who, after helping me debug the issue, came to the conclusion that DH is not fully loading the chunks, since BlueMap does not recognize these chunks as being loaded.
34 Replies
BurgerBob
BurgerBobOP5w ago
No description
No description
Miki_P98
Miki_P985w ago
!generators
YAGPDB.xyz
YAGPDB.xyz5w ago
- FEATURES: Complete generation of all LODs with mostly correct structures and trees. Does not save vanilla chunks, and is much faster than FULL unless C2ME is installed. - FULL: Generates and saves both DH LODs and vanilla chunks, has 100% correct LODs, because it also saves vanilla chunks it takes the most amount of drive space. Generation speed will suck unless C2ME is installed. - PRE-EXISTING: Generates LODs for all existing vanilla chunks.
Miki_P98
Miki_P985w ago
FULL (INTERNAL_SERVER) just calls vanilla logic to generate and save the chunks It should be identical to any other vanilla generation caused by player or other mobs and mods Unless some other mod breaks it There are mods that prevent DH’s FULL generator from saving chunks
BurgerBob
BurgerBobOP5w ago
such as? what confuses me is that it works fine when a player goes and loads the chunks, I only have this issue when the chunks are loaded by DH.
Miki_P98
Miki_P985w ago
Don't remember which mods broke it You can try searching through DC
BurgerBob
BurgerBobOP5w ago
DC? dev chat?
Puhpine
Puhpine5w ago
discord
BurgerBob
BurgerBobOP5w ago
So I shared one of my region files that has been generated by dh but not by a player, and is not being loaded by BlueMap. This is what BlueMap had to say about it
No description
Miki_P98
Miki_P985w ago
I think there is a setting in DH to use vanilla light map (if it wasn't removed) You can try enabling it and see it that chnages anything Apart from that, I think James would need to comment on this himself @BackSun
Skillnoob_
Skillnoob_5w ago
there's this in Advanced -> LOD Building
No description
Skillnoob_
Skillnoob_5w ago
But from what I can tell this setting doesn't cause DH to actually generate the lighting and only reads it from region files if available
BurgerBob
BurgerBobOP5w ago
yeah this doesnt generate lightmaps, it just reads them
No description
BurgerBob
BurgerBobOP5w ago
or well, it generates lightmaps for the lods, I dont think it generates them for the actual chunks I'm looking through the config but unless I missed something, there isnt anything that would enable dh generating lightmaps for chunks I would have assumed Internal Server generation would generate the chunks fully but evidently it doesnt
Skillnoob_
Skillnoob_5w ago
I have just tried it locally, it indeed does not generate the light
BackSun
BackSun4w ago
DH doesn’t generate MC light maps and doesn’t have a setting to do so since it’s unnecessary and would just slow down world gen. I could add an optional setting to force light map generation although I’d have to think about how to word said setting since it’s a relatively niche use case.
Skillnoob_
Skillnoob_4w ago
optional setting would probably be the best option unless its like a headache to implement
Flower of the Garden
Optional setting would be good, because otherwise if you want to pre-gen a region and also have it show up in map mods, you'd have to use chunky, which doesn't play well with DH.
Skillnoob_
Skillnoob_3w ago
I think it could be labeled as a "Compatibility Mode" and the tooltip explains that it meant for mods like bluemap to work and it will slow generation speed
Miki_P98
Miki_P983w ago
A separate #suggestions post should probably be created
Skillnoob_
Skillnoob_3w ago
I did figure out how to make DH generate chunks with the chunks in the "full" state, which did make bluemap work, however it doubled the generation time so I probably did something wrong
LuCish
LuCish3w ago
I'm also trying to generate LODs and chunks at the same time. I'm reading the wiki and it says I need to set generation.mode to INTERNAL_SERVER in the config, and then run /dh pregen on the Server, but I can't find the generation.mode section. Maybe the name was changed and it's this? (see screenshot below). Also, am I correct in believing that when I use /dh pregen, all clients that join the Server will receive the LOD/chunk data and wont need to load their own LODs/chunks?
No description
Skillnoob_
Skillnoob_3w ago
this is not related to this issue, but yes
LuCish
LuCish3w ago
mb I thought it kinda related but I can see how it doesn't thanks tho 🙏
hercide
hercide3w ago
so what's the best way to pre gen world+lod+ bluemap compatible then ?
Skillnoob_
Skillnoob_3w ago
With the current build you should use chunky + c2me to first generate the real chunks then you can process those with DH and Bluemap
hercide
hercide3w ago
so just chunky pregen and then DH normal pregen with default config it's gonna read the chunks and make the lods ?
Skillnoob_
Skillnoob_3w ago
yes
Miki_P98
Miki_P983w ago
Just remember to remove DH from the mods folder when Chunky is running
Cosmic Vindicator
i did this but how do i normally load dh cuz rn it wont take the pregened chunks and make lod on those but do it from scratch
Miki_P98
Miki_P982w ago
If a vanilla chunk exists DH will use it Well unless it is corrupted, but that is only the case when you use thing like world edit
Cosmic Vindicator
does it normallly use it on its own? why is my dh so slow? 7cps cpu utils bad too @Skillnoob_
Skillnoob_
Skillnoob_2w ago
please don't cross post in multiple threads
Cosmic Vindicator
i was desperate sorry

Did you find this page helpful?