|
|
|
|
|
April 13th, 2004, 03:24 AM
|
Corporal
|
|
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
CHTML Users?
Hello to all!
I downloaded the chtm program from the spaceempires.net pages. I thought: wonderful! This program is the answer to my desires!! (Think that I made a print of my components.txt file worth 2MB and was manually typing the data in an access data base!).
The problem is I can make it work! I carefully made what the readme said, but it hangs in tje Last part. I saw it created a .html file in my HD bit is 0 bites. I even tried splitting the Components.txt in two parts (1 Mb each) but it was the same.
Anyone has some info about the solution?
Thanks!
|
April 13th, 2004, 06:39 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: CHTML Users?
What operating system are you using? It was only tested on Win XP Pro, where it worked fine for me.
Also, what data files are you testing this with? Stock SE4? A particular mod? Try getting it to work with the stock file. It is possible that there is some combination in the mod you are using (assuming you are using a mod) that I did not test that exposes a hidden bug in the program.
[ April 13, 2004, 05:43: Message edited by: Imperator Fyron ]
|
April 13th, 2004, 06:38 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: CHTML Users?
I have no idea how to go about having stuff like that...
|
April 14th, 2004, 01:31 AM
|
|
Major
|
|
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: CHTML Users?
Same crap happened on my win2k pro machine with Adamant's component file. Investigation process is up and going.
Edit: Fyron I have a feature request: could you make chtml to work with CLI parameters in addition to interactive question-answer interface (well, I just don't like interactive CLI ).
Something like:
code:
chtml /P c:\se4\TehMod\Data\ /F Components.txt /S TehModComp /O index.html ...etc
But even without this your utility is very helpfull (when it works ). Thanks for this piece of code, Fyron.
[ April 13, 2004, 12:44: Message edited by: aiken ]
|
April 14th, 2004, 02:10 AM
|
Corporal
|
|
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: CHTML Users?
Hi Fyron!
Well, to the tech-specs: I use win 98SE, running in a PIII 750 Mhz 384 Mb RAM.
I was trying to process a comps.txt file of a proportions-based Mod, albeit very Customized.
Has your program a limit to size of the file to process? My file was 2 Mb, then I made it in two 1 Mb parts, no luck either. I think stock SE4 Comps.txt is less then 1 Mb.
I will try using your program with the standard file, but I dont think it is different from mine (except in size)...
Thanks!
|
April 14th, 2004, 03:32 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: CHTML Users?
Well, I need you to see if you can use the program on the stock file or not, as this will tell me whether the problem is operating system related or related to something specific about your mod's data file.
|
April 14th, 2004, 07:28 PM
|
|
Lieutenant Colonel
|
|
Join Date: Mar 2001
Location: Emeryville, CA
Posts: 1,412
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: CHTML Users?
If people don't mind waiting a bit, I can do the command line stuff around the beginning of May. Or sooner, it depends how my other projects are going, whether I get bored of them, etc
Looking through the code really quickly, it should only require me to mangle it a little
__________________
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 14th, 2004, 07:36 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: CHTML Users?
Or you could just tell me how to make switches and such... I already know how to take in arguments from the command line, I just don't know how to set them up to have stuff like "/if Components.txt" and what not...
|
April 14th, 2004, 07:38 PM
|
|
Major
|
|
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: CHTML Users?
Sure I(we?) will wait
Thanks Will in advance.
|
April 15th, 2004, 02:27 AM
|
Corporal
|
|
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: CHTML Users?
Hello
I was "testing" the program a little more...
I could make it function using the stock comps.txt file in the stock Data directory.
It generated the .html files but with no pictures in them (will the program automatically look for the pictures in the correct directory or it is needed to tell it where the pictures are?
The following is taken from the readme file:
Now, it wants to know the size of the images, the folder where they will be or
are located, relative to index.html, and the file format extension. Lets go with
128x128, "images" as the folder name, and png format:
> 128
> ./images/ --> is here where program looks for pics?
> png
Besides, I could not ask the program for any other output directory than /chtml/. And I have to input this parameter starting with "../" when I used "./" (as the readme file indicated)it gave me an error message.
I couldn´t make it work with my "customized.txt" file (may be if I copy it in the stock data directory??)
I hope this will be of some use to you...
By the way, a simple user interface would be a nice addition.
Thanks!!
|
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
|
|
|
|
|