Previous Page | Next Page

by MarkGrass at 1:13 AM EST on November 26, 2008
I'm a bit late to catch onto the MP3 support... awesome work as always, manako. :)

"...PSF tag might be stuck on the end. (I actually made something like that for ADX files, but nothing ever came of it)."

I think that's a pretty damn good idea. Now, if we could get the ball rolling with an ADX tagger... and who can forget, ADX tag support in VGMstream ;P

edited 1:14 AM EST November 26, 2008
by BtEO at 7:13 PM EST on November 26, 2008
by JILost at 11:01 PM EST on November 26, 2008
The only thing missing header-wise is a byte like PSF files have, telling the starting byte of the tag. Slapping the tag itself on the end of the file is pretty trivial.

I mentioned I'd done something like this before. It was an ADX tagger. There was no modification to the header, so the tag was simply stuck on the end of the file and thus, in_cube played the file fine (vgmstream didn't exist at the time). The problem was that I was using the tags for display on IRC; what that meant was that my script had to load the end of the file into RAM, find "TAG", and parse from there onwards, since there was no convenient "tag starts here" byte in the header. This, of course, meant that tag reading was terribly slow, since I loaded something like 2MB into RAM in order to accommodate for ridiculously long tags. It was sloppy, but I know of at least one person who tagged a good portion of his ADX collection with it, so I think it'd be useful if done properly.

Implementation in vgmstream would likely be trivial, too, since the tags are so straightforward and that byte will be there telling it exactly where to start reading -- and it's not like hcs hasn't dealt with PSF tags before, anyway.

Anyway, sorry for being so verbose.
by hcs at 6:57 AM EST on November 27, 2008
a) If you want to stick the tag on the end you could use a backwards format, with the signature and header physically at the end and offsets and sizes relative to the end. Wouldn't be any less efficient than a normal header.
b) I've dealt with PSF tags only though Neill's PSF tagging code.
c) There aren't plans to include any support for purely informational metadata in vgmstream, though I suppose if someone sends me a well-written patch I'll consider it.
by JILost at 9:00 PM EST on November 27, 2008
Hi, hcs. I didn't mean to come across sounding like I was taking for granted that you'd blindly add any old thing to vgmstream, if I did. I was just throwing around ideas. If this does get made and added, that would be great.

That "reverse header" idea is a good one. It'd be much easier to make the "footer" a specific length and have my script look at the last x number of bytes instead of what I was doing. I don't know why I didn't think of that myself.

And for some reason, it didn't occur to me that you didn't code the tagging stuff yourself. Again, I didn't mean to assume things, I was just excited at the prospect of tag reading.

If it would be of aid to anyone, I could fix up my tag-reading/writing mIRC script to use the "reverse header" idea and post it here. Granted, it's only an mIRC script, but perhaps a coder with more knowledge and inspiration could make some useful utility out of it -- or point me to a good resource to learn the proper c++/java/whatever to do it myself.
by bxaimc at 1:11 PM EST on November 28, 2008
ok, more GENH Examples, this time with DSP:

RSD6WADP from Crash: Mind Over Mutant (Wii):
crash08_idea60_platform.GENH
crash08_idea77_explore.GENH

Standard DSP from Megaman Network Transmission:
BM06_11_L.GENH + BM06_11_R.GENH
BM01_06_L.GENH + BM01_06_R.GENH
by JILost at 4:29 PM EST on December 1, 2008
These files are supposed to be playable in vgmstream, are they not? As of whatever version of vgmstream was up 10 minutes ago, the only GENH I've gotten to play is one I made from an MP3, and even that ignored the loop points -- meaning Winamp has no idea what to do with these or recognize them at all. I don't see GENH in the File Types list (or the "files of type" dropdown menu in Add File), either. Is there some setting or file I'm missing?

edited 4:40 PM EST December 1, 2008

edited 4:41 PM EST December 1, 2008
by bxaimc at 7:18 PM EST on December 1, 2008
Umm......the best thing to do is get the latest in_vgmstream plugin (if not done so). Also, make sure you have the necessary dlls (check readme) placed in winamp's main directory.

edited 7:44 PM EST December 1, 2008
by mogikihei at 2:14 PM EST on December 8, 2008
Create GENH is amusing.
Used Generic Header Creator 2.06

PC-FX Dea Langrisser FX

Original file
E7DP.adp
http://www.megaupload.com/?d=XA2GJMJV

Used Generic Header Creator 2.06
Create file
E7DP.GENH
http://www.megaupload.com/?d=SDZYM0CX

Hex editor Remake GENH file
Play low volume
http://www.megaupload.com/?d=K6032GXC

Can you correct it?
by manakoAT at 8:08 AM EST on December 11, 2008
this seems to be an unsupported IMA type, the first bytes are looking weird, normally they're something like 0x80, not 0x08m maybe a "reversed" type...

could you upload some more samples?

cU mana

Previous Page | Next Page
Go to Page 0 1 2 3

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