Item IDs are determined when the game launches, so you'll need to examine the item table.
I've included the IDs for “Falcon Sword of Ruin” and “War Drum”; please overwrite the value for Shop Item 1.
Is there a list of all items we can mod into the item shop? Also how do you use it? I tried to change the values to the falcon sword and war drum and just the copper sword and iron helm show up, and some of the healing items.
How hard is it to add scrolls to item shops? I used reheal on the wrong character and now missed out forever on the souped up skill. I'm sure people have also regretted their wild side scroll usage choice.
I'm trying to find the item ID of the Reheal scroll now. I wrote the following LUA script other people can use if they want to try and guess and check stuff.
local expr = "[[[[DQIandIIHD2DRemake.exe+0532BF30]+38]+20]+30]"
local itemBase = getAddressSafe(expr)
assert(itemBase, "Couldn't resolve item table base. Load into game and try again.")
local N = 450
local STRIDE = 24
local al = getAddressList()
local group = al.createMemoryRecord()
group.Description = string.format("AUTO: Item IDs [0..%d]", N-1)
group.IsGroupHeader = true
for i = 0, N-1 do
local mr = al.createMemoryRecord()
mr.Description = string.format("Item%03d", i)
mr.Type = vtDword
mr.Address = string.format("%X", itemBase + i * STRIDE)
mr.ShowAsHex = true
mr.Parent = group
end
showMessage("Done.")
You can't buy these from the shop, but you can edit the quantity of an existing item to be this. So I'm going to convert my strong medicine in bag into a reheal scroll and see how it goes.
Nice, I was able to have both characters learn reheal and I also threw an extra wild side scroll in my bag so I don't have to make the difficult choice later. I can try and leave some notes here for others, but it's pretty complex.
Load Yuka's table
Attach to the DQ process
Run my lua snippet. It will give you values you can copy and paste over the shop item line to get it to display the item. For gear, you can just buy stuff from the store and it works, but for scrolls and other things it seems to cause a crash with divide by zero. So instead, you'll just want to edit an existing item in your inventory to become that item.
Have like 10 medicinal herbs in your item bag.
Do a new scan for the number 10
Transfer one herb to a character and close the item bag window
Search for 9.
Repeat until you get a single memory value.
Edit the quantity to something like 1 to make sure you have in fact got the area of memory which is holding your medicinal herb data. If you do and you see the item count goes to 1, you're good.
Browse memory around that value
Generate a new structure around that memory location, I left guess field types checked and set the size to 64 (probably wrong, but who cares)
at "0008" you'll see a pointer. If you expand that and look at the 0008 inside there, you'll see something that says "4 Bytes (Hex)" -- this is the value you want to update to the value of the item table. I didn't take the time to go through everything in the table, but again, 329 is the wild side scroll and 347 is the reheal scroll, so if you edit this value to be the value from those in the item table it will replace the herb with that scroll.
Please update cheat table for v1.0.2.0 Build 21744054 of DRAGON QUEST I & II HD-2D Remake
I see all scripts can be enabled. which one is broken? please specify.
Table is free to use, but need to leave the author's name and source URL: https://opencheattables.com.
Table will not be up-to-date. Feel free to modify it, but leave credit to the source.
Tip me a coffee? https://ko-fi.com/bbfoxmodding