|
|
|
 |
|

April 7th, 2004, 08:12 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
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
|

April 7th, 2004, 07:30 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
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...
|

April 7th, 2004, 10:10 PM
|
 |
Lieutenant Colonel
|
|
Join Date: Mar 2001
Location: Emeryville, CA
Posts: 1,412
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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+
|

April 7th, 2004, 10:29 PM
|
 |
Major General
|
|
Join Date: Jan 2004
Location: Germany / Bielefeld
Posts: 2,035
Thanks: 33
Thanked 18 Times in 12 Posts
|
|
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 ? 
|

April 8th, 2004, 01:56 AM
|
 |
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
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
|

April 8th, 2004, 04:05 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: CHTML 1.00.00 Discussion Thread
Just double click on chtml.exe and it will run.
|

May 2nd, 2004, 04:28 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: CHTML 1.00.00 Discussion Thread
Bit of a problem... anyone know how to make strings larger than 255 characters? Or some other standard data type that is larger, such as a "long string" or something? That, or an easy way to deal with the necessity of dynamically storing arrays of characters that are longer than 255 characters...
|

May 2nd, 2004, 07:53 AM
|
 |
Lieutenant Colonel
|
|
Join Date: Mar 2001
Location: Emeryville, CA
Posts: 1,412
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: CHTML 1.00.00 Discussion Thread
The STL string class should be able to handle more than 255 characters... at least I'm pretty sure I've used it in the past to handle more than that. If not, you could probably work around it with a vector of char's.
__________________
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+
|

May 2nd, 2004, 11:50 AM
|
 |
Corporal
|
|
Join Date: Dec 2000
Location: Italy
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: CHTML 1.00.00 Discussion Thread
Quote:
Originally posted by Imperator Fyron:
THe program currently only functions on Windows based machines.
|
I actually see no reason to change this, since also SEIV runs on windows (or win32 emulators) only
(actually, SEIV is one of the few things that prevent me from switching to linux no, there's no way to run a win32 emu on my system, and I've not enough disk space for two OS. Tried once with two computers, but my second one is a 486 and SEIV was too S L O O W on it)
|

May 3rd, 2004, 12:02 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: CHTML 1.00.00 Discussion Thread
Quote:
Originally posted by Will:
The STL string class should be able to handle more than 255 characters... at least I'm pretty sure I've used it in the past to handle more than that. If not, you could probably work around it with a vector of char's.
|
Well... if it can, then I don't know why the program goes into an infinite loop after reading in the description line for Aggressive Master Computer I when running it with Adamant Mod data files... perhaps you can figure out the problem?
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|