Is there a way to unwrap a Tclkit packed exe?

2.1k Views Asked by At

I have an exe that has been wrapped using this method: http://www.kocjan.org/tclmentor/10-tclkits-building-standalone-tcl-binaries.html

Is there any way to unpack it back into a .kit file or a vfs structure?

1

There are 1 best solutions below

4
On BEST ANSWER

You need to use the sdx tool, downloadable in kit form from equi4. For example, to list the contents of a starkit:

tclkit sdx.kit lsk $yourfile.kit

And to unpack it (into a directory called yourfile.vfs; you can't control that):

tclkit sdx.kit unwrap $yourfile.kit

Starpacks work just the same as starkits in the above, but end up also listing or unpacking a copy of Tcl's support files (plus the other packages that were already in the tclkit used to build the pack) too.