Editor 1.04b Specific Error Message

Post bug reports and ask for support here.

Moderator: doomtrader

Post Reply
User avatar
Omnius
Posts: 855
Joined: Fri Jun 22, 2012 12:10 pm
Location: Salinas, CA

Editor 1.04b Specific Error Message

Post by Omnius »

I've tried very hard to get the Time of Fury editor version 1.04b to work to no avail. Even after extracting the files I still get the same Windows error message. I know Microsoft won't do anything to help, they'll say it's the other program's fault. I sure hope doomtrader will see this and can figure out what the error message means and how I can fix it. I had to write down the whole first error message I get going into the editor program, and part of the second error message I get any time I touch a key, any key.

Error Message #1 entering program - always

System.ArgumentNullException:
This method does not accept null for this parameter. Parameter name: texture
at Microsoft.Xna.Framework.Graphics.SpriteBatch.InternalDraw (Texture2D texture, Vector4&destination, Boolean scaleDestination, Nullable1&sourceRectangle, Color color, Single rotation, Vector2&origin, SpriteEffects effects, Single depth.)
at Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(Texture2D texture, Vector2position, Color color)
at To FEdytor.MapViewerControl.RedrawMap()
at ToFEdytor.MapViewerControl.Draw()

Error Message #2 any time I touch any key - always

(top of error message box) ToF Scenario Editor

Unhandled exception has occurred in your application. If you click Continue the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. XNA Framework Reach profile supports a maximum Texture2D size of 2048.

Under the Details tab I copied the details

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NotSupportedException: XNA Framework Reach profile supports a maximum Texture2D size of 2048.
at Microsoft.Xna.Framework.Graphics.ProfileCapabilities.ThrowNotSupportedException(String message, Object arg1, Object arg2)
at Microsoft.Xna.Framework.Graphics.Texture2D.ValidateCreationParameters(ProfileCapabilities profile, Int32 width, Int32 height, SurfaceFormat format, Boolean mipMap)
at Microsoft.Xna.Framework.Graphics.RenderTarget2D.CreateRenderTarget(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, Int32 preferredMultiSampleCount, RenderTargetUsage usage)
at Microsoft.Xna.Framework.Graphics.RenderTarget2D..ctor(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, Int32 preferredMultiSampleCount, RenderTargetUsage usage)
at ToFEdytor.MapViewerControl.Initialize()
at ToFEdytor.GraphicsDeviceControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.Show()
at ToFEdytor.SplashScreen.timer2_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.296 (RTMGDR.030319-2900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Time Of Fury Editor
Assembly Version: 1.0.2.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Eric%20Larsen/Documents/My%20Games/Time%20of%20Fury/Time%20of%20Fury%20Editor/Time%20of%20Fury%20Editor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.278 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.282 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.296 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.Xna.Framework
Assembly Version: 4.0.0.0
Win32 Version: 4.0.20823.0 built by: xnabldr
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/Microsoft.Xna.Framework/v4.0_4.0.0.0__842cf8be1de50553/Microsoft.Xna.Framework.dll
----------------------------------------
Microsoft.Xna.Framework.Graphics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.20823.0 built by: xnabldr
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/Microsoft.Xna.Framework.Graphics/v4.0_4.0.0.0__842cf8be1de50553/Microsoft.Xna.Framework.Graphics.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.



I sure hope this helps doomtrader figure out my problem. I think I've seen something like the Details error message posted by other players in the editor thread. Is there some setting I need to make when in the Properties section of the application file? Is there some other Windows setting I need to change to make the editor work properly? Seems like I need to up size something to do with the 2D Texture, or that there is a null amount in a field that requires a non null number. Anyway it sure would be nice if someone can figure this out and get the editor working for me.
Thanks,

Omnius
User avatar
Omnius
Posts: 855
Joined: Fri Jun 22, 2012 12:10 pm
Location: Salinas, CA

A Little Help Please

Post by Omnius »

It sure would be nice if someone could give me some kind of answer that would get me into the editor with it working properly. Very frustrating that I did what the instructions told me to do but I just don't get the whole editor program working, only a partial working that shows me the Zoom bar and the boxes below it but nothing else.
Omnius
Post Reply

Return to “Tech Support”