.
Results 1 to 8 of 8

Thread: Common missing .dll file errors and how to solve them...

  1. #1
    Join Date
    Nov 2006
    Location
    United Kingdom, Worcestershire
    Posts
    30,798
    Blog Entries
    22
     

    Lightbulb Common missing .dll file errors and how to solve them...

    Moderators - if this is in the wrong place, please put it in the correct place.

    Hi Trainzers,

    This is a bit of a mini-guide on some of the common missing file errors found when installing or running Trainz.

    If other users wish to link to this, you are welcome to.

    If other users are aware of any other common missing file errors in Trainz, let me know by replying to this post or contacting me directly. As always, comments are welcome but please keep them civil if possible.

    Error 1 - The file 'd3dx9_43.dll' is missing

    This particular file is part of the DirectX 9.0C set of files. If you get this error it usually means one of two things.


    • You have DirectX 9.0C installed, but it is not up to date
    • You haven't got DirectX 9.0C installed


    The first of the two is usually the case especially if you have a version of Windows later than XP. These versions usually only have a subset of the DirectX 9.0C files installed rather than the full set.

    The solution is to download the DirectX installer. The version required depends on which version of Windows you have. For Windows XP or earlier, the web installer is sufficient, however for later versions of Windows you will need to install the redistributable version as the web installer has problems installing DirectX 9 on newer operating systems from my experience.

    I have instructions over at http://forums.auran.com/trainz/showt...c-how-to-do-it on how to install DirectX 9.0C as well as a link to my automated DXInstallHelper tool which can simplify DirectX installation.

    The number at the end of the filename may vary slightly though.

    Error 2: The file 'msvcr120.dll' or 'msvcp120.dll' is missing

    This particular error seems to crop up with Trainz A New Era mainly but may appear with older versions. These files are part of the Visual C++ redistributable for Visual Studio 2013.

    The fix for this is to download the relevant version of the Visual C++ 2013 files from https://www.microsoft.com/en-us/down....aspx?id=40784.

    There are three possible versions of this.

    • The 32-bit version is the vcredist_x86.exe file.
    • The 64-bit version is the vcredist_x64.exe file.
    • The ARM version (for those with this specific processor type) is the vcredist_arm.exe file.


    Simply download and install the relevant version for your computer. You may need both the 32-bit and 64-bit versions for Trainz A New Era though.

    In some instances, the number at the end will vary for older versions. Here's a list of other possibilities:

    80 at the end - this requires the Visual C++ 2005 redistributable files (32-bit version is at https://www.microsoft.com/en-gb/down...s.aspx?id=3387 and the 64-bit version is at https://www.microsoft.com/en-gb/down....aspx?id=18471)

    90 at the end - this requires the Visual C++ 2008 redistributable files (32-bit: https://www.microsoft.com/en-gb/down...ils.aspx?id=29 and 64-bit: https://www.microsoft.com/en-gb/down....aspx?id=15336)

    100 at the end - this requires the Visual C++ 2010 redistributable files (32-bit: https://www.microsoft.com/en-gb/down...s.aspx?id=5555 and 64-bit: https://www.microsoft.com/en-gb/down....aspx?id=13523)

    110 at the end - this requires the Visual C++ 2012 redistributable files (32 and 64 bit available from https://www.microsoft.com/en-us/down....aspx?id=30679 - same naming convention as the Visual C++ 2013 files)

    140 at the end - this requires the Visual C++ 2015 redistributable files (32 and 64 bit available from https://www.microsoft.com/en-gb/down....aspx?id=48145 - same naming convention as Visual C++ 2012 and 2013 versions with the exception of there being no ARM version)

    If I come across any other ones, I will update this thread.

    Shane
    Last edited by shaneturner12; December 27th, 2015 at 10:56 AM.
    Shane Turner
    Technical and DirectX Advisor - Not affiliated with N3V

    My Forum -- PevSoft Tools -- Tutorial List (inc DirectX) -- My Utilities --TrainzTutorials.com

  2. #2
    Join Date
    Nov 2006
    Location
    Australia, NSW, Sydney
    Posts
    7,682
    Blog Entries
    3
     

    Default

    Thank you Shane, that info was a lifesaver when the message "msvcr120.dll is missing ..." popped up instead of the TANE Launcher.
    TRS19 Platinum Edition build 111951

  3. #3
    Join Date
    Nov 2006
    Location
    United Kingdom, Worcestershire
    Posts
    30,798
    Blog Entries
    22
     

    Default

    No worries - that's why this thread is around for dealing with problems like that.

    Shane
    Shane Turner
    Technical and DirectX Advisor - Not affiliated with N3V

    My Forum -- PevSoft Tools -- Tutorial List (inc DirectX) -- My Utilities --TrainzTutorials.com

  4. #4

    Default

    http://www.dll-files.com/fixer/ This programme will allow you to install any .dll in one easy go. It will also check your registry etc for any errors and correct them.

  5. #5
    Join Date
    Nov 2006
    Location
    United Kingdom, Worcestershire
    Posts
    30,798
    Blog Entries
    22
     

    Default

    I don't personally trust programs like that due to the limitations and that it may not install the correct version.

    Shane
    Shane Turner
    Technical and DirectX Advisor - Not affiliated with N3V

    My Forum -- PevSoft Tools -- Tutorial List (inc DirectX) -- My Utilities --TrainzTutorials.com

  6. #6
    Join Date
    Nov 2006
    Location
    United States of America, Ohio
    Posts
    4,228
     

    Default

    I have a Windows 10 machine now and when I attempt to install TANE from the DVD I am told that I am missing the Visual C Redist r120.dll. BUT, there is a twist. When I try to run the 64-bit VCREDIST_X64 I am told "There is already a newer version on your machine". Ok, so now I am at an impasse: I can't install TANE because the DLL isn't present, but the DLL is present and newer. Now what?

    EDIT: When I run the DLL registry command (regsvr32) I am told it cannot find the DLL entry point and fails.

    I also installed the 32-bit redist, which went just fine but is probably useless.

    Bill
    Last edited by HiBaller; April 13th, 2016 at 09:40 AM.

  7. #7
    Join Date
    Nov 2017
    Location
    Canada, ON, Brampton
    Posts
    1
     

    Default

    I have one missing from the Trainz 2019 (platinum edition) installer, it says it's missing "libcrystoMD.dll"

  8. #8
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    3,719
    Blog Entries
    1
     

    Default

    Hi Bigboyscotsman4472
    Are you seeing this error during the installation, or when you try to start Trainz after installation?

    Regards
    Zec Murphy

    Customer Support Rep
    N3V Games (Auran)

    *Please do not use Private Messages for support. Support can only be provided via the helpdesk, or via the forums.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •