butterfansubs / aegsc

A compiler for aegs Aegisub karaoke templates
MIT License
1 stars 0 forks source link

ASS-exportable comments #9

Open 9vult opened 2 years ago

9vult commented 2 years ago

A nice feature to have would be a comment type (similar to the current %; comments) that gets exported as a comment line, allowing for a single comment to document both the aegs file as well as the resulting ASS output.

For example, if you have a bunch of lines for a lead-in effect, you could add a comment line above them denoting that this section is the lead-in effect.

bucket3432 commented 2 years ago

So it looks like this might be a no-go because attempting to paste the following into Aegisub results in the ; comment line being parsed and pasted as text instead of a comment.

Comment: 1,0:22:37.83,0:23:56.99,ED3-R,highlight,0,0,0,template line,{!color('FBFCFA')!\bord7\blur5}
; mixin
Comment: 0,0:22:37.83,0:23:56.99,ED3-R,,0,0,0,mixin line anystyle,{\yshad0.01\q2!ease()!!ln.line.tag{'fscx','fsp'}!}

screenshot_2022-04-19_23-59-40

If we implement this, it should probably be behind a flag of some sort.

bucket3432 commented 1 year ago

The !raw-event directive described in #14 should allow for this. It's not as compact as having a dedicated token, but it should be enough to cover this use case nonetheless.