From d4d82fa1d738924d270a81efd0b6948d39d48af7 Mon Sep 17 00:00:00 2001 From: asterisk727 <59166650+asterisk727@users.noreply.github.com> Date: Mon, 29 Dec 2025 19:42:54 +0900 Subject: [PATCH] chore: initial commit --- .eslintrc.yml | 9 + .github/dependabot.yml | 10 + .github/html5validator.yml | 5 + .github/workflows/check.yml | 20 + .gitignore | 3 + .htaccess | 5 + LICENSE | 21 + README.md | 32 + SDGS125.html | 193 +++++ SDGS130.html | 153 ++++ amdaemon.html | 380 +++++++++ bishibashi.html | 26 + bombergirl.html | 81 ++ chuni.html | 152 ++++ chuni_hx.html | 55 ++ chuniair.html | 102 +++ chuniairplus.html | 102 +++ chuniamazon.html | 113 +++ chuniamazonplus.html | 113 +++ chunicrystal.html | 98 +++ chunicrystalplus.html | 103 +++ chuniparadise.html | 115 +++ chuniplus.html | 98 +++ chunistar.html | 103 +++ chunistarplus.html | 104 +++ chusan.html | 88 +++ chusan_hj.html | 62 ++ chusanluminous.html | 381 +++++++++ chusanluminousplus.html | 205 +++++ chusannew.html | 187 +++++ chusannewplus.html | 202 +++++ chusansun.html | 197 +++++ chusansunplus.html | 197 +++++ chusanverse.html | 366 +++++++++ chusanxverse.html | 184 +++++ css/file.eot | Bin 0 -> 1324 bytes css/file.svg | 11 + css/file.ttf | Bin 0 -> 1160 bytes css/file.woff | Bin 0 -> 1236 bytes css/style.css | 446 +++++++++++ docs/README.md | 8 + docs/chuni_offset_finding.md | 53 ++ docs/why_no_n_minus_zero.md | 81 ++ favicon/android-chrome-192x192.png | Bin 0 -> 32915 bytes favicon/android-chrome-512x512.png | Bin 0 -> 155032 bytes favicon/apple-touch-icon.png | Bin 0 -> 29645 bytes favicon/favicon-16x16.png | Bin 0 -> 671 bytes favicon/favicon-32x32.png | Bin 0 -> 1726 bytes favicon/favicon.ico | Bin 0 -> 15406 bytes favicon/site.webmanifest | 1 + futuretone.html | 146 ++++ gc4ex.html | 103 +++ gfdmv4.html | 33 + gfdmv5.html | 50 ++ gfdmv6.html | 44 ++ gfdmv7.html | 50 ++ gfdmv8.html | 50 ++ gfdmxg2.html | 34 + gfdmxg3.html | 25 + img/aaa_chuni.png | Bin 0 -> 22442 bytes img/bishibashi.png | Bin 0 -> 13824 bytes img/bombergirl.png | Bin 0 -> 59316 bytes img/chu/ni01.png | Bin 0 -> 9180 bytes img/chu/ni02plus.png | Bin 0 -> 24676 bytes img/chu/ni03air.png | Bin 0 -> 27881 bytes img/chu/ni04airplus.png | Bin 0 -> 26235 bytes img/chu/ni05star.png | Bin 0 -> 27490 bytes img/chu/ni06starplus.png | Bin 0 -> 27238 bytes img/chu/ni07amazon.png | Bin 0 -> 13255 bytes img/chu/ni08amazonplus.png | Bin 0 -> 14612 bytes img/chu/ni09crystal.png | Bin 0 -> 32497 bytes img/chu/ni10crystalplus.png | Bin 0 -> 58361 bytes img/chu/ni11paradise.png | Bin 0 -> 36237 bytes img/chu/ni11paradiselost.png | Bin 0 -> 35341 bytes img/chu/san12.png | Bin 0 -> 30348 bytes img/chu/san13newplus.png | Bin 0 -> 40644 bytes img/chu/san14sun.png | Bin 0 -> 33666 bytes img/chu/san15sunplus.png | Bin 0 -> 39983 bytes img/chu/san16luminous.png | Bin 0 -> 14485 bytes img/chu/san17luminousplus.png | Bin 0 -> 37257 bytes img/chu/san18verse.png | Bin 0 -> 1243633 bytes img/chu/san19xverse.png | Bin 0 -> 1500559 bytes img/chu/sanhj1.png | Bin 0 -> 26974 bytes img/futuretone.png | Bin 0 -> 43980 bytes img/gc4ex.png | Bin 0 -> 3931 bytes img/gdfm/gfdmv4.png | Bin 0 -> 56083 bytes img/gdfm/gfdmv5.png | Bin 0 -> 46416 bytes img/gdfm/gfdmv6.png | Bin 0 -> 36516 bytes img/gdfm/gfdmv7.png | Bin 0 -> 12385 bytes img/gdfm/gfdmv8.png | Bin 0 -> 32055 bytes img/gdfm/gfdmxg2.png | Bin 0 -> 37522 bytes img/gdfm/gfdmxg3.png | Bin 0 -> 29484 bytes img/idz.png | Bin 0 -> 19806 bytes img/kancolle.png | Bin 0 -> 12628 bytes img/taikonotatsujin.png | Bin 0 -> 38326 bytes img/wacca4reverse.png | Bin 0 -> 37703 bytes index.html | 173 +++++ initialdzero.html | 152 ++++ js/dllpatcher.js | 1166 ++++++++++++++++++++++++++++ kancolle.html | 74 ++ package.json | 10 + taikonotatsujin.html | 154 ++++ waccareverse.html | 68 ++ 103 files changed, 7197 insertions(+) create mode 100644 .eslintrc.yml create mode 100644 .github/dependabot.yml create mode 100644 .github/html5validator.yml create mode 100644 .github/workflows/check.yml create mode 100644 .gitignore create mode 100644 .htaccess create mode 100644 LICENSE create mode 100644 README.md create mode 100644 SDGS125.html create mode 100644 SDGS130.html create mode 100644 amdaemon.html create mode 100644 bishibashi.html create mode 100644 bombergirl.html create mode 100644 chuni.html create mode 100644 chuni_hx.html create mode 100644 chuniair.html create mode 100644 chuniairplus.html create mode 100644 chuniamazon.html create mode 100644 chuniamazonplus.html create mode 100644 chunicrystal.html create mode 100644 chunicrystalplus.html create mode 100644 chuniparadise.html create mode 100644 chuniplus.html create mode 100644 chunistar.html create mode 100644 chunistarplus.html create mode 100644 chusan.html create mode 100644 chusan_hj.html create mode 100644 chusanluminous.html create mode 100644 chusanluminousplus.html create mode 100644 chusannew.html create mode 100644 chusannewplus.html create mode 100644 chusansun.html create mode 100644 chusansunplus.html create mode 100644 chusanverse.html create mode 100644 chusanxverse.html create mode 100644 css/file.eot create mode 100644 css/file.svg create mode 100644 css/file.ttf create mode 100644 css/file.woff create mode 100644 css/style.css create mode 100644 docs/README.md create mode 100644 docs/chuni_offset_finding.md create mode 100644 docs/why_no_n_minus_zero.md create mode 100644 favicon/android-chrome-192x192.png create mode 100644 favicon/android-chrome-512x512.png create mode 100644 favicon/apple-touch-icon.png create mode 100644 favicon/favicon-16x16.png create mode 100644 favicon/favicon-32x32.png create mode 100644 favicon/favicon.ico create mode 100644 favicon/site.webmanifest create mode 100644 futuretone.html create mode 100644 gc4ex.html create mode 100644 gfdmv4.html create mode 100644 gfdmv5.html create mode 100644 gfdmv6.html create mode 100644 gfdmv7.html create mode 100644 gfdmv8.html create mode 100644 gfdmxg2.html create mode 100644 gfdmxg3.html create mode 100644 img/aaa_chuni.png create mode 100644 img/bishibashi.png create mode 100644 img/bombergirl.png create mode 100644 img/chu/ni01.png create mode 100644 img/chu/ni02plus.png create mode 100644 img/chu/ni03air.png create mode 100644 img/chu/ni04airplus.png create mode 100644 img/chu/ni05star.png create mode 100644 img/chu/ni06starplus.png create mode 100644 img/chu/ni07amazon.png create mode 100644 img/chu/ni08amazonplus.png create mode 100644 img/chu/ni09crystal.png create mode 100644 img/chu/ni10crystalplus.png create mode 100644 img/chu/ni11paradise.png create mode 100644 img/chu/ni11paradiselost.png create mode 100644 img/chu/san12.png create mode 100644 img/chu/san13newplus.png create mode 100644 img/chu/san14sun.png create mode 100644 img/chu/san15sunplus.png create mode 100644 img/chu/san16luminous.png create mode 100644 img/chu/san17luminousplus.png create mode 100644 img/chu/san18verse.png create mode 100644 img/chu/san19xverse.png create mode 100644 img/chu/sanhj1.png create mode 100644 img/futuretone.png create mode 100644 img/gc4ex.png create mode 100644 img/gdfm/gfdmv4.png create mode 100644 img/gdfm/gfdmv5.png create mode 100644 img/gdfm/gfdmv6.png create mode 100644 img/gdfm/gfdmv7.png create mode 100644 img/gdfm/gfdmv8.png create mode 100644 img/gdfm/gfdmxg2.png create mode 100644 img/gdfm/gfdmxg3.png create mode 100644 img/idz.png create mode 100644 img/kancolle.png create mode 100644 img/taikonotatsujin.png create mode 100644 img/wacca4reverse.png create mode 100644 index.html create mode 100644 initialdzero.html create mode 100644 js/dllpatcher.js create mode 100644 kancolle.html create mode 100644 package.json create mode 100644 taikonotatsujin.html create mode 100644 waccareverse.html diff --git a/.eslintrc.yml b/.eslintrc.yml new file mode 100644 index 0000000..8039f6e --- /dev/null +++ b/.eslintrc.yml @@ -0,0 +1,9 @@ +plugins: + - html +env: + browser: true + es2021: true +overrides: [] +parserOptions: + ecmaVersion: latest +rules: {} diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..dfd0e30 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +# Set update schedule for GitHub Actions + +version: 2 +updates: + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + # Check for updates to GitHub Actions every week + interval: "weekly" diff --git a/.github/html5validator.yml b/.github/html5validator.yml new file mode 100644 index 0000000..9108940 --- /dev/null +++ b/.github/html5validator.yml @@ -0,0 +1,5 @@ +root: ./ +ignore_re: + - 'An "img" element must have an "alt" attribute, except under certain conditions' + - 'Element "div" not allowed as child of element "label" in this context' + - 'The "center" element is obsolete. Use CSS instead' # initialdzero diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..c498f2a --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,20 @@ +name: Check HTML/JS is valid + +on: + pull_request: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - name: Run HTML5 Validator + uses: Cyb3r-Jak3/html5validator-action@v7.2.0 + with: + config: ./.github/html5validator.yml + css: true + - name: Install modules for eslint + run: npm i + - name: Run ESLint + run: npx eslint . --ext .js,.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e50dbd6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +node_modules/ +package-lock.json +/.vs diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..1330df7 --- /dev/null +++ b/.htaccess @@ -0,0 +1,5 @@ +# Over time, some patchers have changed path due to reorganisation and cleanup. +# This avoids link rot on mon's server by redirecting the old paths to the new ones + +Redirect permanent "/bemanipatcher/chuninewplus.html" "/bemanipatcher/chusannewplus.html" +Redirect permanent "/bemanipatcher/resort_anthem.html" "/bemanipatcher/resortanthem.html" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..56da3ba --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024-202X two-torial Team & contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..d32de0d --- /dev/null +++ b/README.md @@ -0,0 +1,32 @@ +# [TWO-TORIAL](https://two-torial.xyz)'s Web Patcher + +### URL: [https://patcher.two-torial.xyz/](https://patcher.two-torial.xyz/) + +## About + +This repo contains web patches for games incompatible with [spice2x](https://spice2x.github.io/). See our [spice2x patcher](https://github.com/two-torial/sp2xpatcher/) for those. +We'll be keeping the **repo public** and **url alive** for as long as possible, **feel free to [contibute](#Contributing)** for the community through pull requests! + +## Usage + +See our guide on [web patching](https://two-torial.xyz/extras/patchweb/) and use the url provided above. + +## Contributing + +### A new game + +- Add the new game html, it is easiest to copy an existing game and modify it. +- Modify the `
?U!x>gSdzl
zH6q3Xu5!};ayTHYlh}^FE6__SjG+-PMp!4Fim*Xkk8q4PV<^Hs +nib|!Y7mN6$**(x#|
zsG_0@6bxEJKl5==3F>Burl6;AOX;?sR;MvLJ_09pk5m3YZ!wPsPwg?D#jgXjhAnhE
zIV6kd)rww8%U_$Y_n?@HiYcB0g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