rovingmystic
N00b
Hi all,
I've decided to create a code for editing the item properties on an item. So here it is.
First, some credits. The first line is a code I got from Skillers' code sheet, to search for Item names. The last four lines I made myself.
Let's pick apart the codes and how they work. The first searches for an item name. Let's use "Slippers" as an example. In this case, X would be the length of the item string + 2, while Y would be the string in hex with two leading 0s and two trailing 0s. So, X = 0A, or 8 + 2 in hex, and Y = 00536C69707065727300, with more zeros padding out the code to be 8x8. As follows:
There is one thing to note, if you rename an item, you no longer put leading and trailing 0s, but rather the hex for angle brackets. So Y = 3E536C6970706572733C. This is because a renamed item would have some XML tags such as "<Item>Slippers</Item>" as the name. We don't need the whole tag, so I just used the ">Slippers<" part.
Once you find the item, you now need to write the value of the property itself.
The first two lines are a search code that searches for "ItemEffect". The third line moves the pointer to the address of the value and the fourth code writes the value itself. The Z value is the only thing you need to change, the rest is necessary. The values for the property seem to be 2 bytes, and there are quite a few. I've seen some cheat tables for the PC version that seems to have around 400-500 of them. However, these cheat tables don't help, since the memory values, are very different from the save values.
Once you set the property, you can simply paste more copies of these 4 lines to get more properties on the item. However, the property needs to exist on the item. This does NOT create them. If you call it 3 times on an item with 2 properties, it will change the property of the next item in the save.
I have an ods file in my Google Drive with the properties that I've found. I believe it includes most of the properties.
If anyone would like to contribute, just post what you find here.
Many thanks, and have fun.
rovingmystic
I've decided to create a code for editing the item properties on an item. So here it is.
To see this hidden content, you must react with one of the following reactions :
Like
Let's pick apart the codes and how they work. The first searches for an item name. Let's use "Slippers" as an example. In this case, X would be the length of the item string + 2, while Y would be the string in hex with two leading 0s and two trailing 0s. So, X = 0A, or 8 + 2 in hex, and Y = 00536C69707065727300, with more zeros padding out the code to be 8x8. As follows:
To see this hidden content, you must react with one of the following reactions :
Like
Once you find the item, you now need to write the value of the property itself.
To see this hidden content, you must react with one of the following reactions :
Like
Once you set the property, you can simply paste more copies of these 4 lines to get more properties on the item. However, the property needs to exist on the item. This does NOT create them. If you call it 3 times on an item with 2 properties, it will change the property of the next item in the save.
I have an ods file in my Google Drive with the properties that I've found. I believe it includes most of the properties.
To see this hidden content, you must react with one of the following reactions :
Like
Many thanks, and have fun.
rovingmystic