2016-12-08 22:06:47 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
u32 VerifyGameFile(const char* path);
|
2016-12-13 00:20:00 +01:00
|
|
|
u32 CheckEncryptedGameFile(const char* path);
|
2017-01-31 16:16:26 +01:00
|
|
|
u32 CryptGameFile(const char* path, bool inplace, bool encrypt);
|
2016-12-15 11:46:00 +01:00
|
|
|
u32 BuildCiaFromGameFile(const char* path, bool force_legit);
|
2020-07-31 11:58:21 +02:00
|
|
|
u32 InstallGameFile(const char* path, bool to_emunand);
|
2021-09-01 16:13:11 +02:00
|
|
|
u32 InstallCifinishFile(const char* path, bool to_emunand);
|
2021-02-06 14:47:40 +01:00
|
|
|
u32 InstallTicketFile(const char* path, bool to_emunand);
|
2021-03-08 23:49:21 +01:00
|
|
|
u32 DumpTicketForGameFile(const char* path, bool force_legit);
|
2021-07-23 14:01:19 +02:00
|
|
|
u32 DumpCxiSrlFromGameFile(const char* path);
|
2017-10-16 02:02:24 +02:00
|
|
|
u32 ExtractCodeFromCxiFile(const char* path, const char* path_out, char* extstr);
|
2018-04-22 12:28:37 -05:00
|
|
|
u32 CompressCode(const char* path, const char* path_out);
|
2018-07-16 01:07:59 +02:00
|
|
|
u64 GetGameFileTrimmedSize(const char* path);
|
|
|
|
u32 TrimGameFile(const char* path);
|
2021-03-18 22:44:33 +01:00
|
|
|
u32 ShowGameFileIcon(const char* path, u16* screen);
|
|
|
|
u32 ShowGameCheckerInfo(const char* path);
|
|
|
|
u64 GetGameFileTitleId(const char* path);
|
2020-08-07 13:06:09 +02:00
|
|
|
u32 UninstallGameDataTie(const char* path, bool remove_tie, bool remove_ticket, bool remove_save);
|
2017-10-16 17:19:34 +02:00
|
|
|
u32 GetTmdContentPath(char* path_content, const char* path_tmd);
|
2020-08-20 19:42:40 +02:00
|
|
|
u32 GetTieContentPath(char* path_content, const char* path_tie);
|
2017-01-25 14:46:29 +01:00
|
|
|
u32 BuildNcchInfoXorpads(const char* destdir, const char* path);
|
2017-02-28 04:10:23 +01:00
|
|
|
u32 CheckHealthAndSafetyInject(const char* hsdrv);
|
2017-01-30 01:49:01 +01:00
|
|
|
u32 InjectHealthAndSafety(const char* path, const char* destdrv);
|
2017-04-08 14:17:58 +02:00
|
|
|
u32 BuildTitleKeyInfo(const char* path, bool dec, bool dump);
|
2017-04-12 00:27:02 +02:00
|
|
|
u32 BuildSeedInfo(const char* path, bool dump);
|
2017-05-15 20:00:26 +02:00
|
|
|
u32 GetGoodName(char* name, const char* path, bool quick);
|