mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
* extrcode already existed, but now has a progress bar and an entry in HelloScript. * cmprcode recompresses a code binary into its original format. It takes 2-3 minutes. * cp -p appends file 2 to the end of file 1 rather than overwriting it.
24 lines
1.0 KiB
C
24 lines
1.0 KiB
C
#pragma once
|
|
|
|
#include "common.h"
|
|
|
|
u32 VerifyGameFile(const char* path);
|
|
u32 CheckEncryptedGameFile(const char* path);
|
|
u32 CryptGameFile(const char* path, bool inplace, bool encrypt);
|
|
u32 BuildCiaFromGameFile(const char* path, bool force_legit);
|
|
u32 DumpCxiSrlFromTmdFile(const char* path);
|
|
u32 ExtractCodeFromCxiFile(const char* path, const char* path_out, char* extstr);
|
|
u32 CompressCode(const char* path, const char* path_out);
|
|
u32 ExtractDataFromDisaDiff(const char* path);
|
|
u64 GetGameFileTrimmedSize(const char* path);
|
|
u32 TrimGameFile(const char* path);
|
|
u32 ShowGameFileTitleInfo(const char* path);
|
|
u32 ShowCiaCheckerInfo(const char* path);
|
|
u32 GetTmdContentPath(char* path_content, const char* path_tmd);
|
|
u32 BuildNcchInfoXorpads(const char* destdir, const char* path);
|
|
u32 CheckHealthAndSafetyInject(const char* hsdrv);
|
|
u32 InjectHealthAndSafety(const char* path, const char* destdrv);
|
|
u32 BuildTitleKeyInfo(const char* path, bool dec, bool dump);
|
|
u32 BuildSeedInfo(const char* path, bool dump);
|
|
u32 GetGoodName(char* name, const char* path, bool quick);
|