Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Did you ever thought to decompile the .chm file

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 19-09-2011
Member
 
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.

Reply With Quote
  #2  
Old 19-09-2011
Member
 
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.
Reply With Quote
  #3  
Old 19-09-2011
Member
 
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.
Reply With Quote
  #4  
Old 19-09-2011
Member
 
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.
Reply With Quote
  #5  
Old 19-09-2011
Member
 
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.
Reply With Quote
  #6  
Old 19-09-2011
Member
 
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.
Reply With Quote
  #7  
Old 19-09-2011
Member
 
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.
Reply With Quote
  #8  
Old 19-09-2011
Member
 
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.
Reply With Quote
  #9  
Old 20-09-2011
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 12:35 PM.