[TOOL] Train Fever Model Viewer

Home Forums Modding [TOOL] Train Fever Model Viewer

Tagged: , ,

  • This topic has 73 replies, 18 voices, and was last updated 9 years ago by Omich.
Viewing 15 posts - 16 through 30 (of 74 total)
  • Author
    Posts
  • #9614
    Omich
    Participant

    For 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.

    #9627
    Railtim
    Participant

    Thanks a lot, it’s working now. Looking forward to the GUI version!

    #9832
    Omich
    Participant

    Version 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.

    #10413
    DasMatze
    Participant

    When 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 9 years, 6 months ago by DasMatze.
    #10452
    Tattoo
    Participant

    Thank you for all your hard work. 🙂

    #10454
    Jey_Bee
    Participant

    Same problem as @DasMatze

    Looks fine but dosn´t work at the moment.

    #10468
    Omich
    Participant

    Guys, please, post a screenshot or copy text of the error message. It may help me to find bug faster.

    #10469
    Jey_Bee
    Participant

    Ok.. 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.

    #10479
    Tattoo
    Participant

    Here’s the error I get.

    http://i.imgur.com/myAAbT7.png

    #10499
    Skiwee
    Participant

    I get the same error as Jey_Bee & Tattoo

    try’d re-installing .net, not the issue running “Windows 7 64bit”

    #10501
    starman001
    Participant

    Same 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 9 years, 6 months ago by starman001.
    #10514
    Tattoo
    Participant

    Yes, 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.

    #10519
    Omich
    Participant

    Thanks 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:

    http://sourceforge.net/projects/luabinaries/files/5.2.3/Windows%20Libraries/Dynamic/lua-5.2.3_Win64_dll12_lib.zip/download

    #10520
    DasMatze
    Participant

    Now it says something like “The indexpoint “luanet_registryindex” could not be found in “lua52″.”

    • This reply was modified 9 years, 6 months ago by DasMatze.
    #10528
    Omich
    Participant

    I 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 9 years, 6 months ago by Omich.
Viewing 15 posts - 16 through 30 (of 74 total)
  • The forum ‘Modding’ is closed to new topics and replies.