2020-09-20 01:21:28 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#define ROOT_PATH "/"
|
2020-10-07 01:08:39 +01:00
|
|
|
#define APP_PATH "/switch/aio-switch-updater/"
|
|
|
|
#define NRO_PATH "/switch/aio-switch-updater/aio-switch-updater.nro"
|
2020-09-20 01:21:28 +01:00
|
|
|
#define DOWNLOAD_PATH "/config/aio-switch-updater/"
|
|
|
|
#define CONFIG_PATH "/config/aio-switch-updater/"
|
2020-12-12 15:41:56 +00:00
|
|
|
#define CONFIG_PATH_UNZIP "config\\aio-switch-updater"
|
|
|
|
|
|
|
|
#define RCM_PAYLOAD_PATH "romfs:/aio_rcm.bin"
|
2020-09-20 01:21:28 +01:00
|
|
|
|
2020-09-20 01:29:49 +01:00
|
|
|
#define APP_URL "https://github.com/HamletDuFromage/aio-switch-updater/releases/latest/download/aio-switch-updater.zip"
|
2020-09-20 21:58:40 +01:00
|
|
|
#define TAGS_INFO "https://api.github.com/repos/HamletDuFromage/aio-switch-updater/tags"
|
2020-09-20 01:21:28 +01:00
|
|
|
#define APP_FILENAME "/config/aio-switch-updater/app.zip"
|
|
|
|
|
2021-02-08 20:30:58 +00:00
|
|
|
#define SIGPATCHES_URL "https://raw.githubusercontent.com/HamletDuFromage/nx-links/master/sigpatches.json"
|
2020-09-20 01:21:28 +01:00
|
|
|
#define SIGPATCHES_FILENAME "/config/aio-switch-updater/sigpatches.zip"
|
2020-09-21 07:53:59 +01:00
|
|
|
#define HEKATE_IPL_PATH "/bootloader/hekate_ipl.ini"
|
2020-09-20 01:21:28 +01:00
|
|
|
|
2021-02-08 20:30:58 +00:00
|
|
|
#define FIRMWARE_URL "https://raw.githubusercontent.com/HamletDuFromage/nx-links/master/firmwares.json"
|
2020-09-20 01:21:28 +01:00
|
|
|
#define FIRMWARE_FILENAME "/config/aio-switch-updater/firmware.zip"
|
|
|
|
#define FIRMWARE_PATH "/firmware/"
|
|
|
|
|
2021-02-08 20:30:58 +00:00
|
|
|
#define CFW_URL "https://raw.githubusercontent.com/HamletDuFromage/nx-links/master/cfw.json"
|
2020-09-20 01:21:28 +01:00
|
|
|
#define CFW_FILENAME "/config/aio-switch-updater/cfw.zip"
|
|
|
|
|
2021-02-08 20:30:58 +00:00
|
|
|
#define AMS_URL "https://raw.githubusercontent.com/HamletDuFromage/nx-links/master/ams.json"
|
|
|
|
#define SXOS_URL "https://raw.githubusercontent.com/HamletDuFromage/nx-links/master/sxos.json"
|
2020-12-12 15:41:56 +00:00
|
|
|
#define AMS_FILENAME "/config/aio-switch-updater/ams.zip"
|
|
|
|
|
2021-02-08 20:30:58 +00:00
|
|
|
#define HEKATE_URL "https://raw.githubusercontent.com/HamletDuFromage/nx-links/master/hekate.json"
|
2020-12-12 15:41:56 +00:00
|
|
|
|
2021-02-08 20:30:58 +00:00
|
|
|
#define PAYLOAD_URL "https://raw.githubusercontent.com/HamletDuFromage/nx-links/master/payloads.json"
|
2020-09-21 19:36:46 +01:00
|
|
|
|
2020-09-20 01:21:28 +01:00
|
|
|
#define CHEATS_RELEASE_URL "https://github.com/HamletDuFromage/switch-cheats-db/releases/tag/v1.0"
|
|
|
|
#define CHEATS_URL_TITLES "https://github.com/HamletDuFromage/switch-cheats-db/releases/download/v1.0/titles.zip"
|
|
|
|
#define CHEATS_URL_CONTENTS "https://github.com/HamletDuFromage/switch-cheats-db/releases/download/v1.0/contents.zip"
|
2021-02-06 17:24:47 +00:00
|
|
|
#define LOOKUP_TABLE_URL "https://raw.githubusercontent.com/HamletDuFromage/switch-cheats-db/master/versions.json"
|
2021-02-06 21:00:25 +00:00
|
|
|
#define CHEATSLIPS_CHEATS_URL "https://www.cheatslips.com/api/v1/cheats/"
|
2021-02-06 17:24:47 +00:00
|
|
|
#define CHEATSLIPS_TOKEN_URL "https://www.cheatslips.com/api/v1/token"
|
|
|
|
#define TOKEN_PATH "/config/aio-switch-updater/token.json"
|
2020-09-20 01:21:28 +01:00
|
|
|
#define CHEATS_FILENAME "/config/aio-switch-updater/cheats.zip"
|
|
|
|
#define CHEATS_EXCLUDE "/config/aio-switch-updater/exclude.txt"
|
2020-12-28 23:24:35 +00:00
|
|
|
#define FILES_IGNORE "/config/aio-switch-updater/preserve.txt"
|
2021-01-02 23:22:45 +00:00
|
|
|
#define INTERNET_JSON "/config/aio-switch-updater/internet.json"
|
2020-09-20 01:21:28 +01:00
|
|
|
#define UPDATED_TITLES_PATH "/config/aio-switch-updater/updated.dat"
|
2020-09-29 15:41:43 +01:00
|
|
|
#define CHEATS_VERSION "/config/aio-switch-updater/cheats_version.dat"
|
2020-09-20 01:21:28 +01:00
|
|
|
#define AMS_CONTENTS "/atmosphere/contents/"
|
|
|
|
#define REINX_CONTENTS "/ReiNX/contents/"
|
|
|
|
#define SXOS_TITLES "/sxos/titles/"
|
|
|
|
#define AMS_PATH "/atmosphere/"
|
|
|
|
#define SXOS_PATH "/sxos/"
|
|
|
|
#define REINX_PATH "/ReiNX/"
|
|
|
|
#define CONTENTS_PATH "contents/"
|
|
|
|
#define TITLES_PATH "titles/"
|
|
|
|
|
|
|
|
#define COLOR_PROFILES_PATH "/config/aio-switch-updater/jc_profiles.json"
|
2020-12-28 18:28:58 +00:00
|
|
|
#define PC_COLOR_PATH "/config/aio-switch-updater/pc_profiles.json"
|
2020-09-20 01:21:28 +01:00
|
|
|
|
|
|
|
#define PAYLOAD_PATH "/payloads/"
|
2020-12-12 15:41:56 +00:00
|
|
|
#define BOOTLOADER_PATH "/bootloader"
|
2020-09-20 01:21:28 +01:00
|
|
|
#define BOOTLOADER_PL_PATH "/bootloader/payloads/"
|
2020-10-05 23:53:12 +01:00
|
|
|
#define UPDATE_BIN_PATH "/bootloader/update.bin"
|
2020-09-23 12:21:05 +01:00
|
|
|
#define REBOOT_PAYLOAD_PATH "/atmosphere/reboot_payload.bin"
|
2021-01-17 17:58:20 +00:00
|
|
|
#define FUSEE_SECONDARY "/atmosphere/fusee-secondary.bin"
|
|
|
|
#define FUSEE_MTC "/atmosphere/fusee-mtc.bin"
|
2020-09-20 01:21:28 +01:00
|
|
|
|
2020-12-27 17:11:40 +00:00
|
|
|
#define AMS_ZIP_PATH "/config/aio-switch-updater/ams.zip"
|
|
|
|
#define APP_ZIP_PATH "/config/aio-switch-updater/app.zip"
|
|
|
|
#define CFW_ZIP_PATH "/config/aio-switch-updater/cfw.zip"
|
|
|
|
#define FW_ZIP_PATH "/config/aio-switch-updater/firmware.zip"
|
|
|
|
#define CHEATS_ZIP_PATH "/config/aio-switch-updater/cheats.zip"
|
|
|
|
#define SIGPATCHES_ZIP_PATH "/config/aio-switch-updater/sigpatches.zip"
|
|
|
|
#define AMS_DIRECTORY_PATH "/config/aio-switch-updater/atmosphere/"
|
|
|
|
#define SEPT_DIRECTORY_PATH "/config/aio-switch-updater/sept/"
|
|
|
|
#define FW_DIRECTORY_PATH "/firmware/"
|
|
|
|
|
2021-02-06 17:24:47 +00:00
|
|
|
#define HIDE_TABS_JSON "/config/aio-switch-updater/hide_tabs.json"
|
2021-02-15 18:31:06 +00:00
|
|
|
#define COPY_FILES_JSON "/config/aio-switch-updater/copy_files.json"
|
2021-02-06 17:24:47 +00:00
|
|
|
|
2021-01-28 19:26:41 +00:00
|
|
|
#define ROMFS_FORWARDER "romfs:/aiosu-forwarder.nro"
|
|
|
|
#define FORWARDER_PATH "/config/aio-switch-updater/aiosu-forwarder.nro"
|
|
|
|
|
2020-10-05 16:14:10 +01:00
|
|
|
#define LISTITEM_HEIGHT 50
|
|
|
|
|
2020-09-20 01:21:28 +01:00
|
|
|
|
|
|
|
enum archiveType{
|
|
|
|
sigpatches,
|
|
|
|
cheats,
|
|
|
|
fw,
|
|
|
|
app,
|
|
|
|
cfw,
|
2020-12-12 15:41:56 +00:00
|
|
|
ams_cfw,
|
2020-09-20 01:21:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
enum CFW{
|
|
|
|
rnx,
|
|
|
|
sxos,
|
|
|
|
ams,
|
|
|
|
};
|