Sponsors



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

New Member?



 
Register Zunecentive FAQ Members List Calendar Search Today's Posts Mark Forums Read

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

Reply
 
LinkBack Thread Tools
Old 06-10-2008, 12:07 AM   #81 (permalink)
Experienced Zuner
 
Spike!'s Avatar
 
Join Date: Apr 2008
Posts: 175
Reputation: 13
$zB: 158
Donate
Default

The fact that SimReality is supporting the development of an Emulator to play illegally downloaded Roms when he had a Conniption about a clone of Super Mario World is so funny it's sad. I'm sorry for Hijacking the thread for a minute there, but it makes me laugh so hard I had to say something.


Back On-Topic, I think working to have a functional Emulator for the NES would be better than trying to port individual games, since, well it's kind of obvious why. It'd be fun to play Excitebike




Spike! is offline   Reply With Quote
Remove Advertisements Sponsored Links
Advertisement
 
Old 06-10-2008, 02:51 AM   #82 (permalink)
Experienced Zuner
 
Join Date: May 2008
Posts: 187
Reputation: 16
$zB: 161
Donate
Default

can't we all just get along...?
__________________
Jesus is Lord

Celebrity wallpapers coming to a zune near you!



zunebro is offline   Reply With Quote
Old 06-10-2008, 09:53 AM   #83 (permalink)
Experienced Zuner
 
tenritsu's Avatar
 
Join Date: May 2008
Posts: 183
Reputation: 13
$zB: 94
Donate
Default

You know, there is a homebrew scene for this type of stuff... So while yes, people do use emulators for illegal purposes, it's not like that's all that it's for.

Besides, often it's not about emulating illegal games that motivates people to create emulators. It's the accomplishment of getting it working... at least, from the emulator creators that I've talked to.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



tenritsu is offline   Reply With Quote
Old 06-10-2008, 09:59 AM   #84 (permalink)
Zuner
 
yeloshu's Avatar
 
Join Date: Nov 2007
Posts: 56
Reputation: 11
$zB: 51
Donate
Default

Someone brought up the problem that the existing NES emulator runs at a miserable speed(6 fps?) on the 360 but that's not as big an issue as you would think. Realizing that the 360 has incredible specs in comparison to the ancient computers that ran NESticle with no problems, it shows the importance of optimization. If someone took the time to optimize all the code in said emulator then I think it would probably be able to work at decent speeds. Also, consider that the PSP with all its various emulators(SNES, PSX, PSP) runs a 333mhz processor while the Zune boasts a 532mhz processor with a supposedly more efficient processor structure (ARMS (Zune's) vs. MIPS (PSP)) and it makes the Zune seem rather impressive. A couple things the PSP has over the Zune however would be the size of the memory, the Zune having maybe 16mb(?) and the PSP having 32+mb as well as the dedicated GPU. I think that if someone did a bit of optimizing, you could easily pull that 6fps to NES emulator. In fact, GBA and SNES emulators probably wouldn't be that much of a stretch although either one would be a helluva lot of work. One last thing on it, I'm not sure how efficient XNA and C# really are, but I doubt they are inefficient enough that they would keep you from getting a desirable FPS after enough work it.

Also, someone was asking how they would go about storing the ROM's on their Zune. There are two ways I see this working:

A.) You make the ROM an asset and it gets stuck on the Zune when you deploy the game. However, this means that you have to redeploy anytime you would want to add or remove games from it. Basically, you would have to embed the ROM's in the emulator. And when/if Microsoft sets us up to compile the games then just hand a single file over to a non-developer to stick on their Zune, if you wanted to let users choose which games they wanted on their Zune, they would have to compile their emulator with every possible combination of games and this would obviously not be fun.

B.) You might could actually just change the ROM's into MP3's/JPEG's/WMV's so you could store them independently. You would have to write a small program to add a header to the beginning of the ROM and do any other preparations to fool the Zune software into thinking that it actually is a song/picture/video, and have your emulator strip this from the beginning of the file and shove the ROM into the memory for later. This however would require that you actually have access to the raw data from a song/picture/video and I'm not sure that XNA supports that.

Someone brought up that you would have to draw each pixel as a texture and SimReality corrected them mentioning that you could just edit the pixeldata of a single texture and draw it each frame. That would work, but I think there are better ways. If I understand it correctly, the NES draws two scrolling backgrounds then draws everything else as sprites. I would think that you could make textures out of the backgrounds using SourceRectangles to scroll through them and set the sprites up as custom-made classes with multiple frames made of Texture2D's that you cycle through and draw where you need to. Since you don't have to loop through the 61440 pixels every time you draw, I would think that this is possibly quicker and more efficient and would lead to a healthier fps.

A good place to start for anyone actually considering writing their own Zune-specific emulator would be writing an emulator for a simpler console, like the CHIP-8. Although the CHIP-8 does have a bunch more buttons than the Zune. But most of the games written for it don't make use of more than 4 or 5.

Again, sorry for the way too big post. =P Here are some links to help make research easier.

More NES technical documents than you will ever need: http://nesdev.parodius.com/

A thread on ZuneScene(*gasp*) on the Zune processor: http://www.zunescene.mobi/forums/ind...7597.msg453588




yeloshu is offline   Reply With Quote
Old 06-10-2008, 11:08 AM   #85 (permalink)
Zuner
 
Join Date: Dec 2007
Posts: 56
Reputation: 26
$zB: 42
Donate
Default

Quote:
Originally Posted by Spike! View Post
The fact that SimReality is supporting the development of an Emulator to play illegally downloaded Roms when he had a Conniption about a clone of Super Mario World is so funny it's sad. I'm sorry for Hijacking the thread for a minute there, but it makes me laugh so hard I had to say something.


Back On-Topic, I think working to have a functional Emulator for the NES would be better than trying to port individual games, since, well it's kind of obvious why. It'd be fun to play Excitebike
To be fair, emulators themselves aren't illegal. Its the Roms that are, so supporting the development of an emulator isn't supporting anything illegal. Although most uses for a emulator would be illegal.



sableholic is offline   Reply With Quote
Old 06-10-2008, 11:18 AM   #86 (permalink)
Experienced Zuner
 
Spike!'s Avatar
 
Join Date: Apr 2008
Posts: 175
Reputation: 13
$zB: 158
Donate
Default

Quote:
Originally Posted by sableholic View Post
To be fair, emulators themselves aren't illegal. Its the Roms that are, so supporting the development of an emulator isn't supporting anything illegal. Although most uses for a emulator would be illegal.
Which is a half-assed loop hole for people who are lieing to themselves. That's like giving someone a handgun and expecting them not to use it, then saying "I didn't know that's what they we're going to use it for, even though the only use a gun has is shooting, so im not responsible." You can try and tell yourself, "oh, i'm sure everyone will use this for homebrew. And if people don't, then I can just say I intended it to be for just homebrew." But who are you kidding. We all know what an emulator does, and it's obvious what people here would be using it for. Hell I'D use it.

Last edited by Spike! : 06-10-2008 at 11:20 AM.




Spike! is offline   Reply With Quote
Old 06-10-2008, 02:05 PM   #87 (permalink)
Zuner
 
Join Date: Dec 2007
Posts: 56
Reputation: 26
$zB: 42
Donate
Default

Quote:
Originally Posted by Spike! View Post
Which is a half-assed loop hole for people who are lieing to themselves. That's like giving someone a handgun and expecting them not to use it, then saying "I didn't know that's what they we're going to use it for, even though the only use a gun has is shooting, so im not responsible." You can try and tell yourself, "oh, i'm sure everyone will use this for homebrew. And if people don't, then I can just say I intended it to be for just homebrew." But who are you kidding. We all know what an emulator does, and it's obvious what people here would be using it for. Hell I'D use it.
Don't get me wrong. I agree. I just was saying.



sableholic is offline   Reply With Quote
Old 06-10-2008, 03:51 PM   #88 (permalink)
Jr. Zuner
 
Join Date: May 2008
Posts: 47
Reputation: 19
Send a message via AIM to Pauliver Send a message via MSN to Pauliver
$zB: 31
Donate
Default

Quote:
Originally Posted by yeloshu View Post
Someone brought up the problem that the existing NES emulator runs at a miserable speed(6 fps?) on the 360
More NES technical documents than you will ever need:

http://nesdev.parodius.com/

A thread on ZuneScene(*gasp*) on the Zune processor: http://www.zunescene.mobi/forums/ind...7597.msg453588
no, 7 fps on the zune not on the 360



Pauliver is offline   Reply With Quote
Old 06-10-2008, 04:00 PM   #89 (permalink)
Experienced Zuner
 
Join Date: May 2008
Posts: 207
Reputation: 12
$zB: 170
Donate
Default

so how do we work this, has anyone gotten it to work?




cable729 is offline   Reply With Quote
Old 06-11-2008, 09:52 AM   #90 (permalink)
Zuner
 
yeloshu's Avatar
 
Join Date: Nov 2007
Posts: 56
Reputation: 11
$zB: 51
Donate
Default

Quote:
Originally Posted by Pauliver View Post
no, 7 fps on the Zune not on the 360
Oh, sorry. Thanks for correcting me on that. Which kinda makes my whole 360 > Old Computer thing bunk, even so, the Zune's processor should still outrun the processor of older computers. Thinking about the fact that the Zune does very little while running a game apart from running the game and that computers have several tasks they perform constantly, even while you are playing games, I would think a decent port of NESticle or FCEU would run fine.




yeloshu is offline   Reply With Quote
Old 06-11-2008, 11:03 AM   #91 (permalink)
Jr. Zuner
 
Join Date: May 2008
Posts: 47
Reputation: 19
Send a message via AIM to Pauliver Send a message via MSN to Pauliver
$zB: 31
Donate
Default

Quote:
Originally Posted by yeloshu View Post
Oh, sorry. Thanks for correcting me on that. Which kinda makes my whole 360 > Old Computer thing bunk, even so, the Zune's processor should still outrun the processor of older computers. Thinking about the fact that the Zune does very little while running a game apart from running the game and that computers have several tasks they perform constantly, even while you are playing games, I would think a decent port of NESticle or FCEU would run fine.
I did some profiling, 90% of the time is in the "Draw" function - that is the emulators draw function not XNA's. So basically what Nick/SimReality said:

Quote:
Originally Posted by SimReality
My suggestion was, and still is, to do some pre-processing of the data. Rather than redrawing a sprite pixel-by-pixel each frame, why not just make a single Texture2D for it when the game starts up and use that instead? You could put lots of these throughout the emulator and make things a lot more efficient. Granted this is a large difference than most emulators so it would require a lot of work, but that's probably the only way to get an efficient emulator running on the Zune.
It would take someone with Time, motivation and ability.



Pauliver is offline   Reply With Quote
Old 06-11-2008, 11:55 AM   #92 (permalink)
Zuner
 
yeloshu's Avatar
 
Join Date: Nov 2007
Posts: 56
Reputation: 11
$zB: 51
Donate
Default

Ah, that means that if someone could draw the sprites and backgrounds as textures in themselves instead of updating every pixel of a single texture repeatedly, that would probably lead to a major jump in performance. But this is all muse as I have very little experience with program optimization.




yeloshu is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Register and remove this ad

All times are GMT -8. The time now is 04:35 AM.

 
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC8
vB Ad Management by =RedTyger=
(C) ZuneBoards 2006-2007
Copyright © 2006 - 2008 Zune Boards | About Zune Boards | Legal | A member of the Crowdgather Forum Community