Originally posted by Youbeatz
hey thank you very much I have a short question, I have to insert the ID here at m_item_id "{".ver":1, "m_b_known":false, "m_item_id":0, "m_permanence":0}" ?
No, that is the wrong section, find the carry_item section.
Example inventory with only 1 item in it: Toughess Z x4:
"carry_item":{".ver":0,"m_list":[{".ver":0,"m_count":4,"m_item_id":767}]}
Example #2 inventory with 2 items in it, Toughess Z x4 and Wakame Ramen x2:
"carry_item":{".ver":0,"m_list":[{".ver":0,"m_count":4,"m_item_id":767},{".ver":0,"m_count":2,"m_item_id":930}]}
In summary each item will consist of the following:
{".ver":0,"m_count":x,"m_item_id":y}
Where x = Stack Count and y = ItemID. Remember the , between items except for at the end of the last item in the stream.
--
Now obviously on a real save you will have a lot more items, but should give you a general idea of how it looks like, just add new items to the end of the stream, or anywhere really the order you insert items does not matter, the game will sort the inventory automatically.
Also a small tip since Save Wizard opens the save up in binary mode making you unable to change the size in the editor, export the save to a file and open it in a text editor of your choice, then import it back into save wizard. This way you can change the size that you cannot by default in binary mode.