6 Replies Latest reply on May 25, 2007 9:53 AM by Peter Grainge

    Help importing a decompiled .chm file

    askrivanek
      Hello,

      I was recently trying to decompile a .chm file (following the knowledge base instructions) and then importing that file into RoboHelp. The file appeared to decompile correctly, but when I loaded the project into RoboHelp, many images were missing. Is there something else I should be doing or is this a known problem? I am using RH6.


      Thanks,

      Aaron

        • 1. Re: Help importing a decompiled .chm file
          Peter Grainge Adobe Community Professional (Moderator)
          Welcome to the forum.

          See the topic on my site about reverse engineering. Maybe something in that will identify something in the procedure you are following. Images should not be an issue.

          • 2. Re: Help importing a decompiled .chm file
            ---Dirk_Bock
            I assume the images are stored in separate folder(s) without accompanying HTML-files. Due to this, RH just doesn't 'know' the image folders.

            Try 'creating' the respective folders for the images from within RH in the HTML files section of the Project Manager. This should get RH acquainted to them.

            Regards

            ---Dirk Bock
            • 3. Re: Help importing a decompiled .chm file
              askrivanek Level 1
              Peter,

              Thanks for the site references - the only working link in your reverse-engineering section is the same method I followed in the KB article. Unfortunately, that doesn't seem to be working (maybe HH Builder is not generating the .hhp file fully).


              Dirk,

              When the .chm is decompiled, all the images are stored in the same directory as the topic files - I can't see any reason why they aren't being read into RoboHelp.

              Is there a way to simply add the images into the Project Images folder within RH? Maybe that would fix the problem. The only way I can see to do it now is to manually insert the images back into the topics - something I really don't want to have to do.


              Aaron


              • 4. Re: Help importing a decompiled .chm file
                Peter Grainge Adobe Community Professional (Moderator)
                I just checked all the links and they all seem to be working.

                On the point Dirk made, if you go into Windows Explorer, do you see the folder with the images. If you do, then look in RH Project Manager and I suspect, as Dirk does, that you will not see that folder. If you then right click on the appropriate folder and create a folder with the name that already exists, RH will suddenly see all those images and show them in that folder.

                So if the folder with the images is off the root of your project with a name of XXX, right click the Images folder in RH and create a folder called XXX. It is in reality there in Windows but RH is not picking it up.

                I've seen this myself so I know that can work if the problem is what we think it is.

                • 5. Re: Help importing a decompiled .chm file
                  askrivanek Level 1
                  Hmm...

                  Ok, I tried a couple things:

                  1. Created the folder in RH per both of your suggestions.
                  Result: RH still not seeing the files.

                  2. Create a new Sub-Folder in the Project directory folder containing a copy of all the images and also created a folder with the same name in the RH Images tree.

                  Result: RH still not seeing the files.

                  In all cases the files exist in the expected folders when viewed in Explorer but only a subset appear in RH (the same subset in all cases).

                  My dir structure looks like:

                  c:\project_folder containing all files

                  with

                  c:\project_folder\project_images containing a copy of the image files

                  I have created a folder in the RH Image tree names project_images.

                  Any other thoughts?

                  Thanks for the help (and putting up with my lack of knowledge here).


                  Aaron

                  • 6. Re: Help importing a decompiled .chm file
                    Peter Grainge Adobe Community Professional (Moderator)
                    OK so you are getting some images. The images in Windows Explorer that you cannot see in RH, can you find where one of them is used in a topic? What do you see in that topic? Double click the image and the dialog should tell you where RH thinks it is.