PDA

View Full Version : DumpHD 0.4 (LINUX) - Where to place aacskeys?


Amnon82
4th May 2008, 14:53
Well I think I'm hammering the wall right now. Here is the list of my folder structure of DumpHD 0.4:

$ ls -R ./
./:
aacskeys DumpHD.cmd libaacskeys.so Readme.txt
aacskeys_interface DumpHD.jar PackScanner.cmd
ACAPacker.cmd dumphd.sh packscanner.sh
acapacker.sh KEYDB.cfg ProcessingDeviceKeysSimple.txt

./aacskeys_interface:
doc include Readme.txt

./aacskeys_interface/doc:
allclasses-frame.html help-doc.html overview-tree.html
allclasses-noframe.html index-files package-list
constant-values.html index.html resources
deprecated-list.html overview-frame.html serialized-form.html
dumphd overview-summary.html stylesheet.css

./aacskeys_interface/doc/dumphd:
aacs core util

./aacskeys_interface/doc/dumphd/aacs:
AACSException.html class-use package-summary.html package-use.html
AACSKeys.html package-frame.html package-tree.html

./aacskeys_interface/doc/dumphd/aacs/class-use:
AACSException.html AACSKeys.html

./aacskeys_interface/doc/dumphd/core:
class-use package-frame.html package-tree.html
KeyData.html package-summary.html package-use.html

./aacskeys_interface/doc/dumphd/core/class-use:
KeyData.html

./aacskeys_interface/doc/dumphd/util:
class-use package-frame.html package-tree.html
MessagePrinter.html package-summary.html package-use.html

./aacskeys_interface/doc/dumphd/util/class-use:
MessagePrinter.html

./aacskeys_interface/doc/index-files:
index-1.html index-3.html index-5.html index-7.html index-9.html
index-2.html index-4.html index-6.html index-8.html

./aacskeys_interface/doc/resources:
inherit.gif

./aacskeys_interface/include:
dumphd_aacs_AACSKeys.h


libaacskeys.so is placed where the DumpHD.jar is located, but I still get this:

DumpHD 0.4 by KenD00

Opening Key Data File... OK
Initializing AACS... OK
Loading aacskeys library... FAILED
no aacskeys in java.library.path
Direct key retrieval disabled, only keys from the database will be used

What went wrong?

java -version
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)

KenD00
4th May 2008, 20:27
What went wrong?


You have supplied all command lines except the interesting one ;).
I'm pretty sure you haven't started DumpHD with the dumphd.sh skript. Under linux the library isn't searched in the path of the executable, the skript modifies the lookup path.

It should also work if you copy the libaacskeys.so into a standard library path like /usr/local/lib, but then the file ProcessingDeviceKeysSimple.txt has to be there too (i think, can't remember if this ever worked :D).

:rolleyes: