USF Ripping Help! by GreyDeath at 6:07 PM EDT on July 25, 2008
Would anyone have any idea why a USF that I've ripped is 3 minutes and 10 seconds of silence when I hear music during the ripping process? The code I've written successfully halts the game process and drops the CPU down to 25-30% usage. Depending where I create the save state I can hear sound effects playing.

Could PJ64usf only be listening to, and ripping, a certain few channels? Could it be something to do with the fact that the game I'm trying to rip, Forsaken 64, creates the audio sequence with alCSeqNew, but uses alCSPSetSeq, alCSPPlay, etc.? Maybe the priority of the music channel(s) are lower than those of the sound effects?

Any thoughts or help would be appreciated.
by nensondubois at 7:34 PM EDT on July 25, 2008
You can blame someone for making usf players not able to channel mute.
by Mouser X at 3:24 AM EDT on July 26, 2008
The USF players are only emulating the N64 (and doing a pretty decent job al things considered). As such, if any blame is to be placed, it would have to be placed on Nintendo for designing the hardware the way it was. The N64 doesn't use a channel system like the SNES does. All the sequenced music is mixed in realtime by the RSP. That is, to successfully mute channels, you'd have to do so *BEFORE* any emulation is started. In other words, to successfully mute channels, you'd have to *SPECIFICALLY* rip each and every sequenced piece of data (the songs) in such a way that you remove various aspects of the song. You *CAN'T* mute channels, because no such thing exists. At least, not on the hardware level. And 64th Note is emulating the hardware of an N64. It is entirely 100% unable to alter things from a software side, which is what you'd have to do to successfully have channel muting.

To clarify - If you wanted to play SPCs on a SNES, you can do so. There's even ways, through hardware, to mute various channels. That's how the system was made. The N64 can't do that. If you were to attempt playing a USF on the N64 (to do so would take some work in itself, but that's beside the point), you would be unable to mute channels on the hardware level. You'd have to create some form of Gameshark or Action Replay code, or hack the USF file itself. To do channel muting, it must be done on the software level. And that changes for *every* game (well, for the most part). In other words, not only can 64th Note not do channel muting, but it'd be completely idiotic for it to attempt to do so, because it would require a specific hack for any and every game you wanted to mute channels with.

Hopefully I've made this abundantly clear. Placing blame on the people who are correctly emulating the N64 hardware (well, reasonably closely anyway) is stupid. What you are asking is simply not possible with N64 hardware. And for emulator authors to even attempt to alter that would be stupid. Not because it differs so much from the N64 hardware, but because it's not an emulation or emulator issue. It's a N64 hardware and software issue that needs to be fixed at a higher level than hardware (and thus can't be done by emulators anyway). Mouser X over and out.

edited 3:42 AM EDT July 26, 2008
by hcs at 3:40 AM EDT on July 26, 2008
I don't think channel priority has anything to do with it. As mouser says the channel stuff is all in software. I really can't say what your problem is, but I'm guessing that the audio thread isn't running in the rip. Rather unfortunately there are substantial, buggy differences between 64th Note and pj64usf. Have you tried the "bug tags" as mentioned at the end of the spec?
by Josh W at 7:18 AM EDT on July 26, 2008
there are several reasons why that would do that.

In this case, if you can hear audio during the ripping process itself, then the channel volume themselves is right. BTW, you can adjust the volume, by the A1 argument of alCSPSetVol.

In this case the ripper does something that prevents the music from being loaded / started.

A way around this might be to start the rip a little later after the track has loaded, but before the music starts. This means that a savestate must be made for each track though.

by GreyDeath at 7:25 AM EDT on July 26, 2008
hcs, I looked at the specification, and it says the big tags were removed, and _enablecompare tags were added. I tried those, but they made no difference.

I'll try creating the save state after the track is loaded. Forsaken has an odd music player... From what I can tell, its called once to load the sequence, once to play the sequence, then 80 times to fade it in (where I'm pretty sure the volume is being adjusted).

The source for pj64usf isn't available, is it?
by hcs at 8:29 AM EDT on July 26, 2008
Here's some source and some more source.
by GreyDeath at 5:16 PM EDT on July 28, 2008
Thank-you for the suggestion, Josh! Don't know why I didn't think of it earlier... But it worked. I'm in the process of ripping the tracks now. Where should I upload them when they're done?
by GreyDeath at 11:43 PM EDT on July 30, 2008
Well, everything is ripped and working good. My website is down at the moment, so if anyone wants them, let me know and I can email them.
by snakemeat at 10:35 AM EDT on July 31, 2008
Nice to hear you got it working. Any chance of just posting it to rapidshare or something?
by GreyDeath at 4:04 PM EDT on July 31, 2008
http://rapidshare.com/files/133906803/forsaken64usf.zip.html

Enjoy! Let me know if there's anything wrong with it.
by Josh W at 4:47 AM EDT on August 1, 2008
okie dokie, me uploaded it for ya
by GreyDeath at 6:25 AM EDT on August 1, 2008
Thanks! I'll kill this link then.
by wolupgm6 at 6:38 AM EDT on August 1, 2008
Sounds Great! Good Job, GreyDeath!
by Lunar at 3:35 PM EDT on August 1, 2008
Great success! Glad to see you finally made it.

Are there any other soundtracks you're interested in ripping?
by GreyDeath at 4:15 PM EDT on August 1, 2008
None that I'm dying to hear (at least not that I can think of at the moment). I'll probably keep ripping just for the fun of it though.
by anewuser at 3:57 PM EDT on August 24, 2008
Congrats! (and thanks!!)

Digging forsaken64 music =o
by nensondubois at 9:13 PM EDT on August 24, 2008
Awesome, I'll listen later.


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source