[PATCH] Import Datatrak/WLog files

Dirk Hohndel dirk at hohndel.org
Tue Mar 10 14:25:39 PDT 2015


Salva,

On Tue, Mar 10, 2015 at 08:26:32PM +0100, Salvador Cuñat wrote:
> >
> > And now, five months later, it seems I still never applied it.
> >
> > Any idea why?
> >
> > /D
> >
> I don't know.  I thought you didn't like that hackish code pages related
> thing  (I recon I dislike very much).

I'm not in love with it, but it's one file that serves a very specific
purpose. I cleaned it up a tiny bit but left it mostly unchanged... and
pushed it so I wouldn't forget again :-)

> Don't worry, if you think it may be interesting, I have an improved version
> wich relays on libdivecomputer to parse the dive samples. Just would need
> some time to align it with latest master.

So a slight variation of what you have is now in master. I made sure it
works with the new divesite infrastructure and dealt with a few other
issues. If you could send any patches relative to that, I'd appreciate it.

> BTW, as commented with Davide in this thread, I've been working a bit in a
> parser for SmartTrak's  JET based files, also libdc based, and it's pretty
> functional. But this work has a *big* drawback, it introduces a new
> dependency   for  mdbtools, which in turn depends on libglib2 , so it would
> need to add two new dependencies.

glib2? hmm
access db support? Double hmm

I'm wondering, would it be possible / easier to have a standalone
converter? How common are these files? How many users will come to
Subsurface and need support for this?

> As said, if you think it can be interesting, just give me a little time and
> I can send a patch.

No worries. I waited 5 months. Who am I to rush you? :-)

/D


More information about the subsurface mailing list