News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: What is the most efficient way to find out item hex locations?  (Read 2844 times)

azul120

  • Jr. Member
  • **
  • Posts: 15
    • View Profile
What is the most efficient way to find out item hex locations?
« on: September 05, 2011, 01:00:58 am »
I'm trying to pinpoint item hex locations for the Yu-Gi-Oh! DS games in particular, and am wondering what the most efficient means towards this would be. Would the save state method as covered in the RPG hacking document, for instance, be a good place to look?

henke37

  • Hero Member
  • *****
  • Posts: 643
    • View Profile
Re: What is the most efficient way to find out item hex locations?
« Reply #1 on: September 05, 2011, 05:46:09 am »
Here is what I would try: I would look for the price of a few items and then look for a memory region where those numbers occur close to each other.

creeperton

  • Hero Member
  • *****
  • Posts: 604
    • View Profile
.
« Reply #2 on: September 06, 2011, 12:38:43 pm »
.
« Last Edit: November 16, 2015, 12:51:32 am by creeperton »

KaioShin

  • RHDN Patreon Supporter!
  • Hero Member
  • *****
  • Posts: 5697
    • View Profile
    • The Romhacking Aerie
Re: What is the most efficient way to find out item hex locations?
« Reply #3 on: September 06, 2011, 04:20:52 pm »
The most efficient way is probably debugging, though I know some people who swear on being faster with corrupting. However learning debugging won't happen overnight, it comes along with learning basic assembly hacking and is a very advanced topic. I agree that cheat code search style hacking might yield results the fastest - if it's data that can be found with it.
All my posts are merely personal opinions and not statements of fact, even if they are not explicitly prefixed by "In my opinion", "IMO", "I believe", or similar modifiers. By reading this disclaimer you agree to reply in spirit of these conditions.

creeperton

  • Hero Member
  • *****
  • Posts: 604
    • View Profile
.
« Reply #4 on: September 06, 2011, 07:06:08 pm »
.
« Last Edit: November 16, 2015, 12:52:19 am by creeperton »

minilogger11

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: What is the most efficient way to find out item hex locations?
« Reply #5 on: September 25, 2011, 02:51:24 pm »
The most efficient way is probably debugging, though I know some people who swear on being faster with corrupting. However learning debugging won't happen overnight, it comes along with learning basic assembly hacking and is a very advanced topic. I agree that cheat code search style hacking might yield results the fastest - if it's data that can be found with it.

hi, sorry for bringing this thread back up but could you explain more on how to do this. More specifically i am trying to change the items that is sold in a store. How would i go about doing this? i dont know much as im new to hacking

Romsstar

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Re: What is the most efficient way to find out item hex locations?
« Reply #6 on: September 26, 2011, 05:12:43 am »
I would try following. Attach a debugger to the game if there is not a build one (TheCheat, Cheat Engine whatever)
When you buy an item you can start an initial unknown search.
after that increase the amount of items by 1 for example then decrease it, increase it until you have only 1-2 results left.
Now it depends on luck but often the hex of an item is right after or before the actual amount you are buying.
You can try that.