Previous Page | Next Page
- by hcs at 2:40 AM EDT on October 22, 2007
- OK, degod 0.1 is now up, with support for Samurai Champloo, Killer 7, and Blood+. The keys for these games (and each had its own) were determined through trial and error and a lot of computation. They are not, however, necessarily correct. There is a very good chance of errors. They do, however, sound good.
degod had the brute forcing tools that I used built in, as well as estimates the 4 known keys.
Raiden III is still pending.
[edit]
0.2 now up with a key for Raiden III.
edited 10:41 AM EDT October 22, 2007
- by dag at 4:42 PM EDT on October 22, 2007
- Thanks a lot for taking the time, man that was quick! Works like a charm :)
I'll see if I find any file that sounds a bit off, or some track that's encrypted and unencrytped in a video (like in God Hand) if it helps to get better keys.
- by hcs at 7:38 PM EDT on October 22, 2007
- Well, the errors will be systematic and should be equally troublesome on any track. Since I can't hear anything odd they're probably in the lower bits of significance.
Do inaudible errors matter? To me, they do.
- by snakemeat at 3:07 PM EDT on October 26, 2007
- Just to confirm, the tools works for only PS2 versions of these games?
And the process would be like this?
____________________________
|-Extract AFS files from ISO-|
""""""""""""""""""""""""""""
|
| AFS files
\|/
____________'__________________
|-ADXUtil/ADX Unpacker/adXtract-|
"""""""""""""""""""""""""""""""
|
| ADX Files (encrypted)
\|/
___________'__________
|--------degod---------|
""""""""""""""""""""""
|
| ADX Files (decrypted)
\|/
'
edited 3:08 PM EDT October 26, 2007 Meh, looked better in the editor :(
edited 3:10 PM EDT October 26, 2007
- by hcs at 5:12 PM EDT on October 26, 2007
- I don't know if this only works for the PS2 versions of games, but that's the only system I've seen the encryption used in (the GC version of Killer7, for instance, isn't ADX and is not encrypted). Your diagram is correct, assuming that the ADX files are packed somehow.
edited 5:13 PM EDT October 26, 2007
- by hcs at 2:25 PM EST on November 28, 2007
- Got a new key supported in 0.3, from Phantasy Star Universe for PC. Not clear just now if the files I was given were from the original or the expansion, I'll probably put out an 0.31 release with the name clarified. But right now I think it works on both.
Maybe works on the other platforms, too?
edited 2:25 PM EST November 28, 2007
He now informs me:
"The song came from the expansion. The PS2 version of the vanilla game didn’t have encrypted ADX... but the expansion for PS2 has encrypted and unencrypted stuff... the PC version of both the expansion and vanilla had encrypted both times... I don't have PS2 vanilla game on me anymore... I uninstalled the PC vanilla version as well... I'll let you know soon..."
edited 2:59 PM EST November 28, 2007
edited 2:59 PM EST November 28, 2007
- by hcs at 2:16 PM EST on December 22, 2007
- It turns out that the PC version of PSU and the expansion both use the same key.
Rips here: PSU and PSU:AOI
- by dag at 3:41 PM EST on December 22, 2007
- Ok, here is another one if you want to check it, Senko no Ronde (Xbox360, WarTech in the US I think). None of the older keys work.
http://www.sendspace.com/file/u12o49
Btw, could you explain a bit how do you find the keys? I take you have to use -b (with -n) to get the more likely keys (lower scaletotal?) but it's a bit too hard for me to figure out :(
- by hcs at 10:12 AM EST on December 23, 2007
- I glance at Senko1.adx and Senko2.adx in khexedit. Senko1.adx seems to be quieter at the beginning, so it's starting encrypted scale (0x46d6) is likely to be near the actual starting value, and the next encrypted scale (0x2ca1, the first scale of the second channel which is also quiet) is also likely to be near the starting value. Note that the starting values for Senko2.adx (0x46df, 0x2ca3) are near these.
So I start with "degod -b -n 4 Senko1.adx". (By default it will try to use every frame in the file, which will take a really long time, so we use -n 4 to only use the first 4 frames.)
Fairly quickly it hits on a few possibilities:
-s 46d6 -m 5ced -a 3089
-s 46d7 -m 5ced -a 539d
-s 46d5 -m 5ced -a 0d75
all with an average scale of 8. So this looks fairly good, but it could be better.
I'll decode using the first key (starting with 46d6) and see how it works out. Sounds alright but for a clicking... this is fairly common in a close key.
So I try the next key (starting with 46d7)... worse
So I try the next key (starting with 46d5)...still bad.
Ok, so we run it again a higher -n and give it some time, as the clicking is periodic the error might not be apparent in the first few frames. I'll use "degod -b -n 100 Senko1.adx".
'bout 20 minutes went by and nothing better than the 46d6 one found before.
So I give it another shot with -n 1000 and leave it overnight.
Nothing better than 46d6 showed up.
So, time for another strategy. There may well be nothing better than the -s 46d6 -m 5ced -a 3089 key for the first few frames, and as I extend it to more frames it just computes more slowly and might take a long time to get to a better global result. The major perceptible error (with the 46d6 key) is clicking, so I dump the decoded audio to a WAV and look at it in Audacity.

See the first few big clicks at 0.055 and 0.060? I'm going to brute force only on that small range (0.050 to 0.070, *44100/18/2 = 60 to 85) with "degod -b -f 60 -n 25 Senko1.adx"
So I let this go for a little while, I don't get anything better than -s 6cd3 -m 5ced -a 64cd, with 232 scale avg. This is no good, though (To use this key for the whole file I use "xortest 6cd3 5ced 64cd", which gives me the random number stream. I go to the end (the last value, which is the same as the first value) and up 60 values to find the starting value, in this case 765f. That couldn't possibly be the actual start value. Note that I have some assumptions about the random stream, namely that it will always cycle back to the start value, which I don't think is strictly true, though it has been true for all keys found so far.), for the whole file. The multiplier is 5ced, though, which seems familiar. So maybe the other elements of the key are off and that is correct. I try it for that section of the file again, forcing a muliplier of 5ced (degod -b -m 5ced -f 60 -n 25 Senko1.adx), but again its best values are unusable (the best is -s 6cf3 -m 5ced -a 474d, which would have a start value of 767f). I try it again, for the first 100 frames (degod -b -m 5ced -n 100 Senko1.adx) and it quickly comes to -s 46d3 -m 5ced -a 474d, which works!
A few notes:
1) It would have been best to take the -m 5ced hint that I got in the first few minutes, from those 3 identically-scoring keys. Had I extended it to a few more frames with that I would have had the key I ended up with the next day.
2) -m 5ced -a 474d were also elements of the result for -f 60 -n 25, the start value was just way off.
So degod 0.4 is now up.
- by hcs at 4:12 AM EST on December 24, 2007
- Any chance you could put some more Senko no Ronde tracks online? I liked what I heard, but I'm having trouble finding it online to rip the rest myself.
Previous Page | Next Page
Go to Page 0 1 2 3 4
Search this thread
Show all threads
Reply to this thread:
HCS Forum Index
Halley's Comet Software
forum source