Thank you guys, i never used DFHack this way, but after giving a try ... it works !
For those unfamiliar with it, here's a simple how to :
- Generate your world with whatever parameter you want.
- Go to the Legends and once loaded, press the key "p" to export the map/gen informations into text files.
Once those text files are created, look for the
regionnumber-whatevernumbers-world_sites_and_pops.txt
this file is listing all the sites and their populations.
Now on my world i have an elven retreat with a silly amount of elven populations
34: Leloula, "Spokengrowls", forest retreat
Owner: The Tame Berry, elves
Parent Civ: The Morning of Stability, elves
3229 elves
4 humans
145 lorikeets
223 snails
2 donkeys
1650 lions
1650 jaguars
1650 tigers
215 white-browed gibbons
2 one-humped camels
220 bats
Note the number before the site name, in that case 34.
Now in the DFHack window , type what Rumrusher mentionned
gui/gm-editor df.global.world.world_data.sites[k]
but instead of [k] , use the number you found in the text file, but minus 1 as Max™ pointed, so for my case, 34-1 = 33 , so in the DFHack window i type
gui/gm-editor df.global.world.world_data.sites[33]
In the main DF window, it will change the Game Master editor (the gm editor)
With your keyboard arrows, move to the "inhabitant" section i pointed in that screenshot and press Enter
You'll have a short list appearing, press enter at the first one, see if the "count" is very high, and if yes press Enter and type a more reasonnable number, there by example i had 1655 and typed instead 88
Once you're finished with all the entries, press Escape until you're out of the gm editor.
Now export again the map/gen informations and tada , your overpopulated monstruously laggy site will become much less of a problem
34: Leloula, "Spokengrowls", forest retreat
Owner: The Tame Berry, elves
Parent Civ: The Morning of Stability, elves
126 elves
4 humans
145 lorikeets
223 snails
2 donkeys
1650 lions
1650 jaguars
1650 tigers
215 white-browed gibbons
2 one-humped camels
220 bats[code]
You can edit of course more than the inhabitants and get rid of animals and etc if you wish
Thank you lot Rumrusher and Max™