Skip to content

Commit

Permalink
util: timeline network conversion script [wip]
Browse files Browse the repository at this point in the history
I'm not intending to check this in, but this is as a reference.
  • Loading branch information
quisquous committed Dec 2, 2023
1 parent 114cf08 commit e541896
Show file tree
Hide file tree
Showing 6 changed files with 295 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ui/raidboss/data/04-sb/raid/o11n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ const triggerSet: TriggerSet<Data> = {
timelineReplace: [
{
'locale': 'de',
'missingTranslations': true,
'replaceSync': {
'Engaging Delta Attack protocol': 'Reinitialisiere Deltaprotokoll',
'Level Checker': 'Monitor',
Expand Down Expand Up @@ -205,6 +206,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'fr',
'missingTranslations': true,
'replaceSync': {
'Engaging Delta Attack protocol': 'Nécessité d\'utiliser l\'attaque Delta',
'Level Checker': 'vérifiniveau',
Expand Down Expand Up @@ -233,6 +235,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'ja',
'missingTranslations': true,
'replaceSync': {
'Engaging Delta Attack protocol': 'デルタアタックの必要性を認定します',
'Level Checker': 'レベルチェッカー',
Expand Down Expand Up @@ -260,6 +263,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'cn',
'missingTranslations': true,
'replaceSync': {
'Engaging Delta Attack protocol': '认定有必要使用三角攻击。',
'Level Checker': '等级检测仪',
Expand Down Expand Up @@ -287,6 +291,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'ko',
'missingTranslations': true,
'replaceSync': {
'Engaging Delta Attack protocol': '델타 공격의 필요성을 인정합니다',
'Level Checker': '레벨 측정기',
Expand Down
5 changes: 5 additions & 0 deletions ui/raidboss/data/04-sb/raid/o12n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ const triggerSet: TriggerSet<Data> = {
timelineReplace: [
{
'locale': 'de',
'missingTranslations': true,
'replaceSync': {
'Calculations indicate increased probability of defeat':
'Warnung. Erhöhte Wahrscheinlichkeit einer Niederlage',
Expand Down Expand Up @@ -223,6 +224,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'fr',
'missingTranslations': true,
'replaceSync': {
'\\\\<blip\\\\> Warning\\\\\. Calculations indicate':
'Alerte... Alerte... Forte augmentation',
Expand Down Expand Up @@ -264,6 +266,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'ja',
'missingTranslations': true,
'replaceSync': {
'Omega(?!-)': 'オメガ',
'Omega-M': 'オメガM',
Expand Down Expand Up @@ -302,6 +305,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'cn',
'missingTranslations': true,
'replaceSync': {
'Calculations indicate increased probability of defeat': '警告……警告……失败的危险性上升……',
'Omega(?!-)': '欧米茄',
Expand Down Expand Up @@ -341,6 +345,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'ko',
'missingTranslations': true,
'replaceSync': {
'Omega(?!-)': '오메가',
'Omega-M': '오메가 M',
Expand Down
5 changes: 5 additions & 0 deletions ui/raidboss/data/04-sb/raid/o9n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ const triggerSet: TriggerSet<Data> = {
timelineReplace: [
{
'locale': 'de',
'missingTranslations': true,
'replaceSync': {
'Chaos': 'Chaos',
'YOU DARE!': 'Wie könnt ihr es wagen?!',
Expand All @@ -188,6 +189,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'fr',
'missingTranslations': true,
'replaceSync': {
'Chaos': 'Chaos',
'YOU DARE!': '... Mon cristal !? Impossible !',
Expand All @@ -212,6 +214,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'ja',
'missingTranslations': true,
'replaceSync': {
'Chaos': 'カオス',
'YOU DARE!': 'まさか……黒水晶を……!?',
Expand All @@ -236,6 +239,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'cn',
'missingTranslations': true,
'replaceSync': {
'Chaos': '卡奥斯',
'YOU DARE!': '居然……把黑水晶给……',
Expand All @@ -260,6 +264,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'ko',
'missingTranslations': true,
'replaceSync': {
'Chaos': '카오스',
'YOU DARE!': '네 이노오오옴',
Expand Down
3 changes: 3 additions & 0 deletions ui/raidboss/data/05-shb/trial/hades-ex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ const triggerSet: TriggerSet<Data> = {
timelineReplace: [
{
'locale': 'de',
'missingTranslations': true,
'replaceSync': {
'Aetherial Gaol': 'Ätherkerker',
'Arcane Font': 'Arkan(?:e|er|es|en) Körper',
Expand Down Expand Up @@ -768,6 +769,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'fr',
'missingTranslations': true,
'replaceSync': {
'Aetherial Gaol': 'Geôle Éthérée',
'Arcane Font': 'Solide Arcanique',
Expand Down Expand Up @@ -962,6 +964,7 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'ko',
'missingTranslations': true,
'replaceSync': {
'Aetherial Gaol': '에테르 감옥',
'Arcane Font': '입체 마법진',
Expand Down
1 change: 1 addition & 0 deletions ui/raidboss/timeline_parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ export class TimelineParser {
'^ 1\\[56\\]:\\[\\^:\\]\\*:\\[\\^:\\]\\*:',
'^( ?260)? 104:',
'^ ?29:',
'\\[:\\^\\]\\+',
].map((x) => Regexes.parse(x));
}

Expand Down
Loading

0 comments on commit e541896

Please sign in to comment.