.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   CHTML Users? (http://forum.shrapnelgames.com/showthread.php?t=11856)

leo1434 April 13th, 2004 03:24 AM

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!

Fyron April 13th, 2004 06:39 AM

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. http://forum.shrapnelgames.com/images/icons/icon7.gif

[ April 13, 2004, 05:43: Message edited by: Imperator Fyron ]

Fyron April 13th, 2004 06:38 PM

Re: CHTML Users?
 
I have no idea how to go about having stuff like that...

Aiken April 14th, 2004 01:31 AM

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 http://forum.shrapnelgames.com/images/icons/icon7.gif ).
Something like:
</font><blockquote><font size="1" face="sans-serif, arial, verdana">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;"> chtml /P c:\se4\TehMod\Data\ /F Components.txt /S TehModComp /O index.html ...etc </pre><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">But even without this your utility is very helpfull (when it works http://forum.shrapnelgames.com/images/icons/icon12.gif ). Thanks for this piece of code, Fyron.

[ April 13, 2004, 12:44: Message edited by: aiken ]

leo1434 April 14th, 2004 02:10 AM

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!

Fyron April 14th, 2004 03:32 AM

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.

Will April 14th, 2004 07:28 PM

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 http://forum.shrapnelgames.com/images/icons/icon7.gif

Looking through the code really quickly, it should only require me to mangle it a little http://forum.shrapnelgames.com/images/icons/icon12.gif

Fyron April 14th, 2004 07:36 PM

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...

Aiken April 14th, 2004 07:38 PM

Re: CHTML Users?
 
Sure I(we?) will wait http://forum.shrapnelgames.com/images/icons/icon7.gif

Thanks Will in advance.

leo1434 April 15th, 2004 02:27 AM

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!!


All times are GMT -4. The time now is 03:43 PM.

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