-
Configuration files and command options with Klik
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?
-
Senior Member
registered user
Re: Configuration files and command options with Klik

Originally Posted by
jounihat
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.

Originally Posted by
jounihat
Or if I want to add options (e.g. to play heroes full-screen with heroes-sdl -F command)?
Run as:
Code:
~/.zAppRun heroes.cmg heroes-sdl -F command
-

Originally Posted by
bfree

Originally Posted by
jounihat
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.

Originally Posted by
jounihat
Or if I want to add options (e.g. to play heroes full-screen with heroes-sdl -F command)?
Run as:
Code:
~/.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)?
-
Senior Member
registered user

Originally Posted by
jounihat
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.

Originally Posted by
jounihat
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.

Originally Posted by
jounihat
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.
Similar Threads
-
By diego-ramirez in forum Klik
Replies: 1
Last Post: 07-27-2007, 10:04 AM
-
By Model600 in forum Customising & Remastering
Replies: 3
Last Post: 01-16-2007, 05:54 PM
-
By DaleEMoore in forum Klik
Replies: 0
Last Post: 03-26-2005, 03:03 PM
-
By eentonig in forum Klik
Replies: 0
Last Post: 01-07-2005, 11:38 AM
-
By Omak in forum Customising & Remastering
Replies: 2
Last Post: 05-11-2003, 12:15 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad laptop T490 14" i5 8365U 16GB NEW 256gb SSD WIN 11 pro CAM WIFI
$259.99

Lenovo ThinkPad L390 13.3” Touchscreen Laptop Core i3 8GB RAM 256GB SSD Win 11
$199.99

Lenovo - Yoga 7i 2-in-1 16" 2K Touchscreen Laptop - Intel Core Ultra 5 Proces...
$749.99

Lenovo ThinkPad T14S Gen 1 CORE i7-10610U 1.80GHZ 256GB 16GB WCam WiFi W11 Cord
$175.00

Lenovo - IdeaPad Slim 3 15.6" Full HD Laptop - AMD Ryzen 5 40 2025 - 8GB Memo...
$379.99

Lenovo ThinkPad T14 Gen 2 i5-1145G7 16GB 512GB SSD Touch Win 11 Pro Good
$261.99

Lenovo ThinkPad X1 Yoga Gen 5 Touch 14” Laptop Core i5 16GB RAM 256GB SSD Win 11
$249.99

(OEM) Lenovo WE04 Yoga Pen
$15.25