diff --git a/hacks/anomaly_forest/color.css b/hacks/anomaly_forest/color.css index 3729580..b1b2aa5 100644 --- a/hacks/anomaly_forest/color.css +++ b/hacks/anomaly_forest/color.css @@ -1,3 +1,5 @@ :root { + --page-title-color: #e4e4e6; --page-bg-color: #3f547b; + --page-rom-patcher-link-color: ; } diff --git a/hacks/anomaly_forest/config.js b/hacks/anomaly_forest/config.js new file mode 100644 index 0000000..813281d --- /dev/null +++ b/hacks/anomaly_forest/config.js @@ -0,0 +1,11 @@ +window.TARP_CONFIG = { + title: "Anomaly Forest", + base: "Pokémon Emerald (USA, Europe)", + + externalLinks: { + discord: "", + github: "", + pokécommunity: "", + reddit: "" + } +}; \ No newline at end of file diff --git a/hacks/anomaly_forest/index.html b/hacks/anomaly_forest/index.html index 5141e02..86b0716 100644 --- a/hacks/anomaly_forest/index.html +++ b/hacks/anomaly_forest/index.html @@ -2,13 +2,10 @@ - - Anomaly Forest + - - @@ -19,34 +16,34 @@ window.addEventListener('load', function (evt) { try { fetch("./patches.info") - .then(res => res.json()) - .then(patchInfo => { - RomPatcherWeb.initialize( - { - language: 'en', - requireValidation: true, - allowDropFiles: true - }, - patchInfo - ); - - const downloadBtn = document.getElementById('rom-patcher-button-download'); - const patchSelect = document.getElementById('rom-patcher-select-patch'); - - downloadBtn.onclick = () => { - const selectedIndex = patchSelect.selectedIndex; - if (selectedIndex < 0) return; - - const patch = patchInfo.patches[selectedIndex]; - const link = document.createElement('a'); - link.href = `./patches/${patch.file}`; - link.download = patch.file.split('/').pop(); - document.body.appendChild(link); - link.click(); - document.body.removeChild(link); - }; - }) - .catch(err => console.error(err)); + .then(res => res.json()) + .then(patchInfo => { + RomPatcherWeb.initialize( + { + language: 'en', + requireValidation: true, + allowDropFiles: true + }, + patchInfo + ); + + const downloadBtn = document.getElementById('rom-patcher-button-download'); + const patchSelect = document.getElementById('rom-patcher-select-patch'); + + downloadBtn.onclick = () => { + const selectedIndex = patchSelect.selectedIndex; + if (selectedIndex < 0) return; + + const patch = patchInfo.patches[selectedIndex]; + const link = document.createElement('a'); + link.href = `./patches/${patch.file}`; + link.download = patch.file.split('/').pop(); + document.body.appendChild(link); + link.click(); + document.body.removeChild(link); + }; + }) + .catch(err => console.error(err)); } catch (err) { var message = err.message; if (/incompatible browser/i.test(message) || /variable RomPatcherWeb/i.test(message)) @@ -62,35 +59,35 @@ - +
- Anomaly Forest logo -

Anomaly Forest

+ {title} Logo +

{title}

-
+
@@ -101,6 +98,12 @@

Anomaly Forest

#rom-patcher-button-apply The rest of elements are informative and can be removed, though it's recommended to keep them for a better user experience. --> +
+ + Base ROM:
+ {base} +
+
@@ -148,23 +151,90 @@

Anomaly Forest

- +

- Powered by Rom Patcher JS + Powered by Rom Patcher + JS
- Team Aqua RomPatchers Homepage + Team Aqua + RomPatchers Homepage
+ + + + \ No newline at end of file diff --git a/hacks/anomaly_forest/info.md b/hacks/anomaly_forest/info.md new file mode 100644 index 0000000..e69de29 diff --git a/hacks/anomaly_forest/patches.info b/hacks/anomaly_forest/patches.info index 77c9376..22aec3e 100644 --- a/hacks/anomaly_forest/patches.info +++ b/hacks/anomaly_forest/patches.info @@ -4,7 +4,7 @@ { "file": "Pokemon - Anomaly Forest v1.1.bps", "name": "Anomaly Forest (v1.1)", - "description": "Pokémon Emerald (USA, Europe) Base ROM", + "description": "", "outputName": "pokemon_anomaly_forest_v1.1" } ] diff --git a/hacks/archiesquest/color.css b/hacks/archiesquest/color.css index 3729580..b1b2aa5 100644 --- a/hacks/archiesquest/color.css +++ b/hacks/archiesquest/color.css @@ -1,3 +1,5 @@ :root { + --page-title-color: #e4e4e6; --page-bg-color: #3f547b; + --page-rom-patcher-link-color: ; } diff --git a/hacks/archiesquest/config.js b/hacks/archiesquest/config.js new file mode 100644 index 0000000..34c82c9 --- /dev/null +++ b/hacks/archiesquest/config.js @@ -0,0 +1,11 @@ +window.TARP_CONFIG = { + title: "Archie's Quest", + base: "Pokémon Emerald (USA, Europe)", + + externalLinks: { + discord: "", + github: "https://github.com/RubyRaven6/archies-quest", + pokécommunity: "", + reddit: "" + } +}; \ No newline at end of file diff --git a/hacks/archiesquest/index.html b/hacks/archiesquest/index.html index 56219e2..09f4ea7 100644 --- a/hacks/archiesquest/index.html +++ b/hacks/archiesquest/index.html @@ -2,12 +2,10 @@ - Archie's Quest Patcher Website + - - @@ -18,34 +16,34 @@ window.addEventListener('load', function (evt) { try { fetch("./patches.info") - .then(res => res.json()) - .then(patchInfo => { - RomPatcherWeb.initialize( - { - language: 'en', - requireValidation: true, - allowDropFiles: true - }, - patchInfo - ); - - const downloadBtn = document.getElementById('rom-patcher-button-download'); - const patchSelect = document.getElementById('rom-patcher-select-patch'); - - downloadBtn.onclick = () => { - const selectedIndex = patchSelect.selectedIndex; - if (selectedIndex < 0) return; - - const patch = patchInfo.patches[selectedIndex]; - const link = document.createElement('a'); - link.href = `./patches/${patch.file}`; - link.download = patch.file.split('/').pop(); - document.body.appendChild(link); - link.click(); - document.body.removeChild(link); - }; - }) - .catch(err => console.error(err)); + .then(res => res.json()) + .then(patchInfo => { + RomPatcherWeb.initialize( + { + language: 'en', + requireValidation: true, + allowDropFiles: true + }, + patchInfo + ); + + const downloadBtn = document.getElementById('rom-patcher-button-download'); + const patchSelect = document.getElementById('rom-patcher-select-patch'); + + downloadBtn.onclick = () => { + const selectedIndex = patchSelect.selectedIndex; + if (selectedIndex < 0) return; + + const patch = patchInfo.patches[selectedIndex]; + const link = document.createElement('a'); + link.href = `./patches/${patch.file}`; + link.download = patch.file.split('/').pop(); + document.body.appendChild(link); + link.click(); + document.body.removeChild(link); + }; + }) + .catch(err => console.error(err)); } catch (err) { var message = err.message; if (/incompatible browser/i.test(message) || /variable RomPatcherWeb/i.test(message)) @@ -61,35 +59,35 @@ - +
- Archie's Quest Logo -

Archie's Quest

+ {title} Logo +

{title}

-
+
@@ -100,6 +98,12 @@

Archie's Quest

#rom-patcher-button-apply The rest of elements are informative and can be removed, though it's recommended to keep them for a better user experience. --> +
+ + Base ROM:
+ {base} +
+
@@ -147,26 +151,90 @@

Archie's Quest

- +

+ + + + \ No newline at end of file diff --git a/hacks/archiesquest/patches.info b/hacks/archiesquest/patches.info index 8953683..caa41a1 100644 --- a/hacks/archiesquest/patches.info +++ b/hacks/archiesquest/patches.info @@ -4,7 +4,7 @@ { "file": "ArchiesQuest_1.2.1.bps", "name": "Archies Quest v1.2.1", - "description": "Pokémon Emerald (USA, Europe) Base ROM", + "description": "", "outputName": "ArchiesQuest_v1.2.1" } ] diff --git a/hacks/collapse_frostborne/color.css b/hacks/collapse_frostborne/color.css index 3729580..b1b2aa5 100644 --- a/hacks/collapse_frostborne/color.css +++ b/hacks/collapse_frostborne/color.css @@ -1,3 +1,5 @@ :root { + --page-title-color: #e4e4e6; --page-bg-color: #3f547b; + --page-rom-patcher-link-color: ; } diff --git a/hacks/collapse_frostborne/config.js b/hacks/collapse_frostborne/config.js new file mode 100644 index 0000000..62ee6d4 --- /dev/null +++ b/hacks/collapse_frostborne/config.js @@ -0,0 +1,11 @@ +window.TARP_CONFIG = { + title: "Pokémon Collapse: Frostborne", + base: "Pokémon Emerald (USA, Europe)", + + externalLinks: { + discord: "", + github: "", + pokécommunity: "", + reddit: "" + } +}; \ No newline at end of file diff --git a/hacks/collapse_frostborne/index.html b/hacks/collapse_frostborne/index.html index 2fa3ecc..86b0716 100644 --- a/hacks/collapse_frostborne/index.html +++ b/hacks/collapse_frostborne/index.html @@ -2,12 +2,10 @@ - Pokémon Collapse: Frostborne + - - @@ -18,34 +16,34 @@ window.addEventListener('load', function (evt) { try { fetch("./patches.info") - .then(res => res.json()) - .then(patchInfo => { - RomPatcherWeb.initialize( - { - language: 'en', - requireValidation: true, - allowDropFiles: true - }, - patchInfo - ); - - const downloadBtn = document.getElementById('rom-patcher-button-download'); - const patchSelect = document.getElementById('rom-patcher-select-patch'); - - downloadBtn.onclick = () => { - const selectedIndex = patchSelect.selectedIndex; - if (selectedIndex < 0) return; - - const patch = patchInfo.patches[selectedIndex]; - const link = document.createElement('a'); - link.href = `./patches/${patch.file}`; - link.download = patch.file.split('/').pop(); - document.body.appendChild(link); - link.click(); - document.body.removeChild(link); - }; - }) - .catch(err => console.error(err)); + .then(res => res.json()) + .then(patchInfo => { + RomPatcherWeb.initialize( + { + language: 'en', + requireValidation: true, + allowDropFiles: true + }, + patchInfo + ); + + const downloadBtn = document.getElementById('rom-patcher-button-download'); + const patchSelect = document.getElementById('rom-patcher-select-patch'); + + downloadBtn.onclick = () => { + const selectedIndex = patchSelect.selectedIndex; + if (selectedIndex < 0) return; + + const patch = patchInfo.patches[selectedIndex]; + const link = document.createElement('a'); + link.href = `./patches/${patch.file}`; + link.download = patch.file.split('/').pop(); + document.body.appendChild(link); + link.click(); + document.body.removeChild(link); + }; + }) + .catch(err => console.error(err)); } catch (err) { var message = err.message; if (/incompatible browser/i.test(message) || /variable RomPatcherWeb/i.test(message)) @@ -61,38 +59,35 @@ - +
- - Collapse Frostborne Logo -

Pokémon Collapse: Frostborne

+ {title} Logo +

{title}

-
+
@@ -103,6 +98,12 @@

Pokémon Collapse: Frostborne

#rom-patcher-button-apply The rest of elements are informative and can be removed, though it's recommended to keep them for a better user experience. --> +
+ + Base ROM:
+ {base} +
+
@@ -150,23 +151,90 @@

Pokémon Collapse: Frostborne

- +

+ + + + \ No newline at end of file diff --git a/hacks/collapse_frostborne/info.md b/hacks/collapse_frostborne/info.md new file mode 100644 index 0000000..e69de29 diff --git a/hacks/collapse_frostborne/patches.info b/hacks/collapse_frostborne/patches.info index 5ff35b6..3a08d2e 100644 --- a/hacks/collapse_frostborne/patches.info +++ b/hacks/collapse_frostborne/patches.info @@ -4,7 +4,7 @@ { "file": "CollapseFrostborneTARC2_VER2.bps", "name": "Pokémon Collapse: Frostborne (English v2.0)", - "description": "Pokémon Emerald (USA, Europe) Base ROM", + "description": "", "outputName": "pokemon_frostbornecollapse_v2.0" } ] diff --git a/hacks/fire_of_sky/color.css b/hacks/fire_of_sky/color.css index 3729580..b1b2aa5 100644 --- a/hacks/fire_of_sky/color.css +++ b/hacks/fire_of_sky/color.css @@ -1,3 +1,5 @@ :root { + --page-title-color: #e4e4e6; --page-bg-color: #3f547b; + --page-rom-patcher-link-color: ; } diff --git a/hacks/fire_of_sky/config.js b/hacks/fire_of_sky/config.js new file mode 100644 index 0000000..b7dcd33 --- /dev/null +++ b/hacks/fire_of_sky/config.js @@ -0,0 +1,11 @@ +window.TARP_CONFIG = { + title: "Pokémon Fire of Sky", + base: "Pokémon Emerald (USA, Europe)", + + externalLinks: { + discord: "", + github: "https://github.com/jschoeny/TARC2", + pokécommunity: "", + reddit: "" + } +}; \ No newline at end of file diff --git a/hacks/fire_of_sky/index.html b/hacks/fire_of_sky/index.html index 27feeed..86b0716 100644 --- a/hacks/fire_of_sky/index.html +++ b/hacks/fire_of_sky/index.html @@ -2,12 +2,10 @@ - Pokémon Fire of Sky + - - @@ -18,34 +16,34 @@ window.addEventListener('load', function (evt) { try { fetch("./patches.info") - .then(res => res.json()) - .then(patchInfo => { - RomPatcherWeb.initialize( - { - language: 'en', - requireValidation: true, - allowDropFiles: true - }, - patchInfo - ); - - const downloadBtn = document.getElementById('rom-patcher-button-download'); - const patchSelect = document.getElementById('rom-patcher-select-patch'); - - downloadBtn.onclick = () => { - const selectedIndex = patchSelect.selectedIndex; - if (selectedIndex < 0) return; - - const patch = patchInfo.patches[selectedIndex]; - const link = document.createElement('a'); - link.href = `./patches/${patch.file}`; - link.download = patch.file.split('/').pop(); - document.body.appendChild(link); - link.click(); - document.body.removeChild(link); - }; - }) - .catch(err => console.error(err)); + .then(res => res.json()) + .then(patchInfo => { + RomPatcherWeb.initialize( + { + language: 'en', + requireValidation: true, + allowDropFiles: true + }, + patchInfo + ); + + const downloadBtn = document.getElementById('rom-patcher-button-download'); + const patchSelect = document.getElementById('rom-patcher-select-patch'); + + downloadBtn.onclick = () => { + const selectedIndex = patchSelect.selectedIndex; + if (selectedIndex < 0) return; + + const patch = patchInfo.patches[selectedIndex]; + const link = document.createElement('a'); + link.href = `./patches/${patch.file}`; + link.download = patch.file.split('/').pop(); + document.body.appendChild(link); + link.click(); + document.body.removeChild(link); + }; + }) + .catch(err => console.error(err)); } catch (err) { var message = err.message; if (/incompatible browser/i.test(message) || /variable RomPatcherWeb/i.test(message)) @@ -61,35 +59,35 @@ - +
- Pokémon Fire of Sky -

Pokémon Fire of Sky

+ {title} Logo +

{title}

-
+
@@ -100,6 +98,12 @@

Pokémon Fire of Sky

#rom-patcher-button-apply The rest of elements are informative and can be removed, though it's recommended to keep them for a better user experience. --> +
+ + Base ROM:
+ {base} +
+
@@ -147,28 +151,90 @@

Pokémon Fire of Sky

- +

+ + + + \ No newline at end of file diff --git a/hacks/fire_of_sky/info.md b/hacks/fire_of_sky/info.md new file mode 100644 index 0000000..e69de29 diff --git a/hacks/fire_of_sky/patches.info b/hacks/fire_of_sky/patches.info index 293758e..32471f7 100644 --- a/hacks/fire_of_sky/patches.info +++ b/hacks/fire_of_sky/patches.info @@ -4,7 +4,7 @@ { "file": "Pokemon-Fire-of-Sky-v1.0.2.bps", "name": "Fire of Sky (v1.0.2)", - "description": "Pokémon Emerald (USA, Europe) Base ROM", + "description": "", "outputName": "fire_of_sky_v1.0.2" } ] diff --git a/hacks/fire_of_sky/patches.zip b/hacks/fire_of_sky/patches.zip index 53460e9..be07077 100644 Binary files a/hacks/fire_of_sky/patches.zip and b/hacks/fire_of_sky/patches.zip differ diff --git a/hacks/inkwell/color.css b/hacks/inkwell/color.css index 3729580..b1b2aa5 100644 --- a/hacks/inkwell/color.css +++ b/hacks/inkwell/color.css @@ -1,3 +1,5 @@ :root { + --page-title-color: #e4e4e6; --page-bg-color: #3f547b; + --page-rom-patcher-link-color: ; } diff --git a/hacks/inkwell/config.js b/hacks/inkwell/config.js new file mode 100644 index 0000000..376ee4c --- /dev/null +++ b/hacks/inkwell/config.js @@ -0,0 +1,11 @@ +window.TARP_CONFIG = { + title: "Inkwell", + base: "Pokémon Emerald (USA, Europe)", + + externalLinks: { + discord: "", + github: "https://github.com/DizzyEggg/pokeemerald/tree/tarc2", + pokécommunity: "", + reddit: "" + } +}; \ No newline at end of file diff --git a/hacks/inkwell/index.html b/hacks/inkwell/index.html index 36f0761..86b0716 100644 --- a/hacks/inkwell/index.html +++ b/hacks/inkwell/index.html @@ -2,13 +2,10 @@ - - Inkwell + - - @@ -19,34 +16,34 @@ window.addEventListener('load', function (evt) { try { fetch("./patches.info") - .then(res => res.json()) - .then(patchInfo => { - RomPatcherWeb.initialize( - { - language: 'en', - requireValidation: true, - allowDropFiles: true - }, - patchInfo - ); - - const downloadBtn = document.getElementById('rom-patcher-button-download'); - const patchSelect = document.getElementById('rom-patcher-select-patch'); - - downloadBtn.onclick = () => { - const selectedIndex = patchSelect.selectedIndex; - if (selectedIndex < 0) return; - - const patch = patchInfo.patches[selectedIndex]; - const link = document.createElement('a'); - link.href = `./patches/${patch.file}`; - link.download = patch.file.split('/').pop(); - document.body.appendChild(link); - link.click(); - document.body.removeChild(link); - }; - }) - .catch(err => console.error(err)); + .then(res => res.json()) + .then(patchInfo => { + RomPatcherWeb.initialize( + { + language: 'en', + requireValidation: true, + allowDropFiles: true + }, + patchInfo + ); + + const downloadBtn = document.getElementById('rom-patcher-button-download'); + const patchSelect = document.getElementById('rom-patcher-select-patch'); + + downloadBtn.onclick = () => { + const selectedIndex = patchSelect.selectedIndex; + if (selectedIndex < 0) return; + + const patch = patchInfo.patches[selectedIndex]; + const link = document.createElement('a'); + link.href = `./patches/${patch.file}`; + link.download = patch.file.split('/').pop(); + document.body.appendChild(link); + link.click(); + document.body.removeChild(link); + }; + }) + .catch(err => console.error(err)); } catch (err) { var message = err.message; if (/incompatible browser/i.test(message) || /variable RomPatcherWeb/i.test(message)) @@ -62,35 +59,35 @@ - +
- Inkwell Logo -

Inkwell

+ {title} Logo +

{title}

-
+
@@ -101,6 +98,12 @@

Inkwell

#rom-patcher-button-apply The rest of elements are informative and can be removed, though it's recommended to keep them for a better user experience. --> +
+ + Base ROM:
+ {base} +
+
@@ -148,28 +151,90 @@

Inkwell

- +

+ + + + \ No newline at end of file diff --git a/hacks/inkwell/info.md b/hacks/inkwell/info.md new file mode 100644 index 0000000..e69de29 diff --git a/hacks/legends_sb/color.css b/hacks/legends_sb/color.css index 3729580..b1b2aa5 100644 --- a/hacks/legends_sb/color.css +++ b/hacks/legends_sb/color.css @@ -1,3 +1,5 @@ :root { + --page-title-color: #e4e4e6; --page-bg-color: #3f547b; + --page-rom-patcher-link-color: ; } diff --git a/hacks/legends_sb/config.js b/hacks/legends_sb/config.js new file mode 100644 index 0000000..71c20d2 --- /dev/null +++ b/hacks/legends_sb/config.js @@ -0,0 +1,11 @@ +window.TARP_CONFIG = { + title: "Pokémon Legends SB", + base: "Pokémon Emerald (USA, Europe)", + + externalLinks: { + discord: "", + github: "", + pokécommunity: "", + reddit: "" + } +}; \ No newline at end of file diff --git a/hacks/legends_sb/index.html b/hacks/legends_sb/index.html index bf255f0..86b0716 100644 --- a/hacks/legends_sb/index.html +++ b/hacks/legends_sb/index.html @@ -2,12 +2,10 @@ - Pokémon Legends SB + - - @@ -18,34 +16,34 @@ window.addEventListener('load', function (evt) { try { fetch("./patches.info") - .then(res => res.json()) - .then(patchInfo => { - RomPatcherWeb.initialize( - { - language: 'en', - requireValidation: true, - allowDropFiles: true - }, - patchInfo - ); - - const downloadBtn = document.getElementById('rom-patcher-button-download'); - const patchSelect = document.getElementById('rom-patcher-select-patch'); - - downloadBtn.onclick = () => { - const selectedIndex = patchSelect.selectedIndex; - if (selectedIndex < 0) return; - - const patch = patchInfo.patches[selectedIndex]; - const link = document.createElement('a'); - link.href = `./patches/${patch.file}`; - link.download = patch.file.split('/').pop(); - document.body.appendChild(link); - link.click(); - document.body.removeChild(link); - }; - }) - .catch(err => console.error(err)); + .then(res => res.json()) + .then(patchInfo => { + RomPatcherWeb.initialize( + { + language: 'en', + requireValidation: true, + allowDropFiles: true + }, + patchInfo + ); + + const downloadBtn = document.getElementById('rom-patcher-button-download'); + const patchSelect = document.getElementById('rom-patcher-select-patch'); + + downloadBtn.onclick = () => { + const selectedIndex = patchSelect.selectedIndex; + if (selectedIndex < 0) return; + + const patch = patchInfo.patches[selectedIndex]; + const link = document.createElement('a'); + link.href = `./patches/${patch.file}`; + link.download = patch.file.split('/').pop(); + document.body.appendChild(link); + link.click(); + document.body.removeChild(link); + }; + }) + .catch(err => console.error(err)); } catch (err) { var message = err.message; if (/incompatible browser/i.test(message) || /variable RomPatcherWeb/i.test(message)) @@ -61,38 +59,35 @@ - +
- - Pokemon Legends SB -

Pokémon Legends SB

+ {title} Logo +

{title}

-
+
@@ -103,6 +98,12 @@

Pokémon Legends SB

#rom-patcher-button-apply The rest of elements are informative and can be removed, though it's recommended to keep them for a better user experience. --> +
+ + Base ROM:
+ {base} +
+
@@ -150,23 +151,90 @@

Pokémon Legends SB

- +

+ + + + \ No newline at end of file diff --git a/hacks/legends_sb/info.md b/hacks/legends_sb/info.md new file mode 100644 index 0000000..e69de29 diff --git a/hacks/legends_sb/logo.png b/hacks/legends_sb/logo.png index 920e8bf..eda1f65 100644 Binary files a/hacks/legends_sb/logo.png and b/hacks/legends_sb/logo.png differ diff --git a/hacks/legends_sb/patches.info b/hacks/legends_sb/patches.info index 06629e2..d5ec9f4 100644 --- a/hacks/legends_sb/patches.info +++ b/hacks/legends_sb/patches.info @@ -4,7 +4,7 @@ { "file": "legends.bps", "name": "Pokémon Legends SB", - "description": "Pokémon Emerald (USA, Europe) Base ROM", + "description": "", "outputName": "pokemon_legends_sb" } ] diff --git a/hacks/pokemon_two/color.css b/hacks/pokemon_two/color.css index 3729580..b1b2aa5 100644 --- a/hacks/pokemon_two/color.css +++ b/hacks/pokemon_two/color.css @@ -1,3 +1,5 @@ :root { + --page-title-color: #e4e4e6; --page-bg-color: #3f547b; + --page-rom-patcher-link-color: ; } diff --git a/hacks/pokemon_two/config.js b/hacks/pokemon_two/config.js new file mode 100644 index 0000000..44fd446 --- /dev/null +++ b/hacks/pokemon_two/config.js @@ -0,0 +1,11 @@ +window.TARP_CONFIG = { + title: "POKéMON TWO", + base: "Pokémon Emerald (USA, Europe)", + + externalLinks: { + discord: "", + github: "https://github.com/shachar700/tarc2", + pokécommunity: "", + reddit: "" + } +}; \ No newline at end of file diff --git a/hacks/pokemon_two/index.html b/hacks/pokemon_two/index.html index e7c831b..86b0716 100644 --- a/hacks/pokemon_two/index.html +++ b/hacks/pokemon_two/index.html @@ -2,12 +2,10 @@ - POKéMON TWO + - - @@ -18,34 +16,34 @@ window.addEventListener('load', function (evt) { try { fetch("./patches.info") - .then(res => res.json()) - .then(patchInfo => { - RomPatcherWeb.initialize( - { - language: 'en', - requireValidation: true, - allowDropFiles: true - }, - patchInfo - ); - - const downloadBtn = document.getElementById('rom-patcher-button-download'); - const patchSelect = document.getElementById('rom-patcher-select-patch'); - - downloadBtn.onclick = () => { - const selectedIndex = patchSelect.selectedIndex; - if (selectedIndex < 0) return; - - const patch = patchInfo.patches[selectedIndex]; - const link = document.createElement('a'); - link.href = `./patches/${patch.file}`; - link.download = patch.file.split('/').pop(); - document.body.appendChild(link); - link.click(); - document.body.removeChild(link); - }; - }) - .catch(err => console.error(err)); + .then(res => res.json()) + .then(patchInfo => { + RomPatcherWeb.initialize( + { + language: 'en', + requireValidation: true, + allowDropFiles: true + }, + patchInfo + ); + + const downloadBtn = document.getElementById('rom-patcher-button-download'); + const patchSelect = document.getElementById('rom-patcher-select-patch'); + + downloadBtn.onclick = () => { + const selectedIndex = patchSelect.selectedIndex; + if (selectedIndex < 0) return; + + const patch = patchInfo.patches[selectedIndex]; + const link = document.createElement('a'); + link.href = `./patches/${patch.file}`; + link.download = patch.file.split('/').pop(); + document.body.appendChild(link); + link.click(); + document.body.removeChild(link); + }; + }) + .catch(err => console.error(err)); } catch (err) { var message = err.message; if (/incompatible browser/i.test(message) || /variable RomPatcherWeb/i.test(message)) @@ -61,35 +59,35 @@ - +
- Hack Logo Alttext -

POKéMON TWO

+ {title} Logo +

{title}

-
+
@@ -100,6 +98,12 @@

POKéMON TWO

#rom-patcher-button-apply The rest of elements are informative and can be removed, though it's recommended to keep them for a better user experience. --> +
+ + Base ROM:
+ {base} +
+
@@ -147,33 +151,90 @@

POKéMON TWO

- +

+ + + + \ No newline at end of file diff --git a/hacks/pokemon_two/info.md b/hacks/pokemon_two/info.md new file mode 100644 index 0000000..e69de29 diff --git a/hacks/pokemon_two/patches.info b/hacks/pokemon_two/patches.info index 9e3305b..ad6339d 100644 --- a/hacks/pokemon_two/patches.info +++ b/hacks/pokemon_two/patches.info @@ -4,7 +4,7 @@ { "file": "Pokemon_TWO v1.0.bps", "name": "POKéMON TWO (v1.0)", - "description": "Pokémon Emerald (USA, Europe) Base ROM", + "description": "", "outputName": "pokemon_two_v1.0" } ] diff --git a/hacks/recordkeepers/color.css b/hacks/recordkeepers/color.css index 3729580..b1b2aa5 100644 --- a/hacks/recordkeepers/color.css +++ b/hacks/recordkeepers/color.css @@ -1,3 +1,5 @@ :root { + --page-title-color: #e4e4e6; --page-bg-color: #3f547b; + --page-rom-patcher-link-color: ; } diff --git a/hacks/recordkeepers/config.js b/hacks/recordkeepers/config.js new file mode 100644 index 0000000..1a0bc39 --- /dev/null +++ b/hacks/recordkeepers/config.js @@ -0,0 +1,11 @@ +window.TARP_CONFIG = { + title: "Pokémon Recordkeepers", + base: "Pokémon Emerald (USA, Europe)", + + externalLinks: { + discord: "https://discord.com/invite/C7jdUwPTky", + github: "https://github.com/hedara90/tarc2/tree/TARC2-Release", + pokécommunity: "", + reddit: "" + } +}; \ No newline at end of file diff --git a/hacks/recordkeepers/index.html b/hacks/recordkeepers/index.html index 46f3b95..86b0716 100644 --- a/hacks/recordkeepers/index.html +++ b/hacks/recordkeepers/index.html @@ -2,13 +2,10 @@ - - Pokémon Recordkeepers + - - @@ -19,34 +16,34 @@ window.addEventListener('load', function (evt) { try { fetch("./patches.info") - .then(res => res.json()) - .then(patchInfo => { - RomPatcherWeb.initialize( - { - language: 'en', - requireValidation: true, - allowDropFiles: true - }, - patchInfo - ); - - const downloadBtn = document.getElementById('rom-patcher-button-download'); - const patchSelect = document.getElementById('rom-patcher-select-patch'); - - downloadBtn.onclick = () => { - const selectedIndex = patchSelect.selectedIndex; - if (selectedIndex < 0) return; - - const patch = patchInfo.patches[selectedIndex]; - const link = document.createElement('a'); - link.href = `./patches/${patch.file}`; - link.download = patch.file.split('/').pop(); - document.body.appendChild(link); - link.click(); - document.body.removeChild(link); - }; - }) - .catch(err => console.error(err)); + .then(res => res.json()) + .then(patchInfo => { + RomPatcherWeb.initialize( + { + language: 'en', + requireValidation: true, + allowDropFiles: true + }, + patchInfo + ); + + const downloadBtn = document.getElementById('rom-patcher-button-download'); + const patchSelect = document.getElementById('rom-patcher-select-patch'); + + downloadBtn.onclick = () => { + const selectedIndex = patchSelect.selectedIndex; + if (selectedIndex < 0) return; + + const patch = patchInfo.patches[selectedIndex]; + const link = document.createElement('a'); + link.href = `./patches/${patch.file}`; + link.download = patch.file.split('/').pop(); + document.body.appendChild(link); + link.click(); + document.body.removeChild(link); + }; + }) + .catch(err => console.error(err)); } catch (err) { var message = err.message; if (/incompatible browser/i.test(message) || /variable RomPatcherWeb/i.test(message)) @@ -62,35 +59,35 @@ - +
- Pokémon Transform Logo -

Pokémon Recordkeepers

+ {title} Logo +

{title}

-
+
@@ -101,6 +98,12 @@

Pokémon Recordkeepers

#rom-patcher-button-apply The rest of elements are informative and can be removed, though it's recommended to keep them for a better user experience. --> +
+ + Base ROM:
+ {base} +
+
@@ -148,34 +151,90 @@

Pokémon Recordkeepers

- +