▚ Retro Scene Rebuild

RAWdump.v0.4.Package.Connect.your.Wii.drive.to.PC.(faster)-IND

System
Wii
Group
IND
Date
2007-01-27
Type
RAR set
Packer
RAR 3.60 (2005-11-21) · -m5 · -mt2
Rebuild
byte-exact
Download .rsr8.5 KBf5f1dc7003f9e038f0127c6b2ea793f3eebad70761e733f1d5bd038ca43160ed

Contents

rawdump.v0.4.package.connect.your.wi.drive.to.pc-ind RAR4

FileSizeCRC32
Rawdump_v0.4/plscsi.exe56.0 KBF02A4038
Rawdump_v0.4/rawdump.exe44.0 KB2E1637C3
Rawdump_v0.4/Readme.txt717 B0E70A2FE
Rawdump_v0.4/unscrambler.exe21.0 KB96AFA9FF
Wii_MainBoard/Wii_dd_btm.jpg273.5 KBDAC6767B
Wii_MainBoard/Wii_dd_top.jpg324.7 KBA41246B9
Wii_MainBoard/Wii_mb_btm.jpg304.3 KB9FEDDC18
Wii_MainBoard/Wii_mb_top.jpg292.1 KBCCB84D0F
ErantWii/code.bin20 BFCFC1716
ErantWii/code.S131 BAA790282
ErantWii/dvdtool37.6 KBFD727983
ErantWii/dvdtool.conf8 BD66557AE
ErantWii/loaders/bootloader.bin6 B3204E029
ErantWii/loaders/bootloader.S17 B441AA151
ErantWii/readme.txt3.9 KBA616A536
1 archive volume · 1.1 MB
rawdump.v0.4.package.connect.your.wi.drive.to.pc-ind.rar1.1 MB

Release files

erantwii.nfo3.9 KBA616A536
rawdump.v0.4.package.connect.your.wi._drive.to.pc.(faster)-ind.sfv67 BEF9EFFE9
Rawdump_v0.4.nfo717 B0E70A2FE

erantwii.nfo

DVD Tool by Erant.

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.