.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Space Empires V Editor 1.0 released (http://forum.shrapnelgames.com/showthread.php?t=31445)

Devnullicus October 30th, 2006 01:12 AM

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

Elsemeravin October 30th, 2006 04:13 AM

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& amp; 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&amp ; 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) http://forum.shrapnelgames.com/images/smilies/happy.gif

pujal October 30th, 2006 04:23 AM

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 http://forum.shrapnelgames.com/image...ies/tongue.gif.

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.

Devnullicus October 30th, 2006 04:55 AM

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 http://forum.shrapnelgames.com/images/smilies/happy.gif

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?

Santiago October 30th, 2006 10:56 AM

Re: Space Empires V Editor 1.0 released
 
Thanks for all the work- downloading now http://forum.shrapnelgames.com/images/smilies/happy.gif

Santiago October 30th, 2006 11:19 AM

Re: Space Empires V Editor 1.0 released
 
Works great so far.

Timstone October 30th, 2006 12:56 PM

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. http://forum.shrapnelgames.com/images/icons/icon14.gif

Fyron October 30th, 2006 02:14 PM

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.

Devnullicus October 30th, 2006 04:01 PM

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?

Phoenix-D October 30th, 2006 04:08 PM

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.


All times are GMT -4. The time now is 07:55 AM.

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