From 30ce95011a53750ce6006baa1d812ea69edc3093 Mon Sep 17 00:00:00 2001 From: firebingo Date: Thu, 14 Jun 2018 07:49:14 -0700 Subject: [PATCH 01/13] Removed mst ids line --- Js/Main.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Js/Main.js b/Js/Main.js index 5ff9c78..0bc6a8e 100644 --- a/Js/Main.js +++ b/Js/Main.js @@ -28,7 +28,6 @@ let isMuted = false; let volume = 0.5; let fullScreen = false; let prevMission = '{Select}'; -const availableMstIds = [202070, 202071, 202013, 338001, 338002, 338003, 338004]//[202070, 202013, 338001, 338002, 338003, 338004, 338005, 338006, 338007, 338009, 338010, 338011]; function onBodyLoaded() { bodyLoaded = true; From 3a1dc7d640153f2d2a88bd180d71adbe0fe63308 Mon Sep 17 00:00:00 2001 From: louis Date: Mon, 2 Jul 2018 07:07:09 +0900 Subject: [PATCH 02/13] update bgmloop json --- Js/BgmLoop.json | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/Js/BgmLoop.json b/Js/BgmLoop.json index ff86d76..aff2b79 100644 --- a/Js/BgmLoop.json +++ b/Js/BgmLoop.json @@ -324,6 +324,19 @@ "seconds": 12.189 } }, + "music_flight_feathers": { + "duration": 111.38940625, + "loop_end": { + "samples_48k": 5346628, + "samples_native": 3564419, + "seconds": 111.38809375 + }, + "loop_start": { + "samples_48k": 1221216, + "samples_native": 814144, + "seconds": 25.442 + } + }, "music_fushichou_no_flamme": { "duration": 129.0045, "loop_end": { @@ -805,6 +818,19 @@ "seconds": 0.0 } }, + "music_shippujinrai": { + "duration": 104.2053125, + "loop_end": { + "samples_48k": 5001786, + "samples_native": 3334524, + "seconds": 104.203875 + }, + "loop_start": { + "samples_48k": 1210320, + "samples_native": 806880, + "seconds": 25.215 + } + }, "music_sorae": { "duration": 128.56625, "loop_end": { @@ -831,6 +857,19 @@ "seconds": 27.145 } }, + "music_tegami": { + "duration": 79.045, + "loop_end": { + "samples_48k": 3794065, + "samples_native": 2529377, + "seconds": 79.04303125 + }, + "loop_start": { + "samples_48k": 897552, + "samples_native": 598368, + "seconds": 18.699 + } + }, "music_the_moon_is_a_harsh_mistress": { "duration": 96.8825, "loop_end": { From 7f71e0d89bbdb6266195cd8ae72259c65abd09a8 Mon Sep 17 00:00:00 2001 From: firebingo Date: Mon, 2 Jul 2018 20:15:15 -0700 Subject: [PATCH 03/13] Language selection wasn't being written to local storage. Updated submodule. --- Css/generic.min.css | 2 +- Css/main.css | 2 -- Js/Main.js | 1 + Js/Translations | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Css/generic.min.css b/Css/generic.min.css index fb2a566..08dcf65 100644 --- a/Css/generic.min.css +++ b/Css/generic.min.css @@ -1 +1 @@ -html{font-size:16px;font-family:arial;background-color:#393939;color:rgba(255,255,255,.7)}html body{border-color:rgba(255,255,255,.2)}html body a{color:#0096cf}html body a:not([href]){text-decoration:underline;cursor:pointer}html body .hover-span{color:#0096cf}.fade-in{opacity:0;transition:opacity .5s} \ No newline at end of file +html{font-size:16px;font-family:arial;background-color:#393939;color:rgba(255,255,255,.7)}html body{border-color:rgba(255,255,255,.2)}html body a{color:#0096cf}html body a:not([href]){text-decoration:underline;cursor:pointer}html body .hover-span{color:#0096cf}.fade-in{opacity:0;transition:opacity .5s}.centered{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center} \ No newline at end of file diff --git a/Css/main.css b/Css/main.css index af07dd0..036f6fd 100644 --- a/Css/main.css +++ b/Css/main.css @@ -56,8 +56,6 @@ body { margin: 0; } .flex-grow { flex-grow: 1; } -.centered { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; } - .hidden { opacity: 0; } .shown { opacity: 0; } diff --git a/Js/Main.js b/Js/Main.js index 0bc6a8e..a6848fa 100644 --- a/Js/Main.js +++ b/Js/Main.js @@ -296,6 +296,7 @@ function languageChanged(event) { utage.setTranslationLanguage(selectedLang, missionPath) .then((success) => { buildMissionSelectList(); + localStorage.setItem('language', selectedLang); }); } diff --git a/Js/Translations b/Js/Translations index 5b7839a..ac76005 160000 --- a/Js/Translations +++ b/Js/Translations @@ -1 +1 @@ -Subproject commit 5b7839ae9b5e47b5bd29d64c06c22a3b000d8959 +Subproject commit ac76005f743abacf912f32ae964397e4d9d34fb7 From 36fd987c4d03ce176564b660e767a84f2c4a9b6f Mon Sep 17 00:00:00 2001 From: firebingo Date: Fri, 6 Jul 2018 09:35:43 -0700 Subject: [PATCH 04/13] Added support for custom assets so bridal gears can run more separated from the main assets so the XDU cant break it as easily. --- .gitmodules | 4 ++++ CustomData | 1 + Js/Main.js | 17 +++++++++----- Js/Translations | 2 +- Js/UtageParse.js | 58 +++++++++++++++++++++++++++--------------------- 5 files changed, 50 insertions(+), 32 deletions(-) create mode 160000 CustomData diff --git a/.gitmodules b/.gitmodules index 11fbc2a..bd25379 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,3 +2,7 @@ path = Js/Translations url = https://git.poweris.moe/xdutranslations.git branch = . +[submodule "CustomData"] + path = CustomData + url = https://git.poweris.moe/customdata.git + branch = . diff --git a/CustomData b/CustomData new file mode 160000 index 0000000..cbbcd61 --- /dev/null +++ b/CustomData @@ -0,0 +1 @@ +Subproject commit cbbcd61805a9fbfc95fea46b5bf0cb51b7c8b3c1 diff --git a/Js/Main.js b/Js/Main.js index a6848fa..1b02570 100644 --- a/Js/Main.js +++ b/Js/Main.js @@ -192,12 +192,14 @@ function missionDropDownChanged(event) { chapterSelect += `` } } + let detailSrc = `${utage.rootDirectory}${(mis.IsCustom ? "CustomData" : "XDUData")}/Asset/Image/Quest/Snap/Detail/${mis.MstId}.png`; + let iconSrc = `${utage.rootDirectory}${(mis.IsCustom ? "CustomData" : "XDUData")}/Asset/Image/Quest/Snap/Icon/${mis.MstId}.png`; chapterSelect += ''; cont.innerHTML = `