mirror of
https://github.com/cainan-c/TaikoPythonTools.git
synced 2025-02-17 10:48:42 +01:00
Update offset_adjust.py
This commit is contained in:
parent
f245ed5e77
commit
ef437ff5c4
@ -74,7 +74,9 @@ def process_tja_and_audio(tja_path, output_dir=None, original_name=False, encodi
|
|||||||
else:
|
else:
|
||||||
new_content += line + '\n'
|
new_content += line + '\n'
|
||||||
if line.strip() == '#START':
|
if line.strip() == '#START':
|
||||||
|
new_content += '#BARLINEOFF' + '\n'
|
||||||
new_content += ',' + '\n'
|
new_content += ',' + '\n'
|
||||||
|
new_content += '#BARLINEON' + '\n'
|
||||||
|
|
||||||
# Save the modified TJA content to a new file
|
# Save the modified TJA content to a new file
|
||||||
with open(new_tja_path, 'w', encoding=encoding) as new_file:
|
with open(new_tja_path, 'w', encoding=encoding) as new_file:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user