Go Back   Zune Boards > Zune Discussions > Zune Games

Zune Games Discuss, request, share, and download Zune Games here. Having troubles with Zune Games? No problem, we can help.

Reply
 
LinkBack Thread Tools
Old 09-16-2008, 09:48 PM   #1 (permalink)
catnat109
Guest
 
Posts: n/a
Default Zune Games in XNA Game Studio 3.0 from CTP

Okay everybody, you might have opened a project created with the ctp version of xnags3.0 and it said there was an error. Well it's not the end of the world, it easy to fix just pay careful attention to the instructions.

ex. Groove

-C:\
-Downloads\
-Groove1.4\
-Groove1.4.sln
-Groove1.4.suo
-Groove 1.4\
-Groove 1.4.csproj <--- Open this file in Notepad or a text editing application.

1. Open the folder containing the game.

2. Open the sub folder (Groove 1.4\) inside of the folder you just navigated to.

3. There should be a file called Groove 1.4.csproj. Right click and open with Notepad.exe or another text editing application.

4. Scroll down to the bottom of the page and look for this:

Code:
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
            <Import Project="$(MSBuildExtensionsPath)\MicrosoftXNA Game Studiov3.0Microsoft.Xna.GameStudio.Common.targets" />
            <Import Project="$(MSBuildExtensionsPath)\MicrosoftXNA Game Studiov3.0Microsoft.Xna.GameStudio.NestedContent.targets" />
Select all of the three and replace them with:

Code:
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
            <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.targets" />
5. Save & Close as the same file name

6. Go back one folder and open the .sln file (Groove 1.4.sln).

7. When Visual C# opens it will say that a project was not found, or a similar error. Open the solution explorer (View > Solution Explorer) and right click on the main project node which will say unavailable. **TIP: You might not receive this error, if you do just close the prompt and continue to open the solution explorer.**

8. Delete the file.

9. Right click on the solution file and select add existing project.

10. Navigate to the .csproj file (Groove 1.4.csproj) and add it.

11. Deploy and Enjoy!

12. Remember to save the changes after. If you have other errors, please contact the game creator for assistance.

Last edited by catnat109; 09-21-2008 at 10:35 PM.



  Reply With Quote

Advertisement [Remove Advertisement]
Old 09-16-2008, 10:23 PM   #2 (permalink)
Zuner
 
masonpwiley's Avatar
 
Join Date: Jun 2007
Posts: 77
masonpwiley is an unknown quantity at this point
Default

That was easier to understand than MS's guide. Thanks.

EDIT: One problem. My Zune is still restarting this way after exiting. Maybe it's just the game.
__________________

Last edited by masonpwiley; 09-16-2008 at 10:27 PM.




masonpwiley is offline   Reply With Quote
Old 09-16-2008, 10:28 PM   #3 (permalink)
catnat109
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by masonpwiley View Post
That was easier to understand than MS's guide. Thanks.

EDIT: One problem. My Zune is still restarting this way after exiting. Maybe it's just the game.
Ya for some reason it still resets.



  Reply With Quote
Old 09-16-2008, 10:51 PM   #4 (permalink)
Squirt
 
DegenerateDead's Avatar
 
Join Date: Sep 2008
Location: Your Coffin
Posts: 23
DegenerateDead is on a distinguished road
Default

Do you think you could possibly post screenshots? I'm having problems with it, like, after I edit the thing in notepad, I open the .sln up and nothing happens, no windows pop up in the program window, it's just a grey background, and I don't know what node you're talking about, I'm still a newbie to all this stuff, but your help is greatly appreciated.
__________________
If I helped you +Rep me.




DegenerateDead is offline   Reply With Quote
Old 09-16-2008, 11:22 PM   #5 (permalink)
catnat109
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by DegenerateDead View Post
Do you think you could possibly post screenshots? I'm having problems with it, like, after I edit the thing in notepad, I open the .sln up and nothing happens, no windows pop up in the program window, it's just a grey background, and I don't know what node you're talking about, I'm still a newbie to all this stuff, but your help is greatly appreciated.
Just continue and skip it, it might not have told you it but if you open the solution explorer you will see it there.



  Reply With Quote
Old 09-16-2008, 11:31 PM   #6 (permalink)
Squirt
 
DegenerateDead's Avatar
 
Join Date: Sep 2008
Location: Your Coffin
Posts: 23
DegenerateDead is on a distinguished road
Default

Quote:
Originally Posted by catnat109 View Post
Just continue and skip it, it might not have told you it but if you open the solution explorer you will see it there.
Nevermind, I don't know why it wasn't working before but I restarted my computer and it works now, I'll continue on with the steps, hopefully it will work.

Edit: Ok, so I did everything correctly, and this is the error I get.

__________________
If I helped you +Rep me.

Last edited by DegenerateDead; 09-16-2008 at 11:41 PM. Reason: fix'd




DegenerateDead is offline   Reply With Quote
Old 09-16-2008, 11:38 PM   #7 (permalink)
Experienced Member
 
LedZepp's Avatar
 
Join Date: Mar 2007
Posts: 976
LedZepp has a spectacular aura aboutLedZepp has a spectacular aura about
Default

Quote:
Originally Posted by masonpwiley View Post
EDIT: One problem. My Zune is still restarting this way after exiting. Maybe it's just the game.
Yea, if you read the "Whats new in this release" in the help files, youll notice it still says that the zune needs to restart when you are done with a game.

Hexic and texas hold'em dont need to because almighty microsoft made them(that alien game doesnt count cause its a tutorial)
__________________
Game Request Template




LedZepp is offline   Reply With Quote
Old 09-17-2008, 03:28 AM   #8 (permalink)
Squirt
 
Join Date: Aug 2008
Posts: 26
Silentkiller SK is on a distinguished road
Default

you can make them so hey wont reset but so far only MS knows



Silentkiller SK is offline   Reply With Quote
Old 09-17-2008, 03:51 AM   #9 (permalink)
Jr. Member
 
Join Date: Jun 2007
Location: Mass
Posts: 332
shutout5591 will become famous soon enough
Default

IMO IT would be better if developers did this THEMSELVES to eliminate confusion. Also, it would be best to make a new project, to get rid of any confusing and bad legacy crap.
__________________
~Shutout5591~

[FINAL] Asteroids 1.0
If you like me work or I have helped you, + Rep me!




shutout5591 is offline   Reply With Quote
Old 09-17-2008, 07:22 AM   #10 (permalink)
Zuner
 
masonpwiley's Avatar
 
Join Date: Jun 2007
Posts: 77
masonpwiley is an unknown quantity at this point
Default

Quote:
Originally Posted by LedZepp View Post
Yea, if you read the "Whats new in this release" in the help files, youll notice it still says that the zune needs to restart when you are done with a game.

Hexic and texas hold'em dont need to because almighty microsoft made them(that alien game doesnt count cause its a tutorial)
So there is a way to make it not restart, but only Microsoft knows how. I wonder if it's just something they code differently or if they have some program that we don't. Is there any way to get the games off the Zune (hard drive hack maybe?), and un-compile them so we can see what they did?
__________________

Last edited by masonpwiley; 09-17-2008 at 07:28 AM.




masonpwiley is offline   Reply With Quote
Old 09-17-2008, 07:43 AM   #11 (permalink)
Purger of Ignorance
zB Programmer
Retired Staff
Expert Zuner
 
Netrix's Avatar
 
Join Date: Jun 2008
Location: In my own world
Posts: 2,804
Netrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to allNetrix is a name known to all
Send a message via MSN to Netrix
Default

Quote:
Originally Posted by masonpwiley View Post
So there is a way to make it not restart, but only Microsoft knows how. I wonder if it's just something they code differently or if they have some program that we don't. Is there any way to get the games off the Zune (hard drive hack maybe?), and un-compile them so we can see what they did?
It is definitely possible to get them off of the Zune hard drive (not through the HD hack, thought), but there is no guarantee that they would be able to be made sense of at all. The file system on the Zune obscures things. Decompiling the games is very impractical.

It is my theory that the Microsoft games are not created with XNA alone (or even at all), since their games run much too smoothly for what I have seen XNA able to do.
__________________
"Against logic there is no armor like ignorance." - Laurence J. Peter

Solitaire for your Zune! http://www.zuneboards.com/forums/dow...ne-v2-0-a.html

Zune Book Reader! http://www.zuneboards.com/forums/app...ew-thread.html




Netrix is offline   Reply With Quote
Old 09-17-2008, 07:53 AM   #12 (permalink)
The Digital Phantom
Support Team
Retired Staff
Elite Zuner
 
Justananomaly's Avatar
 
Join Date: Nov 2007
Location: Sexyland with putis and taylor
Posts: 2,314
Justananomaly has much to be proud ofJustananomaly has much to be proud ofJustananomaly has much to be proud ofJustananomaly has much to be proud ofJustananomaly has much to be proud ofJustananomaly has much to be proud ofJustananomaly has much to be proud of
Send a message via MSN to Justananomaly Send a message via Yahoo to Justananomaly Send a message via Skype™ to Justananomaly
Default

+rep Catnat, very helpful!
__________________



Justananomaly is offline   Reply With Quote
Old 09-17-2008, 02:40 PM   #13 (permalink)
catnat109
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by shutout5591 View Post
IMO IT would be better if developers did this THEMSELVES to eliminate confusion. Also, it would be best to make a new project, to get rid of any confusing and bad legacy crap.
Well incase you have any problems with games right not, this will fix them until they update their games. I will be updating Groove, ZAV (Vi) and Star Shooter soon.



  Reply With Quote
Old 09-17-2008, 04:27 PM   #14 (permalink)
k87
Squirt
 
Join Date: Apr 2007
Posts: 19
k87 is on a distinguished road
Default

I just attempted this and got the same error that degenerate dead posted. Does anyone know what I am doing wrong. thanks



k87 is offline   Reply With Quote
Old 09-17-2008, 06:38 PM   #15 (permalink)
catnat109
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by k87 View Post
I just attempted this and got the same error that degenerate dead posted. Does anyone know what I am doing wrong. thanks
Re download the project/game and do it again. You need to remove all of the imports it should look like this when done:

Code:
  <Import Project="$(MSBuildBinPath)Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildExtensionsPath)MicrosoftXNA Game StudioMicrosoft.Xna.GameStudio.targets" />
 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>



  Reply With Quote
Old 09-17-2008, 07:43 PM   #16 (permalink)
Squirt
 
DegenerateDead's Avatar
 
Join Date: Sep 2008
Location: Your Coffin
Posts: 23
DegenerateDead is on a distinguished road
Default

Quote:
Originally Posted by catnat109 View Post
Re download the project/game and do it again. You need to remove all of the imports it should look like this when done:

Code:
  <Import Project="$(MSBuildBinPath)Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildExtensionsPath)MicrosoftXNA Game StudioMicrosoft.Xna.GameStudio.targets" />
 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
I tried what you said it still doesn't work lol, I tried with zunehero, so maybe if you could test it and see if it works?
__________________
If I helped you +Rep me.




DegenerateDead is offline   Reply With Quote
Old 09-18-2008, 09:03 AM   #17 (permalink)
Experienced Zuner
 
Adthrawn's Avatar
 
Join Date: Jan 2008
Location: Maryland
Posts: 138
Adthrawn is on a distinguished road
Send a message via MSN to Adthrawn
Default

Has anybody tried building a game from scratch in the new XNA? Maybe if its down in the new one, you can avoid the restart.
__________________






Adthrawn is offline   Reply With Quote
Old 09-18-2008, 10:26 AM   #18 (permalink)
catnat109
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Adthrawn View Post
Has anybody tried building a game from scratch in the new XNA? Maybe if its down in the new one, you can avoid the restart.
I could try. But i don't think so.



  Reply With Quote
Old 09-18-2008, 06:43 PM   #19 (permalink)
Zewbie
 
Join Date: Sep 2008
Posts: 1
Sagemonk34 is on a distinguished road
Default

I've looked through both breakout and beat wave and i can't even find the code that needs to be replaced, any thoughts?

I guess i just overlooked it. But now it says that it cannot read because v3.5microsoft.csharp.targets is not found?

Last edited by Netrix; 09-18-2008 at 08:22 PM. Reason: Double post



Sagemonk34 is offline   Reply With Quote
Old 09-18-2008, 07:56 PM   #20 (permalink)
Squirt
 
Join Date: Sep 2008
Posts: 14
parza is on a distinguished road
Send a message via MSN to parza
Default

i cant!!!!!!! I replaced that codes and when i add the .csproj i get this error




parza is offline   Reply With Quote
Reply

Bookmarks

Thread Tools