📄 readme
字号:
chmdeco -- decompile CHM files and extract files from ITS files (future)Copyright (C) 2003 Pabs, <pabs@zip.to>This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or(at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free Software Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA, 02111-1307, USA or visit:http://www.gnu.orgAbout:chmdeco is a program that converts the internal files of a chm back intothe files that were used to create it: .hhp, .hhc, .hhk, .stp, alias & mapfiles etc.Other implementations:The decompile function of KeyTools by KeyWorks Software (Win32 GUI only) doespretty much the same thing, except that chmdeco does it much better. AlsoKeyTools extracts all the files compressed into the chm whereas chmdeco relieson other programs for this (for now). There are probably other Win32 helpauthoring tools that do decompiling, but I don't know which ones.Dependencies:You need a program that extracts files from InfoTech Storage files(.its/.chm), so that chmdeco can get at the internal files it needs. OnUnix you can use chmdump by Matthew T. Russotto, which is available fromhttp://www.speakeasy.org/~russotto/chm/ or chmlib by Jed Wing, which isavailable from http://66.93.236.84/~jedwin/projects/chmlib/. On Win32 youcan use istorage, which was written by me & is both included in the binarydistribution and available from http://pabs.zip.to, in the programmingsection.Building, usage & testing:On Windows:1. The binary distribution contains prebuilt executables*.2. Extract your chm by dropping it onto the supplied istorage.exe3. Recreate the authoring files by dropping the folder that istorage produced onto the supplied chmdeco.exe4. Open the #recreated subfolder in the folder that istorage produced, look at the files there, and compare them to the originals if available*. If you want to compile a Win32 version grab the source, edit the Makefile and compile under Cygwin/MingW. Other compilers that support the opendir/ readdir/closedir functions should be able to compile with no problems.On Unix:#You should have done the next 2 lines already#wget http://bonedaddy.net/pabs3/chm/chmdeco-<version>-src.tar.gz#tar zxvf chmdeco-<version>-src.tar.gzwget http://www.speakeasy.org/~russotto/chm/chmtools.tar.gztar zxvf chmtools.tar.gzcd chmtoolsmakecd ../chmdeco-<version>makecd .../chmdump/chmdump foo-bar.chm temp &> /dev/null./chmdeco-<version>/chmdeco templess temp/#recreated/*.hhpless temp/#recreated/*.hhcless temp/#recreated/*.hhkless temp/#recreated/*.stpless temp/#recreated/*.aliless temp/#recreated/*.hdiff -U foo-bar-authoring temp/#recreated > ./foo-bar.diffless ./foo-bar.diffOptions:Place these before any arguments they should apply to.-p Turn on printing defaults in the [OPTIONS] section of the hhp-b Turn off printing the blurb at the start of the hhp-s Turn off printing the compilation stats at the start of the hhp-h Print version and usage on stderr, then exit-e Turn on converting the following characters in the hhc/hhk into entity refs & & < < > > " "
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -