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...
...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
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.
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
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.
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
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.