Previous Page | Next Page

by DrO at 10:21 PM EST on November 21, 2016
There's a range of licenses in effect with the dependent dlls that vgmstream tries to use but they don't appear to prevent them being used like they are (at least not from when I looked at them a few months back).

However it's good to know for certain now what the vgmstream core is actually licensed under (might be handy to have it mentioned on https://hcs64.com/vgmstream.html).

I had assumed it was something like that though I still need to sort out providing my minor Winamp related changes (which is built against the latest commits from kode54) from the version of in_vgmstream.dll I've built as part of my WACUP project. Dunno if any of those changes will be helpful or not once I've sorted them out but it seems only right I make them available.

-dro
by hcs at 9:58 PM EST on November 22, 2016
The COPYING file has always been included with the binary and the source, as far as I can remember.
by Knurek at 7:13 PM EST on November 23, 2016
Has anyone had any luck with those HCA files with encrypted (xored) headers?
There has to be something going on with them, VGMStream plays them as static, but changing the headers to match other HCA files results in lack of playback.

I've seen them used a lot in PSP and Vita games, usually inside UNION.CPK.

edited 7:14 PM EST November 23, 2016
by kode54 at 8:57 PM EST on November 23, 2016
They're encrypted. VGMStream only supports the PSO2 encrypted files, as it has that game's key hard coded. If you want them to play, you'll have to decrypt them.

You'll note that changing just the headers breaks playback. That is because every packet is checksum protected. The encrypted data packets are protected in their encrypted form.

You'll need a decrypter, there's one posted to this forum, on Github, that will, when given a correct encryption key, produce unencrypted files with correct checksums.

I doubt there will ever be any sign of a giant encryption key list built into the player like there is with ADX. Maybe in the filenames of each track, but not through sheer brute force.
by Knurek at 11:33 AM EST on November 24, 2016
Ah, thanks, that clears things up - I've been out of the loop for the past few years.

I managed to find decryption codes for one game, but the devs unfortunately were not lazy here, and haven't reused them between games.

I looked at a 2ch forum post by the guy who posted the code and he mentions going through the PSP exe with a debugger looking for the file load function and getting they key from registers. A bit beyond my skillset, so I will just put the encrypted sets on the archive, alongside with a note mentioning they have no known key and a decrypted PSP executable.
by bnnm at 6:27 PM EST on November 24, 2016
I was thinking about adding a way to read encryption keys from an external file (say "key.bin" or "songname.key"), so you don't have to recompile for new ADX/SCD/HCA/etc keys all the time.
That wouldn't help getting them keys though.


Since I wasn't so sure about FFMpeg I decided to create a separate git with the includes and DLLs.
I use that to build my tests/winamps but perhaps others may use it.
Maybe it could be integrated in the main repo later.
https://github.com/bnnm/vgmstream-ffmpeg
by Nisto at 5:47 PM EST on November 25, 2016
Could I pester you guys with another (couple) format(s)? It's practically just one, really.

Rakugaki Oukoku 2 AKA Graffiti Kingdom (PS2) has two proprietary PSX ADPCM containers with extensions .VDM and .VDS. The headers are identical apart from the IDs.

.VDM files are mono and has magic number 0x56444D20
.VDS files are stereo and has magic number 0x56445320

The structure looks like this:
00 id (4 bytes)
04 size (4 bytes)
08 not sure (4 bytes)
0C sample rate (4 bytes)
10 channel count (4 bytes)
14 interleave size (4 bytes)
18 loop start (4 bytes)
1C loop end (4 bytes)
20 stereo flag (1 byte)
21 volume? (1 byte)
22 pan? (1 byte)
23 ? (1 byte)

Here are some (all) files for testing:
https://www.sendspace.com/file/5hsic0

Thanks!
by AnonRunzes at 11:11 AM EST on December 3, 2016
Can anyone here check these files?

00adc858998f86b7.rar

000481753b459fbd.rar

These ADX files has an incorrect duration.
by bnnm at 1:21 PM EST on December 3, 2016
@AnonRunzes - They play fine for me, in 6ch.

@Nisto - Adding new formats it's a bit of a pain so you could use GENH for now... I'm considering some easier way to do it though.
by Nisto at 1:56 PM EST on December 3, 2016
Yep, I know bnnm. Was just hoping to get native support added. It's not urgent or anything, but the files are up on Josh W's servers now. It's mostly for the sake of other people being able to actually play them.

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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159

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
Generated in 0.015s;