Topic: Edit zoommaps.dat  (Read 13129 times)


tedomedo

« on: October 02, 2018, 09:48:08 AM »
Can someone create something to open zoommaps.dat in order to delete some local worlds? I want to keep 4 local worlds (my home and 3 traps) and delete other local worlds which i don't need.
« Last Edit: October 02, 2018, 08:22:36 PM by tedomedo »

davidor

« Reply #1 on: October 08, 2018, 07:31:16 PM »
Technically you can just manually wipe the file clean and only keeping data chunks of the location that you want to keep. you also don't want to do it with settlements. Most other places should respawn once you zoom in.

tedomedo

« Reply #2 on: October 08, 2018, 09:10:43 PM »
I know well how to keep only one. But i want to keep 3 of them and delete other.

davidor

« Reply #3 on: October 09, 2018, 08:54:52 AM »
Now you confused me. How come you know the way to keep only one? If you can keep one part you shouldn't have problem keeping others and delete all unwanted maps.

tedomedo

« Reply #4 on: October 09, 2018, 05:57:40 PM »
Read "Playing with urw files" in wikia.  You go to a local terrain, don't save the game, go to save folder and delete all three zoom' files.
« Last Edit: October 15, 2018, 12:07:59 AM by tedomedo »

davidor

« Reply #5 on: October 10, 2018, 09:31:41 AM »
*facepalm*

Go use a hex editor and open ZOOMMAPS.DAT, each data chunk is 88392 bytes. Just keep those you want + visited settlements and delete others.
You also need to delete related data in ZOOMINDEX.DAT. Deleting visited settlements will create new villagers on next visit but may have unknown consequences.

tedomedo

« Reply #6 on: October 10, 2018, 11:09:07 AM »
Each known local terrain is big about 4 mb.
How can i see in hex editor which local terrains are those which i want to keep?

davidor

« Reply #7 on: October 10, 2018, 11:46:23 AM »
record all the co-ordanates for places you want to keep by reading msglog
and here is the file structure of ZOOMMAPS.DAT
Spoiler: show

5. open ZOOMMAPS.DAT
6. search for that number
7. the structure of this file is
first 8 bytes global location <<< the same thing in msglog
next 4096 for buildings
next 4096 discovered
next 4096 terrain
next 4096 steepness
next 72000 things

EDIT: Just delete them for every single location you want to reset, or you just search for the place you want to keep and make a new file to replace the old one. Think it as binding a new book with few pages from an old one.
you also should delete locations in ZOOMINDEX.DAT
« Last Edit: October 15, 2018, 09:34:15 AM by davidor »

tedomedo

« Reply #8 on: October 12, 2018, 03:50:56 PM »
Let's try with example.
 I went to a local terrain now and signs for this zooming in msglog.txt are: (143270):g9hg:
  • {0238060D}

What to find in zoommaps.dat with hex editor?

davidor

« Reply #9 on: October 12, 2018, 06:31:51 PM »
380200000d060000

tedomedo

« Reply #10 on: October 13, 2018, 01:07:04 AM »
Yes, i found this in zoommaps.dat. New step?
« Last Edit: October 15, 2018, 12:08:42 AM by tedomedo »

davidor

« Reply #11 on: October 13, 2018, 05:02:11 AM »
you should have all info in this post now. it is just simple copy and delete stuffs. try explore by yourself.

tedomedo

« Reply #12 on: October 13, 2018, 11:49:52 AM »
I still don't know what to do. Your posts aren't guide for someone who doesn't know hex things.
If 380200000d060000 is start of a local terrain, where is end of it? How can i calculate to get 380200000d060000 from 0238060D?

tedomedo

« Reply #13 on: October 14, 2018, 11:29:17 PM »
Still no answer...