libevecache: New features and example market cache file to CSV file converter!
Success!
Thanks to some community contributions, libevecache has grown quite a bit this weekend!
New features include:
- Shared object support (will give an object reference in place of the previous holder type)
- DBRow decoding (needs more string identifiers for columns in other cache file formats)
- The
dumperutility now learned about--market, which lets it produce market CSV files from a cache file.atrus@atp (master) :~/Marketlogs/marketreader$ util/dumper --market tests/Lonetrek-Armageddon-2009.07.30\ 062647.cache > o atrus@atp (master) :~/Marketlogs/marketreader$ cat o Cache File Dumper File: tests/Lonetrek-Armageddon-2009.07.30 062647.cache price,volRemaining,typeID,range,orderID,volEntered,minVolume,bid,issued,duration,stationID,regionID,solarSystemID,jumps, 54000000.0,1,643,32767,1185915256,5,1,False,2009-07-04 09:01:17.000,90,60004012,10000016,30001363,5 54000000.0,5,643,32767,1187317153,8,1,False,2009-07-06 18:13:31.000,90,60002419,10000016,30001363,5 55499999.0,1,643,32767,1217266843,1,1,False,2009-07-26 17:58:17.000,90,60000838,10000016,30001367,1 ... 52749999.0,1,643,32767,1221169229,1,1,False,2009-07-29 18:25:11.000,30,60003838,10000016,30001377,0 57999999.88,1,643,32767,1221534269,2,1,False,2009-07-29 23:31:51.000,90,60002326,10000016,30001429,0 57999999.88,2,643,32767,1221581224,2,1,False,2009-07-30 00:22:49.000,90,60003874,10000016,30001401,0 45720000.0,5,643,40,1173825903,5,1,True,2009-07-05 16:35:12.000,90,60004027,10000016,30001368,0 53999.99,1,643,32767,1190937468,1,1,True,2009-07-06 05:58:44.000,90,60004291,10000016,30001368,0 46956001.5,1,643,3,1212303440,1,1,True,2009-07-22 23:37:54.000,90,60003841,10000016,30001376,0 53784.31,1,643,32767,1131184395,1,1,True,2009-05-21 14:34:50.000,90,60003889,10000016,30001405,0
Update your clones today!
I am going to buckle down and produce an EVE-Central uploader which uses libevecache in the next week. Look for a beta version sometime by Friday.
Thanks so much for working on this and making it public! I’m making a ruby port of this for my own project, and I don’t think I ever would have worked out the rle packing on my own. Thanks!
Comment by Michael — September 2, 2009 @ 3:09 am
At last!! Many thanks, finally I wont have to push that damn button “export to file” I hate this.
Comment by silentus — September 2, 2009 @ 9:33 am
Sweet!
I can’t wait to see the new upload client in action. It will be great to not have to hit the export button for every market lookup.
Keep up the great work!
-Serv
Comment by Servinius — September 2, 2009 @ 9:56 am
Hey Yann.
I’m trying to rewrite libevecache at pure-ruby. But got stuck at rle_unpack function. Can you provided algorithm description to make an alternative? I’m really poor at C++.
Best regards, BP.
Comment by Bubonic Pestilence — December 26, 2009 @ 1:20 pm