PDA

View Full Version : Configuration files and command options with Klik



jounihat
06-27-2005, 06:46 PM
So, what if I want to edit the configuration files of a program compressed with Klik? Or if I want to add options (e.g. to play heroes full-screen with heroes-sdl -F command)? What should I do? What about plugins, additional levels to games e.g.? How are these handled in Klik?

bfree
06-29-2005, 12:05 AM
So, what if I want to edit the configuration files of a program compressed with Klik?
Extract the cmg to a folder, make changes and recompress. Many programs will of course look for a config file in your home directory so you won't evn need to do this.

Or if I want to add options (e.g. to play heroes full-screen with heroes-sdl -F command)?
Run as:

~/.zAppRun heroes.cmg heroes-sdl -F command

jounihat
06-29-2005, 07:15 PM
So, what if I want to edit the configuration files of a program compressed with Klik?
Extract the cmg to a folder, make changes and recompress. Many programs will of course look for a config file in your home directory so you won't evn need to do this.

Or if I want to add options (e.g. to play heroes full-screen with heroes-sdl -F command)?
Run as:

~/.zAppRun heroes.cmg heroes-sdl -F command

Ok, that's cool. Still couple of questions, though:

1) When I klik additional Heroes sound and music files, the program makes cmg-files of them. How does Heroes work with these packages?
2) I can delete a klik program by deleting the cmg-file, but that doesn't remove the files in /tmp, so the one program, one file doesn't really work here. Shouldn't those files be deleted automatically after the cmg-file is made?
3) What is the current situation of bringing Klik to 64-bit architecture? May I be able to klik 64-bit programs in the near future (within a year or so)?

bfree
06-29-2005, 08:41 PM
1) When I klik additional Heroes sound and music files, the program makes cmg-files of them. How does Heroes work with these packages?

It doesn't, as you are being warned these files are not intended to be installed by klik as they don't contain any programs. You could however merge the data from it into you main cmg for heroes if you really wanted.

2) I can delete a klik program by deleting the cmg-file, but that doesn't remove the files in /tmp, so the one program, one file doesn't really work here. Shouldn't those files be deleted automatically after the cmg-file is made?
Maybe, maybe not. It all depends on how your tmp filesystem works and how you use klik to decide what you really want here.

3) What is the current situation of bringing Klik to 64-bit architecture? May I be able to klik 64-bit programs in the near future (within a year or so)?
Lack of time/desire/resources means it hasn't happened. I don't see any realy problems other then having to setup the server to understand 64 recipies (but now knowing the exact voodoo used I'm not sure what needs to be done on the server), and of course only Kanotix (afaik) of the supported distributions has a 64 bit version.

Then there's the issue of do you actually want klik on 64bit for 64bit programs or do you want it for 32bit programs as that's another story again. I've run 32bit klik cmgs, on a 64 bit kanotix, using a 32bit kanotix iso as a chroot, but it seems excessively hackish in practice. A better approach for that probably to make a dedicated 32bit chroot image.