a friend of mine has been bothering me ever since I got the idea, but I told him a zillion times that it doesn't work, he says that he won't stop bothering me until I get those samples out, if it would be posible if you could post the comand line to put the *.pj into a *.usf for madtracker. (he's also an artist)
ps: you don't have to respond to the post if you wan't.
HCS wrote: Nope. The order in a usf is the same as in the pj. All this process (the tedious one I've been walking you through repeatedly) does is combine stuff from the miniusf and usflib and restore the empty space.
What HCS means by this is that you've essentially recreated the ROM. That is, you would have recreated the ROM, if the USF rip had been ripped from the ROM. Since it was ripped from the RAM, it recreated the RAM. And a savestate is just that. It's the RAM from the N64. In other words, you can't recreate the ROM (which is essentially what you're asking) from the savestate.
As HCS already said, the *.PJ file contains samples (at least, if he says it does, I believe him). If madtracker can't find any useful data, then open the *.pj file in a hex editor, and pull out the samples manually. No, I have no idea what to look for to do that. If your friend wants it as badly as you say he does, have him do it. The data is already there. At this point, it sounds like there isn't anything left to do, other than extraction. It's already been assembled, and re-ordered back into its original form (at least, as near as you can get it without using the ROM itself, which is compressed, so I doubt that would be helpful). If you want the audio samples (which HCS says is present), then you need to find some means to extract it. I don't know of any programs, which is why I suggest using a HEX editor.
Like I said, if you can't figure it out, tell you're friend "It's all there. We just need to extract it. I don't know what to look for in a HEX editor, so here you go. You can look through it and pull out the samples. Good luck." Hopefully that clarifies it a little. Mouser X over and out.
Tom, I suggest you do the following: 1) get audacity, it is a free audio editing program which is handy for this kind of thing. I'll assume you're using the Windows 1.2.6 version. 2) Start audacity, go to Project->Import Raw Data, select the .pj file, select signed 16-bit PCM and enter a sample rate of 22050, click the Import button You should now have a screen that looks vaguely like this. What you have now is an interpretation of the file as if it was a 16-bit PCM waveform. That only applies to certain parts of the file, though, but you should be able to find them. If you press the play button (not visible in my screenshot due to Wine sucking but pretty obvious) you'll get a bunch of high pitched junk for a while, but around 1:06 or so you'll hear the actual instrument samples. You can zoom in on a particular part of the waveform by selecting it and doing Ctrl+E, there are also zoom controls in the View menu. You can export parts of the file into independent WAV files (so you can deal with them however you deal with them) by selecting a region and going File->Export selection as WAV. That at least will give you something to work with.