Xna 4.0 projects in XNA 3.0 - xna

Is there a way to open XNA 4.0 projects in XNA 3.0 without installing XNA 4.0.

If you're asking if you can load a project created with VS2010/XNA 4 in VS2008/GS3, then the answer is no.
There are enough differences in not only the XNA assemblies, but how the content pipeline is structured that you really need VS2010 installed. Is there any particular reason you don't want to install v4?

If you're planning to port to XNA 4.0, you can use this XNA 3.1 to 4.0 cheat sheet to help you update your rendering code.

The answer is no. Because there are a lot of changes between them. The content pipeline, drawing states, vertex buffer and format, shader using and windows phone support.

There is a built-in "importer" of sorts if you're going from XNA3.1 to VS2010/XNA4.0 (which i've tried with mixed results), but there isn't a way to go backwards. There are too many libraries and dependencies in 4.0 that simply aren't present in 3.1 or before.

Update the project to XNA 4.0.
Check this page, contains a lot of useful information. Especially the section:
"Are you trying to convert XNA 3.1 projects to XNA 4.0?"
http://nelxon.com/resources/xdsk2.php

You Can't Convert Higher Versions to Lower Versions since some libraries and assemblies don't exist in the lower versions but you can do the opposite,
in other words, you can't convert XNA 4.0 to XNA 3.1 (or you can't open XNA 4.0 in C# 2008) but you can convert XNA 3.1 into XNA 4.0, but still you have to check for the some changes though.
I hope I helped.

I assume you are asking if you can open an XNA 4.0 project in XNA Game Studio 3.0.
You cannot to that. XNA Game Studio 4.0 can only be used with Visual Studio 2010, and XNA Game Studio 3.0 can only be used with Visual Studio 2008.
There might exist unofficial hacks that will allow you to do this. But if you use these hacks, the Content Pipeline integration with VS will not work.

Related

XNA Game Studio 4.0 transfer it to Monogame, is this possible? Thanks

I have made a game in XNA Game Studio 4.0 and been asked to transfer it to Monogame so that it runs in Monogame, is this possible?
The short answer is - yes, it is possible but requires some work. XNA Game Studio 4.0 is a plugin for Visual Studio, but that doesn't matter as much as the fact that the game uses the XNA .dlls, and that it's compiled against the PC platform which impacts things like file IO, reflection, and a few other subtleties.
You'll be able to re-use much of your code, but some stuff will definitely change. To start you'll want to get a simple MonoGame project running, then work on bringing the code over.

DirectX SDK / VS2013 SDK setup

I am a beginning programmer university student and I want to apply myself outside of class with a side project. I wanted to start programming some simple directX stuff in C++ for practice and preparation for future classes.
However, I have Visual Studios 2013 installed and the DirectX SDK June version installed, and I can't seem to find any directX templates in visual studios. In tutorials I have watched, when a person goes into visual studios 2013 and clicks on "Visual C++", they have a lot more templates show up, including DirectX ones.
What step am I missing to be able to see these things in my Visual Studios 2013 professional?
Thank you in advance for the help!
There is no built-in templates for desktop DirectX, since you have installed the DirectX SDK, I recommend you use the Samples/Demos from the SDK(you can find it from DirectX Sample Browser), there is a sample called Empty Project, you can install that sample and write your code based on it.
There are only templates for DirectX Windows Store Apps. I cannot remember if it ever was DirectX Desktop templates in Visual Studio.
On a picture here you can see two default DirectX Windows Store Apps templates and new templates which you can to download.
Probably, in your tutorial there are some home made templates, or those which can be fond on a web. You can easily make your own template too.
If you really want to learn program for Desktop (and as you are trying to use DirectX SDK it is probably what you want), just follow the code that you can find in books and tutorials. Also it is a good idea not to copy any code, but to start your own projects(s) which will develop as long as you will develop your knowledge.
Note, that DirectX SDK was deprecated a while ago (latest version is dating June 2010). You must use Windows SDK for any new code. Though, you can compile old samples (which requires stuff not present in new SDK) with DirectX SDK. You could find interesting some of Q&A on that topic:
DirectX SDK vs Windows SDK: which one to use?
Working with Direct X and VS2012
and this blog on MSDN by Chuck Walbourn - MSFT :
Where is the DirectX SDK?
Where is the DirectX SDK (2013 Edition)?
Living without D3DX
Happy coding! ;)

Build libgit2sharp for .net 2.0

Did anyone succeed in building libgit2sharp using .NET 2.0?
I need to make the library work under VS 2005 and have many 3.5 features to re-write.
Does anyone know of a better way to work under VS 2005 with the library or is there .net 2.0 library version available anywhere?
Is there .net 2.0 library version available anywhere?
There is no official LibGit2Sharp version working against .Net 2.0. Only .Net 3.5 or Mono 2.10 are currently supported.
Does anyone know of a better way to work under VS 2005?
Current version embeds a lightweight compatibility layer to ease a future migration towards .Net 4.0.
Provided you're committed to make it to work against .Net 2.0, I'd suggest you to adapt a similar kind a isolation layer, and (as much as possible, trying to) avoid altering the code of the library. This will ease the backporting of any future LibGit2Sharp update in your project.

Is it possible to use XNA 3.1 on the ZuneHD and save data to the filesystem?

If it is possible, how would you go about doing it?
Yes, it is possible so use XNA 3.1 on the ZuneHD, you just have to have XNA 3.1 installed and then the 3.1 Zune Extenstions.
You can read about those on the XNA Team Blog where they made the announcement originally.
http://blogs.msdn.com/b/xna/archive/2009/09/15/xna-game-studio-3-1-zune-extensions.aspx
For saving data, it works the same as it does on the Xbox 360 so any tutorial sample for that would work the same for the Zune (as long as you're looking at XNA 3.1 samples/tutorials)

Farseer Physics Engine and XNA 4

Anybody did compile Farseer Physics Engine 3.0 with XNA 4 ?
Read the release page:
This release does not support XNA 4.0. XNA 4.0 introduced some breaking changes that means you will have to change some files in order for the release to compile. The current version (FPE 3.1) in the source control does support XNA 4.0.
You can download the latest source from http://farseerphysics.codeplex.com/SourceControl/list/changesets - although it may not be as nicely packaged as the release. It also may not be as stable.
Of course - I imagine that you probably can use Farseer 3.0 on XNA 4.0, because as far as I know there are no breaking changes in the maths-related classes between XNA 3.1 and XNA 4.0. You just won't be able to compile the demos (unless you fiddle with them).
Andrew is correct. Everything is upgraded in the latest source, however only the rendering part of the samples and testbed need to be modified for the release version to work in 4.0. The engine itself has to dependencies on any specific version of Xna and even includes a Vanilla version for use without Xna.

Resources