Jump to content
The Dark Mod Forums

TDM won't run after Windows10 upgrade.


grayman

Recommended Posts

Since the Windows 10 upgrade is still freely available, and suspecting it would no longer be after Win7 support ends in January, I decided to bite the bullet and do the nasty. Also, my Win7 was beginning to hiccup.

Hahahahahaha. One farking dead-end after another until it finally seems to be stable. Even dealt with the "white screen of death".

Unfortunately, I needed to recover my Win7 back to a years-earlier recovery point before installing Win10, which lost me a number of programs which I am now in the process of restoring.

Even though I've installed the Visual Studio 2017 redistributable package, I'm getting these errors when starting TDM:

missing VCRUNTIME140.dll

missing ucrtbase.dll

I checked the Windows/System32 folder, and both dlls are present.

Any suggestions?

Thanks.

  • Like 1
Link to comment
Share on other sites

In the TDM base directory there should be "vcredist_x64.exe" and "vcredist_x86.exe". Try running that and installing that? It might help with the VCruntime dll at least.

 

Also sometimes you need to register DLL's. The command is

 

regsvr32 “C:\Windows\System32\NAME.dll”

 

Replacing name with the name of the dll.

 

I did a fresh install of Windows 10 myself and have had a pretty good time on it, the only issue is that a couple of times Microsoft have released an update which has given me a bit of a problem. But overall it runs pretty well.

 

Maybe a fresh install would have been better than just upgrading.

  • Like 2
Link to comment
Share on other sites

I second Goldwell's proposal: run the vcredist executables located in your TDM root directory.

Aside from that, TDM 2.08 will no longer depend on VC redistributable (just like it was until 2.05), so you should be able to run SVN version on a fresh Windows.

UPDATE: Finally, if nothing helps, you can use procmon to see where it looks for these DLLs. But this would take considerable time and effort.

P.S. Upgrades "through several major versions" are rarely pain-free. Windows 10 already had 5-10 revisions released.

  • Like 2
Link to comment
Share on other sites

Classic dll hell
I for one am deeply frustrated but those errors. Since it just works for everyone else, it's clearly a MS ball drop.

VC14 is vs2015, right? Didn't we compile 2.07 with 2017?

Do you have the VS2017 installed and does it also fails when run under debugger? See what toolset is configured in VS solution config. After that, only MS support can help.

Link to comment
Share on other sites

 

1 hour ago, duzenko said:

Didn't we compile 2.07 with 2017?

Yes, we compiled it with VC 2017. Of course, it needs proper redist package to be installed.

To be honest, the only thing which surprises me is that TDM 2.07 works fine but TDM 2.07-hotfix does not. This is almost the same code built with same tools and settings. How can it be?

Link to comment
Share on other sites

13 hours ago, stgatilov said:

 

Yes, we compiled it with VC 2017. Of course, it needs proper redist package to be installed.

To be honest, the only thing which surprises me is that TDM 2.07 works fine but TDM 2.07-hotfix does not. This is almost the same code built with same tools and settings. How can it be?

The only thing coming to mind is one being x32 and other x64

Link to comment
Share on other sites

Couple things I try if DLLs are not found is:

1. run the EXE as administrator.

2. check the file paths by dropping to CMD prompt and typing PATH to see if the DLLs can be found.

3. sometimes I copy the DLLs directly into the program path so it doesn't have to hunt them down.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 3 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...