From 7871e7917ed0533017f349ee86abc0fd4a143ea1 Mon Sep 17 00:00:00 2001
From: red binder
Date: Sat, 8 Aug 2026 04:04:20 +0200
Subject: [PATCH 1/4] update site
remove old admin panel, update plugin, etc.
---
.env.example | 2 +-
src/api/v1/login.rs | 2 +-
static/account/index.html | 11 -----
static/css/style.css | 14 -------
static/downloads/index.html | 14 +++----
static/downloads/network_services.xml | 6 +--
static/js/accounts.js | 59 ++-------------------------
static/js/home.js | 4 +-
static/md/de/install-wiiu.md | 6 +--
static/md/en/install-wiiu.md | 6 +--
static/md/es/install-wiiu.md | 6 +--
static/md/fr/install-wiiu.md | 6 +--
static/md/it/install-wiiu.md | 6 +--
static/md/ja/install-wiiu.md | 6 +--
14 files changed, 36 insertions(+), 112 deletions(-)
diff --git a/.env.example b/.env.example
index 755624f..ab9bd19 100644
--- a/.env.example
+++ b/.env.example
@@ -4,6 +4,6 @@ APP_PORT=80
# Account Client and Secret
# Token generation will always fail if no secret is specified
-ACCOUNT_URL=https://account.spfn.net
+ACCOUNT_URL=https://account.spbr.net
ACCOUNT_CLIENT_ID=account
ACCOUNT_CLIENT_SECRET=secret
diff --git a/src/api/v1/login.rs b/src/api/v1/login.rs
index 0a7b2a7..68aff46 100644
--- a/src/api/v1/login.rs
+++ b/src/api/v1/login.rs
@@ -36,7 +36,7 @@ pub fn router() -> Router {
async fn gen_token(Json(payload): Json) -> Result, StatusCode> {
let client = Client::new();
- let account_url = env::var("ACCOUNT_URL").unwrap_or("https://account.spfn.net".into());
+ let account_url = env::var("ACCOUNT_URL").unwrap_or("https://account.spbr.net".into());
let client_id = env::var("ACCOUNT_CLIENT_ID").unwrap_or("account".into());
let client_secret = match env::var("ACCOUNT_CLIENT_SECRET") {
Ok(secret) => secret,
diff --git a/static/account/index.html b/static/account/index.html
index 3c0a810..060e1e7 100644
--- a/static/account/index.html
+++ b/static/account/index.html
@@ -69,17 +69,6 @@
This does not remove your account from your devices. You will need to manually remove the files with FTPiiU or by removing the files from your Cemu MLC folder. If you are not sure how to do this, ask in the discord.
diff --git a/static/downloads/network_services.xml b/static/downloads/network_services.xml
index 3bde785..b337889 100755
--- a/static/downloads/network_services.xml
+++ b/static/downloads/network_services.xml
@@ -3,15 +3,15 @@
SPFN1
- https://account.spfn.net
+ https://account.spbr.nethttps://ecs.wup.shop.nintendo.net/ecs/services/ECommerceSOAPhttps://nus.wup.shop.nintendo.net/nus/services/NetUpdateSOAPhttps://ias.wup.shop.nintendo.net/ias/services/IdentityAuthenticationSOAPhttps://ccs.wup.shop.nintendo.net/ccs/downloadhttp://ccs.cdn.wup.shop.nintendo.net/ccs/downloadhttps://idbe-wup.cdn.nintendo.net/icondata
- https://boss.spfn.net/p01/tasksheet
+ https://boss.spbr.net/p01/tasksheethttps://tagaya.wup.shop.nintendo.net/tagaya/versionlist
- https://discover.olv.nintendo.net/v1/endpoint
+ https://discovery.olv.spbr.net/v1/endpoint
diff --git a/static/js/accounts.js b/static/js/accounts.js
index eb8755a..595b562 100644
--- a/static/js/accounts.js
+++ b/static/js/accounts.js
@@ -24,7 +24,7 @@ function updateUserDataDisplay(data) {
document.getElementById("user-info").style.display = "flex";
- let miiLink = `https://mii.spfn.net/${data["pid"]}/main.png`
+ let miiLink = `https://mii.spbr.net/${data["pid"]}/main.png`
document.getElementById("mii-img").src = miiLink;
let level = userAccessLevels[data["account_level"]];
@@ -54,7 +54,7 @@ window.onload = async function() {
if (expiry > new Date()) { // Hasn't expired - Get user data
let token = sessionStorage.getItem("authToken");
- const response = await fetch("https://account.spfn.net/api/v2/users/@me/profile", {
+ const response = await fetch("https://account.spbr.net/api/v2/users/@me/profile", {
method: "GET",
headers: {
"Authorization": `Bearer ${token}`
@@ -102,7 +102,7 @@ async function deleteAccount() {
window.location.href = "/account/login?redirect=/account"
}
- const response = await fetch("https://account.spfn.net/api/v2/users/@me/delete", {
+ const response = await fetch("https://account.spbr.net/api/v2/users/@me/delete", {
method: "GET",
headers: {
"Authorization": `Bearer ${token}`
@@ -116,55 +116,4 @@ async function deleteAccount() {
document.getElementById("confirm-delete").style = "display: none;"
document.getElementById("delete-success").style = ""
-}
-
-// ADMIN PANEL - WILL BE REMOVED ONCE ACTUAL ADMIN PANEL IS FINISHED
-
-document.getElementById("ban").addEventListener("submit", async function (event) {
- event.preventDefault();
-
- const sfid = document.getElementById("ban-sfid").value;
-
- let token;
-
- let expiryStr = sessionStorage.getItem("authExpires");
- if (expiryStr) { // Expiry exists so token should exist
- token = sessionStorage.getItem("authToken");
-
- let expiry = new Date(expiryStr);
- if (expiry < new Date()) { // Expired token
- window.location.href = "/account/login?redirect=/account"
- } else if (!token) { // Expiry Saved but No Token (shouldn't be possible but it'll be caught if it happens)
- window.location.href = "/account/login?redirect=/account"
- }
- } else { // Token Never Saved in Session
- window.location.href = "/account/login?redirect=/account"
- }
-
- const response = await fetch("https://account.spfn.net/api/v2/admin/ban", {
- method: "POST",
- headers: {
- "Authorization": `Bearer ${token}`,
- "Content-Type": "application/x-www-form-urlencoded"
- },
- body: `username=${sfid}`
- })
-
- if (!response.ok) {
- let status = response.status;
-
- if (status == 403) {
- document.getElementById("ban-status").innerText = "You are not a moderator."
- } else if (status == 400) {
- document.getElementById("ban-status").innerText = "Invalid Access Token. Refresh and log in again."
- } else if (status == 500) {
- document.getElementById("ban-status").innerText = "Server returned error whilst updating database."
- } else {
- document.getElementById("ban-status").innerText = `Server returned error: ${status}`
- }
-
- throw new Error(`Error while banning player: ${status}`)
- }
-
- document.getElementById("ban-status").innerText = `Successfully banned ${sfid}! Don't forget to report the ban in the Spacebar discord`
-})
+}
\ No newline at end of file
diff --git a/static/js/home.js b/static/js/home.js
index 76d0f4b..f32cbb9 100644
--- a/static/js/home.js
+++ b/static/js/home.js
@@ -1,6 +1,6 @@
async function requestFestInfo() {
- // DO NOT USE THIS - USE ROUTE https://boss-info.spfn.net/api/v2/fest-info
- const response = await fetch("https://account.spfn.net/api/v2/fest-info", { // ROUTE NOT IMPLEMENTED
+ // DO NOT USE THIS - USE ROUTE https://boss-info.spbr.net/api/v2/fest-info
+ const response = await fetch("https://account.spbr.net/api/v2/fest-info", { // ROUTE NOT IMPLEMENTED
method: "GET"
})
diff --git a/static/md/de/install-wiiu.md b/static/md/de/install-wiiu.md
index 59cc93a..c72eda5 100644
--- a/static/md/de/install-wiiu.md
+++ b/static/md/de/install-wiiu.md
@@ -36,8 +36,8 @@ Benutzer, die vorher Pretendo's Inkay Plugin verwendet haben, müssen die Dateie
Lade die Plugins und Modules von der [Downloadseite](/downloads/) herunter - stelle sicher das in dem Datei-Explorer, der verwendet wird, Dateinamenerweiterungen aktiv sind und merke dir die Erweiterungen.
-- `Inkay-spfn.wps` kommt in den `plugins` Ordner
-- `Inkay-spfn.wms` kommt in den `modules` Ordner
+- `Malamar-spfn.wps` kommt in den `plugins` Ordner
+- `Malamar-spfn.wms` kommt in den `modules` Ordner
Mit den Dateien nun auf der SD-Karte kann man diese vom Computer entfernen und in die WiiU einlegen´.
@@ -51,7 +51,7 @@ Oben-Links sollte dann eine Nachricht mit dem Inhalt "Nutze SPFN" erscheinen.
> Wenn stattdessen die Nachricht "Nutze Pretendo Network" auftaucht, FAHRE NICHT MIT DEM GUIDE FORT. Schalte die Konsole aus und lösche, wie im Schritt 1 beschrieben, die Pretendo Plugins.
-> Falls du die "Nutze SPFN" Nachricht nicht siehst wurde das SPFN-Plugin wahrscheinlich nicht korrekt installiert. Überprüfe die Speicherorte der `Inkay-spfn.wps` und `Inkay-spfn.wms` Dateien.
+> Falls du die "Nutze SPFN" Nachricht nicht siehst wurde das SPFN-Plugin wahrscheinlich nicht korrekt installiert. Überprüfe die Speicherorte der `Malamar-spfn.wps` und `Malamar-spfn.wms` Dateien.
Die Server von SPFN sind separat von Pretendo's und Nintendos Server. Deswegen muss ein neuer Account für die Nutzung der SPFN-Server erstellt werden. Da die Konsole schon mit unseren Servern verbunden ist, muss nur noch ein neuer Nutzer angelegt werden. Drücke `+` am Gamepad bei der Benutzerauswahl, um einen neuen Nutzer anzulegen. Folge den Anweisungen der WiiU bei der Accounterstellung. Wenn gefragt wird, ob man eine NNID hat, wählt man Nein aus. Anschließend wählt man ein Mii für den Account aus. Wenn danach gefragt wird, ob man einen Account verknüpfen möchte, bestätigt man dies mit "Verknüpfen".
diff --git a/static/md/en/install-wiiu.md b/static/md/en/install-wiiu.md
index 2477eba..82cea0f 100644
--- a/static/md/en/install-wiiu.md
+++ b/static/md/en/install-wiiu.md
@@ -38,8 +38,8 @@ For users who previously used Pretendo's Inkay plugin, delete the files `plugins
Download the plugins and modules found on the [Downloads page](/downloads/) - make sure you enable file name extensions in your file browser and take note of the extension.
-- `Inkay-spfn.wps` goes into the `plugins` folder
-- `Inkay-spfn.wms` goes into the `modules` folder
+- `Malamar-spfn.wps` goes into the `plugins` folder
+- `Malamar-spfn.wms` goes into the `modules` folder
With these files installed, you can eject your SD card and put it into your Wii U.
@@ -53,7 +53,7 @@ In the top left of your screen, you should see a message saying "Using SPFN".
> If you see "Using Pretendo Network", DO NOT PROGRESS. Turn off the console and delete the Pretendo plugins as mentioned in step 1.
-> If you do not see the "Using SPFN" message, you likely didn't install the plugin correctly. Check the locations of the `Inkay-spfn.wps` and `Inkay-spfn.wms` files.
+> If you do not see the "Using SPFN" message, you likely didn't install the plugin correctly. Check the locations of the `Malamar-spfn.wps` and `Malamar-spfn.wms` files.
SPFN's servers are separate from both Nintendo and Pretendo, so you will need to create a new account to access our services. Now that your console is connected to our servers, you should be brought to the accounts page. Press `+` on your gamepad to create a new account. Follow the process of creating the account. Select no when prompted if you have an NNID. Select a Mii for your account. When asked to create an account, press Link.
diff --git a/static/md/es/install-wiiu.md b/static/md/es/install-wiiu.md
index 59328e7..f3647bc 100644
--- a/static/md/es/install-wiiu.md
+++ b/static/md/es/install-wiiu.md
@@ -36,8 +36,8 @@ Para los usuarios que anteriormente han utilizado el plugin Inkay de Pretendo, e
Descarga los plugins y módulos que se encuentran en la [página de descargas](/downloads/) - Asegúrate de activar los nombres de las extensiones de los archivos en tu explorador de archivos para tener a la vista las extensiones de los archivos.
-- `Inkay-spfn.wps` va en la carpeta `plugins`
-- `Inkay-spfn.wms` va en la carpeta `modules`
+- `Malamar-spfn.wps` va en la carpeta `plugins`
+- `Malamar-spfn.wms` va en la carpeta `modules`
Con esos archivos instalados, puedes extraer la tarjeta SD de tu ordenador e introducirla en tu consola Wii U.
@@ -51,7 +51,7 @@ En la parte superior izquierda de la pantalla, debería aparecer un mensaje que
> Si ve el mensaje "Using Pretendo Network", NO CONTINÚE. Apague la consola y elimine los complementos de Pretendo como se indica en el paso 1.
-> Si no ve el mensaje "Using SPFN", es probable que no haya instalado el plugin correctamente. Verifique la ubicación de los archivos `Inkay-spfn.wps` e `Inkay-spfn.wms`.
+> Si no ve el mensaje "Using SPFN", es probable que no haya instalado el plugin correctamente. Verifique la ubicación de los archivos `Malamar-spfn.wps` e `Malamar-spfn.wms`.
Los servidores de SPFN están separados a los de Nintendo y Pretendo, así que, tendrás que crear una nueva cuenta para acceder a nuestros servicios. Ahora que tu consola está conectada a nuestros servidores, deberías ser llevado a la página de cuentas. Presiona `+` en tu gamepad para crear una cuenta nueva. Sigue el proceso de creación de cuenta. Selecciona No cuando se te pregunte si tienes un NNID. Selecciona un Mii para tu cuenta. Cuando te pregunte de crear una cuenta, presiona Vincular.
diff --git a/static/md/fr/install-wiiu.md b/static/md/fr/install-wiiu.md
index e2e6990..f9bcfef 100644
--- a/static/md/fr/install-wiiu.md
+++ b/static/md/fr/install-wiiu.md
@@ -37,8 +37,8 @@ Pour les utilisateurs qui ont précédemment utilisé le plugin Inkay de Pretend
Download the plugins and modules found on the [Downloads page](/downloads/) - make sure you enable file name extensions in your file browser and take note of the extension.
Téléchargez les plugins et modules se trouvant sur la [page des Téléchargements](/downloads/) - assurez vous d'avoir activé les Extensions de nom de Fichier dans votre navigateur.
-- `Inkay-spfn.wps` va dans le dossier `plugins`
-- `Inkay-spfn.wms` va dans le dossier `modules`
+- `Malamar-spfn.wps` va dans le dossier `plugins`
+- `Malamar-spfn.wms` va dans le dossier `modules`
With these files installed, you can eject your SD card and put it into your Wii U.
Une fois les fichiers installés, vous pouvez éjecter votre carte SD et l'insérer dans votre Wii U.
@@ -53,7 +53,7 @@ En haut a gauche de votre écran, vous devriez voir le méssage "Using SPFN".
> Si vous voyez "Using Pretendo Network", NE CONTINUEZ PAS. Éteignez la console et supprimez les plugins pretendo comme mentionné dans l'étape 1.
-> Si vous ne voyez pas le message "Using spfn", vous n'avez probablement pas installé le plugin correctement. Vérifiez l'emplacement des fichiers `Inkay-spfn.wps` et `Inkay-spfn.wms`.
+> Si vous ne voyez pas le message "Using spfn", vous n'avez probablement pas installé le plugin correctement. Vérifiez l'emplacement des fichiers `Malamar-spfn.wps` et `Malamar-spfn.wms`.
Les serveurs de SPFN sont séparés de ceux de Nintendo et Pretendo, vous devez donc créer un nouveau compte pour accéder a nos services. Maintenant que votre console est connectée a nos serveurs, vous pouvez ouvrir la page des comptes et appuyer sur `+` sur votre gamepad pour créer un nouvau compte. Suivez le processus de création de compte. sélectionnez "Non" lorsqu'on vous demande si vous avez un NNID. Selectoonnez un Mii pour votre compte. Lorsque vous êtes invité à créer un compte, sélectionnez "Lier".
diff --git a/static/md/it/install-wiiu.md b/static/md/it/install-wiiu.md
index 8e172ce..774e77e 100644
--- a/static/md/it/install-wiiu.md
+++ b/static/md/it/install-wiiu.md
@@ -36,8 +36,8 @@ For users who previously used Pretendo's Inkay plugin, delete the files `plugins
Download the plugins and modules found on the [Downloads page](/downloads/) - make sure you enable file name extensions in your file browser and take note of the extension.
-- `Inkay-spfn.wps` goes into the `plugins` folder
-- `Inkay-spfn.wms` goes into the `modules` folder
+- `Malamar-spfn.wps` goes into the `plugins` folder
+- `Malamar-spfn.wms` goes into the `modules` folder
With these files installed, you can eject your SD card and put it into your Wii U.
@@ -51,7 +51,7 @@ In the top left of your screen, you should see a message saying "Using SPFN".
> If you see "Using Pretendo Network", DO NOT PROGRESS. Turn off the console and delete the Pretendo plugins as mentioned in step 1.
-> If you do not see the "Using SPFN" message, you likely didn't install the plugin correctly. Check the locations of the `Inkay-spfn.wps` and `Inkay-spfn.wms` files.
+> If you do not see the "Using SPFN" message, you likely didn't install the plugin correctly. Check the locations of the `Malamar-spfn.wps` and `Malamar-spfn.wms` files.
SPFN's servers are separate from both Nintendo and Pretendo, so you will need to create a new account to access our services. Now that your console is connected to our servers, you should be brought to the accounts page. Press `+` on your gamepad to create a new account. Follow the process of creating the account. Select no when prompted if you have an NNID. Select a Mii for your account. When asked to create an account, press Link.
diff --git a/static/md/ja/install-wiiu.md b/static/md/ja/install-wiiu.md
index e256d62..3a11dc1 100644
--- a/static/md/ja/install-wiiu.md
+++ b/static/md/ja/install-wiiu.md
@@ -38,8 +38,8 @@ SDカードをコンピュータに差し込み、 `SD:/wiiu/environments` に
[ダウンロードページ](https://www.google.com/search?q=/downloads/)にあるプラグインとモジュールをダウンロードします。ファイルブラウザでファイル名拡張子を有効にし、拡張子に注意してください。
-* `Inkay-spfn.wps` は `plugins` フォルダーに入ります
-* `Inkay-spfn.wms` は `modules` フォルダーに入ります
+* `Malamar-spfn.wps` は `plugins` フォルダーに入ります
+* `Malamar-spfn.wms` は `modules` フォルダーに入ります
これらのファイルをインストールしたら、SDカードを取り出してWii Uに差し込みます。
@@ -52,7 +52,7 @@ SDカードをコンピュータに差し込み、 `SD:/wiiu/environments` に
画面の左上に「Using SPFN」というメッセージが表示されるはずです。
> 「Using Pretendo Network」と表示された場合は、先に進まないでください。本体の電源を切り、ステップ1で述べたようにPretendoプラグインを削除してください。
-> 「Using SPFN」メッセージが表示されない場合は、プラグインが正しくインストールされていない可能性があります。 `Inkay-spfn.wps` と `Inkay-spfn.wms` ファイルの場所を確認してください。
+> 「Using SPFN」メッセージが表示されない場合は、プラグインが正しくインストールされていない可能性があります。 `Malamar-spfn.wps` と `Malamar-spfn.wms` ファイルの場所を確認してください。
SPFNのサーバーはNintendoとPretendoの両方から独立しているため、当社のサービスにアクセスするには新しいアカウントを作成する必要があります。本体が当社のサーバーに接続されたので、アカウントページが表示されるはずです。ゲームパッドの `+` を押して新しいアカウントを作成します。アカウント作成プロセスに従います。NNIDを持っているか尋ねられたら、いいえを選択します。アカウントのMiiを選択します。アカウントの作成を求められたら、Linkを押します。
From ec1e82879d92efbc7720c71afc10c46b42d4150c Mon Sep 17 00:00:00 2001
From: BloxerHD018
Date: Sat, 8 Aug 2026 12:36:03 +0100
Subject: [PATCH 2/4] Setup i18n
---
static/account/index.html | 31 ++++++++--------
static/account/login/index.html | 21 +++++------
static/downloads/index.html | 16 +++++----
static/guides/index.html | 20 ++++++-----
static/index.html | 49 ++++++++++++-------------
static/js/guides.js | 9 -----
static/js/locale.js | 36 +++++++++++++++++++
static/locales/de.json | 63 +++++++++++++++++++++++++++++++++
static/locales/en.json | 63 +++++++++++++++++++++++++++++++++
static/locales/es.json | 63 +++++++++++++++++++++++++++++++++
static/locales/fr.json | 63 +++++++++++++++++++++++++++++++++
static/locales/it.json | 63 +++++++++++++++++++++++++++++++++
static/locales/ja.json | 63 +++++++++++++++++++++++++++++++++
13 files changed, 483 insertions(+), 77 deletions(-)
create mode 100644 static/js/locale.js
create mode 100644 static/locales/de.json
create mode 100644 static/locales/en.json
create mode 100644 static/locales/es.json
create mode 100644 static/locales/fr.json
create mode 100644 static/locales/it.json
create mode 100644 static/locales/ja.json
diff --git a/static/account/index.html b/static/account/index.html
index 060e1e7..dc0740b 100644
--- a/static/account/index.html
+++ b/static/account/index.html
@@ -1,7 +1,7 @@
- Account | SPFN
+
@@ -19,17 +19,17 @@
-
Loading...
+
@@ -54,26 +54,27 @@
-
WARNING: This Action Is Irreversible
-
Deleting your account is an irreversible action. You cannot recover your account once this has been done.
-
This will delete your account from our database, not from your Wii U or Cemu. You will need to manually remove it from these.
+
+
+
-
-
+
+
-
Account Deleted Successfully
-
Your account has been removed from our database. You can no longer log in to this account on this website, your Wii U or on Cemu. If you wish to use these services again, you will need to create a new account on your Wii U. Your old SFID can be reused on this new account if it remains unused.
-
This does not remove your account from your devices. You will need to manually remove the files with FTPiiU or by removing the files from your Cemu MLC folder. If you are not sure how to do this, ask in the discord.
+
+
+
+
\ No newline at end of file
diff --git a/static/account/login/index.html b/static/account/login/index.html
index f278707..3dd2af2 100644
--- a/static/account/login/index.html
+++ b/static/account/login/index.html
@@ -19,10 +19,10 @@
@@ -33,23 +33,24 @@
+
\ No newline at end of file
diff --git a/static/downloads/index.html b/static/downloads/index.html
index f26a0ea..03d20d6 100644
--- a/static/downloads/index.html
+++ b/static/downloads/index.html
@@ -1,7 +1,7 @@