Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 15th February 2010, 01:34   #1  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,410
Avisynth v2.58/2.6-FINAL+FiltSDK Compressed Help Files

Avisynth v2.5.8 & v2.6-FINAL + FilterSDK Manuals converted from HTML site to a CHM Microsoft compressed help file.

Why would you want this? well you could update eg AvsEdit "english.CHM" with
current help file, OR, Use it for CHM ability to search entire manual which is not easy with the Avisynth HTML site.
---------------

With any doc updates since 2.6-FINAL, current Today.

Here, file included compiled into the CHM.

engsdk.txt
Code:
Re-Creating EngSDK26.CHM, Avisynth v2.6 + FilterSDK compressed help file by StainlessS.

We need to have a directory to assemble the chm file,
eg "C:\Program Files\AviSynth 2.5\")


In the directory, we need eg
    Docs\                   # Directory of 2.6 manual
    Docs\english\           # Directory of 2.6 manual source htm and picture files
    Docs\avysynth.css       # Manual style sheet for formatting HTML styles.
    FilterSDK\              # Directory of SDK source htm and picture files
    FilterSDK\Pictures\
    FilterSDK\include\
    Examples\
    plugins\
    License Translations\
    gpl.txt
    lgpl_for_used_libs.txt

Overwrite/Update documents (eg htm/jpg) files from SourceForge.org CVS
into the the english\ folder (you will need to check which containing folder
individual files go).
(http://avisynth2.cvs.sourceforge.net/viewvc/avisynth2/docs/)

Also need to check that you have a Pictures\ directory in FilterSDK\.
In both current 2.58 and 2.6a3, the directory and picture files are missing
but referenced in the SDK, I got these from the Wiki by saving html file
"CompilingAvisynthPlugins.htm". EDIT: v2.6a5 OK, present in FilterSDK\.

You also need our 'Project Files' (in Docs\):-

    engsdk.hhp             # MS Help project file
    engsdk.hhc             # MS Help Table Of Contents File
    engsdk.hhk             # MS Help Index file
    engsdk_stoplist.txt    # MS Help Stoplist, used in creating full text search data
    engsdk_table.htm       # An HTML file, which is just a table of the source htm files.
    engsdk.txt             # This text file

[The above Project Files are all contained in engsdk26.chm and will be extracted by a Decompile, as
will OLD Docs\ & FilterSDK\ folders. DO NOT decompile into Default Avisynth Directory unless you
intend to later update to more recent source files later.]

Start MS, HTML Help WorkShop (at least v4.74)
[
  Here, and also get HelpDocs
  http://msdn.microsoft.com/en-us/library/windows/desktop/ms669985%28v=vs.85%29.aspx
]

Goto Menu File/Open and Open the engsdk.hhp in your Docs\ directory.

Click on Menu File/Compile, and compile it.

DONE.


To De-Compile:-

Run HTML Help Workshop

Click on Menu File/Decompile, choose in and out locations and decompile it.

DONE.

------------------------------------------------------------------------
------------------------------------------------------------------------
------------------------------------------------------------------------

If only the contents of the source htm and any picture files are altered,
and not eg filenames changed, added or deleted then an updated engsdk.chm
can be reconstructed as described above.

If files are added/deleted/namechanged, then I'm afraid it means more work.

Despite spending a long time hunting out as much HTML Help software that
I could find, I'm really quite disappointed with what is available.
Even those utilites that seem not so bad, seem to want you to be starting
a project from scratch using their utility and that is of course, not an option.

engsdk.hhp:
HTML Help Workshop, Project File.
To create the project engsdk.hhp file, I ended up using as a starting
point, a decompiled hhp file (auto created) from a previous version of chm
file, and hand editing and using MS HTML Help Workshop to make minor mods.
I also added the Project Files filenames explicitly into the hhp file (including
the name of this file) so that they could be extracted and reused after Decompile.

ensdk.hhc:
HTML Help Workshop, Table Of Contents File.
Same again, ended up using a decompiled hhc file and hand editing, really tedious
and not too enthusiastic about doing it again. Now that it is in some kind of
order, it is not too problematic to use the MS HTML Help Workshop to change the
table of contents, but to eg move whole sections around, I choose to use a text
editor.

engsdk_stoplist.txt:
HTML Help Workshop, StopList File.
Just nicked the Noise.enu file from System32, and moved around a little and added some symbols.

engsdk.hhk:
HTML Help Workshop, Index file.
Used the Shareware "FAR HTML" HHP Editor to generate the Index using the
FINALLY EDITED Table Of Contents. Now that I know what it looks like, its not so
difficult to edit by hand. Really quite disappointed with ALL index creating
utilities, some of them are totally useless. To be fair, several of the indexers
seemed as if they might work OK indexing Keywords in the html files but only managed
to find 3 keywords in all of the source files, and one of them was Avisynth, so
not really of much use if there are no keywords to extract. Also, EasyHHK, almost works
scanning BODY TEXT, but makes mistakes and DONT try having any non html files in the
hhp project eg gif/jpg/png as it will extract garbage from these, make a temp hhp
file copy, and remove all non html and try, but there will probably be too many errors.


engsdk.txt:
This file, not part of an MS HTML Help project.



engsdk_table.htm:
Not part of an MS HTML Help project.
It is just an HTML table containing all of the source filenames and links to
them. CHM's (compliled HTML help files) like web sites are useful to easily
move around from place to place following related links, but you often find
yourself having read the same page a dozen times (going around and around in
ever decreasing circles). Sometimes you may just want to read the whole book
without going on a magical mystery tour (read magical misery tour).
The table allows you to visit each and every source file, so you dont have
to spend your life wondering if you've actually read the whole thing.

To create an engsdk_table.htm file we used DirHTML Generator:
http://home.comcast.net/~dirhtml/
EDIT: Seems above link is now dead, try here (highly recommended,
create web page of links to many mp3/mp4 files and play with a single click,
can eg create html on dvd full of media files for a graphical menu):-
http://www.freewarefiles.com/Dirhtml_program_15420.html

In GUI (what I used, you may like to change things):

  'Folders, Files'
    Folder                = \Program Files\AviSynth 2.5   # *** Using FOLDER F4 to Browse ***.
    File Specification    = *.htm;*.html;*.jpg;*.jpeg;*.gif;*.png;*.h;*.txt
    Output File           = engsdk_table.htm
    Filenames exclude     = engsdk_table.htm
    Title                 = List Of Source Files
    Script                = blue_white_border.txt
    Process files in the...   = Ticked

  'Miscellaneous'
    Force rectangular tables  = Ticked
    Convert latin characters  = Ticked
    Full anchor text in file table  = Ticked
    Doctype              =  HTML 4.01 Transitional
    Charset              =  UTF-8
    File Columns         =  4
    Anchor columns       =  1
    Folder coloums       =  4

  'Sorting'
    Sort by              =  Filename
    Sort order           =  Ascending
    Sort by folder       =  Ticked
    Sort by columns      =  Ticked

  'Default Words'


  'Recursive'
    Build files recursively   = Ticked
    Frameset         =  Frameset.txt
    Left frame       =  Left_frame.txt
    Right frame       = Right_frame.txt

---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
To check out all links including non local ones (internet) try LinkChecker v9.3 (UPDATED 22 Sept 2014):
home site here:- http://wummel.github.io/linkchecker/

To check local ONLY links, disconnect internet.

Good Luck :)
----------------------------
PS, If you have the engsdk.chm in your "C:\Program Files\AviSynth 2.5\"
folder, you can eg Right click Start Button, Explore All users,Start Menu\
Programs, and find your Avisynth shortcut folder, and then create a shortcut
to the engsdk.chm file. Right click on the shortcut and select Properties,
and select a shortcut hotkey combination. I use CTRL/ALT/H.
If already in use the will not let you redefine without removing the old shortcut
hotkey. The above is for XP32 with Classic Desktop, Start Menu etc.

ssS

v2.6 Final
Updated avisynth.h and avisynth_c.h (both now VERSION 6), Added old baked code VERSION 3 CPP Avisynth.h for v2.58 (can be informative).

The 2.6 CHM help on MediaFire in sig is advised even if using 2.58, new functions etc are
flagged as 2.6 and quite a few corrections and updates on the 2.58 help.
Also a list of bugfixes and changes in 2.6 relative 2.58.



AvisynthEngSDK26_FINAL-2015-05-31.chm (4.5MB)
See MediaFire in sig (DATA directory)


EDIT: If you have difficulty opening the chm file, refer to below link from Wilbert
Quote:
Originally Posted by Wilbert View Post
Thanks! A tip for people who can't open such files (like me ). You need to unlock them: right-click file > properties > unlock (works for XP/Win7).
EDIT: Direct link here:- https://www.mediafire.com/file/62mph...05-31.zip/file
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 8th January 2025 at 09:24. Reason: Update
StainlessS is online now   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:57.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.