Multi-interleaved music extract by almendaz at 5:06 AM EDT on March 11, 2020
Hello.
I need help here, there is this file that has 2 interleave values, i.e. interleave size is not constant.
The file is ADPCM PC-FX from a certain vn game. For the first part, interleave 0x20000 is used, until offset 0x40000, i.e. a single CHUNK with that interleave value; aftrwards interleave size is 0x10000. It has 2 channels, one instrumental, the other is voiced/sung.
I ask because there is no way to put two interleave values in TXTH.
Thanks in advance.

edited 5:07 AM EDT March 11, 2020

edited 5:14 AM EDT March 11, 2020
by almendaz at 3:20 PM EDT on March 13, 2020
Well I've found a solution. Not the prettiest, but does the job. It uses the 'load from txth' capability of vgms.

-----[BGM.16X.adpcm.txtp]-----
BGM.16X1.adpcm.txth
BGM.16X2.adpcm.txth

-----[BGM.16X1.adpcm.txth]-----
codec = PCFX
codec_mode = 3
channels = 2
sample_rate = 31468
body_file = BGM.16X.adpcm
interleave = 0x20000
start_offset = 0x0
num_samples = 0x40000

-----[BGM.16X2.adpcm.txth]-----
codec = PCFX
codec_mode = 3
channels = 2
sample_rate = 31468
body_file = BGM.16X.adpcm
interleave = 0x10000
start_offset = 0x40000
num_samples = data_size


Go to Page 0

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