AGS Development > Editor Development
Still not made open source: The help project files :-)
Monsieur OUXX:
Chris, how could you do that to the community? How could you not release the most important part of the AGS source code? The most intricate and critical part of the project? Is this what you dare calling an open-source project?
At this stage, everybody has understood I was talking about the Help project files -- the files meant for Microsoft's HTML Help workshop. :=
Well, I suppose that's the tool you used to generate the .chm file. Am I correct? If so, did I miss the subfolder where the files are kept?
With the current technology, a .chm file is easily decompiled, but not easily recompiled.
monkey_05_06:
Liar. Stop spreading your filthy words against CJ. The manual has been open sourced for some time. Did you even bother looking in the SVN? :P
Calin Leafshade:
The manual needs rewriting. CHM is lol.
Off you go frenchy.
Monsieur OUXX:
--- Quote from: monkey_05_06 on 13 Jun 2012, 15:09 ---The manual has been open sourced for some time. Did you even bother looking in the SVN? :P
--- End quote ---
You call me a liar? Your mom! Actually that's exactly where I looked. I checked out the non-native stuff (it was a checkout from several months ago) and performed a search on "*.hhp". I'll look again.
EDIT : found it immediately. I don't know what on earth was in my other checkout, maybe just the Editor source. (I can't check, it's on another computer in another house :-D). Also I'm impressed that the .hhp is generated on the fly.
--- Quote from: Calin Leafshade on 13 Jun 2012, 18:25 ---The manual needs rewriting. CHM is lol. Off you go frenchy.
--- End quote ---
The advantage of this format is that it's all-in-one (thesaurus + index + search). But a change is welcome, and it's the right time, because I've read many reports of hhc.exe crashing on Windows 7. Any recommendations for a [compact enough] web-based equivalent?
EDIT: actually I'll create a new thread for that.
Monsieur OUXX:
To anyone who has commit access to the repository : Here is an enhanced version of trunk/Manual/run.cmd
If does 2 new things :
* All output is put into a "output" subfolder (otherwise it produces a hundred files in the same folder)
* At the end it asks you explicitly if you want to run hhc.exe
--- Code: Adventure Game Studio --- rem version 1.4 @echo offif not exist output mkdir outputif not exist .\output\images mkdir .\output\images echo _ echo ===========echo The output will be placed in folder "output".echo ===========echo _pause@echo on copy .\images\*.* .\output\images\.copy .\*.gif .\output\. start /WAIT tex2rtf.exe ags.tex .\output\ags.html -html -syncmove *.con .\output\. striphdr htmlfiles\actutor.htm .\output\ags29.htmstriphdr htmlfiles\actutor2.htm .\output\ags30.htm copy procdocs.exe .\output\procdocs.execd outputprocdocs.exedel procdocs.exe cd ..cd htmlfilesfor %%i in (acintro*.htm) do ..\striphdr %%i ..\output\%%i cd ..\outputfor %%i in (acintro*.htm) do echo %%i >>ags.hhpecho ..\images\*.jpg >>ags.hhpecho ..\images\*.gif >>ags.hhp @echo offecho _echo ===========echo You must now choose if you want to compile the project into a .CHM file.echo It will use the old "hhc.exe" utility.echo (it might not always work if HTML Help workshop 4.74.8702.0echo is not installed on this machine and/or if you use windows 7).echo ===========echo _ :decide set /p choice=Do you want to compile? (Y/N) if "%choice%"=="Y" goto compile if "%choice%"=="y" goto compile if "%choice%"=="N" goto nocompile if "%choice%"=="n" goto nocompilegoto decide :nocompile @echo off echo _ echo You skipped compiling. echo _goto askclean :compile rem current folder = ./output @echo on copy ..\hhc.exe . copy ..\hha.dll . hhc ags.hhp del hhc.exe del hha.dllgoto askclean :askclean @echo off echo _ echo =========== echo Do you want to clean the temporary files? echo - Choose No if you plan on compiling the .hhp file with echo an alternative tool such as Precision Helper. echo - Choosing Yes will leave only the .CHM help file (if it echo has been compiled) in the "output" folder. echo =========== echo _ :decide2 set /p choice=Do you want to clean temporary files? (Y/N) if "%choice%"=="Y" goto clean if "%choice%"=="y" goto clean if "%choice%"=="N" goto noclean if "%choice%"=="n" goto nocleangoto decide2 :clean echo You decided to clean. @echo on rem current folder = ./output del *.htm del *.con del ags.hh* del ags.htx del ags.ref del *.gif rmdir /s /q imagesgoto end :noclean @echo off echo _ echo You skipped cleaning. echo _goto end :end @echo off echo _ echo Finished. echo _ echo =========== echo IMPORTANT NOTES: echo If you compile the .hhp file with Precision Helper, echo 1) Don't forget to sort the Index alphabetically echo using the GUI. echo 2) If you build a HTML help, don't forget to copy echo the "images" folder into the folder where 'index.htm' echo is located. echo =========== echo _ pause
EDIT: The file above has been updated to version 1.1
EDIT: The file above has been updated to version 1.2
EDIT: The file above has been updated to version 1.4
Navigation
[0] Message Index
[#] Next page
Go to full version