1 #ifndef WIISAVEWRITER_HPP 2 #define WIISAVEWRITER_HPP 4 #include "athena/MemoryWriter.hpp" 25 MEMORYCOPYWRITER_BASE();
44 bool writeSave(
WiiSave*
save, atUint8* macAddress, atUint32 ngId, atUint8* ngPriv, atUint8* ngSig, atUint32 ngKeyId,
const std::string&
filepath =
"");
48 atUint32 writeFile(
WiiFile* file);
50 void writeCerts(atUint32 filesSize, atUint32 ngId, atUint8* ngPriv, atUint8* ngSig, atUint32 ngKeyId);
55 #endif // WIISAVEWRITER_HPP
std::string filepath() const
Returns the target file.
bool writeSave(WiiSave *save, atUint8 *macAddress, atUint32 ngId, atUint8 *ngPriv, atUint8 *ngSig, atUint32 ngKeyId, const std::string &filepath="")
writeSave
Wii file container class.
Wii banner container class.
Wii data.bin container class.
Wii data.bin writer class.
WiiSaveWriter(const std::string &)
This constructor creates an instance from a file on disk.
void save(const std::string &filename="")
Saves the file to the specified file.