User Tag List

Results 1 to 10 of 10

Thread: Dma Help

  1. #1
    Dma Help

    User Info Menu

    Dma Help

    Hello! I tried to make a inf health code for SFLS Story but i'm having some problems.

    Here are the codes i started with:

    Code:
    #inf health dma 1
    0x0138478C 0xFFFFFFFF
    
    #inf health dma 2
    0x0145390C 0xFFFFFFFF
    In dma hunter i got this:

    Code:
    Found, address 0X61A944, value changed from 0X9B84770 to 0X9C538F0
    And i did all my magic and i got this:

    #Story Inf Health 1
    0xFFFFFFFF 0X0061A944
    0x01246292 0x00040000

    When i turn it on, my psp freezes and shuts off... :(
    Last edited by Brandon; 03-08-2010 at 08:52 PM.

    C# Developer and GFX
    Spoiler

    Contact me at - [email protected]

  2. #2
    Dma Help

    User Info Menu

    Re: Dma Help

    I found this here: http://onehitgamer.com/forum/psp-dma...elp-noobs.html
    Written by: Oby1Chick (Head Coder)

    The Address
    1. Addresses on the PSP are actually 0x08800000 and on
    2. A cheat might have an address of 0x00005000, but that's not the real address, that's the "SHORTCUT ADDRESS"
    3. The REAL address is 0x08805000 (Add 0x08800000 + 0x00005000)
    4. So when the game uses the address, it uses the REAL ADDRESS to access it, and NOT the SHORTCUT ADDRESS 0x00005000
    5. Remember the word "SHORTCUT ADDRESS"

    Pointers
    1. Pointers have 2 parts
    2. Part 1 is the ADDRESS of the pointer itself
    3. Part 2 is the VALUE inside the pointer (which is actually an address)
    4. So let's say we go to address 0x08805000, and the number inside there is 0x08806000
    7. This means that there is a pointer at 0x08805000 that points to 0x08806000

    Pointer Offsets
    1. From the above example we had a pointer at 0x08805000 that points to 0x08806000
    2. BUT, let's say the player's health is at 0x08807000
    3. We play the game, and then the pointer at at 0x08805000 NOW points to 0x08806500
    4. We then notice that the player's health is no longer at 0x08807000 but instead at 0x08807500
    5. This mean that the player's health is RELATIVELY DEPENDENT on the address that the pointer points to
    6. We notice that to get the address of the player's health, we do:
    address of player's health=address that the pointer points to+0x1000
    7. 0x1000 can be said to be the "RELATIVE OFFSET"

    nitePR format
    1. nitePR's DMA codes are in this format:
    0xFFFFFFFF 0x___1____
    0x____2___ 0x____3___

    2. In 0x___1____ is the "SHORTCUT ADDRESS" of the POINTER
    3. 0x____2___ is the "RELATIVE OFFSET" that gets added to the ADDRESS POINTED TO BY THE POINTER
    4. 0x____3___ is the VALUE that gets STORED at the POINTED ADDRESS

    dmaHunter
    1. Find a cheat by searching for it, write down the "SHORTCUT ADDRESS"
    2. Dump RAM in slot 1
    3. MAKE the game change the pointers (be it by restarting the game or joining a different map)
    4. Find the cheat AGAIN by searching for it, write down the "SHORTCUT ADDRESS"
    5. Dump RAM in slot 2
    6. Quit
    7. Connect the PSP to the USB
    8.Run DMA hunter

    9. DMA hunter asks you for two RAM dumps
    10. Select the RAM dumps in the proper order, order matters
    11. So select RAM DUMP #1 first, and enter the "SHORTCUT ADDRESS" you got in step #1
    12. Then select RAM DUMP #2, and enter the "SHORTCUT ADDRESS" you got in step #4

    13. dmaHunter will now cross reference the two dumps to find all the values that changed by the same amount
    14. If successful, dmaHunter should say (hopefully):
    Quote:
    --Found, address "SHORTCUT ADDRESS", value changed from "REAL ADDRESS A" to "REAL ADDRESS B"
    15. "SHORTCUT ADDRESS" is the ADDRESS OF THE POINTER
    16. You now need to compute the "RELATIVE OFFSET"

    17. The "RELATIVE OFFSET" can be gotten by first converting either "REAL ADDRESS A" or "REAL ADDRESS B" into "SHORTCUT ADDRESS" form
    18. To do this, we pick either REAL ADDRESS A or B, and then subtract 0x08800000 to get the "converted SHORTCUT ADDRESS" , that's it

    19. Finally, the OFFSET can be calculated by:
    "RELATIVE OFFSET"="SHORTCUT ADDRESS you got in step #1"-"SHORTCUT ADDRESS A which you converted"
    or
    "RELATIVE OFFSET"="SHORTCUT ADDRESS you got in step #4"-"SHORTCUT ADDRESS B which you converted"
    20. Both equations should give you the same "RELATIVE OFFSET"

    Make sure you went through all these steps correctly.
    I hope it somewhat helps you out
    Last edited by Skanky...Muffin; 03-09-2010 at 12:37 AM.

    +Rep

  3. #3
    Dma Help

    User Info Menu

    Re: Dma Help

    You shouldn't post links to other sites.

    Hex you did the offset wrong:


    0X9B84770 to 0X9C538F0


    And the first address you had was this:

    0x0138478C

    So

    9B84770 - 8800000 = 1384770

    Now the first address - that result = are offset:

    0138478C - 1384770 = 1C

    So your result is:

    #Story Inf Health 1
    0xFFFFFFFF 0X0061A944
    0x0000001C 0x00040000

    ;)

    If you have an idea on a PSP related program that is ran on Windows PM me with some information on your idea please.

  4. #4
    Dma Help

    User Info Menu

    Re: Dma Help

    omg. lol! Thank you!

    C# Developer and GFX
    Spoiler

    Contact me at - [email protected]

  5. #5
    Dma Help

    User Info Menu

    Re: Dma Help

    Quote Originally Posted by TheEliteOne View Post
    You shouldn't post links to other sites.

    Hex you did the offset wrong:


    0X9B84770 to 0X9C538F0


    And the first address you had was this:

    0x0138478C

    So

    9B84770 - 8800000 = 1384770

    Now the first address - that result = are offset:

    0138478C - 1384770 = 1C

    So your result is:

    #Story Inf Health 1
    0xFFFFFFFF 0X0061A944
    0x0000001C 0x00040000

    ;)
    Never promoted the site, just referenced it. I should be allowed to reference the things I find helpful on other sites.
    *From the rules*
    6.) No stealing credit. (Rather it be a code, tutorial, or design.)
    Last edited by Skanky...Muffin; 03-09-2010 at 04:46 PM.

    +Rep

  6. #6
    Dma Help

    User Info Menu


    C# Developer and GFX
    Spoiler

    Contact me at - [email protected]

  7. #7
    Dma Help

    User Info Menu

    Re: Dma Help

    Quote Originally Posted by BranHex View Post
    omg. lol! Thank you!
    Quote Originally Posted by BranHex View Post
    No problem.

    Quote Originally Posted by Skanky...Muffin View Post
    Never promoted the site, just referenced it. I should be allowed to reference the things I find helpful on other sites.
    *From the rules*
    6.) No stealing credit. (Rather it be a code, tutorial, or design.)
    You posted a link to it, that should be against the rules =/ but what ever.

    If you have an idea on a PSP related program that is ran on Windows PM me with some information on your idea please.

  8. #8
    Dma Help

    User Info Menu

    Re: Dma Help

    Quote Originally Posted by TheEliteOne View Post
    No problem.



    You posted a link to it, that should be against the rules =/ but what ever.
    That doesn't make any sense. That's like saying, "Oh console discussions is the only site on the web that has helpful information" which is untrue since there are many sites out there with useful info, thus I reference them.

    +Rep

  9. #9
    Dma Help

    User Info Menu

    Re: Dma Help

    Quote Originally Posted by Skanky...Muffin View Post
    That doesn't make any sense. That's like saying, "Oh console discussions is the only site on the web that has helpful information" which is untrue since there are many sites out there with useful info, thus I reference them.
    Okay okay, for get i said any thing ;)

    If you have an idea on a PSP related program that is ran on Windows PM me with some information on your idea please.

  10. #10
    Dma Help

    User Info Menu

    Re: Dma Help

    Quote Originally Posted by TheEliteOne View Post
    Okay okay, for get i said any thing ;)
    Hahah sorry, I get into it when someone disagrees with me :)
    My bad

    +Rep

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •