Bonk PS2 by Newbie2000 at 2:22 PM EDT on April 13, 2020
I had a question about some tracks not looping properly in a txth I made, but I fixed it after some web searching, by inverting the value in the loop_flag section.

# Hudson Selection Vol. 3 - PC Genjin (PS2)

codec = PCM16LE
interleave = 0x200

# this .txth is meant to be loaded directly
header_file = BANK_SYS.CFG
body_file = BANK_SYS.PFP

channels = 2

# subsong headers at 0x9F0, entry size 0x18, total 19 * 0x18 = 0x1C8
subsong_count = 19
subsong_offset = 0x18
base_offset = 0x9F0

sample_rate = 48000
start_offset = @0x00

data_size = @0x04
num_samples = data_size
loop_flag = 1 - @0x0B$1 # invert the value
loop_start_sample = @0x10 * 48
loop_end_sample = data_size


edited 6:02 PM EDT April 13, 2020


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