XNA Game Studio 3.0 Beta ReadMe
This file provides setup information and describes known issues for the XNA Game Studio 3.0 Beta release.

XNA Game Studio 3.0 (Beta) ReadMe

Provides setup information and describes known issues for XNA® Game Studio 3.0 (Beta).

Setup Requirements

This section describes the operating systems and hardware that support XNA Game Studio 3.0 (Beta), and the additional software required for running XNA Game Studio 3.0 (Beta).

Supported Operating Systems

The following operating systems fully support XNA Game Studio.

Operating System Supported Versions
Microsoft® Windows® XP
  • Home Edition
  • Professional Edition
  • Media Center Edition
  • Tablet Edition
Windows Vista®
  • Home Basic Edition
  • Home Premium Edition
  • Business Edition
  • Enterprise Edition
  • Ultimate Edition

Remarks

  • Windows Vista Service Pack 1 (SP1) is supported, but is not required, for XNA Game Studio.
  • Windows XP requires Service Pack 2 or later.
  • Although XNA Game Studio itself is available only in English, it is supported under any of the available language settings on Windows.
  • Administrator permissions are not required to run XNA Game Studio. However, Administrator permissions (administrative elevation on Windows Vista) are required to install XNA Game Studio.
  • Although the setup program for XNA Game Studio will complete on the Windows 2003 Server and Windows 2008 Server operating systems, XNA Game Studio is not officially supported on these operating systems, and the XNA Game Studio software may not work as expected.

Hardware Requirements

To run XNA Framework games on Windows, you need a graphics card that supports Shader Model 1.1 or greater and DirectX 9.0c. We recommend that you use a graphics card that supports Shader Model 2.0 because some samples and starter kits may require it.

Make sure that your graphics card is using the most recent drivers by checking with your hardware vendor and by accessing Microsoft Update.

Other hardware requirements for XNA Game Studio are identical to those for Visual Studio 2008. For more information, see the Visual Studio documentation.

Visual Studio 2008

XNA Game Studio leverages the Visual Studio® 2008 development environment, extending it for game development. You can use XNA Game Studio with either Visual C#® 2008 Express Edition or one of the other Visual Studio 2008 products such as Visual Studio 2008 Professional. You can also use XNA Game Studio with multiple variants of Visual Studio 2008. For example, if you have both Visual C# 2008 Express Edition and Visual Studio 2008 installed on the same computer, the XNA Game Studio Setup program will install support for both.

Note
Only members of the Microsoft Visual Studio 2008 product line support XNA Game Studio 3.0. XNA Game Studio 3.0 is not compatible with Microsoft Visual Studio 2005 or earlier.

Microsoft .NET Framework 3.5

XNA Game Studio 3.0 (Beta) requires that you install the .NET Framework 3.5.

The Setup program for Microsoft Visual Studio 2008 installs the .NET Framework 3.5 if it is not already installed on your computer. You can also install the .NET Framework from the Microsoft .NET Framework Developer Center.

XNA Creators Club

To develop games for the Xbox 360®, you will need a membership in the XNA Creators Club. Obtain an XNA Creators Club membership from the Xbox LIVE Marketplace.

XNA Creators Club and Xbox LIVE Membership Requirements

There are two types of online multiplayer games available when you create a networked game with XNA Game Studio: system link game sessions and LIVE sessions. These two forms of online multiplayer gaming describe whether the multiplayer gaming session is on the local area network (system link games), or if the gaming session is advertised and found through the LIVE service. With system link games, you can search the local area network to find the gaming sessions. With LIVE sessions, you can use the LIVE service to find available game sessions. Use the searchProperties argument of Find to specify the parameters used to search for an available game session – a game session that uses either system or the LIVE service.

Developing and testing a networked game requires at least two machines, but you only need one Xbox 360 console and one Creators Club membership to test network code for the Xbox 360. This is because XNA Framework supports cross-platform system links so developers can run one instance of a game on an Xbox 360, and a second on a Windows-based computer. This functionality helps creators debug their titles without having to purchase a second console. It is also possible for more than one Windows-based development computer to connect several machines in a system link session without any memberships required.

This table shows what memberships are required for a player on a Windows-based computer and Xbox 360 console in a network session, depending on the session type that has been created.

Xbox 360 Console Windows-Based Development Computer Zune
Run an XNA Framework Game LIVE Silver membership + Premium XNA Creators Club membership No memberships required No memberships required
Use System Link for Local Area Network gameplay LIVE Silver membership + Premium XNA Creators Club membership No memberships required No memberships required
Sign-on to Xbox Live and Games for Windows - LIVE Servers LIVE Silver membership + Premium XNA Creators Club membership LIVE Silver membership + Premium XNA Creators Club membership Not available on Zune
Use LIVE to connect to other machines over the Internet while the game is in development LIVE Gold membership + Premium XNA Creators Club membership LIVE Silver membership + Premium XNA Creators Club membership Not available on Zune
Use LIVE to connect to other machines over the Internet once the game is an XNA Community Game and has been downloaded from Xbox LIVE Marketplace LIVE Gold membership + Game purchase LIVE Silver membership + Game purchase Not available on Zune
Caution
The XNA framework components that interact with Games for Windows LIVE require an XNA Creators Club membership. If for any reason a LIVE profile without a Creators Club membership is set to auto sign-in on a Windows-based computer, the game will not be able to connect to the LIVE service. Furthermore, the XNA framework gamer services components, including the Guide, will not be available. To disable auto sign-in for a LIVE profile on a Windows-based computer, first make sure you are disconnected from the network. Then launch an XNA Framework game, and open the Guide.

Please note the following.

  • If you are running an XNA Framework Game on the Microsoft Windows operating system on a dual-core AMD processor, and the game contacts the Xbox LIVE servers or otherwise uses the Gamer Services extensions, you may experience unpredictable behavior such as a hanging of the game process. To work around this issue, you should install the AMD Dual-Core Optimizer from AMD on the computer on which you are running the game. Currently, the optimizer is available at the following location.

Additional Required Software Installed by XNA Game Studio 3.0 Setup

The XNA Game Studio 3.0 setup program also installs the following required software.

DirectX Runtime

XNA Game Studio 3.0 Setup installs the DirectX runtime, which is required to use the XNA Framework game API.

Microsoft Cross-Platform Audio Creation Tool

XNA Game Studio 3.0 Setup installs the Microsoft Cross-Platform Audio Creation Tool (XACT) from the August 2007 DirectX Software Development Kit (SDK). XACT enables you to author audio content for your game. XNA Game Studio 3.0 Setup installs a version of XACT that is compatible with the XNA Game Studio 3.0 product. XNA Game Studio 3.0 may not work with content authored using other versions of XACT.

1. Known Issues with XNA Game Studio 3.0 (Beta)

This section describes known issues that you may encounter when using XNA Game Studio 3.0 (Beta).

1.1. Setup Issues

This section describes known issues with setup of XNA Game Studio 3.0 (Beta).

1.1.1. Close Visual C# 2008 Express Edition and Other Supported Visual Studio 2008 Products Before Installing XNA Game Studio

Before installing XNA Game Studio, close any running instances of Visual C# 2008 Express Edition or other supported Visual Studio 2008 products such as Visual Studio 2008 Professional.

1.1.2. Uninstall XNA Game Studio 3.0 (Beta) Before Uninstalling Visual Studio 2008

If you choose to uninstall Visual Studio 2008, you must first uninstall XNA Game Studio 3.0 (Beta). XNA Game Studio 3.0 (Beta) will not uninstall properly if Visual Studio 2008 is not currently installed.

1.1.3. Do Not Uninstall XNA Framework or XNA Game Studio Platform Tools Unless Also Uninstalling XNA Game Studio

Do not uninstall the XNA Framework or XNA Game Studio Platform Tools unless you are also uninstalling XNA Game Studio 3.0 (Beta). Although the XNA Framework and XNA Game Studio Platform Tools are separate components from XNA Game Studio 3.0 (Beta) itself, XNA Game Studio 3.0 (Beta) relies on these components and will not function correctly if they are uninstalled.

1.1.4. DirectX Redistributable Files Removed Only on Uninstall

After you install XNA Game Studio 3.0 (Beta), a copy of the DirectX redistributable files will exist in this location.

C:\Program Files\Microsoft XNA\XNA Game Studio\3.0\Redist\DX Redist

These are temporary files used by Setup, and are not supported for direct use by developers. Uninstalling XNA Game Studio 3.0 (Beta) will uninstall these temporary files.

1.1.5. Error Codes that May Be Returned from Setup

Setup may return one of the following error codes if an issue occurs during installation. If you are using a script to install XNA Game Studio 3.0 (Beta), you should check for these error codes.

Value Description
5001 .NET Framework 2.0 is not installed
5002 Not running on a supported operating system
5003 Setup is not running with Administrator privileges
5005 Error in the command line specified to the installer
5006 Setup is already running; cannot run multiple instances of Setup
5007 Pre-released version of the product must be uninstalled before running Setup
5998 User canceled out of Setup
5999 Other non-specific error

1.2. Development Environment

This section describes known issues you may encounter when working with XNA Game Studio 3.0 (Beta) and the Visual Studio 2008 environment.

1.2.1. How to Upgrade Projects from XNA Game Studio 3.0 CTP to XNA Game Studio 3.0 (Beta)

You will need to manually upgrade projects that were created with XNA Game Studio 3.0 CTP in order to use them with XNA Game Studio 3.0 (Beta). The upgrade wizard for XNA Game Studio 3.0 (Beta) upgrades only XNA Game Studio 2.0 projects. To manually upgrade a project created in XNA Game Studio 3.0 CTP, use the following procedure.

  1. Open the <projectname>.csproj file in a text editor, such as Notepad.
  2. Scroll down to the bottom of the .csproj file and locate the following three <Import.../> elements.

                <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
                <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\v3.0\Microsoft.Xna.GameStudio.Common.targets" />
                <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\v3.0\Microsoft.Xna.GameStudio.NestedContent.targets" />
              

    Replace these with the following two <Import.../> elements. Note that the first element is the same.

                <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
                <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.targets" />
              
  3. Save the .csproj file.
  4. Open <projectname>.csproj in Visual C# 2008 Express Edition or Visual Studio 2008 to use it with the XNA Game Studio 3.0 beta.

1.2.2. Build Error: The Output Path is Not Set for This Project

Game projects that were created using the XNA Game Studio 2.0 (Beta) may produce the following error when built using XNA Game Studio 3.0 (Beta). Specifically, this occurs if the project was originally created using the XNA Game Studio 2.0 (Beta), then was converted using the XNA Game Studio 3.0 (Beta), and then a copy of the existing project was created for the Zune platform.

The OutputPath property is not set for this project. Please check to make sure that you have specified a valid Configuration/Platform combination.

Configuration='{Debug|Release}' Platform='{x86|Xbox 360|Zune}'

The error is caused by a subtle configuration issue in the .contentproj file created by XNA Game Studio 2.0 (Beta). To correct this issue, use the following procedure.

  1. Modify the .contentproj file to delete all instances of the OutputPath element. This element usually is within a PropertyGroup element that has Condition attributes. For example:

    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Xbox 360' ">
      ...
      <OutputPath>bin\Xbox 360\Debug</OutputPath>
    </PropertyGroup>
                      
  2. Add the following as a child element in the same PropertyGroup that includes the XnaFrameworkVersion element:

    <OutputPath>bin\$(Platform)\$(Configuration)</OutputPath>

1.2.3. How to Upgrade Projects from XNA Game Studio Express to XNA Game Studio 3.0 (Beta)

Use one of the following procedures to upgrade a game project from XNA Game Studio Express to XNA Game Studio 3.0 (Beta).

  • Create a new XNA Game Studio 3.0 (Beta) project, and then add the code and content from the XNA Game Studio Express project to the XNA Game Studio 3.0 (Beta) project.
  • Use the standalone upgrade wizard for XNA Game Studio 2.0 to upgrade the project from XNA Game Studio Express to XNA Game Studio 2.0, and then use the built-in upgrade wizard for XNA Game Studio 3.0 (Beta) to upgrade the project to XNA Game Studio 3.0 (Beta). You will need XNA Game Studio 2.0 in order to use the standalone upgrade wizard. You can obtain the XNA Game Studio 2.0 and the standalone upgrade wizard at the following URLs.

    Download Location
    XNA Game Studio 2.0 http://go.microsoft.com/fwlink/?LinkId=127875&clcid=0x409
    Standalone Upgrade Wizard http://creators.xna.com/utilities/project_upgrade_wizard

Note that the XNA Framework evolved between XNA Game Studio Express and XNA Game Studio 2.0. Therefore, you probably will need to update your code to account for these changes. Please see the XNA Game Studio 2.0 Upgrade Guide for more information.

1.2.4. Standard Templates Not Visible in Visual Studio 2008 IDE

If you install XNA Game Studio 3.0 (Beta) with the English version of Visual Studio 2008 on a non-English version of Windows, you may experience the following issues:

  • The standard templates are not visible in the integrated development environment (IDE).
  • The IDE uses a mix of English and non-English text.

To resolve these issues, click Options on the Tools menu, expand the Environment node, and ensure that International Settings is set to English instead of Same as Microsoft Windows. If you change this setting, you must restart Visual Studio 2008 for the change to take effect.

1.3. Target Platform Deployment and Debugging

This section describes issues that you may encounter when you deploy to an Xbox 360 console or to a Zune device, or when you debug a game on one of these platforms.

1.3.1. XNA Game Studio 3.0 (Beta) Has Limited Support for Xbox 360

The XNA Game Studio 3.0 (Beta) release provides limited support for Xbox 360 development. XNA Game Studio 3.0 (Beta) does provide project templates for Xbox 360 projects. Also, you will be able to upgrade your XNA Game Studio 2.0 projects to XNA Game Studio 3.0 (Beta). However, XNA Game Studio 3.0 (Beta) does not support deployment to the Xbox 360 console. Attempting to deploy an Xbox 360 game will result in the following error message.

The target Xbox 360 console does not support games created with XNA Game Studio 3.0 (Beta). Xbox 360 game deployment and debugging is not supported in the beta.

1.3.2. Zune Device Names Should Not Contain Backslashes

In XNA Game Studio 3.0 (Beta), the backslash character ("\") is not supported in Zune device names.

1.3.3. Deploy Zune Games Only with XNA Game Studio 3.0 (Beta)

In order to deploy games successfully to a Zune device that has the Zune 3.0 firmware installed, you must use XNA Game Studio 3.0 (Beta). Do not use XNA Game Studio 3.0 CTP. If you deploy the game with the CTP, the game will appear to deploy successfully, but afterwards, you will receive the following error message.

The container you specified is in an invalid state. Please verify you properly opened/closed the container.

If you have Zune game projects that were developed with XNA Game Studio 3.0 CTP, you should upgrade them using the procedure described previously in this Readme file. After upgrading the game project, you will need to rebuild and redeploy the game using XNA Game Studio 3.0 (Beta).

1.3.4. Zune Games Fail to Run If Name Contains Extended ASCII Characters

If the executable for a Zune game contains extended ASCII characters (for example, accented characters), the game will fail to run on the Zune device. The game will appear to exit immediately. You will not see any diagnostic messages in the Visual Studio IDE when this issue occurs. Also, if the game attempts to load a file with a name that contains extended ASCII characters, a run-time exception will occur that indicates that the file could not be found. Examples of such files would be content files and files in the title storage area. To work around these issues, rename the files so that they do not contain any extended ASCII characters.

1.4. Networking and Multiplayer

This section describes issues that you may encounter when using the networking and multiplayer features of XNA Game Studio 3.0 (Beta).

1.4.1. Windows Games May Hang When Running on AMD Dual-Core Processor

If you are running an XNA Framework Game on the Windows operating system on a dual-core AMD processor, and the game contacts the Xbox LIVE servers, you may experience unpredictable behavior such as a hanging of the game process. To work around this issue, you should install the AMD Dual-Core Optimizer from AMD on the computer on which you are running the game. Currently, the optimizer is available at the following location.

1.5. Game Sharing and Distribution

1.5.1. ClickOnce Publishing Does Not Work Correctly if Game Library Project Includes Content

ClickOnce publishing does not work correctly if the game solution includes a game library project that contains content. The content in the game library is not published correctly and is not available to the game at run time. To work around this issue, include the content in the game project itself instead of in a game library project.

1.5.2. Location to Which XnaPack Extracts Packaged Games

For Windows XP SP2, the XnaPack tool extracts games to the following location on your local hard drive.

%USERPROFILE%\Local Settings\Application Data\XNA Creators Club Games

For Windows Vista, the XnaPack tool extracts games to the following location.

%USERPROFILE%\AppData\Local\XNA Creators Club Games

The value of the %USERPROFILE% environment variable changes depending on the login ID of the currently logged-in user. It also depends on the drive letter of the partition on which Windows was installed and whether you are running Windows XP SP2 or Windows Vista. For example, for Windows XP SP2 installed on drive C:, XnaPack would extract packaged games to the following location.

C:\Documents and Settings\<user>\Local Settings\Application Data\XNA Creators Club Games

where "<user>" represents the login ID of the currently logged-in user. For Windows Vista installed on drive D:, XnaPack would extract packaged games to the following location.

D:\Users\<user>\AppData\Local\XNA Creators Club Games

where, again, "<user>" represents the login ID of the currently logged-in user.

You may want to create a Windows shortcut to this location so that you can access it more easily.

1.5.3. Visual C++ 8.0 SP1 Runtime Files Are Required by XNA Game Studio 3.0 (Beta) Games

The Visual C++ 8.0 SP1 runtime files are required by games based on XNA Framework 3.0, the version of the XNA Framework used by XNA Game Studio 3.0 (Beta) These files are installed by .NET Framework 3.5 or you can install them using the standalone Visual C++ 2005 Redistributable. You can obtain the redistributable at the following URL.

1.5.4. Copy Local Property Causes Validation Error When Unpacking a Zune Game

If an assembly reference in your Zune game has the Copy Local property set to true, an error could occur when unpacking the Zune game.

Before packing your game with the XNA Game Studio Package utility (xnapack.exe), verify that the following assemblies have Copy Local set to false:

  • .NET Framework assembly: mscorlib, System, System.Core, System.XML, System.Xml.Linq
  • XNA Framework assembly: Microsoft.Xna.Framework, Microsoft.Xna.Framework.Game
Note
Do not change the value of the Copy Local property for any assembly references within a game library contained by the Zune game to be packaged.

1.6. XNA Framework

This section describes issues that you may encounter when using the XNA Framework.

1.6.1. NoSuitableGraphicsDeviceException from XNA Framework Game

If an XNA Framework game throws NoSuitableGraphicsDeviceException, inspect the text in the unhandled exception dialog box to determine whether the cause is an unsupported video card.

To run XNA Framework games on Windows, you need a graphics card that supports Shader Model 1.1 or greater and DirectX 9.0c. We recommend that you use a graphics card that supports Shader Model 2.0 because some samples and starter kits may require it.

Make sure that your graphics card is using the most recent drivers by checking with your hardware vendor and by accessing Microsoft Update.

1.7. Content Creation

1.7.1. Build Action Must Be Set to Compile for Items in Content Projects

Items in content projects must have their build action set to Compile in order to be built by the XNA Framework Content Pipeline. If the build action is set to Content, the item will not be built. By default, items in content projects have their build action set to Compile.

1.7.2. You Must Use the Version of XACT Provided with XNA Game Studio 3.0 (Beta)

The setup program for XNA Game Studio 3.0 (Beta) installs the August 2007 version of the Microsoft Cross-Platform Audio Creation Tool (XACT). You must use this version of XACT when developing with XNA Game Studio 3.0 (Beta).

1.7.3. Imported Wave Banks Limited to 200

When using the Microsoft Cross-Platform Audio Creation Tool (XACT) with XNA Game Studio 3.0 (Beta), you are limited to importing no more than 200 wave banks.

1.8. Starter Kits and Sample Code

This section describes issues that you may encounter when using the XNA Game Studio 3.0 (Beta) starter kits.

1.8.1. Spacewar Starter No Longer Available

In XNA Game Studio 3.0 (Beta), the Spacewar starter kit has been removed from the product. Some of the tutorials included in the documentation use art assets from the Spacewar starter kit. These assets are available from the XNA Creators Club Online website for use with the tutorials. See the tutorials documentation for more information.

1.8.2. Graphics Hardware Requirements for Starter Kits

To run XNA Framework games on Windows, you need a graphics card that supports Shader Model 1.1 or greater and DirectX 9.0c. We recommend that you use a graphics card that supports Shader Model 2.0 because some samples and starter kits may require it.

Make sure that your graphics card is using the most recent drivers by checking with your hardware vendor and by accessing Microsoft Update.

1.8.3. Some Tutorial and How-To Sample Code Not Updated for XNA Game Studio 3.0 (Beta)

Only the following Tutorial and How-To sample code referenced in the documentation has been updated to work with XNA Game Studio 3.0 (Beta).

  • Tutorial 1: Displaying a 3D Model on the Screen
  • Tutorial 2: Making Your Model Move Using Input
  • Tutorial 3: Making Sounds with XNA Game Studio
  • Tutorial 4: Make a Game in 60 Minutes
  • Tutorial 5: Adding Multiplayer and Networking Support to the Game
  • How To: Play a Song
  • How To: Stream a Sound
  • How To: Build a Simple Networked Game on Zune

Sample code referenced by the remaining Tutorials and How-To topics will be updated for the final release.

var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG