Codes
WiiRd forum
November 22, 2019, 07:54:31 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome on the new server

Update 4.3 - do NOT update!
Gecko 1.9.3.1
Should I get a USB Gecko, I wanna hack?
How do I use my USB Gecko
Where can I get WiiRd?
 
   Home   CODE DATABASE GAMEHACKING Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Help with front sd loading in C++  (Read 2491 times)
Black_Wolf
Former PSP Hacker
Hacker
Full Member
*****

Karma: 11
Posts: 129


WWW
« on: October 01, 2008, 01:00:42 AM »

I've been looking for a while now, I can't find the library or the commands that read and write files from the front SD slot on the wii, can anyone help me out?
Logged

Nuke
Hacker
Hero Member
*****

Karma: 53
Posts: 661


« Reply #1 on: October 03, 2008, 10:54:26 AM »

if your using libogc, libfat handles all this. You can just use fopen, fread file system commands. This is the quickest way to write any SD code on the Wii.

SD communication is done through IPC sending commands to the IOS (starlet) here is a list of commands

https://www.wiibrew.org/wiki//dev/sdio/slot0

you don't really need to understand any of this though if you use libogc as its all layer upon layer that does it all for you.

here is my ocarina code, its very simple as you can see

https://www.pastie.org/private/uagn7dhuywhhh4lzpqblq

if you need any further help let me know
Logged

0xFFFFFFuuuuuuu
Black_Wolf
Former PSP Hacker
Hacker
Full Member
*****

Karma: 11
Posts: 129


WWW
« Reply #2 on: October 03, 2008, 11:40:55 AM »

thank you very much, thats all I needed. I knew it was libfat but I just couldn't find a reference for all its commands etc
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!