UNPKG

ultrastar2ass

Version:

Convert Ultrastar karaoke files to ASS files

132 lines 3.52 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.script = exports.scriptFX = exports.dialogueScript = exports.dialogue = exports.events = exports.styles = exports.scriptInfo = void 0; exports.scriptInfo = { section: 'Script Info', body: [ { type: 'comment', value: 'Converted using ultrastar2ass : https://lab.shelter.moe/axelterizaki/ultrastar2ass' }, { key: 'Title', value: '' }, { key: 'ScriptType', value: 'v4.00+' }, { key: 'WrapStyle', value: 0 }, { key: 'ScaledBorderAndShadow', value: 'yes' }, { key: 'Collisions', value: 'Normal' } ] }; exports.styles = { section: 'V4+ Styles', body: [ { key: 'Format', value: [ 'Name', 'Fontname', 'Fontsize', 'PrimaryColour', 'SecondaryColour', 'OutlineColour', 'BackColour', 'Bold', 'Italic', 'Underline', 'StrikeOut', 'ScaleX', 'ScaleY', 'Spacing', 'Angle', 'BorderStyle', 'Outline', 'Shadow', 'Alignment', 'MarginL', 'MarginR', 'MarginV', 'Encoding' ] }, { key: 'Style', value: { 'Name': 'Default', 'Fontname': 'Arial', 'Fontsize': '24', 'PrimaryColour': '&H000088EF', 'SecondaryColour': '&H00FFFFFF', 'OutlineColour': '&H00000000', 'BackColour': '&H00000000', 'Bold': '-1', 'Italic': '0', 'Underline': '0', 'StrikeOut': '0', 'ScaleX': '100', 'ScaleY': '100', 'Spacing': '0', 'Angle': '0', 'BorderStyle': '1', 'Outline': '1.5', 'Shadow': '0', 'Alignment': '8', 'MarginL': '2', 'MarginR': '2', 'MarginV': '20', 'Encoding': '1' } } ] }; exports.events = { section: 'Events', body: [ { key: 'Format', 'value': [ 'Layer', 'Start', 'End', 'Style', 'Name', 'MarginL', 'MarginR', 'MarginV', 'Effect', 'Text' ] } ] }; exports.dialogue = { key: 'Dialogue', value: { Layer: '1', Start: '00:00:00.00', End: '00:00:00.00', Style: 'Default', Name: '', MarginL: '0', MarginR: '0', MarginV: '0', Effect: '', Text: '' } }; exports.dialogueScript = '\\fad(300,200)}'; exports.scriptFX = 'template pre-line all keeptags'; exports.script = '!retime("line",$start < 900 and -$start or -900,200)!{!$start < 900 and "\\\\k" .. ($start/10) or "\\\\k90"!\\fad(!$start < 900 and $start or 300!,200)}'; //# sourceMappingURL=assTemplate.js.map