![]() |
SE4TTV : Version 1.1 available
get it here, (minimally) tested with SE4 Gold, v1.67
http://www.xs4all.nl/~munishm/se4stuff/se4ttv_v1.zip screenshot Lot's of things to tell, first, Tech Tree Viewer is waaay to long, so it's called TTV from now on, or Lemmy's TTV, in case another one is made by someon else http://forum.shrapnelgames.com/images/icons/icon12.gif Next, uhm, it's faaaar from finished, to sum it up, Current features: </font>
Ability 2 Type := None delete it, as far as i know, this *should* cause no problems with savegames, cos it says there is only 1 ability, no need to mention that ability 2 is None. (duh) If you want to be sure, copy the data dir to another location, and delete the line in there, then make sure se4tv.ini points to that dir. So far, that's all i found. How to run it?double click on run.bat http://forum.shrapnelgames.com/images/icons/icon12.gif You should have java installed, but that is included on the cd, in the file called PlayByWeb_RealTimeClient.zip, unzip and run j2re-1_4_0-beta3-win.exe to install the Java Runtime Environment. Note: haven't actually tested it with that JRE Version, but it should work. In case anyone is interested in the source code, go here: http://www.xs4all.nl/~munishm/se4stuff/se4ttv_v1src.zip it is poorly documented for now, so enter at your own risk http://forum.shrapnelgames.com/images/icons/icon12.gif If you do enter (you brave soul), the interesting/special part (how to place the buttons) is in techviewer\TreePanel.java Please don't copy any code without me knowing about it. EDIT: changed title.... [ August 23, 2002, 16:02: Message edited by: Lemmy ] |
Re: SE4TTV : Version 1.1 available
in awe of my superb program the posting rates drop to an all time low...or maybe because of the sloooooow load time... http://forum.shrapnelgames.com/images/icons/icon10.gif
|
Re: SE4TTV : Version 1.1 available
in awe of my superb program the posting rates drop to an all time low...or maybe because of the sloooooow load time... http://forum.shrapnelgames.com/images/icons/icon10.gif
|
Re: SE4TTV : Version 1.1 available
Suggestions, eh? Well, I didn't actually download your program, but just from looking at the screenshot I can see something it could use... You know how each level of the same tech has its own box? Well, that's going to make the whole tech tree take up a LOT of space! (Imagine the Propulsion tree... shudder!) What I'm suggesting is condensing all the nodes that don't have something branching from them. So instead of this:
Prop I -> Prop II -> Prop III -> Prop IV -> Prop V By the way, what happens when a tech has 2 or more prerequisites? Do you actually have wild lines going all over the place, or does it just branch from the first one? |
Re: SE4TTV : Version 1.1 available
Gaah, I accidentally hit send too soon. http://forum.shrapnelgames.com/images/icons/icon8.gif
OK, what I meant to say is, instead of this Prop I -> Prop II -> Prop III -> Prop IV -> Prop V ... ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,|--> HEF Weapons you have this Prop I-IV -> Prop V -> Prop VI -> Prop VII ... ,,,,,,,,|--> HEF Weapons |
Re: SE4TTV : Version 1.1 available
Quote:
If there then comes a tech which also leads the a tech already "added" to the tree, a line will be drawn between those two techs also, no matter their placement. Good point btw, i forgot about that one. |
Re: SE4TTV : Version 1.1 available
Quote:
I thought about it when i started, but it would overcomplicate things because then one button should be able to refer to multiple techlevels instead of just one. |
Re: SE4TTV : Version 1.1 available
one thing i forgot to mention, you should edit se4tv.ini, and change the MostRecentlyUsedDir entry to your se4 data dir, or mod data dir.
any suggestions are welcome btw http://forum.shrapnelgames.com/images/icons/icon12.gif |
Re: SE4TTV : Version 1.1 available
This is so cool, i printed the tech tree that was in a txt file by somone, and now i can see it "a la civ2"
great work can't wait for more improvements [ July 12, 2002, 02:29: Message edited by: Skulky ] |
Re: SE4TTV : Version 1.1 available
This utility now forces me to actually work on my mod. I'm not sure if I should thank you, or get mad at you. ;-)
Great work! Always good to have utilities like this one. It especially helps me with my AI-writing -- I can get a tech tree and then write down the order that the AI would pursue it in, and convert that into the appropriate research format. Thanks bunches. =) (That's the good thanks, not the sarcastic thanks, mind you. ;-) ) |
Re: SE4TTV : Version 1.1 available
When I run run.bat, I get "java is not recognized as an internal or external command"
Does XP not have JRE loaded by default? I couldn't find the files you were referring to on the XP CD either, what dir they in? Thanks. Bin |
Re: SE4TTV : Version 1.1 available
Quote:
BTW Lemmy, nice program! |
Re: SE4TTV : Version 1.1 available
Quote:
[ August 02, 2002, 22:19: Message edited by: Elowan ] |
Re: SE4TTV : Version 1.1 available
Does anyone know where you can get JRE on the web? My CD I think is currently in my parents CD drive. (many miles away) Doh!
|
Re: SE4TTV : Version 1.1 available
|
Re: SE4TTV : Version 1.1 available
Quote:
[drive letter]:\EXTRAS\PlayByWeb_RealTimeClient.zip This is the Real Time Client program and the Java JRE install file zipped together. Unzip them and run the java installer. Geoschmo |
Re: SE4TTV : Version 1.1 available
Excellent proggie, nice work. http://forum.shrapnelgames.com/images/icons/icon7.gif
And now that you have completed the core work you should add additional buttons on the researchs like missiles and such and list the properties of the New Component gained. And also if possible visual enhancements, which apparently wouldn`t add anything and would take time but will be for pleasing for the eye and easier to look. http://forum.shrapnelgames.com/images/icons/icon12.gif |
Re: SE4TTV : Version 1.1 available
Quote:
|
Re: SE4TTV : Version 1.1 available
Quote:
|
Re: SE4TTV : Version 1.1 available
Quote:
MostRecentlyUsedDir = C:\Space Empires IV Gold\TDM-ModPack\Data And it works fine. |
Re: SE4TTV : Version 1.1 available
like Byte said, change the entry in se4tv.ini
Quote:
First i have to get back in the code again, i've been on vacation for two weeks, without computer acces, it's a wonder i'm still sane http://forum.shrapnelgames.com/images/icons/icon10.gif |
Re: SE4TTV : Version 1.1 available
I get this error:
"Exception in thread "main" java.lang.NoClassDefFoundError: Main" And I have entered the correct path in the INI file. |
Re: SE4TTV : Version 1.1 available
do you know what jre Version you are using?
|
Re: SE4TTV : Version 1.1 available
Quote:
|
Re: SE4TTV : Version 1.1 available
Then I tried the 1.1 - After uninstalling 1.4, now it says "java is not recognized as an internal or external command"
|
Re: SE4TTV : Version 1.1 available
Previusly I used the international Version, now I tried 1.3.1 US English:
"Exception in thread "main" java.lang.NoClassDefFoundError: Main" |
Re: SE4TTV : Version 1.1 available
Did you edit or move run.bat to a different location?
Is Main.class in the same dir as run.bat? |
Re: SE4TTV : Version 1.1 available
OK, i got it running, but it seems to only show me the tech levels required and the tech levels given for a given tech area: for example: Ship COnstruction 3 requires SHip 2 and gives ship 4.
I was looking for a util to tell me what I actually gained at a given level. Foe example: Destroyer at Ship 3. Have I configured it wrong somehow? |
Re: SE4TTV : Version 1.1 available
Quote:
Quote:
|
Re: SE4TTV : Version 1.1 available
I first tried in the directory I unpacked to, then I moved all to the SE4 dir, and Main.class is in the same directory as run.bat.
|
Re: SE4TTV : Version 1.1 available
Now I tried the latest beta and added the game directory to DOs path, still I get:
Exception in thread "main" java.lang.NoClassDefFoundError: Main Both run.bat and Main.class and all the files are in the same directory : The game directory, that is also defined in SE4TV.INI |
Re: SE4TTV : Version 1.1 available
Can it be that I'm not running an English ver of WinXP? I'm using the Swedish Version.
|
Re: SE4TTV : Version 1.1 available
Swedish doesn't matter, i got the Dutch Version
|
Re: SE4TTV : Version 1.1 available
Then I'm Dumbfunded
|
Re: SE4TTV : Version 1.1 available
maybe the classpath set, try typing "set CLASSPATH" at the dosprompt, it should say the variable isn't defined, if it is defined and show "CLASSPATH=xxxx", try replacing everything in run.bat with this:
set CLASSPATH=XXX java Main PAUSE replace "XXX" with the directory where it is installed, for exmaple "c:\viewer" |
Re: SE4TTV : Version 1.1 available
Quote:
"CLASSPATH="c\QTJava.zip" I changed the run.bat as suggested. Something happened, the new error message is:= "null line 0 java.io.FileNotFoundException: C:\Program Files\Space Empires IV Gold\Data\TechA rea.txt does not exist at Loader.loadTechs(Loader.java:39) at Loader.load(Loader.java:23) at Main.main(Main.java:19) Exception in thread "main" java.lang.NullPointerException at Loader.getNumTechs(Loader.java:699) at techviewer.TreePanel.getStartTechs(TreePanel.java: 110) at techviewer.TreePanel.placeTechs(TreePanel.java:31) at techviewer.TreePanel.<init>(TreePanel.java:2 3) at techviewer.TreeGUI.<init>(TreeGUI.java:21) at MainGUI.<init>(MainGUI.java:16) at Main.main(Main.java:30)" I dont have any "Program Files" directory, in the swedish Version all programs goes into the "program" directory. But the Path to SE4 is "C:\Spel\Space empires IV Gold" this is the new run.bat: "set classpath=c:\spel\space empires IV Gold java Main PAUSE" When I try "Set Classpath" after running and getting above error the classpath is : "CLASSPATH=c:\spel\space empires IV Gold" [ August 05, 2002, 22:47: Message edited by: Ruatha ] |
Re: SE4TTV : Version 1.1 available
Eureka, that did it.
I checked the SE4tv.ini and it had somehow changed the path to "c:\program files\Space empires IV Gold\data" instead of "c:\spel\space empires iv gold\data" As I don't have any "Program files" directory I would never put that there myself. Well now it works, but why all this happened I don't know. Thanx |
Re: SE4TTV : Version 1.1 available
Wow, you must have a very interesting Windows set-up. "program files" is present as a default in every Windows installations I ever saw.
|
Re: SE4TTV : Version 1.1 available
This dog won't hunt for me! http://forum.shrapnelgames.com/images/icons/icon9.gif Get all sorts of Java errors ranging from 'not implemented' to 'can't find'.
I have JRE installed on my system (WinXP). http://forum.shrapnelgames.com/image...s/confused.gif |
Re: SE4TTV : Version 1.1 available
could you post a sceenshot, or paste the complete error?
|
Re: SE4TTV : Version 1.1 available
Quote:
|
Re: SE4TTV : Version 1.1 available
New Version available
Things added: search function more info on components shown increased performance a little...i think no icons yet, don't think it'll happen anytime soon now, since AFAIK there is no easy way to isolate a single icon (square) from the bitmap with all the icons in it. Also the program now consist of 3 files, instead of a lot http://forum.shrapnelgames.com/images/icons/icon12.gif . see my sig to download... |
Re: SE4TTV : Version 1.1 available
about the new info on components, it's a bit cryptic, here's am explanation http://forum.shrapnelgames.com/images/icons/icon7.gif
For example: Ionic Disperser I (Weapons, M/O/R (200/0/50), W: Direct Fire, MaxDmg: 15/1, DmgType: Only Engines) the things in the parentheses are: ( [general group], M/O/R ([mineral cost]/[organics cost]/[radioactives cost]), [weapon type], [dmg at range 0]/[reload rate], [weapon damage type] ) [ August 23, 2002, 16:10: Message edited by: Lemmy ] |
Re: SE4TTV : Version 1.1 available
Lemmy,
Please help. When I run the "run.bat" I get: "F:\Space Empires IV Gold\Data>set F:\Space Empires IV Gold\Data>java Bad command or file name F:\Space Empires IV Gold\Data>PAUS Press any key to continue . . ." JRE is installed to the F:\Space Empires IV Gold\Data se4tv.ini has line: MostRecentlyUsedDir =F:\Space Empires IV Gold\Data Main.class is in: F:\Space Empires IV Gold\Data run.bat reads: set CLASSPATH=se4ttv1_1.jar java Main PAUSE I have tried it with: set CLASSPATH=F:\Space Empires IV Gold\Data\se4ttv1_1.jar java Main PAUSE Any ideas? [ August 25, 2002, 14:31: Message edited by: Gryphin ] |
Re: SE4TTV : Version 1.1 available
search for java.exe on your hardrive, and then try replace java with the full path, for example:
java -> C:\j2sdk1.4.0\bin\java (that's where it is with me) |
Re: SE4TTV : Version 1.1 available
Lemmy,
I don't have a java.exe I do have jre.exe jrew.exe javakey.exe rmiregistry.exe did I mess up the install of JRE? Thanks for your help. |
Re: SE4TTV : Version 1.1 available
hmm, there should be a java.exe...maybe try it with jre.exe
If that doesn't work, then i suggest reinstalling the JRE, and if that also doesn't work, then try downloading and installing this jre Version: http://www.xs4all.nl/~munishm/java/j...-beta3-win.exe [ August 25, 2002, 23:14: Message edited by: Lemmy ] |
Re: SE4TTV : Version 1.1 available
Lemmy,
Thanks for your help. I'm going to wait till I find my Gold CD and do a complete reinstall. The problem is probalby with my setup somewhere. Thanks again. |
All times are GMT -4. The time now is 11:35 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.