does the 2.1 release convert old sqlite lod files into the newer more compressed/smaller versions?

Just a quick question cause i heard it on the youtube trailer but i feel like i heard a completely contrasting thing a minute later would i need to do anything to make it convert? or is the only option deleting and regenerating the lods?
30 Replies
Pickle
Pickle4w ago
Note: This will only affect new worlds, old databases will be migrated to the new format, but have to be manually vacuumed to shrink their file size. yeah how do you manually vacuum them? what does that... mean?
Inspector_Toast
honestly same here i have a similar problem i asked about in https://discord.com/channels/881614130614767666/1249282104366207066 but haven't gotten a response so far
BackSun
BackSun4w ago
Before doing the following make sure DH has finished migrating, otherwise you'll have to do them all again. To vacuum a sqlite database: 1. Download DB Browser 2. open the DH .sqlite file (you may have to do this for each dimension/level) in DB Browser 3. go to the "execute" tab in DB Browser 4. run the command vacuum 5. wait until your disk usage drops back down to 0. On a slow machine or HDD this may take a long time.
Inspector_Toast
1. How do you know when it finished migrating? 2. How do know if it is in the process of migrating? (I know it says f3 to check progress but what do I look at specifically) 3. Since I logged out a couple hours since after I says it started the migrating process, will I have to restart the whole process if it didn't finish? Idk if it even started to begin with. 4. This is just a suggestion but would be helpful if there was a video/tutorial that explains this a bit more/shows what to do The fourth one is just because I have a better understanding of stuff visually since I struggle a bit when things are just text (you don't have to do it if you want) Sorry if I didn't explain that super well I'm not great at that either
Inspector_Toast
alright i followed the steps but the LODs that i loaded before haven't reappeared am i going to have to go over every chunk again? ive just decided to go over every chunk again but now some lods are just constantly vanishing and reappearing
bangdroid
bangdroid4w ago
What if I don't want to mess with migrating, do I just delete the lod folder and DistantHorizons.toml file?
BackSun
BackSun4w ago
Yup
Pickle
Pickle4w ago
Is the toml file the same as the sqlite file? I just deleted the old files and let it load again with dh 2.1 I think it’s worked but I’ve got no way to know if the file size has reduced since the lods hadn’t finished generating previously on the older version
Miki_P98
Miki_P984w ago
no
Pickle
Pickle4w ago
I’m cooked
Miki_P98
Miki_P984w ago
the toml is a toml, json is json, txt is txt, sqlite is sqlite
Pickle
Pickle4w ago
Where is the toml file for a specific world?
Miki_P98
Miki_P984w ago
There isn't one I mean, sometimes there is but IDK what it does For me it was always just an empty file
Pickle
Pickle4w ago
How did you know to delete it then?
Miki_P98
Miki_P984w ago
I had opened it, seen it is empty, and deleted it because it was empty you can open it in any text editor
Pickle
Pickle4w ago
That’s crazy bro just going around deleting files you don’t recognise 💀 i mean if it worked though
Miki_P98
Miki_P984w ago
I mean, it was empty... It wasn't storing anything, so it couldn't have been any important, but I didn't delete it to fix anything, I just found it while moving my server lods to a different MC instance, and deleted it in the process
Pickle
Pickle4w ago
Oh wait hang on you aren’t even the guy who said you did it
Miki_P98
Miki_P984w ago
yes, I'm not him
Pickle
Pickle4w ago
i just vacuumed my files and theyre the same size, does that mean they were already the smaller size format of 2.1? ok i just vacuumed my nether LODs and it went from 450,000KB to 429,000KB... success? ok going to do the end now at 0.99GB and now... 0.98 did i do this right?
BackSun
BackSun4w ago
If the migration was done. Then yes that means they were already as small as they’re going to be.
Pickle
Pickle4w ago
the migration of the overworld files i think were generated with DH 2.1 because i deleted the sqlite and regenerated but the end and nether i converted using your vacuum method in faq but the file sizes only reduced 20mb and 10mb i mean they werent fully generated i guess? idk if i actually did it right to be honest didnt the video say something like 3x less space im gonna send pictures of the steps i took tell me if it looks right
Pickle
Pickle4w ago
1
No description
Pickle
Pickle4w ago
2
No description
Miki_P98
Miki_P984w ago
To be exact, you can't convert the lods using vacuum, you can remove old format using vacuum, to convert old lods, I guess, enter that dimention and wait until the migration finishes only then do the vacuum
Pickle
Pickle4w ago
No description
Pickle
Pickle4w ago
oh wait what wait what do you mean by migration exactly? wait wait wait ok i think i get it tbf so 1. download DH 2.1 2. generate LODs 3. vacuum old LOD format 4. now left with DH 2.1 format (which takes less space)
Miki_P98
Miki_P984w ago
yes, but I would change the wording in point 2 from generate to let DH convert old lods to new lods, because generation is reserved for generation from nothing
Pickle
Pickle4w ago
so to do that would i have to turn my cpu load up and disable distant gen and just check periodically with f3? i feel like i sound really stupid rn icl
You can check migration progress in the F3 menu, if you don't see a deleting or migrating row then you're good.
what exactly are we looking for in the f3 menu? where would it be vaguely? im not seeing anything but ive not migrated my end dimension lods so it cant have been done