Previous Page | Next Page

by kode54 at 9:35 PM EDT on September 26, 2017
Still waiting for that Atrac9 decoder to appear somewhere. Or is that a big secret?
by furrybob at 11:26 PM EDT on September 26, 2017
@kode54
I don't know 'bout no ATRAC9 decoder, but that ~2010-era, version 1.1 HCA file that bnnm posted last page plays properly now.
by Mouser X at 12:24 AM EDT on September 27, 2017
@kode54:

ChillyBilly posted a command line AT9 decoder back in September 2016 and a drag n' drop version in August 2017. I've used the drag+drop version on a few AT9 files, and it works fine, except that it doesn't handle spaces very well (it uses the "CURRENT USER"'s temp directory, and since my username on this PC is "Mouser X", it fails to function, due to the space in my username. I had to create/activate the "guest" account on my PC to run the drag+drop tool.... It's a pain). It also doesn't include the loop point in the resulting WAV file, so I had to direct the screen output to a text file, to preserve the loop points. I've successfully created looping ADX files using the drag+drop tool (and of course an ADX encoder). In doing so, I noticed another problem - the resulting WAV files are looped twice (without loop points).

To reiterate - the drag+drop version does the job (so long as there's no spaces in the path to the temp directory), without loop points in the WAV file that "hard loops" twice. To create "proper" looping files, you need to remove the 2nd loop manually (I didn't notice the command-line version before, which does have a parameter for looping once), and add the loop points that the tool outputs to the screen. It's a little work, but certainly doable.

That said, if anyone knows how to use this tool to create some "custom code" (aka, reverse engineer) to decode AT9 files, that'd be great. It'd make a lot of sets playable, and get rid of the problems I have in trying to create my own looping files from the decoded AT9 files.

I linked this, in the assumption that you haven't seen it. If you already have it, hopefully someone else can make good use of knowing it's here.

[EDIT] Upon further reading, it looks like both tools are part of a Sony devkit, so building code from reverse engineering these tools is probably illegal. Dang. Mouser X over and out.

edited 12:58 AM EDT September 27, 2017
by furrybob at 1:12 AM EDT on September 27, 2017
A 31 MB exe file? I don't know whether to be horrified or impressed. I wonder where the code's taken from. I'm on my phone right now so I can't check it out further.

I actually have completely reverse engineered the ATRAC9 format, and have a 100% bit-perfect decoder. Right now I'm writing documentation, and cleaning up/reimplement the code.

It wasn't supposed to be a huge secret. I just decided not to say anything until it was almost ready to release, especially since the timeline on side-projects can be really unpredictable. Besides the temporary code you might write when you're reverse engineering is kinda embarrassing =P

The decoder is written as a module to VGAudio, which means conversion to formats like ADX is be a breeze. The ATRAC9 code and data currently fit in a ~50KB dll. Only slightly smaller than 31MB.
by Mouser X at 1:56 AM EDT on September 27, 2017
The command line decoder is about 73 KB. The drag+drop tool is big because it includes code to trans-code MP3, WAV, FLAC, OGG, YouTube, and a number of other formats into AT9. I haven't used the command line tool myself, yet, so I don't know how usage compares to the drag+drop tool. Hopefully it doesn't use the "CURRENT USER" temp directory (as that causes problems, with a space in my user name, apparently). If not, I can convert AT9 into a looping format (LOGG is preffered, but I don't have a "user friendly" way of playing LOGG files on my tablet. I know there's Droidsound, but the playlist handling, and file adding, on that player are a real pain in the neck. I use Rockbox [which doesn't work past Android 4.0 :( ], which plays ADX files), which would be nice to play on my tablet.

Though, I've been watching DrO's improvements on Winamp. If all goes well there (and my internet become a lot more stable...), I can stream my PC's music to my phone, and play all this great music that way! Though, I have no idea how playlist handling works under those conditions....

Regardless, I hope your AT9 implementation becomes available for VGMstream. That'd make listening to the Hyperdimension Neptunia series a lot easier (it's the first game I downloaded/discovered that uses AT9). Good luck! Mouser X over and out.
by bnnm at 1:03 PM EDT on September 27, 2017
@furrybob - that's great news, good about the HCA too. I hope you can publish an ATRAC9 DLL / C ext API for vgmstream as well, I can do the rest (I don't know much about .NET and would be a pain to learn just to do that).

@Knurek from the past - vgmstream can parse a bunch of headers with AT9 (Wwise, FSB5, Ubi RAKI, EA SCHl (in testing), SXD, XVAG, GTD), just needs the actual decoder :)
(ironically regular .at9 is missing, one more thing for the to-do pile).

edited 1:32 PM EDT September 27, 2017
by Knurek at 1:14 PM EDT on September 27, 2017
Please make AT9 decoding in VGMStream happen. Please. Especially if this amounts to FSB and WWise Vita support.
by marcusss at 2:49 PM EDT on September 27, 2017
Sounds like an awesome achievement !
by furrybob at 8:46 PM EDT on September 27, 2017
@bnnm
I've already put together an open source implementation of Nintendo's DspTool, so I was planning on doing something similar with Sony's libatrac9.

edited 8:46 PM EDT September 27, 2017
by kode54 at 11:25 PM EDT on September 27, 2017
If it must be a DLL, I'd rather port it to native C code first, so it can be portable.

The only reason I even asked about the ATRAC9 decoder was because someone came announcing its completion on IRC about a month ago, and I came to the VGAudio repository to see not a trace or mention of it. Perhaps you should be careful who you share your development news with if you're not ready to go public yet? :P

Previous Page | Next Page
Go to Page 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

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