- This topic has 73 replies, 18 voices, and was last updated 9 years, 9 months ago by
Omich.
-
AuthorPosts
-
September 22, 2014 at 04:55 #9614
Omich
ParticipantFor example, if you want to open nohab model with texture from game directories and game located at C:\Games\Train Fever\, command-line should looks like:
tfmv.exe “C:\Games\Train Fever\res\models\mesh\vehicle\train\nohab\nohab_lod_0_body.msh” “C:\Games\Train Fever\res\textures\models\vehicle\train\train_nohab.tga”Also, now I working on GUI version.
September 22, 2014 at 10:05 #9627Railtim
ParticipantThanks a lot, it’s working now. Looking forward to the GUI version!
September 24, 2014 at 16:40 #9832Omich
ParticipantVersion 0.3.1 released.
- Now it have GUI;
- Can open msh, grp and mdl files and automatically finds model dependencies;
- Show mesh, LODs, animations, bounding boxes, etc.
You can download it from my site: http://omich.pngamers.org/tfmv.php#en
Also, updated first post.
September 30, 2014 at 09:22 #10413DasMatze
ParticipantWhen I try to open anything I get a .net framework error message that it tried to open a file with a wrong format. I have the most recent .net framework version installed.
-
This reply was modified 10 years, 4 months ago by
DasMatze.
September 30, 2014 at 14:53 #10452Tattoo
ParticipantThank you for all your hard work. 🙂
September 30, 2014 at 15:30 #10454September 30, 2014 at 16:13 #10468Omich
ParticipantGuys, please, post a screenshot or copy text of the error message. It may help me to find bug faster.
September 30, 2014 at 16:16 #10469Jey_Bee
ParticipantOk.. sorry.. here the error-log from windows 7 Ultimate 64bit:
—————————————————————————
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.BadImageFormatException: Es wurde versucht, eine Datei mit einem falschen Format zu laden. (Exception from HRESULT: 0x8007000B)
at KeraLua.NativeMethods.LuaLNewState()
at NLua.Lua..ctor()
at TFMV.ContentManager.LoadMesh(String FileName)
at TFMV.MainForm.OpenMesh(String FileName)
at TFMV.MainForm.<.ctor>b__2(Object sender, CancelEventArgs e)
at System.Windows.Forms.FileDialog.HandleVistaFileOk(IFileDialog dialog)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
—————————————-
TFMV
Assembly Version: 0.3.1.0
Win32 Version: 0.3.1
CodeBase: file:///F:/TrainFever/TF-Modelviewer/TFMV.exe
—————————————-
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
—————————————-
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
—————————————-
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
—————————————-
OpenTK.GLControl
Assembly Version: 1.1.0.0
Win32 Version: 1.1.1589.5942
CodeBase: file:///F:/TrainFever/TF-Modelviewer/OpenTK.GLControl.DLL
—————————————-
OpenTK
Assembly Version: 1.1.0.0
Win32 Version: 1.1.1589.5942
CodeBase: file:///F:/TrainFever/TF-Modelviewer/OpenTK.DLL
—————————————-
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
—————————————-
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
—————————————-
NLua
Assembly Version: 1.3.0.0
Win32 Version: 1.3.0
CodeBase: file:///F:/TrainFever/TF-Modelviewer/NLua.DLL
—————————————-
KeraLua
Assembly Version: 1.3.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///F:/TrainFever/TF-Modelviewer/KeraLua.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.
September 30, 2014 at 17:12 #10479Tattoo
ParticipantHere’s the error I get.
September 30, 2014 at 20:43 #10499Skiwee
ParticipantI get the same error as Jey_Bee & Tattoo
try’d re-installing .net, not the issue running “Windows 7 64bit”
September 30, 2014 at 21:10 #10501starman001
ParticipantSame here. I also use w7 64 bit, but only “home premium”…
Since the error is from MS. net… which version is needed ? Maybe my installed one is to old, or it’s the 64 bit part..
Hope you find a fix for it ! Good looking tool ” it will certainly become helpful for modding 🙂 Keep it up
-
This reply was modified 10 years, 4 months ago by
starman001.
October 1, 2014 at 00:38 #10514Tattoo
ParticipantYes, the images you posted of the gui looked good but it seems like we can’t drag and drop any more. I found that very easy to do.
October 1, 2014 at 04:21 #10519Omich
ParticipantThanks for bug report, guys.
It seem like under x64 system it’s loading wrong dll. I can’t reproduce this error, as I have only x86 computer.
I’m not sure, but for a start, try replacing lua52.dll with this one:
October 1, 2014 at 04:35 #10520DasMatze
ParticipantNow it says something like “The indexpoint “luanet_registryindex” could not be found in “lua52″.”
-
This reply was modified 10 years, 4 months ago by
DasMatze.
October 1, 2014 at 12:16 #10528Omich
ParticipantI have a lot of work, I haven’t time to completely patch and test it now, sorry.
I do not know exactly which version of the lua52.dll is linked with NLua/KeraLua. So, for now you can try another dlls from http://sourceforge.net/projects/luabinaries/files/5.2.3/Windows%20Libraries/Dynamic/
-
This reply was modified 10 years, 4 months ago by
Omich.
-
AuthorPosts
- The forum ‘Modding’ is closed to new topics and replies.