The Hacking Hoedown > ACDrive / mCD hacks

PhatDB Released!

(1/2) > >>

davec:
Hi All,

I have finally released my implementation of phatdb, a program (and library) to build and sign mcd.db/mcd.sig files for ACDrive capable head units. It is Free Software released under the GPL and can be found here:

http://phatdb.sourceforge.net/

It uses the familiar GNU autotools build system and has been tested on Ubuntu linux. It should work fine on any linux system, and probably any linux-like system. The prereq's are libid3tag and openssl. It ought to cross-compile for windows fine with mingw, though you would first have to build libid3tag and openssl for that platform. If there is interest I could give it a go.

This version will build a database for all mp3 files found on a device. Note that it does not yet support non-mp3 files, and it does not yet generate voice-prompt files.

New features as discussed in the wiki and this forum will follow. Please let me know if you use this software, that will encourage me to continue development and add features.

Thanks,
Dave

VorTechS:
I _WILL_ be using this software, but require only an interface to manage the DB/SIG files as I already have my own TTS library.
Although I'm on Windows, and not being a C++ programmer have no idea what to do with the sourceforge files.

If you can create a Win32 binary for me, I would very much appreciate it!

[BTW, awesome work!]

davec:
A win32 port is definitely possible, in fact I thought it would be easy, so I just tried it.
Alas, I was wrong :(

I use libcrypto (openssl) which is a PITA to cross-compile. I use it for MD5 calculation and RSA signing. I assume windows has a library to do that, so I might have to provide an alternative implementation.

I also use libiconv for charset conversion, it seems to cross-compile ok, so I'll just statically link it I guess.
Then theres little thinks like using mmap to read files... damn you windows for not being unix...

BTW. phatdb is a GPL library, which afaik you cannot link with non-gpl code.

sbingner:
This might help:
http://www.openssl.org/support/faq.html#BUILD7

davec:
OK, I have a working statically compiled version of the binary for win32 now. A dll of the library should be easy enough too. I've also discovered ways of determining the short-file-name for a given long file in both windows (GetShortPathName) and linux (using an ioctl to read directories instead of readdir). I should be ready to make a win32 release by the weekend.

VorTechS: What sort of binary do you want? a dll and header files? or a cmd-line program to call? What language is your software written in? phatdb is 'C' btw, not C++ (I'm not a fan of C++ :))

Dave


Navigation

[0] Message Index

[#] Next page

Go to full version