1

I tried doing it this way, didn't work (no file was copied, there was no error message)

#include <stdio.h>
#include <stdlib.h>
#include <gccore.h>
#include <grrlib.h>
#include <stdio.h>
#include <fstream>
#include <wiiuse/wpad.h>
int main() {
(...)
std::ifstream src_f("nand:/title/00010004/524d4345/data/rksys.dat", std::ios::binary);
std::ofstream  dst_f("nand:/title/00010004/4a4e4b5/data/rksys.dat",std::ios::binary);
dst_f << src_f.rdbuf();
(...)
}

Do I need to initialize the NAND or something? The code worked fine when I tried to copy files to the SD card.

jawa
  • 13
  • 4
  • "Didn't work" is not sufficient information for anyone to help you. You need to provide the complete error message as well. – alexpanter Apr 05 '21 at 13:28

0 Answers0