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?
No description
5 Replies
Puhpine
Puhpine5mo ago
I don't know of any way to do this.
man.
man.OP5mo ago
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.
Miki_P98
Miki_P985mo ago
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
man.
man.OP5mo ago
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
Miki_P98
Miki_P985mo ago
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.
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
Want results from more Discord servers?
Add your server