![]() |
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! http://forum.shrapnelgames.com/images/smilies/laugh.gif
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! http://forum.shrapnelgames.com/images/smilies/laugh.gif 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! http://forum.shrapnelgames.com/image...ies/tongue.gif 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! http://forum.shrapnelgames.com/images/smilies/mad.gif 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! http://forum.shrapnelgames.com/images/smilies/eek.gif 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 http://forum.shrapnelgames.com/image...ies/tongue.gif |
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? http://forum.shrapnelgames.com/images/smilies/wink.gif |
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://forum.shrapnelgames.com/images/smilies/wink.gif
http://home.fuse.net/koliset/SE4/tem...-3.0.1.tar.bz2 |
Re: SE4 Templatizer Ready for Download!
Fixed another bug, or maybe broke something else, who knows/cares, I'm tired... http://forum.shrapnelgames.com/image...ies/tongue.gif
http://home.fuse.net/koliset/SE4/tem...-3.0.2.tar.bz2 |
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?
|
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! http://forum.shrapnelgames.com/images/smilies/frown.gif BTW, I still have another bug to fix up - functions defined out of alphabetical order don't work properly http://forum.shrapnelgames.com/image...s/rolleyes.gif I hope to get to it tonight or at least sometime in the next few days... |
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... http://forum.shrapnelgames.com/image...s/rolleyes.gif |
Re: SE4 Templatizer Ready for Download!
Do I still need a EEE part to get it to work?
I can't find calc's binaries, do I need them actually? And where to get them? |
Re: SE4 Templatizer Ready for Download!
It looks like calc is only available as source files. Most windows users don't have a compiler handy, you know.
|
Re: SE4 Templatizer Ready for Download!
No, you don't need EEE; you do need calc binaries though.
Hmm, let me go see where the binaries are... I can't find them either; if you want you can compile it with cygwin though... sorry, I only noted that calc runs on Windows; I didn't check for Windows binaries... I really need to plan better... http://forum.shrapnelgames.com/images/smilies/frown.gif But basically what I gather from the Windows build instructions is that you need to set up Cygwin (make sure you get the gcc package, it's the C compiler!), put the source in your Cygwin directory, run cygwin, go to your source directory in cygwin (cd /usr/src/calc or whatever your source is under), copy the Windows-specific files to the source directory (cp win32/*.c win32/*.h .) and build the executable (make win32_hsrc) I have cygwin on the old laptop; maybe I can do all that for you, assuming distributing binaries of someone else's software is OK under the LGPL (I think it is, as long as I include the source or at least say where to get it...) Alternatively, you could use the DJGPP compiler... that runs natively under Windows... see the above readme for instructions on how to compile it with DJGPP... Hmm, this all needs to go in the documentation for the templatizer... http://forum.shrapnelgames.com/image...ies/tongue.gif |
All times are GMT -4. The time now is 03:19 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.