English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 18 April 2017, 00:03   #1
retrogamer
Zone Friend
 
Join Date: May 2006
Location: Sweden
Age: 44
Posts: 320
How do I use Cranker compressor tool?

When I'm trying to compress a file by using http://aminet.net/package/util/pack/cranker it says "file is not executable".

What I am doing wrong?

I use the parameters -f file -o newfile -cd

I tried the demo from here http://www.pouet.net/prod.php?which=67198
retrogamer is offline  
Old 18 April 2017, 00:11   #2
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
Perhaps the executable attribute is not set?

Using the option -a when extracting the lha archive should set the attribute. Alternatively change it in WB by selecting the file and go to Icons->Information and check off the Executable checkbox.
demolition is offline  
Old 18 April 2017, 00:18   #3
retrogamer
Zone Friend
 
Join Date: May 2006
Location: Sweden
Age: 44
Posts: 320
I have already extract cranker.lha but i can't figure out how to use it.
retrogamer is offline  
Old 18 April 2017, 00:54   #4
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
If you didn't use the -a option when you extracted the files, it will not be set to executable.
demolition is offline  
Old 18 April 2017, 00:59   #5
retrogamer
Zone Friend
 
Join Date: May 2006
Location: Sweden
Age: 44
Posts: 320
Please can you tell me how to crunch a file with cranker?
retrogamer is offline  
Old 18 April 2017, 01:18   #6
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
I have already used it without problem, just follow the readme.

Example:

cranker -f hdtoolbox -o hdlittle -nf

It will take hdtoolbox file and compress it to the file hdlittle. The -nf option is so that you dont see the default screen flashing when you run the crunched file and it is decompressing on the fly (hdlittle is that file in this example).

Last edited by gulliver; 18 April 2017 at 01:28. Reason: Added example
gulliver is offline  
Old 18 April 2017, 01:22   #7
amigoun
Registered User
 
amigoun's Avatar
 
Join Date: May 2010
Location: Czech Rep
Posts: 599
Just tried it. Output file wasnt executable, but removing all the file-flags in filemanager, then setting them to RWED did the trick.
And do not use -cd option that is for data-crunching.

Last edited by amigoun; 18 April 2017 at 01:27.
amigoun is offline  
Old 18 April 2017, 01:25   #8
BarryB
Amigaholic
 
Join Date: Dec 2009
Location: UK
Posts: 4,703
Basically:

cranker -f path/file -o path/file e.g. cranker -f dh1:file -o dh1:file-crunched

This should compress the file! if you use -nf at the end it will stop the screen flashing when decrunching: cranker -f dh1:file -o dh1:file-crunched -nf
BarryB is offline  
Old 23 August 2020, 17:08   #9
heavy
noodle
 
Join Date: Jun 2007
Location: europe
Posts: 247
up

I used it with a picture during decrunch. Works fine.
How to use a sound with the picture ?
how to modify the decranker code to add a sound properly ? (from append file for example)

thanks
heavy is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Winlauch tool lours support.WinUAE 2 23 May 2017 17:00
Looking to tool up my workbench CritAnime Amiga scene 5 02 December 2011 18:31
some useful tool blindfold project.Sprites 2 08 December 2005 02:54
A little simple tool zeGouky project.Sprites 7 05 November 2005 21:52
Best dev tool Oscar Castillo Coders. General 6 24 April 2004 03:51

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:36.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.16909 seconds with 15 queries