Trim chunks off file
Loading chunks in spectator on a server, fell asleep with autorun on and loaded a line of chunks out to ~600k from spawn, world border is only 10k. I was wondering, if possible, how do I remove those chunks from the SQL files?
5 Replies
I don't know of any way to do this.
Yeah I didnt expect there to be a known way of doing this since i doubt a lot of people accidentally load half a million blocks.
You can edit the SQLite LOD BD using Python or some GUI editor
Then you would need to find coordinates to for a recod
And send an SQL query to delete all record with the coordinates outside of given range
I have effectively no experience in code could I send the file to you or someone on here and get it trimmed? 7GB already and majority of the actual map is still not even loaded yet
I don’t have time to do it.
Here I found some tutorials:
https://www.geeksforgeeks.org/python-sqlite/
https://www.w3schools.com/sql/
GL
GeeksforGeeks
Python SQLite - GeeksforGeeks
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.