- Welcome to Touhou Wiki!
- Registering is temporarily disabled. Check in our Discord server to request an account and for assistance of any kind.
User:Totlmstr/SongSource.js
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
(function(){
var song_info = {
"ダブルスポイラー ~ 東方文花帖": {
"あなたの町の怪事件": "The Mystery in Your Town [Photo Theme 1]",
"ニュースハウンド": "Newshound [Title and Menu Theme]",
"ネメシスの要塞": "Nemesis's Stronghold [Photo Theme 3]",
"妖怪の山 ~ Mysterious Mountain": "The Youkai Mountain ~ Mysterious Mountain [Photo Theme 5]",
"妖怪モダンコロニー": "Youkai Modern Colony [Photo Theme 2]",
"無間の鐘 ~ Infinite Nightmare": "Bell of Avici ~ Infinite Nightmare [Photo Theme 4]"
},
"妖精大戦争 ~ 東方三月精": {
"いたずらに命をかけて": "Staking Your Life on a Prank [Stage 1, 2 Boss Theme]",
"プレイヤーズスコア": "Player's Score [Score Theme]",
"メイガスナイト": "Magus Night [Extra Stage Boss Theme; Marisa Kirisame]",
"ルーズレイン": "Ruse Rain [Extra Stage Theme]",
"可愛い大戦争のリフレーン": "The Refrain of the Lovely Great War [Stage 1 Theme]",
"妖精大戦争 ~ Fairy Wars": "Great Fairy Wars ~ Fairy Wars [Stage 3 Boss Theme]",
"年中夢中の好奇心": "Year-Round Absorbed Curiosity [Stage 2 Theme]",
"春の氷精": "An Ice Fairy in Spring [Title Screen Theme]",
"春の氷精 - 静 -": "An Ice Fairy in Spring - still - [Ending Theme]",
"真夜中のフェアリーダンス": "A Midnight Fairy Dance [Stage 3 Theme]"
},
"未知の花 魅知の旅": {
"明日ハレの日、ケの昨日": "Tomorrow will be Special; Yesterday was Not",
"未知の花 魅知の旅": "Unknown Flower, Mesmerizing Journey",
"無間の鐘 ~ Infinite Nightmare": "Bell of Avici ~ Infinite Nightmare"
},
"東方三月精 ~ Strange and Bright Nature Deity": {
"サニーミルクの紅霧異変": "[vol.1]",
"サニールチルフレクション": "[vol.2]",
"スターヴォヤージュ2008": "[vol.1]",
"フェアリー冒険譚": "[vol.3]",
"二つの世界": "[vol.3]",
"可愛い大戦争のリフレーン": "[vol.2]",
"夜だから眠れない": "[vol.2]",
"妖精燦々として": "[vol.2]",
"雪月桜花の国": "[vol.1]"
},
"東方地霊殿 ~ Subterranean Animism": {
"エネルギー黎明 ~ Future Dream...": "Energy Daybreak ~ Future Dream... [Staff Roll Theme]",
"ハルトマンの妖怪少女": "Hartmann's Youkai Girl [Extra Stage Boss Theme; Koishi Komeiji]",
"ハートフェルトファンシー": "Heartfelt Fancy [Stage 4 Theme; Rin Kaenbyou]",
"ラストリモート": "Last Remote [Extra Stage Theme; Sanae Kochiya]",
"地霊達の帰宅": "The Earth Spirits' Homecoming [Ending Theme]",
"地霊達の起床": "Awakening of the Earth Spirits [Title Screen Theme]",
"封じられた妖怪 ~ Lost Place": "The Sealed-Away Youkai ~ Lost Place [Stage 1 Boss Theme; Yamame Kurodani]",
"少女さとり ~ 3rd eye": "Satori Maiden ~ 3rd eye [Stage 4 Boss Theme; Satori Komeiji]",
"廃獄ララバイ": "Lullaby of Deserted Hell [Stage 5 Theme; Rin Kaenbyou]",
"旧地獄街道を行く": "Walking the Streets of a Former Hell [Stage 3 Theme; Yuugi Hoshiguma]",
"暗闇の風穴": "The Dark Blowhole [Stage 1 Theme]",
"業火マントル": "Hellfire Mantle [Stage 6 Theme]",
"死体旅行 ~ Be of good cheer!": "Corpse Voyage ~ Be of good cheer! [Stage 5 Boss Theme; Rin Kaenbyou]",
"渡る者の途絶えた橋": "The Bridge People No Longer Cross [Stage 2 Theme]",
"緑眼のジェラシー": "Green-Eyed Jealousy [Stage 2 Boss Theme; Parsee Mizuhashi]",
"華のさかづき大江山": "A Flower-Studded Sake Dish on Mt. Ooe [Stage 3 Boss Theme; Yuugi Hoshiguma]",
"霊知の太陽信仰 ~ Nuclear Fusion": "Sun Worship of Gnosis ~ Nuclear Fusion [Stage 6 Boss Theme; Utsuho Reiuji]"
},
"東方夢時空 ~ Phantasmagoria of Dim.Dream": {
"Dim. Dream": "[Marisa Kirisame]",
"Maniacal Princess": "[Kotohime]",
"Maple Dream...": "[Staff Roll Theme]",
"Phantasmagoria": "[Unused]",
"Reincarnation": "[Mima]",
"Sailor of Time": "[Chiyuri Kitashirakawa]",
"Selection": "[Character Selection]",
"Strawberry Crisis!!": "[Yumemi Okazaki]",
"Tabula rasa ~空白少女": "Tabula rasa ~ The Empty Girl [Ellen]",
"ゲームオーバー": "Game Over [Game Over]",
"スターボウドリーム": "Starbow Dream [Unused]",
"久遠の夢": "Dream of Eternity [Common Ending Theme]",
"勝利デモ": "Victory Demonstration [Victorious Demo Theme]",
"夢は時空を越えて": "A Dream Transcending Space-time [Title Screen Theme]",
"夢幻遊戯 ~Dream War": "Visionary Game ~ Dream War [Rikako Asakura]",
"夢消失 ~Lost Dream": "Vanishing Dream ~ Lost Dream [Kana Anaberal]",
"時の風": "Winds of Time [Unused]",
"東方の青い空": "Eastern Blue Sky [Daytime Ending Theme]",
"東方妖恋談": "Mystic Oriental Love Consultation [Reimu Hakurei]",
"永遠の満月": "Eternal Full Moon [Nighttime Ending Theme]",
"霊人の休日": "Ghostly Person's Holiday [Name Registration]",
"非統一魔法世界論": "Disunified Field Theory of Magic [Midboss Demo Theme]",
"魔法決戦!~Fight it out!": "Decisive Magic Battle! ~ Fight it out! [Round 7 CPU Battle Theme]",
"魔法鐘愛": "Love of Magical Chimes [Yumemi Demo Theme]"
},
"東方妖々夢 ~ Perfect Cherry Blossom": {
"さくらさくら ~ Japanize Dream...": "Sakura, Sakura ~ Japanize Dream... [Staff Roll Theme]",
"アルティメットトゥルース": "Ultimate Truth [Stage 6 Theme; Youmu Konpaku]",
"クリスタライズシルバー": "Crystallized Silver [Stage 1 Boss Theme; Letty Whiterock]",
"ティアオイエツォン(withered leaf)": "Diao ye zong (Withered Leaf) [Stage 2 Boss Theme; Chen]",
"ネクロファンタジア": "Necrofantasia [Phantasm Stage Boss Theme; Yukari Yakumo]",
"ブクレシュティの人形師": "The Doll Maker of Bucuresti [Stage 3 Theme; Alice Margatroid]",
"ボーダーオブライフ": "Border of Life [Stage 6 Boss 2nd Theme; Yuyuko Saigyouji]",
"人形裁判 ~ 人の形弄びし少女": "Doll Judgment ~ The Girl who Played with People's Shapes [Stage 3 Boss Theme; Alice Margatroid]",
"天空の花の都": "The Capital City of Flowers in the Sky [Stage 4 Theme; Lily White]",
"妖々夢 ~ Snow or Cherry Petal": "Mystic Dream ~ Snow or Cherry Petal [Title Screen Theme]",
"妖々跋扈": "Charming Domination [Extra Stage Theme; Chen]",
"妖々跋扈 ~ Who done it!": "Charming Domination ~ Who done it? [Phantasm Stage Theme; Ran Yakumo]",
"少女幻葬 ~ Necro-Fantasy": "A Maiden's Illusionary Funeral ~ Necro-Fantasy [Extra Stage Boss Theme; Ran Yakumo]",
"幽雅に咲かせ、墨染の桜 ~ Border of Life": "Bloom Nobly, Cherry Blossoms of Sumizome ~ Border of Life [Stage 6 Boss Theme; Yuyuko Saigyouji]",
"幽霊楽団 ~ Phantom Ensemble": "Ghostly Band ~ Phantom Ensemble [Stage 4 Boss Theme; Lunasa Prismriver, Merlin Prismriver, Lyrica Prismriver]",
"広有射怪鳥事 ~ Till When?": "Hiroari Shoots a Strange Bird ~ Till When? [Stage 5 Boss Theme; Youmu Konpaku]",
"春風の夢": "Dream of a Spring Breeze [Ending Theme]",
"東方妖々夢 ~ Ancient Temple": "Mystic Oriental Dream ~ Ancient Temple [Stage 5 Theme; Youmu Konpaku]",
"無何有の郷 ~ Deep Mountain": "Paradise ~ Deep Mountain [Stage 1 Theme; Cirno]",
"遠野幻想物語": "The Fantastic Legend of Tohno [Stage 2 Theme; Chen]"
},
"東方封魔録 ~ Story of Eastern Wonderland": {
"Complete Darkness": "[Final Stage Boss Theme; Mima]",
"End of Daylight": "[Stage 2 Theme]",
"She's in a temper!!": "[Stage 1 Boss Theme; Rika]",
"ひもろぎ、むらさきにもえ": "Himorogi, Burn in Violet [Stage 4 Theme]",
"やみのちから": "Power of Darkness [Stage 2 Boss Theme; Meira]",
"エキストララブ": "Extra Love [Extra Stage Theme]",
"博麗 ~Eastern Wind": "Hakurei ~ Eastern Wind [Stage 1 Theme]",
"博麗神社境内": "Hakurei Shrine Grounds [Unused]",
"封魔終演": "Sealed Demon's Finale [Unused]",
"幻夢界": "World of Empty Dreams [Stage 3 Theme]",
"恋色マジック": "Love-coloured Magic [Stage 4 Boss Theme; Marisa Kirisame]",
"戦車むすめのみるゆめ": "The Tank Girl's Dream [Extra Stage Boss Theme; Rika]",
"昔話わんだーらんど": "Legendary Wonderland [Staff Roll Theme]",
"東方封魔録 ~幽幻乱舞": "Record of the Sealing of an Oriental Demon ~ A Phantom's Boisterous Dance [Final Stage Theme]",
"東方封魔録 ~浄土曼荼羅": "Record of the Sealing of an Oriental Demon ~ Pure Land Mandala [Title Screen Theme]",
"死を賭して": "Bet on Death [Stage 3 Boss Theme; Five Magic Stones]",
"遠野の森": "Forest of Tohno [Ending Theme]",
"陽落ちて": "Sunfall [Unused]"
},
"東方幻想郷 ~ Lotus Land Story": {
"Arcadian Dream": "[Staff Roll Theme]",
"Bad Apple!!": "[Stage 3 Theme]",
"Border Land": "[Unused]",
"Break the Sabbath": "[Stage 2 Theme]",
"Crescent Dream": "[Unused]",
"Days": "[Bad Ending]",
"Dream Land": "[Final Stage Theme]",
"Dreamy pilot": "[Unused]",
"Incomplete Plot": "[Unused]",
"Lotus Love": "[Stage 5 Theme]",
"Lotus Road": "[Unused]",
"Magic Shop of Raspberry": "[Unused]",
"Peaceful": "[Good Ending]",
"Selene's Light": "[Marisa's Stage 1 Theme]",
"Witching Dream": "[Reimu's Stage 1 Theme]",
"かわいい悪魔 ~ Innocence": "Cute Devil ~ Innocence [Extra Stage Boss Theme; Gengetsu]",
"アリスマエステラ": "Alice Maestra [Stage 4 Theme]",
"メイド幻想 ~ Icemilk Magic": "Illusion of a Maid ~ Icemilk Magic [Extra Stage Boss Theme; Mugetsu]",
"少女綺想曲 ~ Capriccio": "Maiden's Capriccio [Stage 4 Boss A Theme; Reimu Hakurei]",
"幻想の住人": "Those Who Live in Illusions [Name Registration]",
"幻想郷 ~ Lotus Land Story": "Gensokyo ~ Lotus Land Story [Title Screen Theme]",
"幽夢 ~ Inanimate Dream": "Faint Dream ~ Inanimate Dream [Final Boss Theme; Yuuka Kazami]",
"星の器 ~ Casket of Star": "Vessel of Stars ~ Casket of Star [Stage 4 Boss B Theme; Marisa Kirisame]",
"眠れる恐怖 ~ Sleeping Terror": "Sleeping Terror [Stage 5 Boss Theme; Yuuka Kazami]",
"禁じざるをえない遊戯": "The Inevitably Forbidden Game [Extra Stage Theme]",
"紅響曲 ~ Scarlet Phoneme": "Scarlet Symphony ~ Scarlet Phoneme [Stage 2 Boss Theme; Kurumi]",
"装飾戦 ~ Decoration Battle": "Decoration Battle [Stage 1 Boss Theme; Orange]",
"霊戦 ~ Perdition crisis": "Spirit Battle ~ Perdition crisis [Stage 3 Boss Theme; Elly]"
},
"東方心綺楼 ~ Hopeless Masquerade": {
"ハルトマンの妖怪少女": "Hartmann's Youkai Girl [Palace of the Earth Spirits; Koishi Komeiji]",
"メイガスナイト": "Magus Night [Human Village; Marisa Kirisame]",
"丑三つ時の里": "The Village in the Dead of Night [Hata no Kokoro]",
"亡失のエモーション": "The Lost Emotion [Human Village at night; Hata no Kokoro]",
"人気のある場所": "A Popular Location [Pre-battle theme]",
"人気のない場所": "An Unpopular Location [Pre-battle theme]",
"佐渡のニッ岩": "Futatsuiwa from Sado [Mamizou Futatsuiwa]",
"塵界不変のペシミズム": "This Dull World's Unchanging Pessimism [Title screen theme]",
"大神神話伝": "Legend of the Great Gods [Hall of Dreams' Great Mausoleum; Mononobe no Futo]",
"官板黄昏新聞": "Officially-Sanctioned Tasogare Newspaper [Staff Roll theme]",
"幻想郷のニッ岩": "Futatsuiwa from Gensokyo [Mamizou Futatsuiwa]",
"心綺楼囃子": "Shinkirou Orchestra [Intro theme]",
"感情の摩天楼 ~ Cosmic Mind": "Emotional Skyscraper ~ Cosmic Mind [Myouren Temple; Byakuren Hijiri]",
"春色小径 ~ Colorful Path": "Spring Lane ~ Colorful Path [Hakurei Shrine; Reimu Hakurei]",
"時代親父とハイカラ少女": "The Traditional Old Man and the Stylish Girl [Palanquin Ship; Ichirin Kumoi, Unzan]",
"暁雲": "Morning Clouds [Ending theme]",
"本日の一面記事": "Today's Front-Page Headline [Post-battle theme]",
"聖徳伝説 ~ True Administrator": "Shoutoku Legend ~ True Administrator [Divine Spirit Mausoleum; Toyosatomimi no Miko]",
"芥川龍之介の河童 ~ Candid Friend": "Akutagawa Ryuunosuke's \"Kappa\" ~ Candid Friend [Genbu Ravine; Nitori Kawashiro]"
},
"東方怪綺談 ~ Mystic Square": {
"Dream Express": "[Stage 1 Theme]",
"Endless": "[Good Ending Theme 1]",
"Mystic Dream": "[Staff Roll Theme]",
"Peaceful Romancer": "[Extra Ending Theme]",
"Romantic Children": "[Stage 3 Theme]",
"the Grimoire of Alice": "[Extra Stage Boss Theme; Alice Margatroid]",
"the Last Judgement": "[Stage 5 Theme]",
"プラスチックマインド": "Plastic Mind [Stage 3 Boss Theme; Alice Margatroid]",
"メイプルワイズ": "Maple Wise [Stage 4 Theme]",
"不思議の国のアリス": "Alice in Wonderland [Extra Stage Theme]",
"世界の果て ~ World's End": "End of the World ~ World's End [Final Stage Theme]",
"久遠の楽園": "Eternal Paradise [Good Ending Theme 2]",
"夢想時空": "Dimension of Reverie [Stage 2 Theme]",
"怪綺談 ~ Mystic Square": "Wondrous Romance ~ Mystic Square [Title Screen Theme]",
"悲しき人形 ~ Doll of Misery": "Doll Story ~ Doll of Misery [Stage 5 Boss Theme; Yumeko]",
"真紅の少女 ~ Crimson Dead!!": "Crimson Maiden ~ Crimson Dead!! [Stage 4 Boss Theme; Yuki]",
"神社": "Shinto Shrine [Bad Ending]",
"神話幻想 ~ Infinite Being": "Legendary Illusion ~ Infinite Being [Final Stage Boss Theme; Shinki]",
"禁断の魔法 ~ Forbidden Magic": "Forbidden Magic [Stage 4 Boss Theme; Yuki, Mai]",
"裏切りの少女 ~ Judas Kiss": "Treacherous Maiden ~ Judas Kiss [Stage 4 Boss Theme; Mai]",
"霊天 ~ Spiritual Heaven": "Spiritual Heaven [Stage 2 Boss Theme; Louise]",
"魂の休らむ所": "Soul's Resting Place [Name Registration]",
"魔法陣 ~ Magic Square": "Magic Formation ~ Magic Square [Stage 1 Boss Theme; Sara]"
},
"東方文花帖 ~ Shoot the Bullet": {
"レトロスペクティブ京都": "Retrospective Kyoto [Photo Theme 4]",
"天狗が見ている ~ Black Eyes": "Tengu is Watching ~ Black Eyes [Photo Theme 2]",
"天狗の手帖 ~ Mysterious Note": "Tengu's Notebook ~ Mysterious Note [Title and Menu Theme]",
"東の国の眠らない夜": "Sleepless Night of the Eastern Country [Photo Theme 3]",
"風の循環 ~ Wind Tour": "Wind Circulation ~ Wind Tour [Photo Theme 1]",
"風神少女": "Wind God Girl [Photo Theme 5]"
},
"東方星蓮船 ~ Undefined Fantastic Object": {
"キャプテン・ムラサ": "Captain Murasa [Stage 4 Boss Theme; Murasa Minamitsu]",
"スカイルーイン": "Sky Ruin [Stage 3 Theme]",
"万年置き傘にご注意を": "Beware the Umbrella Left There Forever [Stage 2 Boss Theme; Kogasa Tatara]",
"夜空のユーフォーロマンス": "UFO Romance in the Night Sky [Extra Stage Theme]",
"妖怪寺": "Youkai Temple [Ending Theme]",
"小さな小さな賢将": "A Tiny, Tiny, Clever Commander [Stage 1 Boss Theme; Nazrin]",
"平安のエイリアン": "Heian Alien [Extra Stage Boss Theme; Nue Houjuu]",
"幽霊客船の時空を越えた旅": "Interdimensional Voyage of a Ghostly Passenger Ship [Stage 4 Theme]",
"感情の摩天楼 ~ Cosmic Mind": "Emotional Skyscraper ~ Cosmic Mind [Stage 6 Boss Theme; Byakuren Hijiri]",
"春の湊に": "At the End of Spring [Stage 1 Theme]",
"時代親父とハイカラ少女": "The Traditional Old Man and the Stylish Girl [Stage 3 Boss Theme; Ichirin Kumoi, Unzan]",
"法界の火": "Fires of Hokkai [Stage 6 Theme]",
"空の帰り道 ~ Sky Dream": "Returning Home From the Sky ~ Sky Dream [Staff Roll Theme]",
"虎柄の毘沙門天": "The Tiger-Patterned Bishamonten [Stage 5 Boss Theme; Shou Toramaru]",
"閉ざせし雲の通い路": "The Sealed Cloud Route [Stage 2 Theme]",
"青空の影": "A Shadow in the Blue Sky [Title Screen Theme]",
"魔界地方都市エソテリア": "Rural Makai City Esoteria [Stage 5 Theme]"
},
"東方永夜抄 ~ Imperishable Night": {
"Eternal Dream ~ 幽玄の槭樹": "Eternal Dream ~ Mystic Maple [Staff Roll Theme]",
"もう歌しか聞こえない": "Deaf to all but the Song [Stage 2 Boss Theme; Mystia Lorelei]",
"エクステンドアッシュ ~ 蓬莱人": "Extend Ash ~ Hourai Victim [Extra Stage Theme]",
"シンデレラケージ ~ Kagome-Kagome": "Cinderella Cage ~ Kagome-Kagome [Stage 5 Theme; Tewi Inaba]",
"プレインエイジア": "Plain Asia [Stage 3 Boss Theme; Keine Kamishirasawa]",
"ヴォヤージュ1969": "Voyage 1969 [Final Stage Theme; Eirin Yagokoro]",
"ヴォヤージュ1970": "Voyage 1970 [Last Spell Theme; Eirin Yagokoro, Kaguya Houraisan]",
"千年幻想郷 ~ History of the Moon": "Gensokyo Millennium ~ History of the Moon [Final A Boss Theme; Eirin Yagokoro]",
"夜雀の歌声 ~ Night Bird": "Song of the Night Sparrow ~ Night Bird [Stage 2 Theme]",
"少女綺想曲 ~ Dream Battle": "Maiden's Capriccio ~ Dream Battle [Stage 4 (uncanny) Boss Theme; Reimu Hakurei]",
"幻視の夜 ~ Ghostly Eyes": "Illusionary Night ~ Ghostly Eyes [Stage 1 Theme; Wriggle Nightbug]",
"恋色マスタースパーク": "Love-colored Master Spark [Stage 4 (powerful) Boss Theme; Marisa Kirisame]",
"懐かしき東方の血 ~ Old World": "Nostalgic Blood of the East ~ Old World [Stage 3 Theme]",
"月まで届け、不死の煙": "Reach for the Moon, Immortal Smoke [Extra Stage Boss Theme; Fujiwara no Mokou]",
"月見草": "Evening Primrose [Ending Theme]",
"東方妖怪小町": "Eastern Youkai Beauty [Last Word Theme]",
"永夜の報い ~ Imperishable Night": "Retribution for the Eternal Night ~ Imperishable Night [Stage 4 Theme]",
"永夜抄 ~ Eastern Night": "Eternal Night Vignette ~ Eastern Night [Title Screen Theme]",
"狂気の瞳 ~ Invisible Full Moon": "Lunatic Eyes ~ Invisible Full Moon [Stage 5 Boss Theme; Reisen Udongein Inaba]",
"竹取飛翔 ~ Lunatic Princess": "Flight of the Bamboo Cutter ~ Lunatic Princess [Final B Boss Theme; Kaguya Houraisan]",
"蠢々秋月 ~ Mooned Insect": "Stirring an Autumn Moon ~ Mooned Insect [Stage 1 Boss Theme; Wriggle Nightbug]"
},
"東方神霊廟 ~ Ten Desires": {
"ゴーストリード": "Ghost Lead [Stage 1 Boss Theme; Yuyuko Saigyouji]",
"デザイアドライブ": "Desire Drive [Stage 4 Theme]",
"デザイアドリーム": "Desire Dream [Staff Roll Theme]",
"リジッドパラダイス": "Rigid Paradise [Stage 3 Boss Theme; Yoshika Miyako]",
"佐渡のニッ岩": "Futatsuiwa from Sado [Extra Stage Boss Theme; Mamizou Futatsuiwa]",
"古きユアンシェン": "Old Yuanxian [Stage 4 Boss Theme; Seiga Kaku, Yoshika Miyako]",
"夢殿大祀廟": "Dream Palace of the Great Mausoleum [Stage 5 Theme]",
"大神神話伝": "Legend of the Great Gods [Stage 5 Boss Theme; Mononobe no Futo]",
"妖怪寺へようこそ": "Welcome to Youkai Temple [Stage 2 Theme]",
"妖怪裏参道": "Youkai Back Shrine Road [Extra Stage Theme]",
"小さな欲望の星空": "Starry Sky of Small Desires [Stage 6 Theme]",
"欲深き霊魂": "Spirit of Avarice [Title Screen Theme]",
"死霊の夜桜": "Night Sakura of Dead Spirits [Stage 1 Theme]",
"神社の新しい風": "A New Wind at the Shrine [Ending Theme]",
"素敵な墓場で暮しましょ": "Let’s live in a lovely Cemetery [Stage 3 Theme; Kogasa Tatara]",
"聖徳伝説 ~ True Administrator": "Shoutoku Legend ~ True Administrator [Stage 6 Boss Theme; Toyosatomimi no Miko]",
"門前の妖怪小娘": "Youkai Girl at the Gate [Stage 2 Boss Theme; Kyouko Kasodani]"
},
"東方紅魔郷 ~ the Embodiment of Scarlet Devil": {
"U.N.オーエンは彼女なのか?": "U.N. Owen was Her? [Extra Boss Theme; Flandre Scarlet]",
"おてんば恋娘": "Tomboyish Girl in Love [Stage 2 Boss Theme; Cirno]",
"ほおずきみたいに紅い魂": "A Soul as Red as an Oni's Lantern [Stage 1 Theme]",
"ツェペシュの幼き末裔": "The Young Descendant of Tepes [Final Stage Theme]",
"メイドと血の懐中時計": "The Maid and the Pocket Watch of Blood [Stage 5 Theme; Sakuya Izayoi]",
"ラクトガール ~ 少女密室": "Locked Girl ~ The Girl's Secret Room [Stage 4 Boss Theme; Patchouli Knowledge]",
"ルーネイトエルフ": "Lunate Elf [Stage 2 Theme; Daiyousei]",
"ヴワル魔法図書館": "Voile, the Magic Library [Stage 4 Theme; Koakuma]",
"上海紅茶館 ~ Chinese Tea": "Shanghai Teahouse ~ Chinese Tea [Stage 3 Theme; Hong Meiling]",
"亡き王女の為のセプテット": "Septette for the Dead Princess [Final Boss Theme; Remilia Scarlet]",
"妖魔夜行": "Apparitions Stalk the Night [Stage 1 Boss Theme; Rumia]",
"明治十七年の上海アリス": "Shanghai Alice of Meiji 17 [Stage 3 Boss Theme; Hong Meiling]",
"月時計 ~ ルナ・ダイアル": "Lunar Clock ~ Luna Dial [Stage 5 Boss Theme; Sakuya Izayoi]",
"紅より儚い永遠": "An Eternity that is More Transient than Scarlet [Ending Theme]",
"紅楼 ~ Eastern Dream...": "Crimson Tower ~ Eastern Dream... [Staff Roll Theme]",
"赤より紅い夢": "A Dream that is more Scarlet than Red [Title Screen Theme]",
"魔法少女達の百年祭": "The Centennial Festival for Magical Girls [Extra Stage Theme]"
},
"東方緋想天 ~ Scarlet Weather Rhapsody": {
"フラワリングナイト": "Flowering Night [Scarlet Devil Mansion Clock Tower theme; Sakuya Izayoi]",
"ブクレシュティの人形師": "The Doll Maker of Bucuresti [Forest of Magic, Forest of Dolls theme; Alice Margatroid]",
"ラクトガール ~ 少女密室": "Locked Girl ~ The Girl's Secret Room [Scarlet Devil Mansion Library theme; Patchouli Knowledge]",
"亡き王女の為のセプテット": "Septette for the Dead Princess [Scarlet Devil Mansion Foyer; Remilia Scarlet]",
"以魚駆蠅": "Swing a Fish to Drive Away Flies [Pre-battle]",
"冷吟閑酔": "Drunk as I Like [Pre-battle]",
"嘲りの遊戯": "Ridiculous Game [Youkai Mountain theme]",
"地の色は黄色": "The Ground's Color is Yellow [Ruined Hakurei Shrine theme]",
"夜が降りてくる": "Night Falls [Forest of Magic alternate theme; Yukari Yakumo]",
"天衣無縫": "Flawless Clothing of the Celestials [Pre-Battle (Before facing Tenshi Hinanawi as final boss)]",
"幼心地の有頂天": "Bhava-agra As Seen Through a Child's Mind [Tenshi's Last Spell, Scarlet Weather Rapture]",
"幽雅に咲かせ、墨染の桜 ~ Border of Life": "Bloom Nobly, Cherry Blossoms of Sumizome ~ Border of Life [Snowy Garden of Hakugyokurou theme; Yuyuko Saigyouji]",
"広有射怪鳥事 ~ Till When?": "Hiroari Shoots a Strange Bird ~ Till When? [Netherworld theme; Youmu Konpaku]",
"彼岸帰航 ~ Riverside View": "Higan Retour ~ Riverside View [Creek of Genbu alternate theme; Komachi Onozuka]",
"放縦不羈": "Free and Easy [Pre-battle]",
"日常坐臥": "Usual Days [Pre-battle]",
"星の器 ~ Casket of Star": "Vessel of Stars ~ Casket of Star [Forest of Magic, Kirisame Magic Shop theme; Kirisame Marisa]",
"暮色蒼然": "Darkening Dusk [Ending theme]",
"有頂天変 ~ Wonderful Heaven": "Catastrophe in Bhava-agra ~ Wonderful Heaven [Bhava-Agra theme; Tenshi Hinanawi]",
"東方妖恋談": "Mystic Oriental Love Consultation [Pristine Hakurei Shrine theme; Reimu Hakurei]",
"東方緋想天": "Oriental Sky of Scarlet Perception [Staff Roll Theme]",
"狂気の瞳 ~ Invisible Full Moon": "Lunatic Eyes ~ Invisible Full Moon [Bamboo Forest of the Lost theme; Reisen Udongein Inaba]",
"甲論乙駁": "Argue for and Against [Pre-battle]",
"砕月": "Broken Moon [Ruined Hakurei Shrine alternate theme; Suika Ibuki]",
"緋想天": "Sky of Scarlet Perception [Title Screen]",
"踊る水飛沫": "Dancing Water Spray [Creek of Genbu theme]",
"雲外蒼天": "Skies Beyond the Clouds [Pre-Battle (Before facing Iku Nagae as boss)]",
"風光明媚": "Beautiful Nature Sight [Pre-battle]",
"風神少女": "Wind God Girl [Youkai Mountain alternate theme; Aya Shameimaru]",
"香る樹葉花": "Fragrant Plants [Forest of Magic theme]",
"黒い海に紅く ~ Legendary Fish": "Crimson in the Black Sea ~ Legendary Fish [Mysterious Sea of Clouds theme; Iku Nagae]"
},
"東方花映塚 ~ Phantasmagoria of Flower View": {
"おてんば恋娘の冒険": "Adventure of the Lovestruck Tomboy [Cirno]",
"お宇佐さまの素い幡": "White Flag of Usa Shrine [Tewi Inaba]",
"もう歌しか聞こえない ~ Flower Mix": "Deaf to all but the Song ~ Flower Mix [Mystia Lorelei]",
"オリエンタルダークフライト": "Oriental Dark Flight [Marisa Kirisame]",
"フラワリングナイト": "Flowering Night [Sakuya Izayoi]",
"ポイズンボディ ~ Forsaken Doll": "Poison Body ~ Forsaken Doll [Medicine Melancholy]",
"今昔幻想郷 ~ Flower Land": "Gensokyo, Past and Present ~ Flower Land [Yuuka Kazami]",
"六十年目の東方裁判 ~ Fate of Sixty Years": "Touhou Judgement in the Sixtieth Year ~ Fate of Sixty Years [Eiki Shiki, Yamaxanadu]",
"幽霊楽団 ~ Phantom Ensemble": "Ghostly Band ~ Phantom Ensemble [Lunasa Prismriver, Merlin Prismriver, Lyrica Prismriver]",
"彼岸帰航 ~ Riverside View": "Higan Retour ~ Riverside View [Komachi Onozuka]",
"春色小径 ~ Colorful Path": "Spring Lane ~ Colorful Path [Reimu Hakurei]",
"東方妖々夢 ~ Ancient Temple": "Mystic Oriental Dream ~ Ancient Temple [Youmu Konpaku]",
"此岸の塚": "Mound of Life [Pre-Boss Conversation Theme]",
"狂気の瞳 ~ Invisible Full Moon": "Lunatic Eyes ~ Invisible Full Moon [Reisen Udongein Inaba]",
"花の映る塚": "The Mound where the Flowers Reflect [Pre-Battle Conversation Theme]",
"花は幻想のままに": "The Flower Like the Fantasy [Ending Theme]",
"花映塚 ~ Higan Retour": "Kaeidzuka ~ Higan Retour [Title Screen Theme]",
"風神少女 (Short Version)": "Wind God Girl [Aya Shameimaru]",
"魂の花 ~ Another Dream...": "Flower of Soul ~ Another Dream... [Staff Roll Theme]"
},
"東方萃夢想 ~ Immaterial and Missing Power": {
"Demystify Feast": "[Hakurei Shrine (Feast Day)]",
"Intermezzo": "[Pre-battle]",
"あゆのかぜ": "Eastern Wind [Pre-battle]",
"ブクレシュティの人形師": "The Doll Maker of Bucresti [Forest of Magic (Margatroid's House 1); Alice Margatroid]",
"メイドと血の懐中時計": "The Maid and the Pocket Watch of Blood [Clock Tower of Scarlet Devil Mansion 1; Sakuya Izayoi]",
"ラクトガール ~ 少女密室": "Locked Girl ~ Girl's Secret Room [Great Library in Scarlet Devil Mansion 1; Patchouli Knowledge]",
"ヴワル魔法図書館": "Voile Magic Library [Great Library in Scarlet Devil Mansion 2; Patchouli Knowledge]",
"亡き王女の為のセプテット": "Septette for the Dead Princess [Lobby in Scarlet Devil Mansion; Remilia Scarlet]",
"人形裁判": "Doll Judgment [Forest of Magic (Margatroid's House 2); Alice Margatroid]",
"仰空": "Skygazer [Pre-battle]",
"夏明き": "End of Summer [Ending Theme]",
"夜が降りてくる ~ Evening Star": "Night Falls ~ Evening Star [Hakurei Shrine (Border); Yukari Yakumo]",
"少女綺想曲 ~ Capriccio": "Maiden's Capriccio [Hakurei Shrine 2; Reimu Hakurei]",
"幽境": "Solitary Place [Pre-battle]",
"幽雅に咲かせ、墨染の桜 ~ Border of Life": "Bloom Nobly, Cherry Blossoms of Sumizome ~ Border of Life [Hakugyokurou; Yuyuko Saigyouji]",
"広有射怪鳥事 ~ Till When?": "Hiroari Shoots a Strange Bird ~ Till When? [Graveyard Standing a Big Tree 1; Youmu Konpaku]",
"御伽の国の鬼が島 ~ Missing Power": "Oni's Island in the Fairyland ~ Missing Power [Gensokyo; Suika Ibuki]",
"恋色マジック": "Love-coloured Magic [Forest of Magic (Kirisame's House 1); Marisa Kirisame]",
"戦迅": "Swift Battle [Pre-battle]",
"月時計 ~ ルナ・ダイアル": "Lunar Clock ~ Lunar Dial [Clock Tower of Scarlet Devil Mansion 2; Sakuya Izayoi]",
"月輪": "The Moon [Pre-battle]",
"東方妖々夢 ~ Ancient Temple": "Mystic Oriental Dream ~ Ancient Temple [Graveyard Standing a Big Tree 2; Youmu Konpaku]",
"東方妖恋談": "Mystic Oriental Love Consultation [Hakurei Shrine 1; Hakurei Reimu]",
"東方萃夢想": "Oriental Memory of Forgathering Dream [Credits]",
"森閑": "Silence [Pre-battle]",
"珍客": "Unexpected Visitor [Pre-battle]",
"砕月": "Broken Moon [Pre-battle]",
"禍機": "Bad Omen [Pre-battle]",
"紅夜": "Scarlet Night [Pre-battle]",
"萃夢想": "Memory of Forgathering Dream [Title Screen]",
"裏心": "Inner Heart [Pre-battle]",
"遍参": "Wanderings [Pre-battle]",
"魔女達の舞踏会": "The Witches' Ball [Forest of Magic (Kirisame's House 2); Marisa Kirisame]",
"魔所": "Demonic Place [Pre-battle]"
},
"東方輝針城 ~ Double Dealing Character": {
"マジカルストーム": "Magical Storm [Stage 4 Theme]",
"ミストレイク": "Mist Lake [Stage 1 Theme]",
"リバースイデオロギー": "Reverse Ideology [Stage 5 Boss Theme; Seija Kijin]",
"不思議なお祓い棒": "Mysterious Purification Rod [Title Screen Theme]",
"不思議な不思議な道具達": "Strange, Strange Instruments [Staff Roll Theme]",
"始原のビート ~ Pristine Beat": "Primordial Beat ~ Pristine Beat [Extra Stage Boss Theme; Raiko Horikawa]",
"孤独なウェアウルフ": "Lonesome Werewolf [Stage 3 Boss Theme; Kagerou Imaizumi]",
"小槌の魔力": "Magical Power of the Mallet [Ending Theme]",
"幻想浄瑠璃": "Illusionary Joururi [Stage 4 Boss Theme; Benben Tsukumo, Yatsuhashi Tsukumo]",
"柳の下のデュラハン": "Dullahan Under the Willows [Stage 2 Boss Theme; Sekibanki]",
"満月の竹林": "Bamboo Forest of the Full Moon [Stage 3 Theme]",
"秘境のマーメイド": "Mermaid from the Uncharted Land [Stage 1 Boss Theme; Wakasagihime]",
"空中に沈む輝針城": "The Shining Needle Castle Sinking in the Air [Stage 5 Theme]",
"耀く針の小人族 ~ Little Princess": "Kobito of the Shining Needle ~ Little Princess [Stage 6 Boss Theme; Shinmyoumaru Sukuna]",
"運河を行き交う人妖": "Humans and Youkai Coming and Going at the Canal [Stage 2 Theme]",
"針小棒大の天守閣": "The Exaggerated Castle Keep [Stage 6 Theme]",
"魔力の雷雲": "Thunderclouds of Magical Power [Extra Stage Theme]"
},
"東方靈異伝 ~ Highly Responsive to Prayers": {
"A Sacred Lot": "[Title Screen]",
"Highly Responsive to Prayers": "[Theme of Demon World (Makai) Levels 6-9 and Credits Theme]",
"Oriental Magician": "[Theme of Demon World (Makai) Levels 11-14]",
"The Positive and Negative": "[Shingyoku]",
"the Legend of KAGE": "[Theme of Demon World (Makai) Levels 16-19]",
"いざ、倒れ逝くその時まで": "Now, Until the Moment You Die [Demon World (Makai) Final Stage Theme 1; Sariel]",
"アイリス": "Iris [Ending Theme]",
"天使伝説": "Angel's Legend [YuugenMagan, Mima]",
"星幽剣士": "Swordsman of a Distant Star [Hell (Jigoku) Final Stage Theme; Konngara]",
"東方怪奇談": "Strange Oriental Discourse [Theme of Hell (Jigoku) Levels 6-9]",
"死なばもろとも": "We Shall Die Together [Demon World (Makai) Final Stage Theme 2; Sariel]",
"永遠の巫女": "Eternal Shrine Maiden [Theme of Levels 1-4, Hell (Jigoku) Levels 16-19]",
"破邪の小太刀": "Blade of Banishment [Theme of Hell (Jigoku) Levels 11-14]",
"風の神社": "Shrine of the Wind [Unused Track]",
"魔鏡": "Magic Mirror [Elis, Kikuri]"
},
"東方非想天則 ~ 超弩級ギニョルの謎を追え": {
"the Grimoire of Alice": "[Forest of Dolls new theme; Alice Margatroid]",
"おてんば恋娘": "Tomboyish Girl in Love [Around the Lake of Fog; Cirno]",
"ぼくらの非想天則": "Our Hisou Tensoku [Pre-battle]",
"アンノウンX ~ Unfound Adventure": "Unknown X ~ Unfound Adventure [Nuclear Reactor Fusion Core; Utsuho Reiuji]",
"ヴワル魔法図書館": "Voile, the Magic Library [Scarlet Devil Mansion Library new theme; Patchouli Knowledge]",
"上海紅茶館 ~ Chinese Tea": "Shanghai Teahouse ~ Chinese Tea [The Geyser Underground Center Entrance; Hong Meiling]",
"二色蓮花蝶 ~ Ancients": "Dichromatic Lotus Butterfly ~ Ancients [Pristine Hakurei Shrine; Hakurei Reimu]",
"人形のある風景": "The Scenery of Living Dolls [Pre-battle]",
"伝説の巨神": "The Legendary Titan [Pre-battle]",
"信仰は儚き人間の為に": "Faith Is for the Transient People [Moriya Shrine; Sanae Kochiya]",
"君はあの影を見たか?": "Did You See that Shadow? [Title Screen theme]",
"恋色マジック": "Love-Colored Magic [Kirisame Magic Shop new theme; Kirisame Marisa]",
"悠久の蒸気機関": "The Eternal Steam Engine [Staff Roll]",
"明日ハレの日、ケの昨日": "Tomorrow Will Be Special, Yesterday Was Not [Suwako Moriya]",
"空に浮かぶ物体X": "X, the Floating Objects in the Sky [Sanae vs. Suwako; Sanae Kochiya, Suwako Moriya]",
"萃夢想": "Memory of Forgathering Dream [VS Select]",
"霊知の太陽信仰 ~ Nuclear Fusion": "Sun Worship of Gnosis ~ Nuclear Fusion [The Geyser Underground Center Passageway; Utsuho Reiuji]"
},
"東方風神録 ~ Mountain of Faith": {
"ネイティブフェイス": "Native Faith [Extra Stage Boss Theme; Suwako Moriya]",
"フォールオブフォール ~ 秋めく滝": "Fall of Fall ~ Autumnal Waterfall [Stage 4 Theme; Momiji Inubashiri]",
"プレイヤーズスコア": "Player's Score [Score Theme]",
"人恋し神様 ~ Romantic Fall": "A God That Misses People ~ Romantic Fall [Stage 1 Theme; Shizuha Aki]",
"信仰は儚き人間の為に": "Faith is for the Transient People [Stage 5 Boss Theme; Sanae Kochiya]",
"厄神様の通り道 ~ Dark Road": "The Road of the Misfortune God ~ Dark Road [Stage 2 Theme; Hina Kagiyama]",
"妖怪の山 ~ Mysterious Mountain": "The Youkai Mountain ~ Mysterious Mountain [Stage 4 Boss Theme; Aya Shameimaru]",
"封印されし神々": "Sealed Gods [Title Screen Theme]",
"少女が見た日本の原風景": "The Primal Scene of Japan the Girl Saw [Stage 5 Theme]",
"御柱の墓場 ~ Grave of Being": "Cemetery of Onbashira ~ Grave of Being [Stage 6 Theme]",
"明日ハレの日、ケの昨日": "Tomorrow will be Special; Yesterday was not [Extra Stage Theme; Kanako Yasaka]",
"神々が恋した幻想郷": "The Gensokyo The Gods Loved [Stage 3 Theme; Nitori Kawashiro]",
"神さびた古戦場 ~ Suwa Foughten Field": "The Venerable Ancient Battlefield ~ Suwa Foughten Field [Stage 6 Boss Theme; Kanako Yasaka]",
"神は恵みの雨を降らす ~ Sylphid Dream": "The Gods Give Us Blessed Rain ~ Sylphid Dream [Staff Roll Theme]",
"稲田姫様に叱られるから": "Because Princess Inada Is Scolding Me [Stage 1 Boss Theme; Minoriko Aki]",
"芥川龍之介の河童 ~ Candid Friend": "Akutagawa Ryuunosuke's \"Kappa\" ~ Candid Friend [Stage 3 Boss Theme; Nitori Kawashiro]",
"運命のダークサイド": "Dark Side of Fate [Stage 2 Boss Theme; Hina Kagiyama]",
"麓の神社": "Shrine at the Foot of the Mountain [Ending Theme]"
},
"鳥船遺跡 ~ Trojan Green Asteroid": {
"デザイアドライブ": "Desire Drive",
"トロヤ群の密林": "Trojan Asteroid Jungle",
"ハルトマンの妖怪少女": "Hartmann's Youkai Girl",
"フェアリー冒険譚": "The Fairies' Adventurous Tale",
"夜空のユーフォーロマンス": "UFO Romance in the Night Sky",
"天鳥船神社": "Ame-no-torifune Shrine",
"天鳥船神社の結界": "The Barrier of Ame-no-torifune Shrine",
"宇宙に浮かぶ幻想郷": "The Gensokyo That Floats in Outer Space",
"感情の摩天楼 ~ Cosmic Mind": "Emotional Skyscraper ~ Cosmic Mind"
},
"秋霜玉": {
"秋霜玉 ~ Clockworks": "Shuusou Gyoku ~ Clockworks [Title Screen Theme]",
"フォルスストロベリー": "False Strawberry [Stage 1 Theme]",
"プリムローズシヴァ": "Primrose Shiver [Stage 1 Boss Theme; Milia]",
"幻想帝都": "Illusory Imperial Capital [Stage 2 Theme]",
"ディザストラスジェミニ": "Disastrous Gemini [Stage 2 Boss Theme; Mei and Mai]",
"華の幻想 紅夢の宙": "Illusion of Flowers, Air of Scarlet Dream [Stage 3 Theme]",
"天空アーミー": "Aerial Army [Stage 3 Boss; Gates]",
"スプートニク幻夜": "Illusionary Sputnik Night [Stage 4 Theme]",
"機械サーカス ~ Reverie": "Mechanical Circus ~ Reverie [Stage 4 Boss; Marie]",
"カナベラルの夢幻少女": "Illusionary Girl from Canaveral [Stage 5 Theme]",
"魔法少女十字軍": "Magical Girl's Crusade [Stage 5 Boss; Erich]",
"アンティークテラー": "Antique Terror [Stage 6 Theme]",
"夢機械 ~ Innocent Power": "Dream Machine ~ Innocent Power [Stage 6 Boss First Theme; Vivit (Erich's Daughter)]",
"幻想科学 ~ Doll's Phantom": "Illusory Science ~ Doll's Phantom [Stage 6 Boss Second Theme - Vivit (Erich's Daughter)]",
"少女神性 ~ Pandora's Box": "Girl's Divinity ~ Pandora's Box [Stage 6 Boss Third Theme - Vivit (Erich's Daughter)]",
"シルクロードアリス": "Silk Road Alice [Extra Stage Theme]",
"魔女達の舞踏会 ~ Magus": "The Witches' Ball ~ Magus [First Extra Stage Boss - Marisa Kirisame]",
"二色蓮花蝶 ~ Ancients": "Dichromatic Lotus Butterfly ~ Ancients [Second Extra Stage Boss - Reimu Hakurei]",
"ハーセルヴス": "Herselves [Ending Theme]",
"タイトルドメイド": "Titled Maid [Name Register Theme]"
},
"稀翁玉": {
"稀翁玉 ~ Fairy Dance": "Kioh Gyoku ~ Fairy Dance [Title Screen Theme]",
"天鵞絨少女戦 ~ Velvet Battle": "Velvet Maiden Battle ~ Velvet Battle [VIVIT]",
"Castle Explorer -in the Sky-": "[Gates]",
"オルフェの詩 ~ Pseudoclassic": "Orphic Poetry ~ Pseudoclassic [Mei and Mai]",
"新幻想 ~ New Fantasy": "New Illusion ~ New Fantasy [Milia]",
"オルレアンの聖騎士": "Holy Knight of Orléans [Marie]",
"Erich's Theme": "My Maid, Sweet Maid [Erich]",
"桜花之恋塚 ~ Flower of Japan": "Lovely Mound of Cherry Blossoms ~ Flower of Japan [Yuuka Kazami]",
"乙女戦士 ~ Heart of Valkyrie": "Warrior Maiden ~ Heart of Valkyrie [Morgan]",
"エニグマティクドール ~ God Knows": "Enigmatic Doll ~ God Knows [Muse]"
}
};
var strings = window.songsource_strings;
delete window.songsource_strings;
function normalize_string(text) {
// well, kinda,
// it would be pretty... inconvenient to copy-paste entire
// unicode normalization table here
text = text.replace(/\s/g, ' ');
text = text.replace(/^ +/, '').replace(/ +$/, '');
text = text.replace(/ {2,}/g, ' ');
// FULLWIDTH QUESTION MARK
text = text.replace(/\uFF1F/g, '?');
// FULLWIDTH EXCLAMATION MARK
text = text.replace(/\uFF01/g, '!');
return text;
}
function find_description(source, title) {
if (!source || !title) return null;
source = normalize_string(source);
title = normalize_string(title);
for (key1 in song_info) {
if (normalize_string(key1) == source) {
for (key2 in song_info[key1]) {
if (normalize_string(key2) == title) {
return song_info[key1][key2];
}
}
break;
}
}
return null;
}
function find_source(li) {
for (; li = li.nextSibling; li != null) {
if (li.nodeName == "LI") {
var source = strings.source_regexp.exec(li.textContent);
if (source) {
return source[1];
}
}
}
return null;
}
function wrap_into_description(element, description) {
var span = document.createElement("SPAN");
span.title = description;
span.style.borderBottom = "1px dotted";
while (element.firstChild != null) {
span.appendChild(element.removeChild(element.firstChild));
}
element.appendChild(span);
}
function modify_track(li) {
var fields = li.getElementsByTagName("LI");
var description, text, title;
var i;
for (i = 0; i < fields.length; i++) {
text = fields[i].textContent;
title = strings.original_title_regexp.exec(text);
if (title) {
description = find_description(find_source(fields[i]), title[1]);
if (description) {
wrap_into_description(fields[i], description);
}
}
}
}
function process_list(ul) {
for (var i = 0; i < ul.childNodes.length; i++) {
modify_track(ul.childNodes[i]);
}
}
function on_music_page() {
var div_content = mw.util.$content[0];
var headings = div_content.getElementsByTagName('h2');
var i;
var node;
for (i = 0; i < headings.length; i++) {
if (strings.tracks_regexp.test(headings[i].textContent)) {
// up to the next section
for (node = headings[i].nextSibling; node != null && node.nodeName != 'H2'; node = node.nextSibling) {
if (node.nodeName == 'UL') {
process_list(node);
}
}
break;
}
}
}
function on_lyrics_table(table) {
var i;
var lists = table.getElementsByTagName("ul");
for (i = 0; i < lists.length; i++) {
modify_track(lists[i]);
}
}
function on_lyrics_page() {
var i;
var tables = document.querySelectorAll("table.template_lyrics");
for (i = 0; i < tables.length; i++) {
on_lyrics_table(tables[i]);
}
}
$(function() {
var i;
// on_lyrics_page();
for (i = 0; i < window.wgCategories.length; i++) {
if (window.wgCategories[i] == strings.arrangement_cd_category || window.wgCategories[i] == "Official CDs") {
on_music_page();
break;
}
}
});
})();