- This topic has 73 replies, 18 voices, and was last updated 9 years, 9 months ago by
Omich.
-
AuthorPosts
-
October 10, 2014 at 08:14 #11317
Tattoo
ParticipantOctober 10, 2014 at 08:25 #11318DasMatze
ParticipantAnother thing are multiple submeshes. Only the first submesh is showing. See the trees for basegame content examples.
October 16, 2014 at 15:22 #11807Omich
ParticipantI will add multiple sub-mesh support and better material support into TFMC and TFMV in next version. However, don’t know exactly when, maybe next week.
October 20, 2014 at 19:51 #12141viniciusjarina
ParticipantHi @Omichi
If you want to use NLua/KeraLua for both x86 and x64 just create a x86 and x64 folder in the same directory of KeraLua and put the lua52.dll on the respective folder.
NLua.dll
KeraLua.dll
+ x86
lua52.dll
+x64
lua52.dllAlso. NLua will not work with the regular lua52.dll from luabinaries (because there is a few more methods added to the Lua52.dll like luanet_pcall and others. The binary lua52 available from NLua website/github is 100% compatible with the original Lua, actually is even better because the oficial release doesn’t contain the latest patches http://www.lua.org/bugs.html#5.2.3-2.
November 12, 2014 at 12:55 #13240olahaldor
ParticipantI have downloaded the latest version, as I haven’t tried the one with GUI yet. I keep getting error messages and can’t open anything (model, mesh or groups).
I have of course installed Visual C++ redist and dotNetFX prior to opening the model viewer v 0.3.1
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at KeraLua.NativeMethods.LuaLNewState()
at NLua.Lua..ctor()
at TFMV.ContentManager.LoadModel(String FileName)
at TFMV.MainForm.OpenModel(String FileName)
at TFMV.MainForm.<.ctor>b__0(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.34014 built by: FX45W81RTMGDR
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:///D:/Users/Ola%20Haldor/0.3.1/TFMV.exe
—————————————-
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
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.33440 built by: FX45W81RTMREL
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.34239 built by: FX452RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
—————————————-
OpenTK.GLControl
Assembly Version: 1.1.0.0
Win32 Version: 1.1.1589.5942
CodeBase: file:///D:/Users/Ola%20Haldor/0.3.1/OpenTK.GLControl.DLL
—————————————-
OpenTK
Assembly Version: 1.1.0.0
Win32 Version: 1.1.1589.5942
CodeBase: file:///D:/Users/Ola%20Haldor/0.3.1/OpenTK.DLL
—————————————-
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
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:///D:/Users/Ola%20Haldor/0.3.1/NLua.DLL
—————————————-
KeraLua
Assembly Version: 1.3.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///D:/Users/Ola%20Haldor/0.3.1/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.
-
This reply was modified 10 years, 3 months ago by
olahaldor.
November 13, 2014 at 01:39 #13284Tattoo
ParticipantIs anyone else having problems with the model viewer and the newest version of TF?
I can’t get this to work now.I’ve actually reinstalled Windows 7 and everything else but I reinstalled vcredist_x86.exe and it still doesn’t work now. I also have NO mods installed. I’m trying to open default vehicles and the model viewer keeps freezing up.
EDIT: I got this to work finally after trying a bunch of different files. It started to work after I installed the visual studio 2013 x64 bit file. I also installed the x86 version.
January 11, 2015 at 02:03 #15888Skiwee
ParticipantSo I’ve finally discovered the reason my mods don’t map textures in the TFMV, I just don’t know what the cause is.
What I think might be the cause;
• Sketchup method of handeling layers.
• Sketchup exporting as .3ds (also Sketchup’s .3ds export is the only format that won’t crash the converter).
• Sketchup exporter periodResults;
• When exporting just Textures and not Materials to .3ds, I have missing objects (still textures arn’t mapped).
• When I have the materials as texture in Sketchup “Color by Layers” then export the material is rotated 90˚ on some faces and shifted on others.
• When rotating/flipping UVmap with either Texture or Material still doesn’t display correct.My next step was install Blender and TF-plugin tool and import my model but still when I export from blender I get the same result despite the material being correctly mapped in Blender.
What am I missing?
How are you guys getting yours mods to display correctly in TFMV?
I’m using Sketchup 8, also converting from Sketchup 14 yields the same result.
And no TFMV isn’t the issue as all other models and mods display correct.January 23, 2015 at 15:57 #16280olahaldor
ParticipantOmich, any chance you could look at the bugs we’re getting? Rather.. 0.3.1 won’t open any files – I get that crash no matter what, even though I’ve installed the Microsoft .NET and Visual C++ packages you mention in your post.
January 23, 2015 at 16:05 #16281olahaldor
ParticipantI found the 0.3.3 (which isn’t linked to in your opening post btw) through your profile and a post of yours. Still not working. :/
January 23, 2015 at 16:31 #16282olahaldor
ParticipantSorry for spamming the forums. I found a solution though.
I downloaded TFMV 0.3.2 to see if that worked. It did!! But it didn’ have the bounding box update. So I tried something wild – I copied the .dll files from the 0.3.2 version and replaced it in the 0.3.3 version. That worked too!! 🙂
January 23, 2015 at 16:56 #16284Skiwee
ParticipantSweet have 0.3.3 working now too thx!
February 24, 2015 at 23:47 #17123knuckles88
ParticipantCan anyone link me to version 0.3.2 and/or 0.3.3? I’ve been experiencing the same problem as olahaldor mentioned two or three posts ago, and I want to try the same fix, but all the download links I can find for those versions point to Omich’s personal website and no longer work.
March 8, 2015 at 02:42 #17782Zonta
ParticipantHey I have the following problem : (I use 0.3.1)
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at KeraLua.NativeMethods.LuaLNewState()
at NLua.Lua..ctor()
at TFMV.ContentManager.LoadModel(String FileName)
at TFMV.MainForm.OpenModel(String FileName)
at TFMV.MainForm.<.ctor>b__0(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.34209 built by: FX452RTMGDR
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:///Z:/TrainFever/TFMV.exe
—————————————-
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
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.34209 built by: FX452RTMGDR
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.34238 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
—————————————-
OpenTK.GLControl
Assembly Version: 1.1.0.0
Win32 Version: 1.1.1589.5942
CodeBase: file:///Z:/TrainFever/OpenTK.GLControl.DLL
—————————————-
OpenTK
Assembly Version: 1.1.0.0
Win32 Version: 1.1.1589.5942
CodeBase: file:///Z:/TrainFever/OpenTK.DLL
—————————————-
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
—————————————-
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
—————————————-
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
—————————————-
IconOverlayClient
Assembly Version: 1.0.0.1
Win32 Version: 1.0.0.1
CodeBase: file:///C:/Program%20Files/Box/Box%20Sync/IconOverlayClient.DLL
—————————————-
SharpShell
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files/Box/Box%20Sync/SharpShell.DLL
—————————————-
System.ServiceModel
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
—————————————-
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
—————————————-
SMDiagnostics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
—————————————-
System.ServiceModel.Internals
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
—————————————-
System.IdentityModel
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll
—————————————-
NLua
Assembly Version: 1.3.0.0
Win32 Version: 1.3.0
CodeBase: file:///Z:/TrainFever/NLua.DLL
—————————————-
KeraLua
Assembly Version: 1.3.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///Z:/TrainFever/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.
But I do saw the link toward 0.3.3 but on the page I get this
Ошибка сервера
404 – файл или каталог не найден.
Запрашиваемый ресурс перемещен, переименован либо временно недоступен.April 21, 2015 at 12:06 #18440Omich
ParticipantI released source code of all my Train Fever tools on GitHub under MIT License.
https://github.com/NyanOmich/TrainFeverTools
Also you can get latest binaries from here:
https://github.com/NyanOmich/TrainFeverTools#latest-binaries
Most tools are outdated, have many undone features and known bugs. I have no much time to fix and improve them for a long time. But may be they will be useful to someone.
-
This reply was modified 10 years, 3 months ago by
-
AuthorPosts
- The forum ‘Modding’ is closed to new topics and replies.