.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 16th, 2006, 02:47 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 Testing

I need some help testing the behavior of chtml, especially on XP systems. Note that this is highly beta (perhaps alpha) version.

chtml_2006_05_09.zip

Please download the archive and extract it into the SE4 folder. It will go into a "chtml_2006_04_16" folder.

Run it by double clicking chtml.exe and choosing option 2, to parse settings.ini. The interactive option (1) is not working at present. It is currently configured to read the stock data files and create single HTML files for them in "chtml_2006_04_16\out\". It only reads 6 of the files at present.

You should get some valid html files created in the out folder. If so, please open settings.ini and change inFileDir to point to a mod. If you wish to try TDM-Modpack, change it from:

inFileDir := ..\Data\

to:

inFileDir := ..\TDM-Modpack\Data\

It should happily overwrite any files it needs to in the out dir. For the most complete test, it might be useful to manually delete them before running chtml again, however.

Try a few mods out, see if the output makes sense for the mod (and is not consisting of empty files). Then, please report on what worked and what didn't work.
__________________
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 16th, 2006, 04:14 PM
Captain Kwok's Avatar

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

A couple of early comments:

The readme.txt file is kind of garbled with notepad, but works ok with Textpad.

Also, none of the formatting options seem to work. I tried choosing them by number and it kept saying it was invalid input...

The MS-dos prompt thing is cumbersome, particularly considering I haven't really used such things in the last 10 years or so.

Note I have XP Pro SP2.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #3  
Old April 16th, 2006, 04: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 Testing

Probably should have mentioned that the interactive mode isn't quite upgraded yet, and the readme is reflective of that as well. Been working on making the functionality work with the settings file parsing.

Notepad doesn't interpret newline characters properly. It only likes carriage return gobbley-gook.
__________________
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 17th, 2006, 01:23 AM
Captain Kwok's Avatar

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

What about making it a more traditional windows program with some sort of GUI? I'd be more inclined to fudge around with it.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #5  
Old April 17th, 2006, 03:00 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 Testing

The only user interaction is choosing some settings, which in the current implementation is best done with settings.ini. A GUI would be a lot of work (possibly more than the rest of the program) to basically replicate a text 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
  #6  
Old April 17th, 2006, 09:01 AM
Captain Kwok's Avatar

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

It shouldn't be all that hard to make two text fields for input and output directories plus some radio buttons for the output options.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #7  
Old April 17th, 2006, 11:29 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 Testing

win32 gui code in c++ (and most languages) is quite messy. A gui written with it that does little more than draw the settings file with buttons isn't a big concern at this point in time. What I am concerned with is making the program work.
__________________
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 April 17th, 2006, 12:54 PM
Captain Kwok's Avatar

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

Hey, it's ok for me if your fancy computer engineering UC program doesn't teach you the skills to program for modern computers.

However, because I like this idea so much (the .html generation thing) I will purposely try and parse something after my exam today.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #9  
Old April 29th, 2006, 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 Testing

I have added a preliminary gui frontend (chtmlgui.exe):

chtml_2006_04_29a.zip

You might need to get the library file MFC71.dll if you can not run chtmlgui.exe. You should be able to place it in the chtml folder and get the gui to run. If not, placing it in Windows\System32 should work.

I should also mention that the file menu doesn't do much of anything. I might add the ability to load and save settings files in the future, or I might delete it.

Edit:

Fixed an issue with image file extension.
__________________
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
  #10  
Old April 29th, 2006, 08:35 PM
Captain Kwok's Avatar

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

Thanks. For some odd reason it just feels easier to use the program with the visual gui! I even generated a few files and it seems to work well.

Glad to see you took some of my advice.

There's a typo in the option choice - it just says "Option", perhaps it should be "Options". Also I would change "Parse Which Files" to something else.


I will try using the program to generate some SQL DBs for my SFEmod website next weekend.
__________________
Space Empires Depot | SE:V Balance Mod
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 09:48 PM.


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