XNA Creators Club Online
Page 1 of 1 (13 items)
Sort Posts: Previous Next

CCGame Zune Package Problems

Last post 3/6/2010 7:36 PM by Aaron Stebner. 12 replies.
  • 9/24/2008 10:42 PM

    CCGame Zune Package Problems

    I'm trying to package my Zune game as a .ccgame. Everything goes just fine, but when I try to unpack and deploy the .ccgame I made, it gets about halfway before giving me this error: Error 2600: The package contains files that should not be trusted.

    What's wrong? I don't have any strange files with my game. It deploys just fine from Visual Studio and I have been able to use .ccgame files before. For files, I have some .pngs, some spriefonts, and some .xml files. Any help would be greatly appreciated.

  • 9/24/2008 10:59 PM In reply to

    Re: CCGame Zune Package Problems

    Very odd... do you use any 'unsafe' code?

    Otherwise upload the ccgaem file to http://connect.microsoft.com/  as a bug report...

     

    Play Kissy Poo - a game for 4 year olds on Xbox and windows
    The ZBuffer
    News and information for XNA
      Follow The Zman on twitter, Email me
        Please read the forum FAQs - Bug/Feature reporting
          Don't forget to mark good answers and good playtest feedback when you see it!!!
  • 9/24/2008 11:24 PM In reply to

    Re: CCGame Zune Package Problems

    The ZMan:
    Very odd... do you use any 'unsafe' code?

    I'm still a programming novice; don't even know how to use unsafe code. So no, no unsafe code. I don't get any warnings or anything in the error list either. It's got me stumped.

  • 9/25/2008 12:14 AM In reply to

    Re: CCGame Zune Package Problems

    CouchPotato99:

    The ZMan:
    Very odd... do you use any 'unsafe' code?

    I'm still a programming novice; don't even know how to use unsafe code. So no, no unsafe code. I don't get any warnings or anything in the error list either. It's got me stumped.

    Look at the properties of the assemblies that your game references (under the References folder within the project).  Are any of the System.* or Microsoft.* assembly references in your game marked as "Copy Local" set to "True".  If so, set them to False.  Another way to look at it is to look in the build output directory (bin\Zune\Debug or bin\Zune\Release) and see if there are any dlls from the runtime in there (System.dll, System.Xml.dll, Microsoft.Xna.Framework.dll, etc...).   If there are any dlls from the runtime in the build output, they will end up in the ccgame file and cause validation to fail during unpacking.  If the dlls are there, then you likely have a reference marked as "Copy Local = True".

     

  • 9/25/2008 12:36 AM In reply to

    Re: CCGame Zune Package Problems

    Omega Fraud:
    Look at the properties of the assemblies that your game references (under the References folder within the project).  Are any of the System.* or Microsoft.* assembly references in your game marked as "Copy Local" set to "True".  If so, set them to False.  Another way to look at it is to look in the build output directory (bin\Zune\Debug or bin\Zune\Release) and see if there are any dlls from the runtime in there (System.dll, System.Xml.dll, Microsoft.Xna.Framework.dll, etc...).   If there are any dlls from the runtime in the build output, they will end up in the ccgame file and cause validation to fail during unpacking.  If the dlls are there, then you likely have a reference marked as "Copy Local = True".

    None of the runtime dlls are there and none of them are set true for Copy Local. There is a dll from a project of mine that is part of the solution, but if I disable that the game won't start and the .ccgame still won't unpack without error.

  • 9/25/2008 1:54 AM In reply to

    Re: CCGame Zune Package Problems

    Stick it on a server somewhere so we can see if we can repro the issue... if so put it in connect.
    Play Kissy Poo - a game for 4 year olds on Xbox and windows
    The ZBuffer
    News and information for XNA
      Follow The Zman on twitter, Email me
        Please read the forum FAQs - Bug/Feature reporting
          Don't forget to mark good answers and good playtest feedback when you see it!!!
  • 9/25/2008 4:17 AM In reply to

    Re: CCGame Zune Package Problems

    Here it is. If anyone can figure it out that'd be awesome. Thanks for any help.
  • 9/25/2008 5:30 PM In reply to

    Re: CCGame Zune Package Problems

    Thanks for posting this project.  We are able to reproduce the validation error on our test systems, and we will be investigating it further shortly.  I'll post something when we figure out more about what is going on here.

    Thanks!

  • 9/26/2008 1:03 AM In reply to

    Re: CCGame Zune Package Problems

    Thanks for taking a look at it. Best of luck figuring out what's wrong.
  • 9/26/2008 2:32 AM In reply to

    Re: CCGame Zune Package Problems

    One of our developers has taken a look and found a bug in the unpacking logic for Zune games.  We will be making a fix for this issue for the final release of XNA Game Studio 3.0, but unfortunately there isn't a workaround available for you to use in the meantime.  That means you won't be able to share this game using a .ccgame package with the XNA Game Studio 3.0 beta.

    Thank you for reporting this issue and for sharing your source code to allow us to narrow this down more efficiently.

    Thanks!

  • 2/8/2010 3:40 AM In reply to

    Re: CCGame Zune Package Problems

    CouchPotato99:

    I'm trying to package my Zune game as a .ccgame. Everything goes just fine, but when I try to unpack and deploy the .ccgame I made, it gets about halfway before giving me this error: Error 2600: The package contains files that should not be trusted.



    I had this problem at first on both PC's I have XNA on. 


    Bob
  • 3/6/2010 8:14 AM In reply to

    Re: CCGame Zune Package Problems

    protwitness:

    I had this problem at first on both PC's I have XNA on. 


    Bob


    I just finished my first game for the Zune HD and never had a problem deploying it through Visual Studio.  Tonight, finally, I was going to release it and ran into this "Error 2600" problem when I tried to unpack the .ccgame onto my Zune.  I've been looking over the internet for hours and I'm losing hope.  I have Zune extensions, tried the Copy Local = false thing, and several others to no avail.  It's extremely frustrating!  What can I do ???
  • 3/6/2010 7:36 PM In reply to

    Re: CCGame Zune Package Problems

    Stephen posted a suggestion on the other forum post where you reported this issue, so I'd suggest trying that as well - http://forums.xna.com/forums/p/23995/294588.aspx#294588.

    Thanks!
Page 1 of 1 (13 items) Previous Next