diff --git a/app.js b/app.js
index 838a136..83872f0 100644
--- a/app.js
+++ b/app.js
@@ -33,6 +33,7 @@ document.addEventListener('DOMContentLoaded', function () {
const afGroup = afSelect.closest('.form-group');
const rendererSelect = document.getElementById('renderer-select');
const hdTextures = document.getElementById('check-hd-textures');
+ const hdMusic = document.getElementById('check-hd-music');
const widescreenBgs = document.getElementById('check-widescreen-bgs');
// --- Sound Toggle ---
@@ -213,9 +214,7 @@ document.addEventListener('DOMContentLoaded', function () {
}
}
- if (hdTextures || widescreenBgs) {
- iniContent += "[extensions]\n";
- }
+ iniContent += "[extensions]\n";
if (hdTextures) {
value = hdTextures.checked ? 'YES' : 'NO';
@@ -304,6 +303,7 @@ document.addEventListener('DOMContentLoaded', function () {
const elements = this.form.elements;
for (const key in config) {
if (key == "files") {
+ elements["HD Music"].checked = config[key].includes("hdmusic.si");
elements["Widescreen Backgrounds"].checked = config[key].includes("widescreen.si");
continue;
}
@@ -489,6 +489,10 @@ document.addEventListener('DOMContentLoaded', function () {
checkInitialCacheStatus();
});
+ hdMusic.addEventListener('change', () => {
+ checkInitialCacheStatus();
+ });
+
widescreenBgs.addEventListener('change', () => {
checkInitialCacheStatus();
});
@@ -513,6 +517,9 @@ document.addEventListener('DOMContentLoaded', function () {
function getSiFiles() {
siFiles = [];
+ if (hdMusic && hdMusic.checked) {
+ siFiles.push('/LEGO/extra/hdmusic.si');
+ }
if (widescreenBgs && widescreenBgs.checked) {
siFiles.push('/LEGO/extra/widescreen.si');
}
diff --git a/index.html b/index.html
index 988baa7..a901300 100644
--- a/index.html
+++ b/index.html
@@ -427,6 +427,9 @@
HD Textures: Enhance the game's visuals with
high-definition textures. An extra 25MB download is
required when this is enabled.
+ HD Music: Improve the game's music with
+ high-definition audio. An extra 450MB download is
+ required when this is enabled.
Widescreen Backgrounds (work-in-progress): Adapts the game's background art
for modern widescreen monitors, eliminating unwanted 3D backgrounds on the
sides of the screen. An extra 1MB download is
@@ -442,6 +445,13 @@
HD Textures
+