How to code in displaying a sysfile on wii
September 14, 2011 11:16PM
Could somebody give me a hand in here? I just want to display a wii system file on wii. There are many utilities for NAND dumping, but couldn't find this. Which files you asked? SYSCONF and net
Re: How to code in displaying a sysfile on wii
September 16, 2011 11:01PM
The code used to dump the files necessarily reads the file first. Just print it instead of saving it.

The following code is from FS Browser.
	//Copy to sd.
	while((i = ISFS_Read(fd, buf, DUMP_BUF_SIZE)) > 0)
	{
		fwrite(buf, 1, i, fp);
		bytes += i;
		l++;
		if(l % 50)
			spinner();
	}

But you just care about this
	//Copy to sd.
	while((i = ISFS_Read(fd, buf, DUMP_BUF_SIZE)) > 0)
	{
		fwrite(buf, 1, i, fp); 
	}
You've got the data you want at that buf pointer. Print it.

Did you mean you wanted someone to actually code that? I took it the other way because I do not get why an end-user would want such files printed to the screen (I do not get why anyone would, hehe).
Sorry, only registered users may post in this forum.

Click here to login