My latest MSU-1 project

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

My latest MSU-1 project

Post by qwertymodo on Thu 3 Nov 2016 - 3:46

Because I'm always so much better at starting new projects than finishing existing ones...

https://github.com/snes9xgit/snes9x/issues/79#issuecomment-258006148


(Also, if anybody is familiar with the snes9x audio code, I could use some help understanding it...)

Windows Download Link: https://dl.qwertymodo.com/snes9x_msu.zip


Last edited by qwertymodo on Sat 22 Jul 2017 - 22:40; edited 1 time in total
avatar
qwertymodo
Administrator
Administrator

Since : 2014-10-21

Back to top Go down

Re: My latest MSU-1 project

Post by qwertymodo on Thu 3 Nov 2016 - 22:17

avatar
qwertymodo
Administrator
Administrator

Since : 2014-10-21

Back to top Go down

Re: My latest MSU-1 project

Post by DarkShock on Fri 4 Nov 2016 - 11:26

Nice!!
avatar
DarkShock
ROM Hacker
ROM Hacker

Since : 2014-12-29

Back to top Go down

Re: My latest MSU-1 project

Post by Puzzledude on Fri 4 Nov 2016 - 17:41

Great. Since this is the emulator I usually use.
avatar
Puzzledude
Elite ROM Hacker
Elite ROM Hacker

Since : 2012-06-20

Back to top Go down

Re: My latest MSU-1 project

Post by qwertymodo on Mon 7 Nov 2016 - 14:49

If anybody wants to beta test:
Windows binaries
Linux source

Filenames use the SD2SNES format i.e. gamename.msu, gamename-#.pcm in the same folder as the ROM file.

I'm especially interested in getting feedback on sync-sensitive games such as the BS-Zelda hacks, along with testing for desyncs with the snapshot/rewind/fast-forward features.


Last edited by qwertymodo on Thu 10 Nov 2016 - 15:37; edited 1 time in total
avatar
qwertymodo
Administrator
Administrator

Since : 2014-10-21

Back to top Go down

Re: My latest MSU-1 project

Post by  on Mon 7 Nov 2016 - 20:08

Played a bit with Conker and it works flawlessly so far!

It doesn't seem like this emulator is as much cpu hungry as higan/bsnes so it's a great thing for someone like me with a slow end pc.

Administrator
Administrator

Since : 2012-06-19

Back to top Go down

Re: My latest MSU-1 project

Post by qwertymodo on Mon 7 Nov 2016 - 20:21

Yeah, that's the idea, especially now that higan has dropped support for its performance and compatibility cores. I get 70-80fps max in higan, and easily >900 with Snes9x.
avatar
qwertymodo
Administrator
Administrator

Since : 2014-10-21

Back to top Go down

Re: My latest MSU-1 project

Post by qwertymodo on Mon 14 Nov 2016 - 14:40



https://github.com/snes9xgit/snes9x/commit/27e6bc1b0114b088bf9000a2bd51c0d2108cf474
avatar
qwertymodo
Administrator
Administrator

Since : 2014-10-21

Back to top Go down

Re: My latest MSU-1 project

Post by Euclid on Tue 15 Nov 2016 - 5:27

Now need to wait for someone to update the android version so I can enjoy glorious conker on the go... retroarch is too cpu intense for my phone!
avatar
Euclid
Zelda God - Administrator
Zelda God - Administrator

Since : 2012-06-21

Back to top Go down

Re: My latest MSU-1 project

Post by Conn on Tue 15 Nov 2016 - 6:33

I've seen that a 1.54 version is out... Will your code be compiled into an "official" 1.55 version?
In any case... just awesome work Very Happy
avatar
Conn
Zelda God - Administrator
Zelda God - Administrator

Since : 2013-06-30

Back to top Go down

Re: My latest MSU-1 project

Post by qwertymodo on Tue 15 Nov 2016 - 11:24

Conn, yes. That's what that github link means. They've officially merged my code into the main "master" branch, and it will be included in all future official releases. Also, Re: RetroArch, they've already pulled my changes into their libretro core, so it'll be available there too for the Snes9x core, not just the bsnes core.
avatar
qwertymodo
Administrator
Administrator

Since : 2014-10-21

Back to top Go down

Re: My latest MSU-1 project

Post by  on Tue 15 Nov 2016 - 11:52

That's awesome!

qwertymodo wrote: MSU-1 games should probably go in their own subfolders though, to keep all of the files contained. e.g. {Snes9xDir}\ROM\somemsugame\somemsugame.(sfc|msu|pcm) and {Snes9xDir}\ROM\someothermsugame\someothermsugame.(sfc|msu|pcm)

Files use the SD2SNES naming format, i.e.
gamename\
-gamename.sfc
-gamename.msu
-gamename-#.pcm

no manifest necessary. Just copy the whole game folder into your ROMdir.

Should I then update my pdf readme for my hack as well to include snes9x support or wait until they release 1.55?

Administrator
Administrator

Since : 2012-06-19

Back to top Go down

Re: My latest MSU-1 project

Post by qwertymodo on Tue 15 Nov 2016 - 12:45

Probably best to wait. Even though there's been a fair bit of active development lately, there's no guarantee on when the next release is going to be.
avatar
qwertymodo
Administrator
Administrator

Since : 2014-10-21

Back to top Go down

Re: My latest MSU-1 project

Post by Conn on Tue 15 Nov 2016 - 13:39

Oh that's just awesome! Congratulations on your masterpiece!
Please let me know when the new snes9x version is out!

Did you manage the sync, so it is also suitable for bszelda?
avatar
Conn
Zelda God - Administrator
Zelda God - Administrator

Since : 2013-06-30

Back to top Go down

Re: My latest MSU-1 project

Post by qwertymodo on Tue 15 Nov 2016 - 13:55

It should be synced, but I have not tested it on longer tracks like bszelda. I would love to get some feedback on that. If there are issues, I can look into it (and, by me, I probably mean bearoso Razz ).
avatar
qwertymodo
Administrator
Administrator

Since : 2014-10-21

Back to top Go down

Re: My latest MSU-1 project

Post by Conn on Tue 15 Nov 2016 - 16:20

You can probably test the sync in fast forward mode, I can do that ... is there a latest build or the beta from above still valid?
avatar
Conn
Zelda God - Administrator
Zelda God - Administrator

Since : 2013-06-30

Back to top Go down

Re: My latest MSU-1 project

Post by qwertymodo on Tue 15 Nov 2016 - 16:26

I should probably reupload the latest build, I think that build might still have broken audio resume.

Edit: Latest version uploaded, same URL. I went ahead and included the Unicode builds as well.
avatar
qwertymodo
Administrator
Administrator

Since : 2014-10-21

Back to top Go down

Re: My latest MSU-1 project

Post by Conn on Tue 15 Nov 2016 - 17:15

Great, I already started testing the sync, am at minute 11 and continue tomorrow...

Say, do you think it would be possible to adjust the msu volume independent from spc/sfx in a future build?
avatar
Conn
Zelda God - Administrator
Zelda God - Administrator

Since : 2013-06-30

Back to top Go down

Re: My latest MSU-1 project

Post by qwertymodo on Tue 15 Nov 2016 - 17:33

No, sorry. We finally got the whole volume thing fixed on the SD2SNES, everything matches across the board. Now that there's a single consistent target, we need to fix existing PCM's, not break the emulators to accommodate them. There are a couple of people working on tools that can fix the audio levels on PCM packs that are too loud (tepples, Kakashi, and DarkShock). That's the real solution.
avatar
qwertymodo
Administrator
Administrator

Since : 2014-10-21

Back to top Go down

Re: My latest MSU-1 project

Post by Conn on Wed 16 Nov 2016 - 1:49

Just tested one week bszelda map2, perfectly synced after 50 minutes Razz
avatar
Conn
Zelda God - Administrator
Zelda God - Administrator

Since : 2013-06-30

Back to top Go down

Re: My latest MSU-1 project

Post by qwertymodo on Wed 16 Nov 2016 - 2:36

Sweet, glad to hear it. Good to know taking the lazy way out and just reading samples on demand worked out as well as I'd hoped Razz
avatar
qwertymodo
Administrator
Administrator

Since : 2014-10-21

Back to top Go down

Re: My latest MSU-1 project

Post by Puzzledude on Wed 16 Nov 2016 - 6:21

Nice project qwerty.
By the way, is it possible for you to check this:
in snes9x 152 when you press fast forward to 140% speed, which I always use, the regular sound of the emulator (not MSU) is normal, in later versions: 153 and 154, when you press speed up to 140%, nothing happens. The emu does not speed up, since you need to first press desinc/sinc sound. Then it speed up but with a chrusty sound (this is regular internal sound of the rom).

This is quite a problem, since this basically means the thing got worse. Is it possible to revert this back to the version of 152, as this feature was much better there and it is the way it should be. Since on 153 and above you basically can not play it in any emulation speed other that 100%, even 80 percent destroys the sound again to chrust sound.

As far as I know, this problem is due to having the new Xaudio2 seeting instead of internal snes9x audio setting. However no setting works in version 153 and above to be as quality as it was in 152.

avatar
Puzzledude
Elite ROM Hacker
Elite ROM Hacker

Since : 2012-06-20

Back to top Go down

Re: My latest MSU-1 project

Post by qwertymodo on Wed 16 Nov 2016 - 10:55

I'm not quite sure what you mean. I'm able to speed up just fine, and the audio sounds just fine (once you return to 100%). Every once in awhile it will end up "scratchy" but that's fixable by just tapping the fast forward key a few times. On my desktop, I can get as high as 2000fps and the audio still returns to normal when I stop fast forwarding.
avatar
qwertymodo
Administrator
Administrator

Since : 2014-10-21

Back to top Go down

Re: My latest MSU-1 project

Post by Puzzledude on Wed 16 Nov 2016 - 16:31

Yes, however the version 152 was able to play the sound when you were on 140% emulation normally and the audio was thus playing also on 140% percent speed with no side effects.

But apparently something went wrong with 153 and above, since you (for instance) can not speed up to 140 or 200% at all by default unless you decheck a sound setting, which is odd, that this was changed onto the worse.

This is why the authors of the emu turned off the speeding up and down by default, as they knew it would destroy the sound (unless you go back to 100%) when emulated on any other percentage.

and the audio still returns to normal when I stop fast forwarding.
Yes, that's true, however it should also be normal when you are not on 100% I just don't understand what went wrong here, as it was all ok on 152, but suddenly not on 153 and above, where the sound becomes chrusty on any other emu speed but 100% (note, this is not MSU, but regular sound integrated in the rom).
avatar
Puzzledude
Elite ROM Hacker
Elite ROM Hacker

Since : 2012-06-20

Back to top Go down

Re: My latest MSU-1 project

Post by Conn on Wed 16 Nov 2016 - 16:32

finished ast testing, no sync issues as well.
I neither can speed up the framerate, using the normal snes9x.exe. I use the hotkey (*+~) on german keyboard, it says "Speed 417%" but no effect.
avatar
Conn
Zelda God - Administrator
Zelda God - Administrator

Since : 2013-06-30

Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum