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

This Month's Specials

Air Assault Task Force- Save $8.00
winSPWW2- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old February 20th, 2005, 06:46 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: SE4 Templatizer Ready for Download!

All right, the bad news is I gave up on the .NET-powered templatizer... the good news is I moved to Java!

This was actually prompted by my switch to Linux; Mono's IDE isn't very developed at this point, whereas with Java you can use NetBeans.

Well, over the past 3 days I completely rewrote the templatizer part of the program, and gave up on the expression evaluator - because I finally found one that does exactly what I want, only it's even better than the one I wrote!

Have a look at this:
http://directory.fsf.org/science/math/calc.html

One problem I foresee is that it's called "calc" which is the name of the standard Windows calculator... well I could put in a dialog to locate the "real" calc, but for now - hey, who uses the crappy Windows calculator anyway? Just rename it!

The templatizer is almost working again, and it even has a GUI, but the thing I'm stuck on right now is trying to get the thing to not skip tech grids! It would be much easier if I weren't trying to support an unlimited number of tech grids... the very first templatizer supported 3; would 16 do? I say this because if I have a set number of grids, I can use nested for loops, but with an unlimited number, I have to use recursion and that gets messy!

Unless SJ wants to help me out, seeing as he's solved this problem already, even though I'm trying to make something that will compete with his Tech Gridder... hey, I did give up on .NET
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #2  
Old February 21st, 2005, 11:34 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: SE4 Templatizer Ready for Download!

Templatizer 3 is here!!!!!
http://home.fuse.net/koliset/SE4/tem...-3.0.0.tar.bz2
You'll need the aforementioned calc program, as well as the latest Java (not .NET) runtime.
Questions? Comments?
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #3  
Old February 22nd, 2005, 02:57 AM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: SE4 Templatizer Ready for Download!

I just fixed up some bugs... c'mon, somebody download this thing & try it out! Get calc and see if it works on Windows - it's a pretty nifty tool
http://home.fuse.net/koliset/SE4/tem...-3.0.1.tar.bz2
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #4  
Old February 22nd, 2005, 04:19 AM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: SE4 Templatizer Ready for Download!

Fixed another bug, or maybe broke something else, who knows/cares, I'm tired...
http://home.fuse.net/koliset/SE4/tem...-3.0.2.tar.bz2
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #5  
Old February 22nd, 2005, 09:31 PM

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: SE4 Templatizer Ready for Download!

Isn't it possible to distribute an .exe file, or give more complete intructions on how to use this tool?
Reply With Quote
  #6  
Old February 22nd, 2005, 10:45 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: SE4 Templatizer Ready for Download!

Hmm, an .exe... might be tricky to do on my Linux system... I could make a zip version though... oh, and just put this into a file called templatizer.bat and then you can double click the batch file to run it (assuming you have Java 1.5 and calc installed):

java -jar templatizer.jar

What kinds of more complete instructions are you looking for?

Oh, and congratulations & thanks for being the first to respond here - for a while I thought I was going to do this for nothing!

BTW, I still have another bug to fix up - functions defined out of alphabetical order don't work properly I hope to get to it tonight or at least sometime in the next few days...
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #7  
Old February 23rd, 2005, 01:38 AM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: SE4 Templatizer Ready for Download!

OK, version 3.0.3 is out...
http://home.fuse.net/koliset/Program...izer-3.0.3.zip

I've fixed lots of bugs... though I still haven't tried actually loading any of the generated files into SE4... I wonder if SE4 will choke on the UNIX formatted files, since I forgot to tell it to place the carriage return after each newline like Windows prefers...
__________________
The Ed draws near! What dost thou deaux?
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 06:11 AM.


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