Results 1 to 9 of 9

Thread: Did you ever thought to decompile the .chm file

  1. #1
    Join Date
    Sep 2011
    Posts
    20

    Did you ever thought to decompile the .chm file

    I got an project where I have to de-compile an file with extension .chm. I am very less aware about this. I want help for finding some tools and method to decomplie this files, edit them and re-compile them back again to its respective places. Thanks.

  2. #2
    Join Date
    Apr 2009
    Posts
    569

    Re: Did you ever thought to decompile the .chm file

    Chm files are Windows help file. It is possible to decompile this files. Decompiling allows you to edit the files and add/reduce resources from it. The process includes of first copying the decompiled file to an different directory without troubling the original file. In this way if you did not properly able to perform the method, then at least your files are not corrupted. The best way to do is is by creating an html document of the file. You can simply compile the file back from html and use it in your system. The process to decompile the file is simple. For that you just need to click on File Menu and then click on decompile. It will ask you for the destination folder. Provide appropriate place other than the actual directory. And provide the name for the file with the extension of .chm. This the file which you will decompile. You can get an html format of the same file also. There are various tools for the same. You can download any of the free tools and test the same. You will need an appropriate c++ library for the project.

  3. #3
    Join Date
    Mar 2010
    Posts
    145

    Re: Did you ever thought to decompile the .chm file

    There are many tools that you can use for this purpose. I am listing some of them below :
    • CHM Decoder : Simple tool to decompile .chm files. The tool is free for download.
    • PowerCHM : A bit advance tool for the same purpose. This tool has an ability by which you can convert a pdf file to chm file.
    • CHM Encoder : It is an simple decompiler. You can convert your chm file to html in this.
    • CHM2Word : As the name says, you can convert your chm file to word file and print them out. Very handy tool.

  4. #4
    Join Date
    May 2009
    Posts
    637

    Re: Did you ever thought to decompile the .chm file

    There is an tool that can help you for this. It is called as NorthBright CHM Tool. This is actually a decompiler which is used for modifying some pages of .chm file and in re-compile all of them back again. Chm file is an combination of many HTML files which are compiled together to give out 1 help file. You can edit and modify whichever page you want. Download NorthBright CHM Tool. It is an very basic compiler. The interface of this tool is very easy to use. You can just locate the file de-compile edit and put them back together.

  5. #5
    Join Date
    May 2009
    Posts
    511

    Re: Did you ever thought to decompile the .chm file

    Modifying the chm files in html format is much more easier. It works nicely without any much error. So better get a convertor that can covert the chm files to html files and then modify the same.

  6. #6
    Join Date
    May 2009
    Posts
    543

    Re: Did you ever thought to decompile the .chm file

    I had used this tool and found that HTML Help Workshop does not provide support for *.hhp file. This is the file which is needed in the end. It is just an consolidate format for all your edited element.

  7. #7
    Join Date
    May 2009
    Posts
    529

    Re: Did you ever thought to decompile the .chm file

    I had did this before once and I can show you the way how to edit those .chm file. Download and install HTML Help Workshop tool in your system. Decompile a file and then click on create project. Click on File > New and then follow the screen wizard. The wizard guides you for the process. Now on the next screen you get an option to get .hhp files. You have to click on Advance for more settings. Select all options in this. You can now from here browse to the tables which are located in the index file. Click Next and then click Add and choose everything you got. Give a destination directory here and click on next. Once you are done with the project click finish and now you can modify those files. There are many other options you can try from here.

  8. #8
    Join Date
    Mar 2010
    Posts
    154

    Re: Did you ever thought to decompile the .chm file

    I had did this once did the same with an free tool but I got error on recompiling the project. I do not know where I did mistake, but almost it was correct. Go for some guide before the same.

  9. #9
    Join Date
    Apr 2009
    Posts
    488

    Re: Did you ever thought to decompile the .chm file

    For this first you will need to understand about the .chm file. You must know that the chm files are compiled help files. This files consist of html pages in them. It is possible to decompile the files, add your html pages and then recompile the same back again as it was. For this the best tool I will recommend you is Microsoft’s HTML Help Workshop . This tool is free to use. Download this and install it in your system. Once you are done with the same you have to first find the location of help file. Click on File > Decompile and then choose the file located in Windows directory. You can choose only file in which you want to add your own pages. Once you are done with that browse for the chm file and give the destination folder. The file contains many elements like html page, scripts, style-sheet etc which are complied together to make an single help file. This same tool then can be used to modify those files. It is not tough to do the same by using this tool.

Similar Threads

  1. Thought about new XCOM game
    By Baljeetay in forum Video Games
    Replies: 8
    Last Post: 15-03-2012, 06:30 PM
  2. what is your thought about the i5 2500k build?
    By Talisha in forum Overclocking & Computer Modification
    Replies: 5
    Last Post: 12-03-2012, 06:29 PM
  3. What’s your thought on htc vigor?
    By Benedykt in forum Portable Devices
    Replies: 10
    Last Post: 25-09-2011, 10:26 PM
  4. How to decompile a .dll file
    By Gajpal in forum Software Development
    Replies: 3
    Last Post: 31-07-2009, 08:46 PM
  5. Will /decompile help in Access to fix the faults?
    By Saaz in forum Windows Software
    Replies: 3
    Last Post: 24-06-2009, 05:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,695,839.97908 seconds with 17 queries