blargg wrote:
As far as number of loops, that information is available.
Joy. Listening to NSFs is gonna get more pleasant soon.
blargg wrote:
I didn't realize that NSFE wasn't the preferred format. Can't someone just modify players to support it?
Well, both NSFPlug (in_yansf) and NEZPlug (in_nez) are open source, so it's possible. Still, both haven't been updated for a while (well, NEZPlug got recently updated by RuRuRu, but that was only compatibility fixes).
blargg wrote:
Or perhaps the issue is that multiple tracks in a single file are problematic, and that this has already been solved in a general way with the use of m3u files?
The thing is - with M3U playlist I can listen to timed songs whenever I want, but if I want to listen to the tunes endlessly, I just open NSF file. No plugin reconfiguration required.
blargg wrote:
What format should the m3u file be (I'm not at all familiar with m3u)?
Extended M3U format used by both NEZPlug and NSFPlug:
# Solstice (CSG Imagesoft) [1989]
# Composer: Tim Follin
(comments start with # at the beginning)
Solstice (1989)(CSG Imagesoft).nsf::NSF,06,Title - Tim Follin - Solstice - ©1989 CSG Imagesoft,177,,1
Solstice (1989)(CSG Imagesoft).nsf::NSF,02,Main Theme - Tim Follin - Solstice - ©1989 CSG Imagesoft,112,113,7
(entry structure is: name_of_the_nsf_file::NSF,[1 based songno(dec)|$songno(hex)],[title(text, no commas obviously)],[time(h:m:s)|time(s)],[loop(h:m:s)|time(s)][-],[fade(h:m:s)|fade(s)],[loopcount])
Use the decimal songnumbers, as the hex ones aren't compatible between NSFPlug and NEZPlug (ie: NSFPlug starts from $0x01, NEZPlug from $0x00).
Time format is a bit tricky.
The first track doesn't loop, so I just set the time (i'm doing seconds, but you can swith 177 with 2:57, both work), skip the loop declaration, and add a 1 second fade to be on the safe side.
The second track loops, so i set the time to the duration of the first loop (112 seconds), the loop to the duration of the second loop (113 seconds), and fadeout to 7 seconds (my personal standard).
This could be done this way too: 112,-,8 (where - means that the loop equals the time).
I could also add a loopcount after the fade (ie, if I like to hear 4 loops, I'd just set: 112,-,8,3).
blargg wrote:
Tracks marked with a dash eventually end, which I don't have the tool detect yet.
Smiles at the yet part.
blargg wrote:
Code:
0 1 2 3 4 5 6 7 8 9
0 1:36 1:08 2:28 0:56 1:24 1:30 - - 3:38
1 - - - 1:06 - 3:23 0:42 1:42 1:14 2:33
2 1:56 2:32 1:36 0:50 0:28 2:06 -
Tracks #7 and 8 do loop. The rest is fine, including the detected times (which are spot on from what I've checked).
I was talking about the Megadrive version of Ys3, seems like the NSF file doesn't have "The Theme of Chester" song. Not sure if it's a incomplete rip, or if the tune just wasn't in the NES convertion.