HTML help file - module size increases by 10x

VASSAL 3.5.4-SNAPSHOT-95b893e38

Possibly user error, but adding a single (small) HTML help file grew
0) original module size - 5,312 kB

  1. I created a 1 page README file in Open Office and saved as HTML - file size 5kb
  2. I added a HTML help file and opened it
  3. strangely it didn’t display the new README file (appears to look for htm, but not html)
  4. I navigated up and back down so the correct directory was shown
  5. I typed in the filename
  6. Vassal churned and churned for several minutes.
  7. New module size - 524,968 kB (grew by a factor of 10)

Thus spake Korval:

VASSAL 3.5.4-SNAPSHOT-95b893e38

Possibly user error, but adding a single (small) HTML help file grew
0) original module size - 5,312 kB

  1. I created a 1 page README file in Open Office and saved as HTML -
    file size 5kb
  2. I added a HTML help file and opened it
  3. strangely it didn’t display the new README file (appears to look for
    htm, but not html)
  4. I navigated up and back down so the correct directory was shown
  5. I typed in the filename
  6. Vassal churned and churned for several minutes.
  7. New module size - 524,968 kB (grew by a factor of 10)

We need the input you usd if we’re going to reproduce this.


J.

Going from memory…

  1. Create 1 page document in Open Office Writer

  2. Save AS HTML Document (.html)

  3. This creates a small HTML document that displays in browser if you double click on it

  4. Open Vassal Module Editor

  5. Right Click [Help Menu]

  6. Select Add HTML Help File

  7. Enter Menu Command README

8) Click Contents - SELECT
  1. Click UP One Level Button
  2. Select my working folder (that has both the README.html file and my various module versions)
  3. Select OPEN

The only thing that makes sense give the massive size of the final file is that the Vassal Editor grabbed every file in this folder as part of the “HTML” file…

That’s exactly what happened. VASSAL adds every file in the folder you select when you add an HTML file on the assumption they’re part of the web page, as otherwise it would need to actually parse the HTML and determine which other files are hyperlinked to it.