.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   SE4TTV : Version 1.1 available (http://forum.shrapnelgames.com/showthread.php?t=6582)

Lemmy July 8th, 2002 08:55 PM

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>
  • <font size="2" face="Verdana, Helvetica, sans-serif">Allows (not so) easy change of mod dirs by editing se4tv.ini</font>
  • <font size="2" face="Verdana, Helvetica, sans-serif">Shows the tech tree in a graphical way (a la civ III)
    </font>
<font size="2" face="Verdana, Helvetica, sans-serif">Upcoming features:</font>
  • <font size="2" face="Verdana, Helvetica, sans-serif">Changing mods without having to exit the program.</font>
  • <font size="2" face="Verdana, Helvetica, sans-serif"> Tech/component/facility/intel/vehicle icons will be added to the techbutton, or techwindow</font>
  • <font size="2" face="Verdana, Helvetica, sans-serif">Tech research costs to be included in techwindow</font>
  • <font size="2" face="Verdana, Helvetica, sans-serif">Whatever else that comes to mind http://forum.shrapnelgames.com/images/icons/icon7.gif
    </font>
<font size="2" face="Verdana, Helvetica, sans-serif">Known issue(s):In Facility.txt, at the facility Space Port there is this line (line 429 IIRC):
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 ]

Lemmy July 8th, 2002 09:21 PM

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

Lemmy July 8th, 2002 09:22 PM

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

Ed Kolis July 9th, 2002 09:02 PM

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 -&gt; Prop II -&gt; Prop III -&gt; Prop IV -&gt; 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?

Ed Kolis July 9th, 2002 09:05 PM

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 -&gt; Prop II -&gt; Prop III -&gt; Prop IV -&gt; Prop V ...
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,|--&gt; HEF Weapons

you have this

Prop I-IV -&gt; Prop V -&gt; Prop VI -&gt; Prop VII ...
,,,,,,,,|--&gt; HEF Weapons

Lemmy July 9th, 2002 10:13 PM

Re: SE4TTV : Version 1.1 available
 
Quote:

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?
<font size="2" face="Verdana, Helvetica, sans-serif">running wild....for now, and it branches from the first one.
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.

Lemmy July 9th, 2002 10:20 PM

Re: SE4TTV : Version 1.1 available
 
Quote:

OK, what I meant to say is, instead of this

Prop I -&gt; Prop II -&gt; Prop III -&gt; Prop IV -&gt; Prop V ...
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,|--&gt; HEF Weapons

you have this

Prop I-IV -&gt; Prop V -&gt; Prop VI -&gt; Prop VII ...
,,,,,,,,|--&gt; HEF Weapons
<font size="2" face="Verdana, Helvetica, sans-serif">hmm, yes, but then when you would click on the Prop I-IV button, the popup window with the listing of the component would contain too much information, about all those 4 techs.
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.

Lemmy July 10th, 2002 01:15 AM

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

Skulky July 12th, 2002 03:29 AM

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 ]

Spuzzum July 12th, 2002 07:44 AM

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. ;-) )

Binford August 1st, 2002 05:58 PM

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

Gandalph August 1st, 2002 07:30 PM

Re: SE4TTV : Version 1.1 available
 
Quote:

Originally posted by Binford:
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

<font size="2" face="Verdana, Helvetica, sans-serif">No, JRE is not loaded by default on XP. The file he was referring to, I believe, is the on in the extras folder on the SE IV Gold CD. I had the same problem which was solved by installing JRE from the Gold CD.

BTW Lemmy, nice program!

Elowan August 2nd, 2002 11:18 PM

Re: SE4TTV : Version 1.1 available
 
Quote:

No, JRE is not loaded by default on XP. The file he was referring to, I believe, is the on in the extras folder on the SE IV Gold CD. I had the same problem which was solved by installing JRE from the Gold CD.
<font size="2" face="Verdana, Helvetica, sans-serif">And where, pray, is it on that CD? I haven't found it yet.

[ August 02, 2002, 22:19: Message edited by: Elowan ]

DavidG August 3rd, 2002 12:22 AM

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!

Elowan August 3rd, 2002 12:55 AM

Re: SE4TTV : Version 1.1 available
 
http://java.sun.com/products/jdk/1.1/jre/

geoschmo August 3rd, 2002 01:12 AM

Re: SE4TTV : Version 1.1 available
 
Quote:

Originally posted by Elowan:
And where, pray, is it on that CD? I haven't found it yet.
<font size="2" face="Verdana, Helvetica, sans-serif">The location on the CD:

[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

Byte August 3rd, 2002 02:27 AM

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

DavidG August 3rd, 2002 04:19 AM

Re: SE4TTV : Version 1.1 available
 
Quote:

Originally posted by Elowan:
http://java.sun.com/products/jdk/1.1/jre/
<font size="2" face="Verdana, Helvetica, sans-serif">Thanks!

Elowan August 3rd, 2002 06:28 AM

Re: SE4TTV : Version 1.1 available
 
Quote:

Originally posted by Byte:
Excellent proggie, nice work. http://forum.shrapnelgames.com/images/icons/icon12.gif
<font size="2" face="Verdana, Helvetica, sans-serif">I am still getting errors to the effect that it can't find the directories, etc. despite that I have it in the SEIV dir. Is that an error? There was no ReadMe file with the app.

Byte August 3rd, 2002 11:38 AM

Re: SE4TTV : Version 1.1 available
 
Quote:

Originally posted by Elowan:
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by Byte:
Excellent proggie, nice work. http://forum.shrapnelgames.com/images/icons/icon12.gif

<font size="2" face="Verdana, Helvetica, sans-serif">I am still getting errors to the effect that it can't find the directories, etc. despite that I have it in the SEIV dir. Is that an error? There was no ReadMe file with the app.</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Hmm, in the se4rv.ini my entry is like this:

MostRecentlyUsedDir = C:\Space Empires IV Gold\TDM-ModPack\Data

And it works fine.

Lemmy August 4th, 2002 12:46 AM

Re: SE4TTV : Version 1.1 available
 
like Byte said, change the entry in se4tv.ini

Quote:

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.
<font size="2" face="Verdana, Helvetica, sans-serif">That's my next step, possibly adding the bitmaps of the components/techs/vehicle sizes to the button, maybe even make the buttons look like se4 buttons.
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

Ruatha August 4th, 2002 06:49 PM

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.

Lemmy August 4th, 2002 10:26 PM

Re: SE4TTV : Version 1.1 available
 
do you know what jre Version you are using?

Ruatha August 4th, 2002 10:41 PM

Re: SE4TTV : Version 1.1 available
 
Quote:

Originally posted by Lemmy:
do you know what jre Version you are using?
<font size="2" face="Verdana, Helvetica, sans-serif">1.4.0 (The latest non-beta, after it didn't work I downloaded the latest from the site today)

Ruatha August 4th, 2002 10:57 PM

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"

Ruatha August 4th, 2002 11:00 PM

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"

Lemmy August 5th, 2002 12:43 AM

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?

Binford August 5th, 2002 05:11 AM

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?

Lemmy August 5th, 2002 10:42 AM

Re: SE4TTV : Version 1.1 available
 
Quote:

Originally posted by Binford:

I was looking for a util to tell me what I actually gained at a given level. Foe example: Destroyer at Ship 3.

<font size="2" face="Verdana, Helvetica, sans-serif">did you click on the button, for example clicking on Ship Construction 3 would give you a new window with the following info:
Quote:

Ship Construction 3

Required techs:
Ship Construction 2

New techs:
Ship Construction 4

New vehicle sizes:
Destroyer

<font size="2" face="Verdana, Helvetica, sans-serif">you may have to scroll down in the window to see it.

Ruatha August 5th, 2002 04:13 PM

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.

Ruatha August 5th, 2002 04:19 PM

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

Ruatha August 5th, 2002 04:23 PM

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.

Lemmy August 5th, 2002 06:13 PM

Re: SE4TTV : Version 1.1 available
 
Swedish doesn't matter, i got the Dutch Version

Ruatha August 5th, 2002 06:18 PM

Re: SE4TTV : Version 1.1 available
 
Then I'm Dumbfunded

Lemmy August 5th, 2002 06:21 PM

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"

Ruatha August 5th, 2002 11:41 PM

Re: SE4TTV : Version 1.1 available
 
Quote:

Originally posted by Lemmy:
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"

<font size="2" face="Verdana, Helvetica, sans-serif">It said:
"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.&lt;init&gt;(TreePanel.java:2 3)
at techviewer.TreeGUI.&lt;init&gt;(TreeGUI.java:21)
at MainGUI.&lt;init&gt;(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 ]

Ruatha August 5th, 2002 11:50 PM

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

oleg August 6th, 2002 12:48 PM

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.

Elowan August 10th, 2002 06:43 PM

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

Lemmy August 10th, 2002 08:01 PM

Re: SE4TTV : Version 1.1 available
 
could you post a sceenshot, or paste the complete error?

Ruatha August 10th, 2002 11:00 PM

Re: SE4TTV : Version 1.1 available
 
Quote:

Originally posted by oleg:
Wow, you must have a very interesting Windows set-up. "program files" is present as a default in every Windows installations I ever saw.
<font size="2" face="Verdana, Helvetica, sans-serif">Only in English Versions, As I use the swedish It's "Program" thats default.

Lemmy August 23rd, 2002 05:01 PM

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...

Lemmy August 23rd, 2002 05:08 PM

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 ]

Gryphin August 25th, 2002 03:30 PM

Re: SE4TTV : Version 1.1 available
 
Lemmy,
Please help.
When I run the "run.bat" I get:

"F:\Space Empires IV Gold\Data&gt;set

F:\Space Empires IV Gold\Data&gt;java
Bad command or file name

F:\Space Empires IV Gold\Data&gt;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 ]

Lemmy August 25th, 2002 06:08 PM

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 -&gt; C:\j2sdk1.4.0\bin\java (that's where it is with me)

Gryphin August 25th, 2002 11:54 PM

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.

Lemmy August 26th, 2002 12:13 AM

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 ]

Gryphin August 26th, 2002 02:14 PM

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.