Things you need:

1. PS2dis
2. A ram dump that was created while in the part of the game the code is for.
(examples: Skywalker DMA - take the ram dump while in game. Lobby boot DMA - Take the ram dump while in the lobby.)
3. A hex calculator (start menu>all programs>accessories>calculator --- click view>scientific and then bubble in hex and Qword)
4. A DMA code you wish to unDMA for whatever purpose.

For this tutorial I am going to unDMA the DMA version of the virus code.

If this is your first time I recommend using it too so you can follow along easier.

#DMA Virus Mode
0xFFFFFFFF 0x0074CD1C
0x00000BD8 0x00000001

Pointer Offset Value

1. Open PS2dis and drag your ram dump into it. If a box pops up just click ok.

2. press "g" on your keyboard, enter the pointer of your DMA and press enter. In this case the pointer is 0074CD1C.

3. At the address 0074CD1C there should be the value 08D59470. If not then you need to redo the ram dump in the correct area in the game. Enter the value 8D59470 into the hex calculator and subtract 8800000 from it (you dont enter the leftmost zeros in the calculator because it removes them anyway). You should get 559470 ( 00559470 ).

4. Enter 559470 into the hex calculator and add BD8 ( the offset ) to it. You should get 55A048 ( 0055A048 ). That is the address of your unDMA'd code! Yay!

5. 0055A048 is your address and 00000001 is your value

#Virus mode
;tonic
0x0055A048 0x00000001

Thats all there is to it...

Rep+++