-
how to unDMA a code
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+++
-
Re: how to unDMA a code
what if my dma is one line
-
Re: how to unDMA a code
No dma code can be one line gotta be two
-
Re: how to unDMA a code
but imade inf health for ftb3 and its one
but only works in one level
isn't that a dma
-
Re: how to unDMA a code
Are u talkin bout
fffffffff 00000000
0000000 00000000
as a one line u mean one offset
-
Re: how to unDMA a code
i mean only one address and one hex value
32 bits
-
Re: how to unDMA a code
That's not a dma then that's like a reg one line code
-
Re: how to unDMA a code
but it doesn't work all the time
only in one mission
-
Re: how to unDMA a code
your code isnt a DMA code
your code is a code that probably needs to be DMA'd
This is a DMA code:
#BLAH BLAH
0xFFFFFFFF 0x00505858
0x0000036c 0x00000000
codes in the 0x01200000 to 0x01300000 are usually codes that need to be DMA'd
-
Re: how to unDMA a code
k yeah
all my inf healths start with 013c
so... do i sub it to make it a DMA?