Hey there,
I'm trying to make a little program, which can read the inventories of retainers from memory. So I use Cheat Engine to find the address of the items' information, including quantity and name.
I succeeded in finding the address I needed. Now I can easily retrieve the number of items from memory at any time. But for item names, I can only get an array of bytes, not a string.
For example, Array(0x09,0x2F,0x00) represents "Triple Cream Coffee".
So I can't tell what an array corresponds to, in the absence of a correspondence.
Here is how do I find these addresses. Once the game is started, the data is in the address. The data is changed only after you have finished the conversation with the retainer, not after you have adjusted the retainer inventory. The link below is a picture of what I got. Three bytes represent the type of an item.
[Only registered and activated users can see links. Click Here To Register...]
I'm trying to make a little program, which can read the inventories of retainers from memory. So I use Cheat Engine to find the address of the items' information, including quantity and name.
I succeeded in finding the address I needed. Now I can easily retrieve the number of items from memory at any time. But for item names, I can only get an array of bytes, not a string.
For example, Array(0x09,0x2F,0x00) represents "Triple Cream Coffee".
So I can't tell what an array corresponds to, in the absence of a correspondence.
Here is how do I find these addresses. Once the game is started, the data is in the address. The data is changed only after you have finished the conversation with the retainer, not after you have adjusted the retainer inventory. The link below is a picture of what I got. Three bytes represent the type of an item.
[Only registered and activated users can see links. Click Here To Register...]