UTF Editor
-
writing my own model viewer i encountered a crash when minimizing the 3d window.
after checking i found this bug exists in utf editor too.
so i thought im gonna post the fix, should be easy enough to port to c#.add an event handler to the device.
this->Device->DeviceResizing += gcnew System::ComponentModel::CancelEventHandler(this, &Form1::OnResizingDevice);
the function to be called.
private: void OnResizingDevice(Object^ sender, CancelEventArgs^ e) { if (this->WindowState == FormWindowState::Minimized) e->Cancel = true; }
-
If this has already been mentioned, my apologies.
After having to restore my tower and my FL Editing apps, I have been trying to get UTF 3.0 to function. W/some help from DwnUndr, I was able to get the .net 3.5 installed, and that helped get the app to run, but when I get to try and view a .cmp file, I get this error:
http://imageshack.us/photo/my-images/854/utf3error.jpgAny assistance greatly appreciated.
Fus
-
Run the “DirectX End-User Runtime Web Installer” (dxwebsetup.exe). This installs the missing .NET assemblies and makes it work.
I’ve confirmed this on a machine that was not working.
PS: Periodically check the latest UTFeditor.exe in SVN.
-
Cannon wrote:
Run the “DirectX End-User Runtime Web Installer” (dxwebsetup.exe). This installs the missing .NET assemblies and makes it work.My thx Cannon, that did the trick. As far as updates from the second link, every time I have downloaded and launch the updated exe from there, Windows pops up w/a warning msg. This version I got from Dwn which is prob a early version doesn’t. Creation date is 5/31/11. Any clue as why?
Fus
-
I’ve en error on importing thn
everytime i got thisdon’t know forgott thomething on my side
Runtimes are installedError:
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.************** Ausnahmetext **************
System.Exception: expect ‘duration’
bei THNEditor.ThnParse.Parse(String s)
bei UTFEditor.UTFForm.ImportHardpointsFromTHN(String path)
bei UTFEditor.UTFEditorMain.toolStripMenuItem5_Click(Object sender, EventArgs e)
bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
bei System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
bei System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
bei System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
–--------------------------------------
mscorlib.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.UTFEditor
Assembly-Version: 3.0.0.0.
Win32-Version: 3.0.0.0.
CodeBase: file:///D:/Games/FLMT/UTFEditor.exe.System.Windows.Forms
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.System
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.System.Drawing
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.System.Windows.Forms.resources
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.System.Core
Assembly-Version: 3.5.0.0.
Win32-Version: 3.5.30729.5420 built by: Win7SP1.
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll.System.Configuration
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.System.Xml
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.Microsoft.DirectX.Direct3D
Assembly-Version: 1.0.2902.0.
Win32-Version: 9.05.132.0000.
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll.Microsoft.DirectX
Assembly-Version: 1.0.2902.0.
Win32-Version: 5.04.00.2904.
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll.Microsoft.DirectX.Direct3DX
Assembly-Version: 1.0.2911.0.
Win32-Version: 9.12.589.0000.
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll.************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.Zum Beispiel:
<configuration></configuration>
Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt. -
Will this work for Windows 7. Because I can’t view any CMP model.
-
It was designed in Windows 7. Please make sure you have all the libraries installed.
-
Installed DirectX Runtimes, but I still get this when I try to “Show Model”.
EDIT: Didn’t you say something about a tweak towards recompiling the application?
EDIT2: Never mind, the SVN build works better.
-
Version 2.2 has now been released!
First and foremost, this latest version now runs on the .NET Framework 4.5.2. This gives us more modern features and bugfixes across the board.
Here are the highlights for this new version:
-
Significantly improved node copy/pasting behavior. Nodes are pasted as siblings to the current node as opposed to children (Ctrl+Shift+V allows pasting as children). Copied nodes will include all children. Pasted nodes are renamed if an existing node has the same name, and the rename is smart enough to detect the numbering pattern and continue it (useful for repeatedly pasting a node). Ctrl-selection now works properly.
-
Model viewer has been ported from Managed DirectX to SharpDX, eliminating a now deprecated dependency.
-
Model viewer properly updates when the UTF file is changed in the main window (e.g. adding/removing hardpoints).
-
Completely redesigned camera. Now uses perspective projection, is smoother to move and pivot and zooms around the camera’s origin rather than the model’s. The middle mouse button is now used to pan.
-
Moving hardpoints using the model viewer now provides a consistent and correct orientation and properly matches up when reloaded.
-
Significant performance improvements when copy/pasting numerous hardpoint nodes while the model viewer window is opened.
Please report any issues you may encounter.
-
-
I should probably keep this updated a bit more often…
Version 2.5 has been released! The highlight of this version is a new Resize option in the main menu which will rescale a model by the provided value, preserving hardpoints and animations.
As usual, please report any issues you may encounter.
-
Hi! I have a problem with this version. I can’t zoom in/out, I tried to scroll and use the +/- on the numpad but that didn’t work. Have you the solution to this problem?
Edit : My bad that was the opened files I used that was buggy for the other files it’s OK.
Is there a way to get the zoom factor info in the model viewer? And texture colors are missing in the model viewer.
-
The zoom in the new model viewer isn’t the same as the old one, it’s not quite as clear what the factor means due to a change in interpretation. Why do you want that information, exactly?
Also, you’re going to have to be clearer regarding textures. They load just fine here.
-
Thanks FF the resize feature will be quite useful.
The missing zoom factor was actually one of the first things I noticed. Its pretty handy for comparing size differences between different models. I had been making heavy use of it to reclassify models in our mod based size. I think with the resize feature being able to see the changes via zoom factor would be even more useful. Still, its nice to beable to do the resize without having to fallback on the old FLModelTool or re-importing/exporting the model. -
I mean, the VMeshRef node will give you exact bounding box dimensions for every part of a model. It’s a lot more accurate than any kind of zoom value, especially since the zoom value right now is not a linear operator anymore.
Could try adding sizing info in the viewer but I’m not sure where.