Get category and describe from lks file

Discussions (excluding Support)
9 messages • Page 1 sur 1

Get category and describe from lks file

Messagede Fangles » 18 Janvier 2011, 13:38

Thanks to some kind soul in the forum, I can save Liberkey files locally during updates.

Now, I wrote a sorter that puts all the files into the same directories on disk as the category names so that I can give these files to people with slow (or none) internet and they can install what they choose. But I had to create the category list manually and add to it each time I get a new file from the site.

Is there a way to get the category name and description (so I can store it with the categories) from the offline LKS file as well so people have a better chance what to choose to install?
Fangles
Junior Boarder
Junior Boarder
 
Messages: 32
Inscription: 14 Février 2010, 00:50

Re: Get category and describe from lks file

Messagede Dji » 18 Janvier 2011, 13:58

Offline Liberkey packages (.lks) are already available in the catalog, see "offline setup" link in the application page.
"Si boire des coups, aller au concert ou au match, ça devient un combat
Alors tremblez, terroristes !
Parce qu'on est surentraînés !"
@glecalot
Avatar de l’utilisateur
Dji
Administrator
Administrator
 
Messages: 3724
Inscription: 28 Novembre 2007, 09:57
Localisation: Quelque part entre les ombres

Re: Get category and describe from lks file

Messagede terminator1234 » 18 Janvier 2011, 15:44

Dji, I think you misunderstood his request. ;)

.lks file are just normal archives. They can be opened with 7zip. I think a couple of files in the lks package may contain the description and category info.

1. *app_name*.lks -> package.lbk
2. *app_name*.lks -> *app_name*\*app_name*LKL.dat

These screenshots should make it easier to understand :happy:

http://twitpic.com/3r5up1
http://twitpic.com/3r5vfj

Also the default.xml file has info
Path -> ..\\LiberKey\LiberKeyTools\LiberKeyMenu\data\Menu\default.xml

I hope that this helped you :lol:
Terminator over and out :silly: :ninja:

La Liberté éclairant le monde - Liberty Enlightening the World
Avatar de l’utilisateur
terminator1234
Junior Boarder
Junior Boarder
 
Messages: 33
Inscription: 29 Juillet 2009, 13:40

Re: Get category and describe from lks file

Messagede Fangles » 19 Janvier 2011, 01:25

Thanks Terminator, that may help me.

The LBK and dat files show up as Chinese characters on my system and I can't do anything with them. So I will try the XML file.

Thanks for that.

I want to create a TEXT catalogue file of all the offline files for my friends without internet (or dial-up) so they can choose what to install. The catalogue will tell them what the files are.

Just helping out the slowpokes and spreading LiberKey around:):)
Fangles
Junior Boarder
Junior Boarder
 
Messages: 32
Inscription: 14 Février 2010, 00:50

Re: Get category and describe from lks file

Messagede Dji » 19 Janvier 2011, 10:42

Categories are listed in LiberKeyTools\LiberKeyMenu\data\categories.db.xml and applications in localapps.db.xml (same folder)
Using XML translation (XSL) with those files would be enough to generate your offline catalog
"Si boire des coups, aller au concert ou au match, ça devient un combat
Alors tremblez, terroristes !
Parce qu'on est surentraînés !"
@glecalot
Avatar de l’utilisateur
Dji
Administrator
Administrator
 
Messages: 3724
Inscription: 28 Novembre 2007, 09:57
Localisation: Quelque part entre les ombres

Re: Get category and describe from lks file

Messagede terminator1234 » 19 Janvier 2011, 18:28

I guess I was wrong. Thanks Dji. You rock B)
Terminator over and out :silly: :ninja:

La Liberté éclairant le monde - Liberty Enlightening the World
Avatar de l’utilisateur
terminator1234
Junior Boarder
Junior Boarder
 
Messages: 33
Inscription: 29 Juillet 2009, 13:40

Re: Get category and describe from lks file

Messagede Fangles » 15 Décembre 2011, 04:45

Sorry to revisit an old topic but I just got out of cancer surgery so I am very slow!!

What I mean wast, when I have a bunch of OFFLINE LiberKey LKS files, is there any way for me to read the category and description DIRECTLY from them as this is BEFORE they are installed so the data MAY NOT BE in the installed db yet?

So, I want to read the OFFLINE LKS file DIRECTLY for Category and DESCRIPTION.

P.S Never have surgery, it hurts!!
Fangles
Junior Boarder
Junior Boarder
 
Messages: 32
Inscription: 14 Février 2010, 00:50

Re: Get category and describe from lks file

Messagede Dji » 15 Décembre 2011, 09:59

Sorry, it's not possible cause .dat files are encrypted.
"Si boire des coups, aller au concert ou au match, ça devient un combat
Alors tremblez, terroristes !
Parce qu'on est surentraînés !"
@glecalot
Avatar de l’utilisateur
Dji
Administrator
Administrator
 
Messages: 3724
Inscription: 28 Novembre 2007, 09:57
Localisation: Quelque part entre les ombres

Re: Get category and describe from lks file

Messagede Fangles » 15 Décembre 2011, 13:33

Thanks Diji, no worries.
Fangles
Junior Boarder
Junior Boarder
 
Messages: 32
Inscription: 14 Février 2010, 00:50


9 messages • Page 1 sur 1

Retourner vers General discussions

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 65 invités