Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

How to create MHTML without MS Word

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Design and Modding >> How to create MHTML without MS Word Page: [1]
Login
Message << Older Topic   Newer Topic >>
How to create MHTML without MS Word - 5/24/2014 2:21:41 PM   
Antiscamp


Posts: 345
Joined: 5/14/2012
Status: offline
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

_____________________________

Post #: 1
RE: How to create MHTML without MS Word - 5/24/2014 2:35:09 PM   
Buio


Posts: 247
Joined: 11/21/2012
Status: offline
Great tip, good to have options for Wordless users.

(in reply to Antiscamp)
Post #: 2
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Design and Modding >> How to create MHTML without MS Word Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.875