Digital Paint Discussion Board

Digital Paint Community => Other Stuff => Topic started by: Narga on November 29, 2012, 09:25:27 PM

Title: Quake 2 Visual Studio Work space files are corrupt
Post by: Narga on November 29, 2012, 09:25:27 PM
I downloaded the Quake 2 source code from Github and for some reason the VS work space files are corrupt.
Title: Re: Quake 2 Visual Studio Work space files are corrupt
Post by: jitspoe on November 30, 2012, 12:44:35 AM
I don't think there's anything anybody here can do about it...
Title: Re: Quake 2 Visual Studio Work space files are corrupt
Post by: Narga on November 30, 2012, 04:30:10 PM
I don't think there's anything anybody here can do about it...

Is it a problem with my computer or the files? Is there some where else I can download them?
Title: Re: Quake 2 Visual Studio Work space files are corrupt
Post by: Narga on December 03, 2012, 12:43:39 PM
It turns out that the project files weren't actually corrupt, what's wrong is that I don't have the required platform(s). You can read more about it here (http://blogs.msdn.com/b/vcblog/archive/2010/03/02/visual-studio-2010-c-project-upgrade-guide.aspx).

I don't think the express version of Visual Studio allows people to add platforms, so I guess I'm out of luck.
Title: Re: Quake 2 Visual Studio Work space files are corrupt
Post by: Narga on December 04, 2012, 04:21:43 AM
Would it be possible to manually import the quake 2 files into a new version of Visual Studio? If so do I need to maintain the same solution explorer structure and disk folder structure from the old solution?
Title: Re: Quake 2 Visual Studio Work space files are corrupt
Post by: Narga on December 04, 2012, 08:59:39 PM
For some reason, when I download the source code off of Id's FTP site (ftp://ftp.idsoftware.com/) the Visual Studio Work Space file upgrades smoothly to Visual Studio 2008, unlike the one from github which has that "corrupt file" error.

Of course, if I upgrade it to Visual Studio 2010 or newer I get that stupid "$(targetpath) doesn't match the linker's output file directory" error.

I figured out how to change $(targetpath) but it seems like the librarian's output file directory is different from the linker's output file directory. I can have $(targetpaht) mach one or the other but not both.

Can I change the linker's output file directory and the librarian's output file directory to match $(targetpath) instead? If so how do I change the librarian's output file directory?
Title: Re: Quake 2 Visual Studio Work space files are corrupt
Post by: Narga on December 05, 2012, 07:42:52 PM
Strange, when I build the solution I don't get the "$(targetpath) doesn't match the linker's output file directory" error. Instead, I get these errors.