libevecache is a portable C++ library for digesting EVE-Online cache files. It also includes the “dumper” utility which can print or transform cache files into various other formats as supported by libevecache.
Support is available by asking kindly. We expect you to have some basic understanding of software. Bug fixes are always welcome.
Included in libevecache is a utility named “dumper”, which can, amongst other things, transform cache files into EVE-compatible .CSV market export files. To use dumper:
dumper --market "c:\documents and settings\....\CachedMethodCalls\*.cache" > alllogs.csv
NOTE: Windows does not do filename globbing as part of the shell.
dumper.exe does not attempt to re-implement operating system functionality. To allow globbing to work, you will need to use a real shell. There is a way for windows, use command:
for %r in ("c:\documents and settings\....\CachedMethodCalls\*.cache") do dumper --market "%r" >> alllogs.csv
for /F %f in ('dir /S/B/A "C:\Users\[username]\AppData\Local\CCP\EVE\c_program_files_(x86)_ccp_eve_tranquility\cache\MachoNet\22.214.171.124\328\CachedMethodCalls"') DO (dumper --market "%f" >> alllogs.csv)
Which will produce a single file for all market logs, delineated by the header in the file.
You can also run dumper with the
--structure option to get an AST dump of the cache file.
A copy of dumper.exe and the corresponding evecache.dll is made available for stand-alone usage. If you intend to integrate libevecache into your project, you will need to compile from source (the entry point library is not provided).
The download location is: http://dl.stackfoundry.org/libevecache/ Files are signed by the GPG key B790A0EC (Yann Ramin).
apt-get install build-essential)
apt-get install python-dev)
apt-get install swig)
apt-get install scons)
apt-get install git-core)
libevecache.so is built as a shared library. You may need to adjust your LD_LIBRARY_PATH if you want to run it locally. An example
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/user/libevecache/lib util/dumper file.cache
Hint: Under Ubuntu you have to manually link the file /usr/lib/libpython.so to /usr/lib/libpython2.6.so (or whatever version of python you use). To do so just do a
sudo ln -s /usr/lib/libpython2.6.so /usr/lib/libpython.so
Compiling pre-requisites (Windows):
Open the Visual Studio 2008 Command Prompt (aka vcvars.bat), which is located at Start→All Programs→Microsoft Visual Studio 2008→Visual Studio Tools→Visual Studio 2008 Command Prompt
Navigate to the directory which contains libevecache.
You should now have evecache.dll and util\dumper.exe available.