| 
 | 
     
    
    
    
     
    
    
    
 
    
    
 
    
     
    
    
    
     
    
    
    
     
    
    
    
 
    
    
 
    
    
 | 
       | 
      
 
 
	
	
	
	
	
	
	
	
		  | 
	
	 | 
 
 
		
	
	
	
		
	
	
	
		
		
		
			
			 
			
				October 30th, 2006, 01:12 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Sergeant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Feb 2001 
					Location: Belmont, CA USA 
					
					
						Posts: 285
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Space Empires V Editor 1.0 released
	
			 
             
			
		
		
		
		Version 1.0 of an editor for Space Empires V data is now available.  Currently, it will only edit facilities and there's a lot of work left to do, but I figure I can at least get some feedback now while I work on the component editor. 
Please feel free to use this thread to provide any feedback.
 http://www.devnullsoftware.com/se5 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				October 30th, 2006, 04:13 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Corporal 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Nov 2001 
					
					
					
						Posts: 148
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Space Empires V Editor 1.0 released
			 
             
			
		
		
		
		I jumped on it, downloaded it, installed it, ran it and then: 
See the end of this message for details on invoking  
just-in-time (JIT) debugging instead of this dialog box. 
 
************** Exception Text ************** 
System.FormatException: Input string was not in a correct format. 
   at System.Number.ParseDouble(String s, NumberStyles style, NumberFormatInfo info) 
   at System.Double.Parse(String s, NumberStyles style, IFormatProvider provider) 
   at System.Convert.ToDouble(String value) 
   at dotMath.EqCompiler.Paren() 
   at dotMath.EqCompiler.Sign() 
   at dotMath.EqCompiler.Power() 
   at dotMath.EqCompiler.MultDiv() 
   at dotMath.EqCompiler.AddSub() 
   at dotMath.EqCompiler.Relational() 
   at dotMath.EqCompiler.Compile() 
   at Se5Editor.MainForm.IsValidFormula(String formula) 
   at Se5Editor.Facility.Validate(Int32 sections) 
   at Se5Editor.Facility.Read(StringCollection lines, Int32 fileOrder, Int32& currentLine) 
   at Se5Editor.FacilitiesForm.ReadFacilitiesFile(String filePath) 
   at Se5Editor.FacilitiesForm.FacilitiesForm_Load(Objec  t sender, EventArgs e) 
   at System.Windows.Forms.Form.OnLoad(EventArgs e) 
   at System.Windows.Forms.Form.OnCreateControl() 
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) 
   at System.Windows.Forms.Control.CreateControl() 
   at System.Windows.Forms.Control.WmShowWindow(Message& m) 
   at System.Windows.Forms.Control.WndProc(Message& m) 
   at System.Windows.Forms.ScrollableControl.WndProc(Mes  sage& m) 
   at System.Windows.Forms.ContainerControl.WndProc(Mess  age& m) 
   at System.Windows.Forms.Form.WmShowWindow(Message& m) 
   at System.Windows.Forms.Form.WndProc(Message& m) 
   at System.Windows.Forms.ControlNativeWindow.OnMessage  (Message& m) 
   at System.Windows.Forms.ControlNativeWindow.WndProc(M  essage& m) 
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) 
 
 
************** Loaded Assemblies ************** 
mscorlib 
    Assembly Version: 1.0.5000.0 
    Win32 Version: 1.1.4322.573 
    CodeBase: file:///d:/windows/microsoft.net/fra...2/mscorlib.dll 
---------------------------------------- 
Se5Editor 
    Assembly Version: 1.0.0.0 
    Win32 Version: 1.0.0.0 
    CodeBase: file:///D:/Documents%20and%20Setting.../Se5Editor.exe 
---------------------------------------- 
System.Windows.Forms 
    Assembly Version: 1.0.5000.0 
    Win32 Version: 1.1.4322.573 
    CodeBase: file:///d:/windows/assembly/gac/syst...dows.forms.dll 
---------------------------------------- 
System 
    Assembly Version: 1.0.5000.0 
    Win32 Version: 1.1.4322.573 
    CodeBase: file:///d:/windows/assembly/gac/syst...089/system.dll 
---------------------------------------- 
System.Drawing 
    Assembly Version: 1.0.5000.0 
    Win32 Version: 1.1.4322.573 
    CodeBase: file:///d:/windows/assembly/gac/syst...em.drawing.dll 
---------------------------------------- 
 
************** JIT Debugging ************** 
To enable just in time (JIT) debugging, the config file for this 
application or machine (machine.config) must have the 
jitDebugging value set in the system.windows.forms section. 
The application must also be compiled with debugging 
enabled. 
 
For example: 
 
<configuration> 
    <system.windows.forms jitDebugging="true" /> 
</configuration> 
 
When JIT debugging is enabled, any unhandled exception 
will be sent to the JIT debugger registered on the machine 
rather than being handled by this dialog. 
Hope you can see what's wrong. (I ran it on the SEV unmodded facilities.txt file)    
		
	
		
		
		
		
		
		
		
		
		
	
		
			
			
			
			
				 
			
			
			
			
            
			
			
				
			
			
			
		 
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				October 30th, 2006, 04:23 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Private 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Oct 2006 
					
					
					
						Posts: 32
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Space Empires V Editor 1.0 released
			 
             
			
		
		
		
		Elsemeravin: 
I don't think it was meant to run on the base facilities.  I don't know why anyone would want to do that in the first place.  You need to make a gameType, copy data > facilities.txt into your mod folder then run the editor on your gameType directory.  Worked great for me.
 
Wow, great program.  The Formula Wizard makes it stupidly easy to mod/create facilities now.
 
Only beef right now is a small one: the error message in the formula wizard, the bright colors are too much, and yellow on red is hard to see.  
 
Really Dev, this is a great boon for the Se5 community.  When this is finished hopefully the balance mod will get some competition   .
 
p.s. The Abilities section is just stupendous.  Also, are you planning on going all the way with this, say, having a code editor for modding the ai_scripts as well?  Or are you just doing the game contents?  Either way it will be invaluable.  
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				October 30th, 2006, 04:55 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Sergeant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Feb 2001 
					Location: Belmont, CA USA 
					
					
						Posts: 285
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Space Empires V Editor 1.0 released
			 
             
			
		
		
		
		That's correct, it wasn't meant to be run on the SE5/Data folder.  Obviously, I need to enforce the folder-choosing rules a bit better   
I also think I need to make a function to "create new mod folder".  In addition, when you open a data file, if it doesn't exist in your current mod folder, read the base-file and save the changed file to the mod directory.
 
I'm not sure any of that answers the problems that elsemeravin is having though.  A few questions for you, Elsemeravin:
 
1) Do you have .NET Framework 1.1 or above on your computer? 
2) Do you have SEV version 1.08? 
3) Have you modified the faciltiies.txt it's reading?  What it looks like is happening is that it's expecting a number and its getting a string or .. something?  
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				October 30th, 2006, 10:56 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Sergeant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jun 2006 
					
					
					
						Posts: 238
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Space Empires V Editor 1.0 released
			 
             
			
		
		
		
		Thanks for all the work- downloading now     
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				October 30th, 2006, 11:19 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Sergeant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jun 2006 
					
					
					
						Posts: 238
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Space Empires V Editor 1.0 released
			 
             
			
		
		
		
		Works great so far. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				October 30th, 2006, 12:56 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Brigadier General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jun 2002 
					Location: Kleigat Pampercity 
					
					
						Posts: 1,804
					 
					 
	Thanks: 5 
	
		
			
				Thanked 2 Times in 2 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Space Empires V Editor 1.0 released
			 
             
			
		
		
		
		Fantastic! Absolutely fabulous! 
I hope we won't have to wait on the component editor for long. That will be the most used editor I guess. 
Top notch.    
		
	
		
		
		
		
		
		
			
				__________________ 
				I can only please one person per day, and today is not your day. And tomorrow isn't looking too good either. 
Gabriella in  Blood 2
Men may control the free world, but women control the boobs. 
Brent in  Plaver vs. Player
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				October 30th, 2006, 02:14 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Shrapnel Fanatic 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jul 2001 
					Location: Southern CA, USA 
					
					
						Posts: 18,394
					 
					 
	Thanks: 0 
	
		
			
				Thanked 12 Times in 10 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Space Empires V Editor 1.0 released
			 
             
			
		
		
		
		Devnullicus said: 
1) Do you have .NET Framework 1.1 or above on your computer? 
 
If he did not, there would be no JIT debugger to give such error dumps. Suppose he could have 2.0, but it is backwards-compatible. 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				October 30th, 2006, 04:01 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Sergeant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Feb 2001 
					Location: Belmont, CA USA 
					
					
						Posts: 285
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Space Empires V Editor 1.0 released
			 
             
			
		
		
		
		Ah, ok, wasn't sure.  This is my first real foray into C# land, so I'm unsure of how everything works yet.  Some of the DLL versions led me to believe that he does have 1.1, but I wanted to make sure. 
 
I think the next step is for me to get a copy of your facilties.txt, elsemeravin, so I can run it locally and see where it's barfing.  Can you post that for me? 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				October 30th, 2006, 04:08 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				National Security Advisor 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Nov 2000 
					
					
					
						Posts: 5,085
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: Space Empires V Editor 1.0 released
			 
             
			
		
		
		
		Loads fine for me, but the forumla parser isn't as strict as SEV's is. 
 
For example, in the editor putting one ( and two ) works fine; that'll cause an error on file loading for SEV. 
		
	
		
		
		
		
		
		
			
				__________________ 
				Phoenix-D
 
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation. 
- Digger
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
 
	
		
	
	
	
	
	
	
	
		
	
		 
		Posting Rules
	 | 
 
	
		
		You may not post new threads 
		You may not post replies 
		You may not post attachments 
		You may not edit your posts 
		 
		
		
		
		
		HTML code is On 
		 
		
	  | 
 
 
	 | 
	
		
	 | 
 
 
     |  
 |