Wikia

CHDK Wiki

Changes: CardTricks

Edit

Back to page

m (Reverted edits by 81.108.129.157 (talk | block) to last version by Fe50)
(Removed extra spaces)
Line 1: Line 1:
 
{{Notice|The most recent documentation for SD card formatting can be found here : [[Bootable_SD_card]]}}
 
{{Notice|The most recent documentation for SD card formatting can be found here : [[Bootable_SD_card]]}}
<blockquote>"Card Tricks - a small utility to help manage SD cards" created by [http://chdk.setepontos.com/index.php/topic,964.0.html whim].</blockquote>
+
  +
  +
<blockquote>"CardTricks - a small utility to help manage SD cards" created by [http://chdk.setepontos.com/index.php/topic,964.0.html whim].</blockquote>
  +
  +
 
{| align="right"
 
{| align="right"
 
| __TOC__
 
| __TOC__
Line 29: Line 29:
 
:'''Note:''' The program gets falsely flagged as malware sometimes - if this happens try an online scan, e.g. with [http://www.virustotal.com/ VirusTotal - Free Online Virus and Malware Scan] or [http://www.viruschief.com/ Virus Chief].
 
:'''Note:''' The program gets falsely flagged as malware sometimes - if this happens try an online scan, e.g. with [http://www.virustotal.com/ VirusTotal - Free Online Virus and Malware Scan] or [http://www.viruschief.com/ Virus Chief].
   
*<big>[http://savedonthe.net/download/78/CardTricks-144-SFX.mht Card Tricks '''v1.44''' (510 kB)] (The exe is unziped OUTSIDE the "cardtricks" folder)</big><br />
+
*<big>[http://savedonthe.net/download/78/CardTricks-144-SFX.mht CardTricks '''v1.44''' (510 kB)] (The exe is unziped OUTSIDE the "cardtricks" folder)</big><br />
 
:functionally identical to v1.43, but now packed with [http://www.7-zip.org/ 7zip] instead of UPX<br />(Additional download places: [http://www.assembla.com/spaces/chdkde/documents/b6C8HmgVir34UVeJe5afGb/download?filename=cardtricks144sfx.exe mirror1], [http://downloads.chdk-treff.de/tools/CardTricks-144-SFX.exe mirror2], [http://www.filefactory.com/file/b01geh2/n/cardtricks144sfx_exe mirror3], [http://www.box.net/shared/su8nz4tsht box.net tools folder])
 
:functionally identical to v1.43, but now packed with [http://www.7-zip.org/ 7zip] instead of UPX<br />(Additional download places: [http://www.assembla.com/spaces/chdkde/documents/b6C8HmgVir34UVeJe5afGb/download?filename=cardtricks144sfx.exe mirror1], [http://downloads.chdk-treff.de/tools/CardTricks-144-SFX.exe mirror2], [http://www.filefactory.com/file/b01geh2/n/cardtricks144sfx_exe mirror3], [http://www.box.net/shared/su8nz4tsht box.net tools folder])
   
Line 36: Line 36:
   
 
<u>Older versions:</u>
 
<u>Older versions:</u>
*[http://savedonthe.net/download/60/CardTricks143.exe Card Tricks v1.43 (410 kB)]
+
*[http://savedonthe.net/download/60/CardTricks143.exe CardTricks v1.43 (410 kB)]
 
:<small>Added support for <u>C</u>CHDK.CFG </small>
 
:<small>Added support for <u>C</u>CHDK.CFG </small>
 
:<small>Resizing ("GUI Config") now no longer forces re-selection of the card</small>
 
:<small>Resizing ("GUI Config") now no longer forces re-selection of the card</small>
*[http://savedonthe.net/download/57/CardTricks142.mht Card Tricks v1.42 (410 kB)]
+
*[http://savedonthe.net/download/57/CardTricks142.mht CardTricks v1.42 (410 kB)]
 
:<small>New: last used path for copying CHDK binary zips is now remembered; file selection will open there next time</small>
 
:<small>New: last used path for copying CHDK binary zips is now remembered; file selection will open there next time</small>
*[http://savedonthe.net/download/30/CardTricks141.zip Card Tricks v1.41 (0.4MB)] ''(for Windows version 2000 or higher)''
+
*[http://savedonthe.net/download/30/CardTricks141.zip CardTricks v1.41 (0.4MB)] ''(for Windows version 2000 or higher)''
 
:<small>Now checks the card size before creating Udumper; refuse on cards &lt; 16 Mb; reduced empty.dum size to ~ 10 Mb, now 16 Mb cards are OK for Udump </small>
 
:<small>Now checks the card size before creating Udumper; refuse on cards &lt; 16 Mb; reduced empty.dum size to ~ 10 Mb, now 16 Mb cards are OK for Udump </small>
 
:<small>New: updated Udumper + sources (uses brake's corrected encode.c now)</small>
 
:<small>New: updated Udumper + sources (uses brake's corrected encode.c now)</small>
Line 47: Line 47:
 
:<small>New: checkbox to activate CF support for DSLR's</small>
 
:<small>New: checkbox to activate CF support for DSLR's</small>
 
{{Notice|''Card Tricks 1.39 is the last version which supports Windows 98/ME,<br/> since version 1.40 Card Tricks does '''NOT''' support Windows 98/ME. Windows 2000/XP/2003/2008 is needed!''}}
 
{{Notice|''Card Tricks 1.39 is the last version which supports Windows 98/ME,<br/> since version 1.40 Card Tricks does '''NOT''' support Windows 98/ME. Windows 2000/XP/2003/2008 is needed!''}}
*[http://www.zshare.net/download/1982625511b5e97d/ Card Tricks v1.39 (0.4MB)] ''(last version with support for Windows 98 / ME)''
+
*[http://www.zshare.net/download/1982625511b5e97d/ CardTricks v1.39 (0.4MB)] ''(last version with support for Windows 98 / ME)''
 
:<small>Modified udumper to dump firmware to the end (=0xFFFF FFFF) </small>
 
:<small>Modified udumper to dump firmware to the end (=0xFFFF FFFF) </small>
 
:<small>Modified cleaning routine for the dump, after removing leading/trailing zeroes it now chops the last 2 bytes; this should assure painless loading into IDA</small>
 
:<small>Modified cleaning routine for the dump, after removing leading/trailing zeroes it now chops the last 2 bytes; this should assure painless loading into IDA</small>
 
:<small>The 'Download CHDK' button now opens both GrAnd's and Hacki's Autobuild pages in default browser</small>
 
:<small>The 'Download CHDK' button now opens both GrAnd's and Hacki's Autobuild pages in default browser</small>
*[http://www.zshare.net/download/18225585b9ff990c/ Card Tricks v1.38 (0.39MB)]
+
*[http://www.zshare.net/download/18225585b9ff990c/ CardTricks v1.38 (0.39MB)]
 
:<small>New: If other CT running, bring that to the front, then exit; little splashscreen (should only be visible on first run); added checkbox to control tooltips</small>
 
:<small>New: If other CT running, bring that to the front, then exit; little splashscreen (should only be visible on first run); added checkbox to control tooltips</small>
*[http://www.zshare.net/download/17802120d04195aa/ Card Tricks v1.37 (0.39MB)]
+
*[http://www.zshare.net/download/17802120d04195aa/ CardTricks v1.37 (0.39MB)]
 
:<small>New: Improved universal dumper support: now has a button to clean your dump (will auto-remove leading and trailing zeros, and remind you to give it a useful name)</small>
 
:<small>New: Improved universal dumper support: now has a button to clean your dump (will auto-remove leading and trailing zeros, and remind you to give it a useful name)</small>
*[http://www.zshare.net/download/16872238def33a24/ Card Tricks v1.36] ''(with new udumper2008)''
+
*[http://www.zshare.net/download/16872238def33a24/ CardTricks v1.36] ''(with new udumper2008)''
*[http://www.zshare.net/download/13163755c4a0473f/ Card Tricks v1.34]
+
*[http://www.zshare.net/download/13163755c4a0473f/ CardTricks v1.34]
*[http://sourceforge.net/project/downloading.php?group_id=229629&filename=133.exe&abmode=1 Card Tricks v1.33]
+
*[http://sourceforge.net/project/downloading.php?group_id=229629&filename=133.exe&abmode=1 CardTricks v1.33]
*[http://sourceforge.net/project/downloading.php?group_id=229629&filename=125.exe&abmode=1 Card Tricks v1.25]
+
*[http://sourceforge.net/project/downloading.php?group_id=229629&filename=125.exe&abmode=1 CardTricks v1.25]
   
 
==Links==
 
==Links==
*[http://chdk.setepontos.com/index.php/topic,964.0.html Card Tricks - a small utility to help manage SD cards] (Forum)
+
*[http://chdk.setepontos.com/index.php/topic,964.0.html CardTricks - a small utility to help manage SD cards] (Forum)
 
*[[CHDK For Newbies - How To Install]]
 
*[[CHDK For Newbies - How To Install]]
   
Line 87: Line 87:
 
This is a special version of CardTricks to also allow making FAT32 partitions bootable.
 
This is a special version of CardTricks to also allow making FAT32 partitions bootable.
   
When the option '''[CF boot sector]''' is checked, the following strings are written to MBR:
+
When the option '''[CF boot sector]'''is checked, the following strings are written to MBR:
 
<pre>
 
<pre>
 
FAT16: at 0x2B "EOS_DEVELOP" at 0x40 "BOOTDISK"
 
FAT16: at 0x2B "EOS_DEVELOP" at 0x40 "BOOTDISK"
Line 95: Line 95:
 
</pre>
 
</pre>
   
Note that, because the program was originally developed just for CHDK on SD cards, it will not allow you to format cards <= 4GB as FAT32.
+
Note that, because the program was originally developed just for CHDK on SD cards, it will not allow you to format cards <= 4GB as FAT32.
 
For Canon P&S owners there is no new functionality.
 
For Canon P&S owners there is no new functionality.
   
Please note: the cmdline utils DO NOT CHECK the file system - after running
+
Please note: the cmdline utils DO NOT CHECK the file system - after running
 
<tt>bootableCF32.exe</tt> on a FAT16 card, or <tt>bootable(CF).exe</tt> on a FAT32 card you will need to FORMAT and '''LOSE ALL DATA !'''
 
<tt>bootableCF32.exe</tt> on a FAT16 card, or <tt>bootable(CF).exe</tt> on a FAT32 card you will need to FORMAT and '''LOSE ALL DATA !'''
   

Revision as of 06:32, November 22, 2012

Notice

The most recent documentation for SD card formatting can be found here : Bootable_SD_card


"CardTricks - a small utility to help manage SD cards" created by whim.


CardTrick-1.41-Screenshot

Card Trick v1.41 Screenshot

Features

  • formats your memory card (also adds 'ver.req' to get firmware version)
  • makes your memory card bootable
  • copies CHDK binaries to your memory card
  • backups & restores CHDK folder / config file


Usage

Attention

Note : the "Universal Dumper Card" option does not work with cameras released after 2009. The recommended method to dump any camera's firmware is to use Canon Basic Dumper. Read the Canon Basic main page to learn how to prepare a card. Pelican's EOScard (Win) or zeno's MacBoot (Mac) can be used to write the required SCRIPT signature.

Download

This Forum post always has a link to the latest version.

Note: The program gets falsely flagged as malware sometimes - if this happens try an online scan, e.g. with VirusTotal - Free Online Virus and Malware Scan or Virus Chief.
functionally identical to v1.43, but now packed with 7zip instead of UPX
(Additional download places: mirror1, mirror2, mirror3, box.net tools folder)



Older versions:

Added support for CCHDK.CFG
Resizing ("GUI Config") now no longer forces re-selection of the card
New: last used path for copying CHDK binary zips is now remembered; file selection will open there next time
Now checks the card size before creating Udumper; refuse on cards < 16 Mb; reduced empty.dum size to ~ 10 Mb, now 16 Mb cards are OK for Udump
New: updated Udumper + sources (uses brake's corrected encode.c now)
Helper files and source code now always overwritten (bugfix)
New: checkbox to activate CF support for DSLR's
Notice

Card Tricks 1.39 is the last version which supports Windows 98/ME,
since version 1.40 Card Tricks does NOT support Windows 98/ME. Windows 2000/XP/2003/2008 is needed!

Modified udumper to dump firmware to the end (=0xFFFF FFFF)
Modified cleaning routine for the dump, after removing leading/trailing zeroes it now chops the last 2 bytes; this should assure painless loading into IDA
The 'Download CHDK' button now opens both GrAnd's and Hacki's Autobuild pages in default browser
New: If other CT running, bring that to the front, then exit; little splashscreen (should only be visible on first run); added checkbox to control tooltips
New: Improved universal dumper support: now has a button to clean your dump (will auto-remove leading and trailing zeros, and remind you to give it a useful name)

Links

Internals

  • Cardtricks is written in the AutoIt scripting language. More informations about this very powerful, free tool can be found on the AutoIt v3 Homepage.
  • CardtricksXXX.exe is a self-expanding file. When it is started it creates a sub-folder on the current folder, named Cardtricks, then it copies its source code, unpackers, the helper tools like the dumpers & the bintext tool, GUI images and some other stuff into this folder.
  • When Cardtricks is started the first time, it creates also its configuration file named CardtricksXXX.ini in the folder from where it was started from.
    So check whether you have the permission to write & create files/folders when you start Cardtricks, e.g. create a new folder in your personal user area, copy CardtricksXXX.exe to this folder and run it from there.
  • The logic of the "Make Bootable" button is this:
"File System: FAT32"     → button greyed out (card > 4 GB or you need to Format as FAT first)
"File System: FAT" → button greyed out if already bootable ("CHDK Autorun: ON ...")
→ button available if not yet bootable ("CHDK Autorun: OFF ...")

CardTricks for DSLR / CF cards

There's also a special CardTricks version for DSLR users available:

  • CardTricks for DSLR / CF version 1.45 - a utility to make FAT16 and FAT32 CF cards bootable

This is a special version of CardTricks to also allow making FAT32 partitions bootable.

When the option [CF boot sector]is checked, the following strings are written to MBR:

FAT16:    at 0x2B "EOS_DEVELOP"    at 0x40 "BOOTDISK"
FAT32:    at 0x47 "EOS_DEVELOP"    at 0x5C "BOOTDISK"

(the quotes are not written, of course)

Note that, because the program was originally developed just for CHDK on SD cards, it will not allow you to format cards <= 4GB as FAT32. For Canon P&S owners there is no new functionality.

Please note: the cmdline utils DO NOT CHECK the file system - after running bootableCF32.exe on a FAT16 card, or bootable(CF).exe on a FAT32 card you will need to FORMAT and LOSE ALL DATA !

See also whim's forum link: http://chdk.setepontos.com/index.php/topic,4214.msg39827.html#msg39827

Download links:

Other Resources

Around Wikia's network

Random Wiki