View Single Post
Old June 30, 2011, 23:30   #38
Angband Devteam member
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Originally Posted by ChodTheWacko View Post
Just for clarification before I go downloading all that:
You can run the angband with -mstats option to get the object dumps, right?

Although, Looking through the code, it looks it does direct inserts into sqlite?
If so I might have to just hack it to dump it direct to a CSV file.

- Frank
Hi Frank,

You have to configure the code to build the stats module - I don't know how you do that on platforms that don't use configure, but it's to do with #defining ENABLE_STATS in the right header files.

Also, apparently Windows doesn't support any of the -m options, so I'm not sure you could invoke the stats module even if you built it.

Finally, yes it does dump an sqlite db, so you would need to hack it to output CSV. Pls be warned that there's a LOT of data - about 1.2GB if it's uncompressed.
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote