Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29
Now that there is a [url=http://p1xl.com/fun/flashnsf/]viable NSF player written in Actionscript, will there be any chance that it could be integrated into the message board? You could have it so that .NSF attachments also have a Play link, and make the flash-based player appear when you click there. Might be useful for people who don't have an NSF player installed, or are browsing at work.
I thought the only online NSF player out there was Blargg's Java implementation of his library.
But this is awesome; Blargg only had 2A03-based NSFs working in his applet (along with every other console's sound format,) whereas this one can support several expansions for NSFs.
I agree with you on this, Dwedit. I'm also thinking of implementing this on my own site soon. Thanks for posting this (because I wouldn't have seen this otherwise).
If you want, I can disassemble the site & formulate some kind of a documentation for it (I already downloaded the applet & am working on making a sample page).
_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!
I used HTTrack to download the entire page & its resources (which includes the applet, SWFObject version 2.2, the NSF/NSFe files from the site & the HTML page itself).
It uses SWFObject.js to control the ActionScript parameters, which let you customize the appearance of the player, the way it plays NSFe files & the way it transitions to different tracks in an NSFe. For NSFs, though, it looks like no parameters are really needed (but you can still use the same parameters for NSFes to play NSFs).
I've already got it up & running, but I'm currently in the process of documenting the ActionScript usage, cleaning up the HTML code & bringing it up to W3C standards.
Here's a sample page where I used the ActionScript to run 2 NSFe versions of my original compositions:
Sweet. Dwedit's suggestion is definitely worth the discussion.
I also have a package that I've attached here; it shows two ways to implement this applet. Since I don't have enough time to write proper documentation, I just commented the hell out of the ActionScript & HTML code.
Be sure to read both the site's content & the comments I've put in the code. And anyone can be my guest to use this template.
However, Dwedit mentioned that it's good for people without an NSF player; it's only good if they can have access to an internet connection. The downside is that you can't simply run any template with this applet straight off of your hard drive (it's not a conventional applet that can be embedded into a website using OBJECT elements in HTML). I tried running it off of my hard drive to no avail, so it has to be uploaded to a server first, before anyone can access the player & run it.
EDIT: I updated the package because of a few typos. I basically listed an NSF file that didn't exist in the package. So I corrected it. :P
_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!
I just tried embedding the flash player into a website I'm working on, and everything seems to link properly file structure-wise. My volume is up and I can't hear a thing. Is there something in the code that needs fixing or does the player not play files encoded in a beta version of FamiTracker?
_______________________
Same Face, New Game EP
http://www.mediafire.com/?m3hgzgdfyafcboo
I think this is a great idea, as well. I've always used NSFs, and most of the time that's what I would upload to this site.
TechEmporium:
"...However, Dwedit mentioned that it's good for people without an NSF player; it's only good if they can have access to an internet connection...."
While that's true, if someone was online downloading Famitracker modules from this site, I don't see what could be preventing them from downloading an NSF player if they didn't already have one, since they're on the internet anyway. There are dozens around. If however, they didn't have an internet connection like you stated, they probably wouldn't be here in the first place.
I don't know, maybe I'm not looking into the whole situation correctly. You can correct me on any of this.
aaronparsons - You're not trying to use it on a .FTM file are you? Flashnsf plays NSF files (and it won't matter what software you used to create the NSF).
Is the player appearing at all? Does it show the title of the song?
One thing that stumped me for a while is that IE and firefox wouldn't launch the scripts when I was running the html from my hard disk. I had to put the page up on the web before it would work.
[quote=aaronparsons]I just tried embedding the flash player into a website I'm working on, and everything seems to link properly file structure-wise. My volume is up and I can't hear a thing. Is there something in the code that needs fixing or does the player not play files encoded in a beta version of FamiTracker?[/quote]
You must be using an FTM file instead of an NSF file (which is the wrong thing to do). You have to export your tune into an NSF file & then use it with the applet (do so by editing my template).
Flash Player has security measures that prevents direct file access when running ActionScript off of the native hard drive, so you can only test the web page on a server. If you have the website up & running on the internet, can I have a look?
Also, there's a more updated version of FlashNSF that can play more than one NSF through a track listing.
As for the whole use of FlashNSF for people without an NSF player, it's namely for those users who don't have the knowledge of these kind of things (i.e.: no knowledge of emulation, where to find NSF files/players, using Google, using a computer in general, etc.).
_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!
Flash NSF player and online players in general has two good qualities. First is you don't need to install anything except Flash player (which is usually installed), this could be useful if you not allowed to install software or download files in some place. Second is that it will work on any platform that has Flash player, so you don't have to search and learn bunch of different players if you often switch between few computers with different systems, like Mac and PC with Linux.
[quote=TechEmporium]
Flash Player has security measures that prevents direct file access when running ActionScript off of the native hard drive, so you can only test the web page on a server. If you have the website up & running on the internet, can I have a look?[/quote]
This may be the issue. I've been testing it locally with an exported NSF. Would a test work with WampServer?
_______________________
Same Face, New Game EP
http://www.mediafire.com/?m3hgzgdfyafcboo
Carefull when you use DPCM channel and Yxx command.
here is the test i made few months ago...
http://www.iloveui.com/_index.html
the track who have problems is the last, called "Huijillio" and some DMC files sounds wrong, but i think is because i used the command Yxx wrong, tehe!.... i have to fix that and findout what's wrong with the command/sample
I've also noticed that FlashNSF doesn't support DPCM triangle wave samples very well, either. I suppose that most emulators & players don't have 100% complete support for certain DPCM operations (even though I know that NSFLive & VirtuaNSF do support such things properly).
_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!