.usf and a tracker. by Tom at 11:14 PM EDT on April 5, 2009
is there a .USF of tetrisphere or the new tetris? I changed azule lux.miniusf to .mod + a tracking program (madtracker, fasttracker 2, etc.) and got several samples that work, same with the new tetris.usflib
I played the .usflib in madtracker, but got very wiered sounds out of it. I thought if I get a .usf, I could modify the song or maybe create a new one out of those samples.
if there is a converter that converts a .miniusf to a .usf, it would be nice.
The way it works is that each track that plays is actually a combination of the .miniusf and the .usflib, so to get the plain ROM and RAM image for each you'd have to combine those one by one. If I remember correctly, this is done by a combination of usf2rom and recon.
To disassemble a miniusf or usflib, do: usf2rom.exe foo_1.miniusf.rom foo_1.miniusf.ram foo_1.miniusf to create foo_1.miniusf.rom and foo_1.miniusf.ram from foo_1.miniusf, or usf2rom.exe foo.usflib.rom foo.usflib.ram foo.usflib to create foo.usflib.rom and foo.usflib.ram from foo.usflib.
To combine the ROM or RAM images from a usflib and a miniusf, do: recon.exe foo_1.miniusf.rom foo_1.rom foo.usflib.rom a to create foo_1.rom from foo_1.miniusf.rom and foo.usflib.rom, or recon.exe foo_1.miniusf.rom foo_1.ram foo.usflib.ram a to create foo_1.ram from foo_1.miniusf.ram and foo.usflib.ram.
You'll have to use usf2rom for each miniusf and the usflib, and then recon for the rom and ram for each track (assuming that the samples are in RAM and ROM, they might just be in ROM, but I seem to recall that they had to be decompressed into RAM). Also you may have just gotten lucky with that one track, the rest might have samples in a stranger format. I really don't know anything more specific about it.
Edited to fix command lines, might still be wrong, I'm just looking at the usage info.
I don't know where the files are and it looks quite complex. if you could put the comand line, it would be alot easyer, and sure, I'll give you the samples of the chiptunes. ^_^
hcs said: If I remember correctly, this is done by a combination of usf2rom and recon.
Tom said: I don't know where the files are and it looks quite complex.
HCS linked the files you need, and gave you the information you needed to use the tools he linked to. In your case, think of the commandline stuff as such:
usf2rom.exe <NAME OF SONG>.miniusf.rom <NAME OF SONG>.miniusf.ram <NAME OF SONG>.miniusf
(where "<NAME OF SONG>" is the same file name). The same thing works for a USFLIB, but using a USFLIB instead of a miniUSF. At least, I would assume this, based on the commands that HCS gave.
If you have the Tetrisphere set, and the files that HCS linked (which I quoted), then you should be able to rebuild these yourself back into their USF (non-miniUSF) form. At least, that's what I assume based on HCS's post. Give it a try yourself. "If you give a man a fish, he eats for a day. If you teach a man to fish, he can eat for a lifetime." Basically, try it out. It really doesn't look too hard as long as you follow directions. Hope that helps. Mouser X over and out.
HCS said: To disassemble a miniusf or usflib, do: usf2rom.exe foo_1.miniusf.rom foo_1.miniusf.ram foo_1.miniusf to create foo_1.miniusf.rom and foo_1.miniusf.ram from foo_1.miniusf, or usf2rom.exe foo.usflib.rom foo.usflib.ram foo.usflib to create foo.usflib.rom and foo.usflib.ram from foo.usflib.
To combine the ROM or RAM images from a usflib and a miniusf, do: recon.exe foo_1.miniusf.rom foo_1.rom foo.usflib.rom a to create foo_1.rom from foo_1.miniusf.rom and foo.usflib.rom, or recon.exe foo_1.miniusf.rom foo_1.ram foo.usflib.ram a to create foo_1.ram from foo_1.miniusf.ram and foo.usflib.ram.
NOTE: The italics and bold parts? That's how you use the tools HCS linked. Replace "foo_1" (or "foo" for a USFLIB) with the file name of the files you want to work on. Just try it first before posting again, and see what happens. And no, you're not being rude, but I'm starting to be. Mouser X over and out.