preload button hover image:
HomeSearchRankingsStatisticsAboutContact
Current Time: Feb 22, 2020, 04:33:42 pm
 Dwarf Fortress File Depot » Utilities » ParseDFLogs - makes reading the site logs easier
      
Registration is not required to download. However, it will allow you to vote, comment, and upload. Forgot your password?
File Listing: ParseDFLogs - makes reading the site logs easier
Last Updated: Jul 21, 2008, 04:21:00 pm
First Created: Jul 16, 2008, 05:20:50 pm
File version: 1.3
For DF version: Multiple
Downloads: 601 (690) Size: 8.7 KB
Views: 4,981 (5,193) Type: TXT
Rating (2 votes): 5.0 / 5.0
Description
This is a little perl script that I wrote to parse through the logs so I could see what civs owned what sites, what thier overall populations were, and what the overall population levels of cave critters were. The output file makes it pretty easy to see how the various races are doing.

You will see:
Each Civilization, with overall ruler. Each site in that civ, with the local ruler. A summary of every entity in that civ.
A summary of every civ, by race
A listing of every Ruin
A listing of the total populations of cave critters
A listing of the total populations of civilized creatures

For the entity lists, it now tries to handle merging the single creature listings in with the overall listing. So a single Human for a civ will get added to the Humans listing. It works ok for everything I've got, but modded in creatures may have issues.
Right now, follows a few basic rules.
Anything ending in -f becomes -ves (such as Dwarf to Dwarves)
Anything ending in -man becomes -men (except humans)
Anything ending in -i or -s is left alone (such as Dyansauri)
Anything else is pluralized to -s.

It's designed to be used with version Dwarf Fortress 0.28.181.39a and above. Currently tested with 39a and 39b. Should work with any 39 version. UPDATE: It also works ok with the new 31.x versions. It misses a little bit of information about human warlords, but other works ok.

You'll need perl to get this to work. You can get the ActiveState perl for Windows free. If you're running this on Linux/unix or a Mac, you may need to modify the script a bit to get it to work. On unix, that'll mean adding #/bin/perl or whatever to the top. No idea about macs. You should probably also rename it to ParseDFLogs.pl. I had to rename it to .txt to get it to upload.

From the command line (Start->Run on windows) the command is:
perl ParseDFLogs.pl --places=[FILE] --history=[FILE] (optional) --output=[FILE]

example: perl ParseDFLogs.pl --places=c:\DF\region1-world_sites_and_pops.txt --history=c:\DF\region1-world_history.txt --output=c:\DF\DFlogs.txt

If you have any questions, you can PM me (Mephansteras) at the Bay 12 Dwarf Fortress forum. Or e-mail me at Gmail.com

Version history:
1.0: Initial version
1.1: Fixed a bug with civs without Kings (such as humans in the currant version)
1.2: Added in a listing of all ruined sites
1.3: Added in code to deal merge single entities in with the multiple groups.



Sample output (pruned for size)

Frutrulis -- Kobolds
*** Ruled by Pligifijraynkin ***
Anu Ogna, "The Nights of Silkiness" a cave
Lead by Thlufududleerbis, a kobold of Frafuldis
28 kobolds

The Abbey of Weight -- Dwarves
*** Ruled by Nomal Wallattic ***
Asmelsholid, "Merchantclutch" a mountain fortress
Lead by Zasit Bellshock, a dwarf of The Ordered Stake
Athelgasol, "Ringbreaths" a mountain fortress
Lead by Rakust Boatwheels, a dwarf of The Walls of Chancing
Melbiloslan, "Tomewound" a mountain fortress
Lead by Led Doctrinebridges, a dwarf of The Plank of Evisceration
Nishlun, "Tradecloudy" a mountain fortress
Lead by Zefon Stirredmetal, a dwarf of The Slippery Net
Omosporar, "Vilestoked" a dark fortress
Lead by Tekkud Namelabors, a dwarf of The Tour of Throats
Rabzon, "Glowedhelms" a mountain fortress
Lead by Asmel Keyappear, a dwarf of The Short Work
Rig•thshetbˆth, "Craftedtwinkling" a mountain fortress
Lead by Œton Pagetrussed, a dwarf of The Inky Pick
Sigunfikuk, "Tourfields" a mountain fortress
Lead by Udil Sunksack, a dwarf of The Curled Irons
Volalmafol, "Whitenesschambers" a mountain fortress
Lead by Adil Tradetakers, a dwarf of The Blockade of Hoods
601 dwarves

The Basic Drinks -- Elves
*** Ruled by Mame Talkedpear ***
--- This Civilization has crumbled ---

The Cross Chambers -- Chaos dwarves
*** Ruled by M–thkat Fiercepick ***
Asteshenir, "Cudgelbeguiled" a mountain fortress
Lead by Bim Rackrise, a violet xelic of The Tours of Gloom
Likotegen, "Inkgifts" a mountain fortress
Lead by Šrith Purpleclash, a violet xelic of The Golden Gutters
Stektobshin, "Blotchbright" a mountain fortress
Lead by Dastot Rootboat, a violet xelic of The Comedic Crafts
5 high elves
1 hobgoblins
3 humans
1 humans as prisoners
184 violet xelics
1 violet xelics as prisoners

The Evils of Bejeweling -- Bugbears
*** Ruled by Osta Ruthlessdemon the Flickering Fiend ***
Arstruktostra, "Demonsprays" a dark fortress
The Nightmare of Spines is leaderless
Nokutngokang, "Wallowedcurse" a dark fortress
Lead by Tode Wickedstrength, a bugbear of The Thief of Trammels
Urarzurusp, "Malignedrite" a dark fortress
The Plaited Malice is leaderless
166 bugbears
1 demons
7 hobgoblins

The Hateful Seducer -- Goblins
*** Ruled by Uktang Sindooms the Wicked Flies ***
Musplasnang, "Bitchthief" a dark fortress
Lead by Kashi Basicsilenced, a hobgoblin of The Fatal Cruelties
Smespkutsmob, "Tumormenace" a dark fortress
Lead by Gozru Equaledcruelty the Anguished Merchants, a goblin of The Ghoul of Galls
Stosb–bnabok, "Hatedswallowed" a dark fortress
Lead by Nako Incestromanced, a violet xelic of The Hardy Lies
Stƒsostbungmo, "Tickisland" a dark fortress
Lead by Naza Quicksearched, a hobgoblin of The Barbarity of Wrath
Stƒsostolo, "Tickcrawl" a dark fortress
Lead by Smunstu Streamevils, a violet xelic of The Scorpion of Spines
Tospsnodub, "Shamedplague" a dark fortress
Lead by Olng” Hateplan the Tour of Venoms, a goblin of The Vice of Wickedness
“nudostngosp, "Waspcruelty" a dark fortress
Lead by M£ya Rustomen, a chaos dwarf of The Diamond Curses
–sbusulud, "Evillusts" a dark fortress
Lead by Azstrog Clashmonstrous, a goblin of The Impervious Dread
70 chaos dwarves
4 chaos dwarves as prisoners
1 demons
2 dwarves
76 goblins
8 high elves
36 hobgoblins
3 hobgoblins as prisoners
7 humans
3 humans as prisoners
187 violet xelics
10 violet xelics as prisoners

The Wooden Griffon -- Violet xelics
*** Ruled by Asada Griffondimpled ***
Alinoaf¡, "Dawnedscrapes" a mountain fortress
Lead by Quico Benttempest, a chaos dwarf of The Myth of Rapes
Alinocirono, "Dawnspray" a mountain fortress
Lead by Ametha Climateportent, a chaos dwarf of The Doom of Fraying
Alinoladatha, "Dawnchucks" a mountain fortress
Lead by Sinaru Dabblingdragons, a chaos dwarf of The Sorcerous Omen
Alinononu, "Dawnedcrew" a mountain fortress
Lead by Mare Typhoonmerged, a chaos dwarf of The Wind of Uttering
Anethafma, "Oraclehooves" a mountain fortress
Lead by Anetha Visionburns, a chaos dwarf of The Visions of Soul
Anethaomula, "Oraclesprinkled" a mountain fortress
Lead by Ametha Dawnedrewards, a chaos dwarf of The Woman-Portent of Messes
Bamefaliceva, "Wetlegend" a mountain fortress
Lead by Etha Typhoontaper, a chaos dwarf of The Portents of Illness
Casathaametha, "Watchwind" a mountain fortress
Lead by Etha Skinnedlegend, a chaos dwarf of The Afflicted Future
Cirimare, "Foundsouls" a mountain fortress
Lead by Todi Showeredvision, a chaos dwarf of The Oracle of Fever
Emuracona, "Doomedhole" a mountain fortress
Lead by Domas Oiledslings, a hobgoblin of The Oracle of Diversion
Ezom£ya, "Rhymingtyphoons" a mountain fortress
Lead by Nithara Whimomens, a chaos dwarf of The Legend of Tunnels
Inalaerise, "Portentbreeds" a mountain fortress
Lead by Rayali Raunchdawn, a high elf of The Secretive Oblivion
Isaslevina, "Shaftdemon" a mountain fortress
Lead by Asada Everwinter, a chaos dwarf of The Artificial Enchantment
Ithecamare, "Urgesoul" a mountain fortress
Lead by Asada Pastsickness, a chaos dwarf of The Gross Oracle
Lecivutheni, "Fleshdragons" a mountain fortress
Lead by Zecalo Cosmosworked, a chaos dwarf of The Contested Legend
Licevatathe, "Legendbrigands" a mountain fortress
Lead by Inala Tempesttrusses, a chaos dwarf of The Cosmos of Wanderers
Mopizecalo, "Wiredevil" a mountain fortress
Lead by Tikbo Sensedswords, a human of The Devil of Mystery
Omoanetha, "Roarsoracle" a mountain fortress
Lead by Slevina Futuregrizzle, a chaos dwarf of The Named Hurricane
Sofiemura, "Namedoom" a mountain fortress
Lead by Mare Glazeomen, a chaos dwarf of The Doom of Limbs
Thamialino, "Crestdawned" a mountain fortress
Lead by Rayali Haileddooms, a goblin of The Cunning Griffons
Ulam£ya, "Growltyphoon" a mountain fortress
Lead by Rayali Spiteomen, a chaos dwarf of The Past of Failing
864 chaos dwarves
21 chaos dwarves as prisoners
12 dwarves
1 dwarves as prisoners
29 goblins
415 high elves
31 high elves as prisoners
24 hobgoblins
2 hobgoblins as prisoners
60 humans
7 humans as prisoners
21 humans as slaves
5 violet xelics


*** Ruins ***
Ahdoer, "Focuscalm" a town
Asngekngul, "Coastbites" a town
Asnubosteb, "Foughtmatches" a town
Bongngukr–kest, "Unitemassive" a dark fortress
Ekularat, "Chaindrills" a town
Evehonu, "Flickerblunt" a town
Inethig‰r, "Cityrivers" a mountain fortress
Lustuosta, "Dwellwitches" a dark fortress
Ogzuutu, "Daubonslaughts" a town
Olongembish, "Gearedseal" a mountain fortress
Rozsmanges, "Bladeslaves" a town
Ruluracon, "Swelteredraw" a town
Songg“gust, "Scourgelulled" a town
Stobsa–mu, "Couragenourishs" a dark fortress
Stosb–bmuk, "Hatemerchant" a dark fortress
Stotzedan, "Singedfires" a town
Ugsnorsl†ngo, "Whisperedsharks" a town
Urom¤od, "Purpleanguish" a town
Usl–rzureng, "Sprinkledjaw" a town
Uxunkutsmob, "Pitchmenace" a dark fortress

SUMMARIES

Civilizations by Race
Bugbears:
The Evils of Bejeweling -- Active
The Plain Monster -- Fallen
The Scorpion of Flukes -- Fallen

Chaos dwarves:
The Cross Chambers -- Active
The Exalted Fortress -- Active
The Single Hames -- Active

Dwarves:
The Abbey of Weight -- Active
The Dagger of Deities -- Active
The Defensive Works -- Active

Elves:
The Basic Drinks -- Fallen
The Moist Tusk -- Active
The Oaks of Silkiness -- Fallen

Goblins:
The Hateful Seducer -- Active
The Jackal of Age -- Active
The Relieved Nightmare -- Active

Kobolds:
Frabraylger -- Active
Frutrulis -- Active
Srogolochlaylmis -- Active

Violet xelics:
The Prophecy of Finding -- Active
The Wooden Griffon -- Active



Total cave creature populations
351 antmen
120 batmen
193193 bats
71 cave crabs
134084 cave spiders
125 cave swallowmen
12 cyclops
3 emerald wasps
3 fire beetles
34 giant bats
10 giant cave spiders
23 giant cave swallows
76 giant moles
69 giant rats
12 giants
40 gremlins
2 iron men
150 jawas
112 kobolds
71 large rats
215 naked mole dogs
124750 purring maggots
240 ratmen
3 sugar beetles
1 titans
275 troglodytes
35 trolls
132 zephyrs

Total civilized creature populations
166 bugbears
1997 chaos dwarves
30 chaos dwarves as prisoners
4 demons
1234 dwarves
12 dwarves as prisoners
1334 dyansauri
778 elves
329 frost giants
1076 goblins
5077 high elves
68 high elves as prisoners
386 hobgoblins
5 hobgoblins as prisoners
2372 humans
17 humans as prisoners
21 humans as slaves
3676 silver xelics
198 vamarii
384 violet xelics
11 violet xelics as prisoners
Raw Data: JSON / Text
Checksum / Hash
SHA-256: ac6f25572b08d617cd705706b261d780f54a51f3fa1c0413dfd53be0556e8850
IP: logged
Commands
More From This Author
Comments
No comments have been posted for this file yet.
HomeSearchRankingsStatisticsAboutContact

Website © 2020 FenriSoft. The core site script is PHCDownload (© 2005-2020).
Hosted by Linode.