Previous Page | Next Page

stereo VAG1 by Alpha23 at 3:26 PM EDT on June 21, 2022
vag.c, lines 58/59 should be expanded to account for stereo VAG1 streams:

channels = read_u8(0x1e,sf);
if (channels == 2) {
interleave = 0x10;
}
else {
interleave = 0;
}


Here are some samples from Cabela's African Safari (PSP): https://www.mediafire.com/file/lb3ydjscn5gdokz/vag1_stereo.7z/file

Thanks for updating. :)
by bnnm at 5:05 PM EDT on June 21, 2022
@Alpha23 - thanks, I'll check vag1 later

As for BCVA, basically there is only so much time in the world to fix vgmstream stuff, so simpler formats that can be supported with .txth kind of get sidelined.

So if you make a text file named ".bcv.txth" (dot in front) and write this, they'll be playable without updating vgmstream:
id_value = 0x42435641 #BCVA
id_check = @0x00:BE

codec = PSX
channels = @0x04
data_size = (@0x0c - 0x30) * channels
start_offset = @0x10 + 0x30 #1st .vag
interleave = @0x18 - @0x10 #2nd .vag, full interleave
sample_rate = @0x60:BE
name_offset = 0x70

num_samples = data_size

May need to set "allow unknown exts" in vgmstream's options (or rename to a recognized).
by Alpha23 at 2:10 AM EDT on June 22, 2022
Thanks, that's a really good example to learn from. Is there some kind of txtp creation GUI that streamlines the process for multiple files?

About updating vgmstream - absolutely agreed!
I'd like to chat about this subject with you somewhere if you don't mind.
help with txth by Alpha23 at 5:31 AM EDT on June 22, 2022
Can somebody help me with creating a working txth file for this format: https://www.mediafire.com/file/i6vgkjjshyh2qvj/baku-no_str.7z/file ?
These are from Baku-No (PSP).
I'm working hard on meeting the archive's standards now! Until now I would have extracted those AT3 files, now I know better.
by bnnm at 2:00 PM EDT on June 22, 2022
For Baku-No you can use:
.str.txth
subfile_offset = @0x40:BE + 0x30
subfile_size = @0x4c:BE
subfile_extension = at3


Which tells vgmstream there is a regular .at3 at said offset. It's also possible to make a .txth for raw AT3, but here is simpler. Some files are empty though.

***

Thanks for taking the time to check standards. Rules aren't inflexible, so odd stuff can be handled differently case by case. The general mantra is, the closer to the original data the better (one can always modify archive files later, but can't un-modify modified data, so to speak), and that we want audio metadata (no point to preserve a generic .zip-like container, but interesting if it's some kind of audio container and may have non-obvious metadata).

A memorable example for me is one format internally using RIFF .at3 and 44100hz, but setting the sample rate to 48000 in the format's metadata.

Most rips floating around were using 44100 from extracted .at3 instead of 48000 (slower than the game). That was a big motivation to start fixing vgmstream stuff and encouraging this (seemingly) kind of picky preservation.

***

There is no GUI for txth/txtp but since it's just text should be easy enough to pick up and cook simple scripts. Here is some general description of TXTH/TXTP.

For TXTH you can check examples here, of increasing complexity.

It has plenty of functions to handle corner cases but one for most games is rather simple.

For TXTP a few examples here for common cases and through the doc.

More advanced are these python scripts: txtp-dumper (makes real .txtp from a text file with 'inlined' .txtp), txtp-maker (mainly for audio containers with N subsongs), txtp-segmenter (mainly for combos of song_intro.ext+song_loop.ext).


As for chatting sure, feel free to ask here/new thread/discord/mail/etc.
by Puterboy1 at 2:11 PM EDT on August 10, 2022
The Gran Tursimo 7 .szd1 files need to be added.
by bnnm at 5:01 AM EDT on August 18, 2022
latest vgmstream changes (releases / builds / alt (GCC) / bugs)
- Allow truncated .aix [Metroid: Other M (Wii)]
- Fix some .atsl/ktsl2asbin [Nioh (PS4)]
- Extra logs on broken RIFF
- Add Bioware fake .wav [Star Wars: KOTOR 1/2 (PC)]
- Fix some .atsl, add .atslx [Ken's Rage 2 (X360)]
- Fix some .tun [NBA Inside Drive 2000 (PC)]
- Add TXTH codec "IMA_HV" [NBA Hangtime (PC)]
- Fix mono ALP .pcm [NBA Inside Drive 2000 (PC)]
- Fix some .mul [Tomb Raider 2013 (PS4)]
- Fix segments not using highest sample rate as base
- Improve some Ubi SB detection [Myst IV (PC)]
- Fix some .at3 RIFF [Megami no Etsubo (PSP)]
- Lower .mp3 priority
- Add TXTH codec PCM8_SB [Sonic CD (SCD)]
- Add RIFF .ogg/logg extension [Luftrausers (Vita)]
- Improve .mp3 loading speed in some cases
- Fix some VAG1 .vag [Cabela's Africa (PS2)]
- Add SNDZ .szd1/3
- Fix some N1 .opus [Asatsugutori (Switch)]
- Check ACB size
- Tweak HCA mappings
- Add SNDZ .szd extension
- Fix missing end samples in Wwise Vorbis
- Fix some Wwise Convolution Reverb wem
- Fix truncated ATRAC9 .wem
- Fix some .swav [Face Training (DSi)]
- txtp_maker: fix subsongs with unicode
- Add .3ds extension [F1 2021 (3DS)]
- Fix some WayForward .wave [Happy Feet Two (3DS)]
- Fix some Koei .wbd+whd [Nights of Azure 2 (PS4)]
- Add encrypted .akb [Final Fantasy Agito (Android)]
- Fix winamp's format detection hijacking .vgm
- Fix some .psb crashes
- Fix some .psb looping clicks
- Reject .wem with excess/incorrect data
- Adjust HEVAG decoding
- Added PS1 VAB format (by Nicknine)
- Add FSB keys
- Fix TXTH loop behavior positive to include 0
- winamp: fix open dialog extensions and tweaks
- audacious: always reject unplayable files
- Add .sdp extension
- Add TXTH codec "HEVAG"
- txtp_segmenter: add inline command
- Tweak UE4 wav detection [GTA SA Remaster (Switch)]
- Remove .vb from ps_headerless (use TXTH)
- Add .sig/sag extensions
- Remove fake .tec extension (use .str + TXTH)
- Redo .hxd+str [Fatal Frame 3 (PS2), Tokobot (PS2)]
- Remove .dxh (use .hxd+str)
- OGG: Added .bin extension [Devil May Cry 3: Special Edition (PC)] (by Nicknine)
by EHT_shiniori at 4:13 PM EDT on August 18, 2022
@Puterboy1 - they were already added before you came in, in fact it was a few weeks back.
if you have a vgmstream component in foobar2000 and you can't play them, your component version is outdated.

edited 4:18 PM EDT August 18, 2022
by jritchings02@gmail.com at 8:11 PM EDT on August 22, 2022
The Family Tennis 3D .Bcseq Files Need to Be Added!
by EHT_shiniori at 8:15 PM EDT on August 22, 2022
hope you enjoy being told that vgmstream is for audio streams only though.
so no, they don't and you can either:
1) accept that support for bcseq files won't ever be added into vgmstream, so please keep your bcseq files.
2) post them into another thread. who knows, maybe someone will pretend to look into them and come away not understading why did they even bother with that to begin with.

sorry, i don't make the rules.

edited 8:17 PM EDT August 22, 2022

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 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270

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