diff --git a/assets/icons/encore/bass.webp b/assets/icons/encore/bass.webp new file mode 100644 index 0000000..5276d51 Binary files /dev/null and b/assets/icons/encore/bass.webp differ diff --git a/assets/icons/encore/drums.webp b/assets/icons/encore/drums.webp new file mode 100644 index 0000000..1bafcbb Binary files /dev/null and b/assets/icons/encore/drums.webp differ diff --git a/assets/icons/encore/keys.webp b/assets/icons/encore/keys.webp new file mode 100644 index 0000000..5d1a955 Binary files /dev/null and b/assets/icons/encore/keys.webp differ diff --git a/assets/icons/encore/pkeys.webp b/assets/icons/encore/pkeys.webp new file mode 100644 index 0000000..a74ad78 Binary files /dev/null and b/assets/icons/encore/pkeys.webp differ diff --git a/assets/icons/encore/tar.webp b/assets/icons/encore/tar.webp new file mode 100644 index 0000000..ea85c4e Binary files /dev/null and b/assets/icons/encore/tar.webp differ diff --git a/assets/icons/encore/vox.webp b/assets/icons/encore/vox.webp new file mode 100644 index 0000000..5791db2 Binary files /dev/null and b/assets/icons/encore/vox.webp differ diff --git a/encore/js/songs.js b/encore/js/songs.js index f7871bf..78d48a6 100644 --- a/encore/js/songs.js +++ b/encore/js/songs.js @@ -40,15 +40,17 @@ async function extractFilesFromZip(data, rurl) { icon = '' - if (diff == 'ds' || diff == 'drums') icon = 'drums.webp' - if (diff == 'ba' || diff == 'bass') icon = 'bass.webp' - if (diff == 'vl' || diff == 'vocals') icon = 'voices.webp' - if (diff == 'gr' || diff == 'guitar') icon = 'guitar.webp' + if (diff == 'ds' || diff == 'drums') icon = 'encore/drums.webp' + if (diff == 'ba' || diff == 'bass') icon = 'encore/bass.webp' + if (diff == 'vl' || diff == 'vocals') icon = 'encore/vox.webp' + if (diff == 'gr' || diff == 'guitar') icon = 'encore/tar.webp' + if (diff == 'ks' || diff == 'keys') icon = 'encore/keys.webp' if (diff == 'plastic_drums') icon = 'encore/pdrums.webp' if (diff == 'plastic_bass') icon = 'encore/pbass.webp' if (diff == 'plastic_guitar') icon = 'encore/ptar.webp' + if (diff == 'plastic_keys') icon = 'encore/pkeys.webp' if (diff == 'plastic_vocals' || diff=='pitched_vocals') icon = 'encore/pvox.webp' - + let imageIcon = document.createElement('img') imageIcon.classList.add('instrument-icon-encore') imageIcon.src = '/assets/icons/' + icon diff --git a/encore/view/js/song.js b/encore/view/js/song.js index d7756c5..a090176 100644 --- a/encore/view/js/song.js +++ b/encore/view/js/song.js @@ -80,13 +80,15 @@ function loadSong() { icon = '' - if (diff == 'ds' || diff == 'drums') icon = 'drums.webp' - if (diff == 'ba' || diff == 'bass') icon = 'bass.webp' - if (diff == 'vl' || diff == 'vocals') icon = 'voices.webp' - if (diff == 'gr' || diff == 'guitar') icon = 'guitar.webp' + if (diff == 'ds' || diff == 'drums') icon = 'encore/drums.webp' + if (diff == 'ba' || diff == 'bass') icon = 'encore/bass.webp' + if (diff == 'vl' || diff == 'vocals') icon = 'encore/vox.webp' + if (diff == 'gr' || diff == 'guitar') icon = 'encore/tar.webp' + if (diff == 'ks' || diff == 'keys') icon = 'encore/keys.webp' if (diff == 'plastic_drums') icon = 'encore/pdrums.webp' if (diff == 'plastic_bass') icon = 'encore/pbass.webp' if (diff == 'plastic_guitar') icon = 'encore/ptar.webp' + if (diff == 'plastic_keys') icon = 'encore/pkeys.webp' if (diff == 'plastic_vocals' || diff=='pitched_vocals') icon = 'encore/pvox.webp' let imageIcon = document.createElement('img')