Dan Rigsby – Coding Up Style

Developer.Speaker.Blogger

Installing Alien Game on a Zune using XNA Game Studio

Posted by Dan Rigsby on September 19th, 2008

This post is a little more “101” than most of my posts, but I think it’s useful to show how easy it is to install and debug a game on the Zune using XNA Game Studio. For this series of steps, we are going to look at getting the game “Alien Game” up and running on a Zune from scratch.  Once you have done this, you should know the basics to install other games, or deploy your own.

Steps to Install

1. Download Zune 3.0 firmware or greater

2. Install XNA Game Studio 3.0 Beta or greater

You will need to have Visual Studio 2008 installed or Visual C# 2008 Express installed first.

3. Open Visual Studio and ensure XNA Game Studio is installed

You can do this by checking the “About Visual Studio” window located in the “Help” menu item.  Scroll down until you find the XNA Game Studio:VSXNA1

4. Download “Alien Game” and extract to your local disk

5. Open the AlienGameZune.sln file in Visual Studio

When opened you should see the AlienGameZune project and all of its files and resources:

AlienGame

6. Connect Zune to your PC via the Usb Cable (not Wifi)

Be sure that you don’t have any other Zune software running since Visual Studio needs full control of the device.

7. Add Zune to the XNA Game Studio Device Center

You can access the XNA Game Studio Device Center via the start menu or through the Tools menu in Visual Studio.
VSXNA2

One in the XNA Game Studio Device Center, Click “Add Device”:

XNA1

On the next screen select “Zune” and continue:

XNA2

If your Zune is connected correctly, you should see it in the list with the device name.  More than one Zune will appear, if you have multiple devices plugged into the PC.  If you don’t see your device, double check your connection.

XNA3 

Once you have selected your device, you need to make sure you have it selected as your “default Zune device”.  If you only have one Zune you are using, then this is automatically selected for you.

XNA4 

Now that the wizard is finished, you should see your Zune device with a “green checkmark” that indicates that it is ready:

XNA5 

8. Simply run the debugger from Visual Studio by pressing F5

You should see all of the files transferring down to the Zune.  Once the game is running, you can play the game, set breakpoints in Visual Studio, etc.

Nabbing Screenshots

One other little tip, is that you can snag screenshots of the an executing game on the Zune.  This won’t work unless you are currently running a game from your PC to the Zune.  All you need to do is to right click on the device in XNA Game Studio Device Center and select “Take Screen Capture”.

XNA6

Here are a couple of screenshots nabbed from “Alien Game”:

DanR-2 DanR-1

DotNetKicks Image

2 Responses to “Installing Alien Game on a Zune using XNA Game Studio”

  1. Zune XNA » Blog Archive » Installing Alien Game on a Zune using XNA Game Studio Says:

    [...] Alien Game on a Zune using XNA Game Studio posted at Installing Alien Game on a Zune using XNA Game Studio and found using BlogPulse Search Results for: "zune xna" Sponsored by Zune MAX and the [...]

  2. Sam Rowe Says:

    When I try to deploy the alien game it keeps coming up with the following error, Error 1 The project file ‘Zune.csproj’ appears to have been created with XNA Game Studio 3.0 CTP. For instructions on how to upgrade this project to work with the current version, copy and paste this link into your browser: http://go.microsoft.com/fwlink/?LinkId=121512. Zune

    I have tried deleting and downloading the file again but it hasnt work. What should I do?

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>