decompiling chm, opening hhp in Robohelp, 2 questions
Hi, I've been looking through the forum posts, as well as on Peter Grainge's web site under Reverse Engineering, and I haven't quite found the answers to some questions I have about turning a chm file into a RoboHelp project. Any help with the following would be much appreciated.
Background
Our .net API developers use ndoc (which I've never used) to generate a chm file for each API. I received a copy of one of the chm files. Kind of looks like a handy dictionary, in the same spirit as Man pages, with definitions of methods, elements, types, and syntax. Useful for what it is. But there's very little in the way of context or "big picture".
What is missing is an overview, method examples, a discussion of the business rules and constraints that the developer needs to keep in mind for each method, and so on. As the tech writer, I'm tasked with adding the missing info as well as clarifying some of what's already there.
The final help documentation needs to be useful to developers, QA testers, or even a PM who wants to have a general understanding of what the methods do, what data is used, and so on.
So, I thought maybe I could just pull the chm information into a RoboHelp 8 project and augment it with additional text, topics, etc.
What I Tried
After reading Peter's reverse engineering info, I opened RH8 and used HTML Help Studio to decompile the chm file I received.
However, when I opened the resulting hhp file in RH8, all of the topics were on the same level, unlike in the original chm file.
No nice hierarchy. Plus there was no TOC or index.
I then thought I would try Pete Lees' suggested method of recovering the TOC and index, as a start toward fixing things, but since I did not see two hhc and hhk files in my project, I couldn't use that method.
I then tried decompiling the chm using Keytools, but the results were the same when I looked at the project in RoboHelp.
My Questions
1. Before I spend more time on this, am I even on the right track, thinking that the way to go is to take API Development team's chm files and turn them into RH8 projects that I can doctor up? Or am I overlooking a better alternative?
2. Is there another way to recreate the topic hierarchy, TOC, and index after decompiling the chm file and then opening the hhp file in RH8?
Thanks again for any and all help.
