Streemerz NES port

A place where you can keep others updated about your NES-related projects through screenshots, videos or information in general.

Moderator: Moderators

User avatar
Dwedit
Posts: 4309
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: Streemerz NES port

Post by Dwedit » Thu Oct 11, 2012 3:32 am

How many "illegal" instructions is this game using? So far I've seen CB, B3, and 8F. Now I need to emulate these.
Edit: Also need to fix the sound. Even though I should be emulating the sweep properly, I force the sound to play for one complete period before the frequency can change, so I'll need to find a way to change this.
Last edited by Dwedit on Thu Oct 11, 2012 3:46 am, edited 2 times in total.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!

User avatar
thefox
Posts: 3141
Joined: Mon Jan 03, 2005 10:36 am
Location: Tampere, Finland
Contact:

Re: Streemerz NES port

Post by thefox » Thu Oct 11, 2012 3:45 am

Dwedit wrote:How many "illegal" instructions is this game using? So far I've seen CB, B3, and 8F. Now I need to emulate these.
Those should be all, I think. Only the sound engine uses them, so you shouldn't have to play it too long to find all the places where they're used.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi

Denine
Posts: 398
Joined: Wed Feb 17, 2010 5:42 pm

Re: Streemerz NES port

Post by Denine » Thu Oct 11, 2012 4:45 am

Good game. Never played original, though.
Man, I liked the theme of last stage :) Nice touch.
Too bad the whole game was sooo short! :(
Banshaku wrote: I was going to suggest that you improve the soundtrack to make it sounds better.. ^_^;;
Maybe this game need a "NES Improvement mode"? :lol:

slobu
Posts: 275
Joined: Tue Jul 12, 2011 10:58 am

Re: Streemerz NES port

Post by slobu » Thu Oct 11, 2012 11:12 am

Seems to work on the stock emulator for the Dingoo. Freakin' AWESOME!!!!!!!!!!!

I know I posted some pretty sappy words of encouragement earlier but I stand behind them. This gives me hope for my projects.

tepples
Posts: 21980
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Streemerz NES port

Post by tepples » Thu Oct 11, 2012 3:01 pm

This kicks @$$.

User avatar
Banshaku
Posts: 2341
Joined: Tue Jun 24, 2008 8:38 pm
Location: Fukuoka, Japan
Contact:

Re: Streemerz NES port

Post by Banshaku » Thu Oct 11, 2012 5:00 pm

I don't have much time to play games except for the train so I had to use some savestate to finish it unfortunately (and avoid repeating the difficult part). I really wanted to see the entire content so this was the only way.

I like it. Some spot were very infuriating but I guess it is normal for this genre. I'm not good for those type of games anymore, especially with the crappy controller on the psp. ^_^;;;

Congratulation again!

p.s. you should make a "broken music mode" that sound like the broken emulation thing. And I found one possible typo at the end, maybe it was intentional. I won't mention on the forum, just in case it's an intentional joke.

User avatar
Dwedit
Posts: 4309
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: Streemerz NES port

Post by Dwedit » Thu Oct 11, 2012 5:40 pm

I thought I was going to have to redo parts of my sound code, but nope, I was just getting a completely different kind of broken sound because I had bugs in my AXS #nn instruction. Frequency sweep tricks works fine.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!

User avatar
tokumaru
Posts: 11702
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Re: Streemerz NES port

Post by tokumaru » Thu Oct 11, 2012 7:38 pm

Do the "illegal" opcodes make such a significant difference for the sound engine or are they used just because?

User avatar
Dwedit
Posts: 4309
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: Streemerz NES port

Post by Dwedit » Thu Oct 11, 2012 7:54 pm

I just noticed that this game perfectly adjusts itself for PAL mode. Sound pitch is perfect, and gameplay and movement speed seems to be virtually the same. Edit: Dendy mode too!
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!

User avatar
thefox
Posts: 3141
Joined: Mon Jan 03, 2005 10:36 am
Location: Tampere, Finland
Contact:

Re: Streemerz NES port

Post by thefox » Fri Oct 12, 2012 12:33 am

Banshaku wrote:And I found one possible typo at the end, maybe it was intentional. I won't mention on the forum, just in case it's an intentional joke.
I left all the typos from the original alone, since I wasn't sure which ones were intentional and which ones were not (except for the very obvious intentional ones).
Dwedit wrote:I thought I was going to have to redo parts of my sound code, but nope, I was just getting a completely different kind of broken sound because I had bugs in my AXS #nn instruction. Frequency sweep tricks works fine.
Hmm, I wonder if something like this was causing the sound bugging in other emulators (nnnesterJ at least) as well, I didn't actually check if it was the sweep trick. Oh well.
tokumaru wrote:Do the "illegal" opcodes make such a significant difference for the sound engine or are they used just because?
Mostly just because. There was a time when I wanted to learn what the different illegal opcodes do, and the only way to do that was to apply them. :)
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi

User avatar
Dwedit
Posts: 4309
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: Streemerz NES port

Post by Dwedit » Fri Oct 12, 2012 1:11 am

Just a typo in my code that caused the AXS instruction to give very wrong results. The glitches were nothing at all like the other emulators. Sounded mostly like silence, clicks, noise, and low notes that followed the tempo of the song. Sometimes the game even rebooted.
Had nothing at all to do with the sweep trick, or problems that other emulators faced.
After I fixed the AXS bug, the music was perfect, and no more bugs.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!

User avatar
thefox
Posts: 3141
Joined: Mon Jan 03, 2005 10:36 am
Location: Tampere, Finland
Contact:

Re: Streemerz NES port

Post by thefox » Fri Oct 12, 2012 1:29 am

Dwedit wrote:Just a typo in my code that caused the AXS instruction to give very wrong results. The glitches were nothing at all like the other emulators. Sounded mostly like silence, clicks, noise, and low notes that followed the tempo of the song. Sometimes the game even rebooted.
Had nothing at all to do with the sweep trick, or problems that other emulators faced.
After I fixed the AXS bug, the music was perfect, and no more bugs.
Is this in PocketNES, BTW, or some other emulator?

EDIT: Found out by myself (the answer is yes), the game works great in the latest version of PocketNES with VBA-M. Very nice!
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi

User avatar
Dwedit
Posts: 4309
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: Streemerz NES port

Post by Dwedit » Fri Oct 12, 2012 1:59 am

Yep, it's in PocketNES. I just released a new version that supports the game.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!

Bananmos
Posts: 512
Joined: Wed Mar 09, 2005 9:08 am
Contact:

Re: Streemerz NES port

Post by Bananmos » Sun Oct 14, 2012 4:19 pm

Speaking of the music/sound effects I must add I'm quite impressed with how good and true to the original it sounds... while converting graphics is fairly straightforward, actually converting the Flash version to true NES sounds must have taken a lot of polishing, so congrats again on that :)

User avatar
thefox
Posts: 3141
Joined: Mon Jan 03, 2005 10:36 am
Location: Tampere, Finland
Contact:

Re: Streemerz NES port

Post by thefox » Wed Oct 24, 2012 6:25 am

Bananmos wrote:Ahh... I didn't realize you were using scrolling for this one - I just assumed you were doing the boxes like the pause box in Megaman1, rounding it's coordinates to the next tile boundary to center it on screen.
You know, in hindsight I probably should have done this.

Maybe I'll change it for a new version so I can move the box down. It's not a trivial change though because all of the code assume that the textbox is at $2000 in the nametables, but at least I could get rid of the sprite 0 hit... I'd also have to fix all of the dialogue because there'd be less horizontal space.

I'm also considering scrolling the map down on NTSC ever so slightly (3 pixels seems to be the best) to make sure at least couple of pixels are visible on top and bottom when a display crops the top 16 pixels and bottom 10 pixels. If the croppings are more extreme than that, there's not much I can do.

Here's how the current version would handle 16-10 cropping:
crop-1.png
Here's how it would look after scrolling down 3 pixels: (Actually this mockup isn't 100% correct, the bottom 3 pixels of the map would show in place of the top 3 pixels in this case, unless the bottom tile row is cleared.)
crop-2.png
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi

Post Reply