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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old April 13th, 2004, 03:24 AM

leo1434 leo1434 is offline
Corporal
 
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
leo1434 is on a distinguished road
Default 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!
Reply With Quote
  #2  
Old April 13th, 2004, 06:39 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 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 ]
__________________
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
  #3  
Old April 13th, 2004, 06:38 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 Users?

I have no idea how to go about having stuff like that...
__________________
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 14th, 2004, 01:31 AM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default 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 ]
Reply With Quote
  #5  
Old April 14th, 2004, 02:10 AM

leo1434 leo1434 is offline
Corporal
 
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
leo1434 is on a distinguished road
Default 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!
Reply With Quote
  #6  
Old April 14th, 2004, 03:32 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 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.
__________________
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 April 14th, 2004, 07:28 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 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+
Reply With Quote
  #8  
Old April 14th, 2004, 07:36 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 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...
__________________
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 April 14th, 2004, 07:38 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: CHTML Users?

Sure I(we?) will wait

Thanks Will in advance.
Reply With Quote
  #10  
Old April 15th, 2004, 02:27 AM

leo1434 leo1434 is offline
Corporal
 
Join Date: Jan 2003
Location: Buenos Aires, Argentina
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
leo1434 is on a distinguished road
Default 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!!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 05:09 AM.


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