forked from PretendoNetwork/Inkay
malamar changes
This commit is contained in:
parent
d5f9207deb
commit
e421ac5a40
11 changed files with 47 additions and 93 deletions
|
|
@ -8,35 +8,35 @@ typedef struct URL_Patch {
|
|||
|
||||
static const URL_Patch url_patches[] = {
|
||||
//nim-boss .rodata
|
||||
{0xE2282550, "http://pushmorewupshop.spfn.net/pushmore/r/%s"},
|
||||
{0xE229A0A0, "http://npns-devcapp.spfn.net/bst.dat"},
|
||||
{0xE229A0D0, "http://npns-devcapp.spfn.net/bst2.dat"},
|
||||
{0xE2281964, "https://tagayawupshop.spfn.net/tagaya/versionlist/%s/%s/%s"},
|
||||
{0xE22819B4, "https://tagayawupshop.spfn.net/tagaya/versionlist/%s/%s/latest_version"},
|
||||
{0xE2282584, "http://pushmowupshop.spfn.net/pushmo/d/%s/%u"},
|
||||
{0xE22825B8, "http://pushmowupshop.spfn.net/pushmo/c/%u/%u"},
|
||||
{0xE2282DB4, "https://ecswupshop.spfn.net/ecs/services/ECommerceSOAP"},
|
||||
{0xE22830A0, "https://ecswupshop.spfn.net/ecs/services/ECommerceSOAP"},
|
||||
{0xE22830E0, "https://nuswupshop.spfn.net/nus/services/NetUpdateSOAP"},
|
||||
{0xE2299990, "npplapp.spfn.net"},
|
||||
{0xE229A600, "https://plswupshop.spfn.net/pls/upload"},
|
||||
{0xE229A6AC, "https://npvk-devapp.spfn.net/reports"},
|
||||
{0xE229A6D8, "https://npvkapp.spfn.net/reports"},
|
||||
{0xE229B1F4, "https://nptsapp.spfn.net/p01/tasksheet/%s/%s/%s/%s?c=%s&l=%s"},
|
||||
{0xE229B238, "https://nptsapp.spfn.net/p01/tasksheet/%s/%s/%s?c=%s&l=%s"},
|
||||
{0xE22AB2D8, "https://idbe-wupcdn.spfn.net/icondata/%02X/%016llX.idbe"},
|
||||
{0xE22AB318, "https://idbe-ctrcdn.spfn.net/icondata/%02X/%016llX.idbe"},
|
||||
{0xE22AB358, "https://idbe-wupcdn.spfn.net/icondata/%02X/%016llX-%d.idbe"},
|
||||
{0xE22AB398, "https://idbe-ctrcdn.spfn.net/icondata/%02X/%016llX-%d.idbe"},
|
||||
{0xE22B3EF8, "https://ecscshop.spfn.net"},
|
||||
{0xE22B3F30, "https://ecscshop.spfn.net/ecs/services/ECommerceSOAP"},
|
||||
{0xE22B3F70, "https://iascshop.spfn.net/ias/services/IdentityAuthenticationSOAP"},
|
||||
{0xE22B3FBC, "https://cascshop.spfn.net/cas/services/CatalogingSOAP"},
|
||||
{0xE22B3FFC, "https://nuscshop.spfn.net/nus/services/NetUpdateSOAP"},
|
||||
{0xE229DE0C, "n.app.spfn.net"},
|
||||
{0xE2282550, "http://pushmorewupshop.spbr.net/pushmore/r/%s"},
|
||||
{0xE229A0A0, "http://npns-devcapp.spbr.net/bst.dat"},
|
||||
{0xE229A0D0, "http://npns-devcapp.spbr.net/bst2.dat"},
|
||||
{0xE2281964, "https://tagayawupshop.spbr.net/tagaya/versionlist/%s/%s/%s"},
|
||||
{0xE22819B4, "https://tagayawupshop.spbr.net/tagaya/versionlist/%s/%s/latest_version"},
|
||||
{0xE2282584, "http://pushmowupshop.spbr.net/pushmo/d/%s/%u"},
|
||||
{0xE22825B8, "http://pushmowupshop.spbr.net/pushmo/c/%u/%u"},
|
||||
{0xE2282DB4, "https://ecswupshop.spbr.net/ecs/services/ECommerceSOAP"},
|
||||
{0xE22830A0, "https://ecswupshop.spbr.net/ecs/services/ECommerceSOAP"},
|
||||
{0xE22830E0, "https://nuswupshop.spbr.net/nus/services/NetUpdateSOAP"},
|
||||
{0xE2299990, "policylist.spbr.net"},
|
||||
{0xE229A600, "https://plswupshop.spbr.net/pls/upload"},
|
||||
{0xE229A6AC, "https://npvk-devapp.spbr.net/reports"},
|
||||
{0xE229A6D8, "https://npvkapp.spbr.net/reports"},
|
||||
{0xE229B1F4, "https://tasksheets.spbr.net/p01/tasksheet/%s/%s/%s/%s?c=%s&l=%s"},
|
||||
{0xE229B238, "https://tasksheets.spbr.net/p01/tasksheet/%s/%s/%s?c=%s&l=%s"},
|
||||
{0xE22AB2D8, "https://idbe-wupcdn.spbr.net/icondata/%02X/%016llX.idbe"},
|
||||
{0xE22AB318, "https://idbe-ctrcdn.spbr.net/icondata/%02X/%016llX.idbe"},
|
||||
{0xE22AB358, "https://idbe-wupcdn.spbr.net/icondata/%02X/%016llX-%d.idbe"},
|
||||
{0xE22AB398, "https://idbe-ctrcdn.spbr.net/icondata/%02X/%016llX-%d.idbe"},
|
||||
{0xE22B3EF8, "https://ecscshop.spbr.net"},
|
||||
{0xE22B3F30, "https://ecscshop.spbr.net/ecs/services/ECommerceSOAP"},
|
||||
{0xE22B3F70, "https://iascshop.spbr.net/ias/services/IdentityAuthenticationSOAP"},
|
||||
{0xE22B3FBC, "https://cascshop.spbr.net/cas/services/CatalogingSOAP"},
|
||||
{0xE22B3FFC, "https://nuscshop.spbr.net/nus/services/NetUpdateSOAP"},
|
||||
{0xE229DE0C, "n.app.spbr.net"},
|
||||
//nim-boss .bss
|
||||
{0xE24B8A24, "https://npplapp.spfn.net/p01/policylist/1/1/UNK"},
|
||||
{0xE31930D4, "https://%s%saccount.spfn.net/v%u/api/"}
|
||||
{0xE24B8A24, "https://policylist.spbr.net/p01/policylist/1/1/UNK"},
|
||||
{0xE31930D4, "https://%s%saccount.spbr.net/v%u/api/"}
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.plugin_name="Inkay"
|
||||
.plugin_name="Malamar"
|
||||
,.network_category="Network selection"
|
||||
,.connect_to_network_setting="Connect to SPFN"
|
||||
,.other_category="Other settings"
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ constexpr struct olv_allowlist original_entry = {
|
|||
|
||||
constexpr struct olv_allowlist new_entry = {
|
||||
.scheme = "https",
|
||||
.domain = ".projectrose.cafe",
|
||||
.domain = ".spbr.net",
|
||||
.path = "",
|
||||
.flags = {1, 1, 1, 1, 1},
|
||||
};
|
||||
|
|
@ -109,7 +109,7 @@ DECL_FUNCTION(int, FSOpenFile, FSClient *client, FSCmdBlock *block, char *path,
|
|||
}
|
||||
else if (strcmp("vol/content/browser/effective_tld_names.dat", path) == 0)
|
||||
{
|
||||
// we patch the TLD because .cafe isnt on the list (projectrose.cafe)
|
||||
// we patch the TLD because .cafe isnt on the list
|
||||
int ret = real_FSOpenFile(client, block, path, mode, handle, error);
|
||||
valid_tld_handle = *handle;
|
||||
DEBUG_FUNCTION_LINE_VERBOSE("Inkay: Found Miiverse TLD List, patching...");
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
#include "inkay_config.h"
|
||||
|
||||
constexpr char original_url[] = "discovery.olv.nintendo.net/v1/endpoint";
|
||||
constexpr char new_url[] = "disco.olv.projectrose.cafe/v1/endpoint";
|
||||
constexpr char new_url[] = "discovery.olv.spbr.net/v1/endpoint";
|
||||
|
||||
_Static_assert(sizeof(original_url) >= sizeof(new_url),
|
||||
"new_url too long! Must be less than 38chars.");
|
||||
|
|
|
|||
Loading…
Reference in a new issue