You need three files:TheTate wrote: ↑13 Jul 2022, 08:42 Verbatim, what I did the last time, was applying the base mod, removing the scripts, then applying the "Merge Revamp latest version", exactly as the instructions said, and that left me with characters 3 and 4 portraitless. I tried reapplying the stuff from the base mod again, and then I had all character portraits back, but I was still missing some item graphics, and could no longer open character 1's inventory.
1) MM678_Merged_2022_06_18_nomedia.zip
2) MM678_Merged_media_2021.zip
3) Either of mmmerge-master.zip or mmmerge-rodril-fixes.zip (but NOT both)
Inaccessible inventory means you have, well, broken inventory. This bug isn't originated by Merge, happens since MM7 at least.
Fix for character in the first slot:
Code: Select all
for k, v in Party[0].Items do
if v.Number < 0 or v.Number > Game.ItemsTxt.count - 1 then
print("wrong item", k, v.Number)
v.Number = 0
end
end
for k, v in Party[0].Inventory do
if v > 0 then
if Party[0].Items[v] == 0 then
print("ref to absent item", k, v)
Party[0].Inventory[k] = 0
end
elseif v < 0 then
if Party[0].Inventory[-1 - v] <= 0 then
print("ref to non-positive", k, v)
Party[0].Inventory[k] = 0
end
end
end