Jump to content
The Dark Mod Forums

Problems building older TDM source code versions


Skaruts

Recommended Posts

I'm trying to compile TDM from source, to explore the engine for total conversion projects. But my hardware is a bit old, and the versions 2.08+ run into this black-menu issue (my gfx card is an ATI Radeon HD 4870, and the proposed solutions don't work), so I have to stick with older versions.

So I tried compiling version 2.07, but it failed to compile. I'm not experienced with Visual Studio, so I'm not sure what to do. I get errors like this one:

Quote

Error    MSB8020    The build tools for v141_xp (Platform Toolset = 'v141_xp') cannot be found. To build using the v141_xp build tools, please install v141_xp build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".    DarkModTools    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets    67    


I tried right-clicking the solution and selecting "retarget solution", but it didn't fix it. I'm still getting the same errors.

I'm not sure how to install the build tools says it requires. I'm on Windows 7 (x64), using VS 2017, so I'm not even sure I could use these build tools. 

Version 2.10 compiles fine, though, but I don't suppose there's something in the code I could easily switch off to make it run on my hardware.

 

 

 

My FMs: By The Cookbook

Link to comment
Share on other sites

v141_xp is VS2017 with Windows XP support.

You need to run Visual Studio installer and find "Windows XP support" there somewhere, enable it and allow installer to download more stuff to your computer. Then it should build fine.

Alternatively, you can change v141_xp to simple v141.

If "retarget solution" does not help, then you can close Visual Studio, then find all .vcxproj files (at least two are important), open them in text editor, then search and replace "v141_xp" with "v141" everywhere.
Or you can go through all projects manually in Visual Studio, look at their properties, and in General section change Platform Toolset to "Visual Studio 2017 (v141)". Be sure to switch to All Configurations and All Platforms before doing so.

  • Like 1
Link to comment
Share on other sites

Changing every "v141_xp" to "v141" did the trick indeed. Everything compiled fine, no errors, and the game runs fine.

Thank you. :)

 

Can I just ask, what are each of the projects for? On a cursory look, it seems like I probably don't have to care about any of them except DarkModTools, which is the actual engine. But I'd like to know for sure.

Also, the code for DarkRadiant isn't included, right? (I don't see any mentions of it.)

My FMs: By The Cookbook

Link to comment
Share on other sites

Darkradiant is a separate project located at this GIT repo:https://github.com/codereader/DarkRadiant

Holy crap, just noticed this on the git repo:

 

 

Initial fork of GTKRadiant SVN respository
17 years ago

 

Damn, it's been a long time

  • Like 1

I always assumed I'd taste like boot leather.

 

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

    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • 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.
      · 7 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
×
×
  • Create New...