.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

BCT Commander- Save $7.00
winSPWW2- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old April 7th, 2004, 08:12 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default CHTML 1.01.00 Discussion Thread

Announcing the release of CHTML, a program designed to generate a set of HTML files from the Components file of any mod. The program currently has no GUI, and relies on a CLI interface (load it up if you have no idea what the hell I am talking about ). But it works great nonetheless.

The program is released open sourced and under the GNU General Public License. Source code is provided. THe program currently only functions on Windows based machines.

You can get the program here:

CHTML 1.00.00
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #2  
Old April 8th, 2004, 01:56 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: CHTML 1.00.00 Discussion Thread

Interesting. Tried it out, not sure if it's working though.

First of all you have the slashes backwards in your examples in the readme.txt file. Not a big deal, but you might want to fix that.

Also, the readme.txt file has a .txt extension, but apparently was made in some other program then notepad. Notepad doesn't like the formatting. You might want to convert that to a format viewable by notepad, or save it as a .doc file maybe. Seems to open fine in wordpad, maybe thta's what you used?

After answering all the prompts though, the program seems to be hanging. I got to file formatting and selected option 3 and hit return, and nothing is happening. The program is still running in task manager, but nothing is happening in the output folder except a zero byte file with no extension has been created.

I'm on NT. Could it be that it's not compatible with NT?

[ April 07, 2004, 12:56: Message edited by: geoschmo ]
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #3  
Old April 7th, 2004, 07:30 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: CHTML 1.00.00 Discussion Thread

That is a possibility. I have no way to test on NT. The program has only been tested on Win XP Pro.

For web server purposes, slashes must be forward slashes (/), not back slashes (\). This is because Unix style systems do not use back slashes anywhere. Windows XP interprets both of them the same way. I assumed other recent Versions of Windows would as well...
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #4  
Old April 7th, 2004, 10:10 PM
Will's Avatar

Will Will is offline
Lieutenant Colonel
 
Join Date: Mar 2001
Location: Emeryville, CA
Posts: 1,412
Thanks: 0
Thanked 0 Times in 0 Posts
Will is on a distinguished road
Default Re: CHTML 1.00.00 Discussion Thread

If you're just using it to generate flat HTML files, you don't really need to worry about web servers using '/' instead of '\'. It will just output the file to the path given with \, and when you upload to a server, the server file system uses / instead.
__________________
GEEK CODE V.3.12: GCS/E d-- s: a-- C++ US+ P+ L++ E--- W+++ N+ !o? K- w-- !O M++ V? PS+ PE Y+ PGP t- 5++ X R !tv-- b+++ DI++ D+ G+ e+++ h !r*-- y?
SE4 CODE: A-- Se+++* GdY $?/++ Fr! C++* Css Sf Ai Au- M+ MpN S Ss- RV Pw- Fq-- Nd Rp+ G- Mm++ Bb@ Tcp- L+
Reply With Quote
  #5  
Old April 7th, 2004, 10:29 PM
Ragnarok-X's Avatar

Ragnarok-X Ragnarok-X is offline
Major General
 
Join Date: Jan 2004
Location: Germany / Bielefeld
Posts: 2,035
Thanks: 33
Thanked 18 Times in 12 Posts
Ragnarok-X is an unknown quantity at this point
Default Re: CHTML 1.00.00 Discussion Thread

i have to admit i cant get your programm to run. Its propably because of my poor dos skills (forgot most of dos in the Last 10 years).

So to sum it up: WHERE IS THE GUI ?
Reply With Quote
  #6  
Old April 8th, 2004, 04:05 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: CHTML 1.00.00 Discussion Thread

Just double click on chtml.exe and it will run.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #7  
Old August 22nd, 2004, 10:09 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default CHTML 1.01.00 Released

Announcing the long awaited release of an updated CHTML! This Version is much more useful, as it has some output options which create very compact HTML files.



Version 1.01.00 - 22 August 2004:
1. Fixed - BUFFER_SIZE for input has been increased from 255 to 1024. This
means that components with really long descriptions no longer
cause infinite loop problems.
2. Added - Output options 4 and 5, which create compact HTML files with a
minimal amount of information.
3. Changed - Horizonal rules are now defined by CSS, rather than HTML. They
appear correctly in all browsers now.



This program is released open sourced and under the GNU General Public License. Source code is provided. The program currently only functions on Windows based machines.



CHTML 1.01.00
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #8  
Old August 22nd, 2004, 11:14 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: CHTML 1.01.00 Released

I have uploaded files for Adamant Mod, as a sample:

http://adamant.spaceempires.net/components/
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #9  
Old August 22nd, 2004, 11:24 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: CHTML 1.01.00 Released

That's not too bad. Are there options to adjust the look of the output?
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #10  
Old August 22nd, 2004, 11:34 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: CHTML 1.01.00 Released

There are some, yes. Noone ever bothered making suggestions as to what sort of output format they would like to see, so...

Try the program out and see for yourself. There are 6 included sample outputs, based on a stripped down Version of the stock Components.txt file.

The color coding is all handled via CSS style information located within each file, so it can be edited very easily.

Also, as the program is open sourced, anyone can create new options for it, and I will integrate them into the main program...
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
Reply

Bookmarks


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 On

Forum Jump


All times are GMT -4. The time now is 02:40 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.