Go Back   Zune Boards > Zune Discussions > Zune Games > Development Discussions

Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related.

Reply
 
LinkBack (1) Thread Tools
Old 06-14-2008, 09:46 AM   #61 (permalink)
Support Team
Expert Zuner
 
Soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 3,029
Soccerfreak24 is just really niceSoccerfreak24 is just really niceSoccerfreak24 is just really nice
Default

Just watched the video above, glad to see the emulator is semi working!! Definitely will take time and hard work to get it playable it seems...
__________________





Soccerfreak24 is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 06-15-2008, 06:38 PM   #62 (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 Pauliver View Post
The gameboy emulator should be portable as well, There will be a bit of work that needs to be done be there.

The core of the problem is that if you want to set data in a zune texture you need to use the type Color, the NES emulator and this emulator seem to be using uint [or short] which doesn't get the same output color wise on the zune as it does on windows.

From the tests i did it appears that if you do not use color you get no output, while if you do use Color (specifically in)

Code:
TextureName.SetData<Color>( ect..
then things work. I could be wrong there might be other ways to get things working, this is just what i have found.
If you try to use:
Code:
TextureName.SetData<short>(shortArray);
...the Zune crashes. I think using SetData<short>() is not supported at all on the Zune. However, SetData<int>() doesn't make the Zune crash. Yes, the colors are wrong, but it doesn't crash. Everything other than that and Color seems to crash on the Zune.

Maybe it's possible to convert the NES palette colors to Color, so that the colors look correct on the Zune? Then it's just the issue of the framerate...




Netrix is offline   Reply With Quote
Old 06-15-2008, 07:14 PM   #63 (permalink)
Experienced Zuner
 
Robert13's Avatar
 
Join Date: May 2008
Posts: 126
Robert13 is on a distinguished road
Default

Has anyone been trying to port this to zune version yet?
__________________




Robert13 is offline   Reply With Quote
Old 06-15-2008, 09:16 PM   #64 (permalink)
Zuner
 
Join Date: May 2008
Posts: 61
Pauliver is on a distinguished road
Send a message via AIM to Pauliver Send a message via MSN to Pauliver
Default

Quote:
Originally Posted by Netrix View Post
If you try to use:
Code:
TextureName.SetData<short>(shortArray);
...the Zune crashes. I think using SetData<short>() is not supported at all on the Zune. However, SetData<int>() doesn't make the Zune crash. Yes, the colors are wrong, but it doesn't crash. Everything other than that and Color seems to crash on the Zune.

Maybe it's possible to convert the NES palette colors to Color, so that the colors look correct on the Zune? Then it's just the issue of the framerate...
Yeah i did that a while ago, and it works. and runs at 7fps on the zune



Pauliver is offline   Reply With Quote
Old 06-16-2008, 10:18 AM   #65 (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 Pauliver View Post
Yeah i did that a while ago, and it works. and runs at 7fps on the zune
I suppose there isn't any way around the framerate problem, though. I guess I'll just use my BE-300 to play NES and GBC games.




Netrix is offline   Reply With Quote
Old 06-16-2008, 02:01 PM   #66 (permalink)
Zuner
 
Join Date: Jun 2008
Posts: 97
seifer93 is on a distinguished road
Default

Quote:
Originally Posted by LedZepp View Post
Depends, if someone decides to make Controls, then yes
So let me get this straight, all we need to be able to play Super Mario Land is someone to code the controls? Please someone do it!



seifer93 is offline   Reply With Quote
Old 06-16-2008, 02:15 PM   #67 (permalink)
Zuner
 
Join Date: Feb 2008
Posts: 63
theVDude is on a distinguished road
Default

The controls are already coded.

We need the colors and the framerate fixed. If it's having the same problem the NES emulator is having, most of the time is being spent on the draw function. That's what needs fixed.



theVDude is offline   Reply With Quote
Old 06-16-2008, 03:11 PM   #68 (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 theVDude View Post
The controls are already coded.

We need the colors and the framerate fixed. If it's having the same problem the NES emulator is having, most of the time is being spent on the draw function. That's what needs fixed.
Pauliver said that he converted the NES palette colors to 'Color'. I imagine that it would be very similar for the Game Boy...

It's the NES engine that needs all the work... Not the draw function. Just to make sure that everyone is aware, the draw function is not what causes the framerate to be so low. I commented out the draw function entirely, and the framerate was only about 0.6 frames faster. Someone needs to make a more efficient NES engine...
__________________
"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 06-16-2008, 06:25 PM   #69 (permalink)
Zuner
 
Join Date: May 2008
Posts: 61
Pauliver is on a distinguished road
Send a message via AIM to Pauliver Send a message via MSN to Pauliver
Default

Quote:
Originally Posted by Netrix View Post
Pauliver said that he converted the NES palette colors to 'Color'. I imagine that it would be very similar for the Game Boy...

It's the NES engine that needs all the work... Not the draw function. Just to make sure that everyone is aware, the draw function is not what causes the framerate to be so low. I commented out the draw function entirely, and the framerate was only about 0.6 frames faster. Someone needs to make a more efficient NES engine...
Just to be 100% clear, it IS the draw function (its not so much a function but a bunch of functions), but not the one your thinking of.


Its the Drawing in the NES emulator, not the Drawing in the XNA app.

The Nes emulator draws pixel by pixel every pixel on the screen [sometimes drawing each one a few times if their are layers], that is SLOW. This has been discussed a few times in various threads around these boards. The short version is if some brilliant guy comes along with a few free weeks and re-writes the emulator into an interpreter then maybe one will come out, or if XNA 3.0 final is 3x faster than XNA 3.0 CTP then it would work, until then Emulator just won't happen.



Pauliver is offline   Reply With Quote
Old 06-16-2008, 06:42 PM   #70 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

I don't care if it's 7 fps, i still want to play gameboy games really bad. Could someone post a download for a game?




cable729 is offline   Reply With Quote
Old 06-16-2008, 06:47 PM   #71 (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 cable729 View Post
Could someone post a download for a game?
That is illegal, if you want you can find the games yourself.




LedZepp is offline   Reply With Quote
Old 06-16-2008, 07:51 PM   #72 (permalink)
Zuner
 
masonpwiley's Avatar
 
Join Date: Jun 2007
Posts: 77
masonpwiley is an unknown quantity at this point
Default

Shouldn't 7FPS be fine for a gameboy game?




masonpwiley is offline   Reply With Quote
Old 06-16-2008, 09:44 PM   #73 (permalink)
Experienced Zuner
 
tenritsu's Avatar
 
Join Date: May 2008
Posts: 183
tenritsu is on a distinguished road
Default

Quote:
Originally Posted by masonpwiley View Post
Shouldn't 7FPS be fine for a gameboy game?
Nope, not unless u want it to be slooow.

FPS = frames per second. Doesn't really matter which console it is, 7 fps is still slow.
__________________





tenritsu is offline   Reply With Quote
Old 06-16-2008, 09:51 PM   #74 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

i know what fps is, and 7 fps isn't all that bad, especially when you have a crap computer like mine. My average fps on World of Warcraft is 10.

Led, even if i dl it, how do i get it on the zune?




cable729 is offline   Reply With Quote
Old 06-16-2008, 09:59 PM   #75 (permalink)
Zuner
 
masonpwiley's Avatar
 
Join Date: Jun 2007
Posts: 77
masonpwiley is an unknown quantity at this point
Default

Quote:
Originally Posted by tenritsu View Post
Nope, not unless u want it to be slooow.

FPS = frames per second. Doesn't really matter which console it is, 7 fps is still slow.

I know what fps means... I was saying that gameboy games don't really need many FPS to be playable. If you are playing something fast paced, you need more for it to be playable. It does matter what game it is.

Quote:
Originally Posted by cable729 View Post
i know what fps is, and 7 fps isn't all that bad, especially when you have a crap computer like mine. My average fps on World of Warcraft is 10.

Led, even if i dl it, how do i get it on the zune?
10?!?! That must suck. I probably get 40 minimum and 100+ max. On max settings.

Last edited by masonpwiley; 06-16-2008 at 10:04 PM.




masonpwiley is offline   Reply With Quote
Old 06-16-2008, 10:07 PM   #76 (permalink)
Zune Guardian
 
ZGamer's Avatar
 
Join Date: Nov 2007
Location: California
Posts: 689
ZGamer is on a distinguished road
Default

how many fps does the emulator need?
__________________






ZGamer is online now   Reply With Quote
Old 06-16-2008, 10:18 PM   #77 (permalink)
Zune Guardian
 
birdman's Avatar
 
Join Date: Jan 2008
Location: earth
Posts: 758
birdman will become famous soon enough
Default

Quote:
Originally Posted by ZGamer View Post
how many fps does the emulator need?
depends on how choppy or smooth you want your game to be. 10 fps pretty low, but 30 fps would be really smooth.
__________________
I don't like you.




birdman is offline   Reply With Quote
Old 06-16-2008, 10:41 PM   #78 (permalink)
Jr. Member
 
Join Date: May 2008
Posts: 312
cable729 is on a distinguished road
Default

ehhh... maybe i was exxagerating... on low settings i get in the low teens, i get in the single digits when im in a really highly populated area




cable729 is offline   Reply With Quote
Old 06-17-2008, 12:43 AM   #79 (permalink)
Zune Guardian
 
ZGamer's Avatar
 
Join Date: Nov 2007
Location: California
Posts: 689
ZGamer is on a distinguished road
Default

so, wat we want is an emulator that runs at 30 fps?
__________________






ZGamer is online now   Reply With Quote
Old 06-21-2008, 12:10 AM   #80 (permalink)
Experienced Member
 
Tiptup300's Avatar
 
Join Date: Apr 2008
Posts: 805
Tiptup300 has disabled reputation
Default

Actually you want anything to run at 60 fps or higher. Although the 80/8/10 only go up to 30 to save battery power.



Tiptup300 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools