How to create MHTML without MS Word (Full Version)

All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Design and Modding



Message


Antiscamp -> How to create MHTML without MS Word (5/24/2014 2:21:41 PM)

Don't have MS Word and still want to create MHT for the Galactopedia? Here's a workaround that I found helpful:


1. Create a common HTML document and save it as such. this is done in any text editor. Just save it as YourFileName.html (be sure to put any images you want in your article in the customization/yourmod/help folder as well). If you're doing a race article, be sure to name the article in the format Race_YourRaceName (just prefix Race_).

Below is my very simple model that I use for all my factions in my mod. If you use it, be sure to change the picture reference and write new paragraphs within <P></P> tags. You can format anything simply by using regular html, so it's pretty powerful stuff this!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><META content="IE=5.0000" http-equiv="X-UA-Compatible">
<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
<META name="GENERATOR" content="MSHTML 10.00.9200.16721"></HEAD>
<BODY lang="EN-US" bgcolor="#27282c">
<DIV><IMG width="240" height="240" align="left" src="file:///C:/Matrix%20Games/Distant%20Worlds/Customization/Human%20Revolution/help/race_27a.png">
<hspace="12"><FONT color="#808080" face="Tahoma" font="">
<P>HISTORY</P>
<P>!!!Galactopedia Article Text Goes Here!!!</P>
</FONT> </DIV></BODY></HTML>

2. Right clik the HTML document in the Windows explorer. Choose Open with Internet Explorer.

3. Choose tools at top right, Archive, Save as. Save the Document as mht (it's one of the choices in the file format dropdown) into your customization/yourmod/help folder.

4. when the MHT-file is done, you can safely remove the pictures you used to generate the document. They will be imbedded in the MHT-file, actually, so there's no need to include them in your mod's download.

5. Profit




Buio -> RE: How to create MHTML without MS Word (5/24/2014 2:35:09 PM)

Great tip, good to have options for Wordless users.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.71875