ConsoleWorld Forum

Go Back   ConsoleWorld Forum > Nintendo Center > Nintendo Wii > Modchips


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 24th January 2007, 12:15
Hide's Avatar
Registered User
 
Join Date: Jul 2006
Location: casa mia =_=
Age: 20
Posts: 861 (1,27 posts per day)
Potenza rep: 3
Hide is on a distinguished road
Dvd Drive Tool

Rilasciato oggi, per gli hacker e chi ne capisce qualcosa, le istruzioni e il tool per collegare il drive del wii al pc :

Quote:
Usage of the program:

The DVD Tool usage is fairly simple, to read from memory, type
./dvdtool -s <size here> -r <offset> <file>
So, if you wanted to read 0x40 bytes from 0x8000 (main memory start), you'd type
./dvdtool -s 0x40 -r 0x8000
The file argument is an optional argument for reading, if no valid file is specified,
the output is a formatted output to stdout. The -s argument is also an optional argument,
not specifying it will assume a default of 0x20 bytes.

To write to memory, you'd use a similar syntax

./dvdtool -s <size here> -w <offset> <file/array>

The only difference is the last argument, it can take a file or a formatted array.
In either case, the -s option is again optional, not specifying it will assume
the size of the array, or the size of the file.
An example to write an array to 0x8100:

./dvdtool -w 0x8100 "0xFF,0x0,0xFF,0x0" will write {0xFF,0x0,0xFF,0x0} to 0x8100.

The insert code command is slightly more complicated, you need a compiled and assembled
binary to insert. Code execution starts at 0x408000, which is in extra RAM. Code size limit
is estimated at roughly 8kb, so enough for pretty much anything. You need to pre-pend your code
with a NOP instruction, and append it with an 'RTS' instruction, to resume normal code execution.

An example of some code you could assemble and insert:

NOP
MOV 0xFF, D0
MOV 0x8000, A0
MOV D0, (A0)
RTS

This will write the value 0xFF to 0x8000. You can again check proper execution by performing a read operation.If the application returns a 'write error' after code injection, your code has crashed the interrupt thread of the DVD drive, and it'll need either a power cycle or reboot. Syntax of the code inject is easy enough,

./dvdtool -i code.bin

(A sample, compiled program called code.bin is included, it's source is also included. Run it, and check for 0xEA, 0xEA at 0x8001 for correct functioning).

Making the datacable

In order to make the datacable, you need only a few basic items. A DB-25 connector, two diodes, and some cable. Connect the diodes in reverse (so, PC ---|<--- Wii) to the DB-25 connector, to pins 1 and 14. Just connect some wires to pins 18 and 11, these will be the GND and output wires. The other two dioded wires are clock and input. Now, open your Wii, remove the DVD drive, and turn it over. Look for the following pattern near IC3001 (http://wiire.org/Wii/console/disc_drive
- 1 -
2 3 4
- 5 6

3 is SBO1 (Output)
4 is SBT1 (CLK)
6 is SBI1 (Input)

With the numbers being pads, and - being nothing. Now, solder the wire from pin 1 to pad 4 (CLK line). Pin 14 goes to pad 6, and pin 11 goes to pad 3. Just find a suitable place to attach the wire from pin 18, which is GND. (Placing the board so you can read the writing on IC3001, look at connector P3001, the rightmost pad is GND and the third from the right is GND). Check your solder connections with a multimeter, then close up your Wii, and issue the ./dvdtool -r 0x8000 command in root mode. If you see hexadecimal numbers, congratulations! If you don't, check the proper functioning of your cable, wether or not you're in root mode, and if the parport0 and ppdev drivers are properly installed.

dvdtool.conf

Contains only two things, the second line is the command write delay, the delay after a command is written, and should probably be left alone. The first is the bit read/write delay, the delay done after a bit is written or read. In standby mode (orange led), this is pretty safe at 50, but for ON mode (green led), should be set to 100 or higher, to avoid sync errors.

Debugging

If you're getting out of sync errors every now and again, make sure your Wii is in stand by mode (orange LED, higher transfer rates), or adjust the timing settings in dvdtool.conf, or try adding a 47pF capacitor to GND to your clock line. (At the Wii side). The code is also still fairly crude, so if you encounter any bugs, please give them to me in #wiidev on EFNet.
Attached Files
File Type: zip dvdtool.tar.gz.zip (18,9 KB, 10 views)
__________________
Sony PS2 Version 39004° Matrix Infinity 1.81°Hdd Maxtor 80 GB°2x Joypad Sony°2x Memory Card Sony 8 MB°Guitar Hero Controller°Eyetoy°
Sony PSP Version 1004°DarkAlex Firmware 3.02°Memory Stick PRO Duo Byvio 4 GB°
Nintendo Wii First Edition°Wiikey 1.0°2x Wiimote°2x Nunchuk°Nintendo RGB Cable°
Microsoft X-Box 360 Core°Hitachi mod°2x Controller°Gamexpert Cooler King°Hard Disk 20 GB°Headset Microsoft°Remote Controller Microsoft°HD-AV High Definition Cable Microsoft°
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 24th January 2007, 16:42
Shion's Avatar
CW Staff
 
Join Date: Aug 2005
Posts: 2.307 (2,33 posts per day)
Potenza rep: 7
Shion is on a distinguished road
Aspettiamo che qualcuno lo provi e ci dica se girano i backup.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 30th January 2007, 20:42
Junior Member
 
Join Date: Jan 2007
Posts: 8 (0,02 posts per day)
Potenza rep: 0
TylerD is on a distinguished road
nel caso ci vorra molto meno x fare le copie di backup.. bene..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +2. The time now is 15:22.

Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO

ConsoleWorld.org © 2005/08. E' vietata la riproduzione di tutto o di una parte dei contenuti del sito.
Questo è un forum pubblico per cui non siamo responsabili dei contenuti in esso presenti.
All logos and trademarks in this site are property of their respective owner.
The other brands and names are property of the respective owners. This site is not affiliated with SCEI, Microsoft or Nintendo.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99