fendevel / P4G-Save-Tool

A save editor for the PSVITA game Persona 4 Golden
MIT License
44 stars 22 forks source link

"Other" In inventory.. #8

Open Patrickman123 opened 8 years ago

Patrickman123 commented 8 years ago

Everytime i try to open it it crashes the app. dumped my saves via "save manager" and uploaded them via ftp

rayoz12 commented 7 years ago

If you're still interested in this, there is a workaround. Though I'm not confident if it will work in all cases. You also have to download the source and compile it for yourself. I was able to get it working with the Angel Statue and Mori Ranmaru quest items. You have to change two lines in the source to the ones here:

Line 378: int[] itemSel = new int[15] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; Line 613: other = new List<Item>(Utils.GetFromDatabase(Database.allItems, 978, 36));

I can't say if it will work for other items, because I'm still not fully sure how the program organises the items.

pietergmail commented 5 years ago

If you're still interested in this, there is a workaround. Though I'm not confident if it will work in all cases. You also have to download the source and compile it for yourself. I was able to get it working with the Angel Statue and Mori Ranmaru quest items. You have to change two lines in the source to the ones here:

Line 378: int[] itemSel = new int[15] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; Line 613: other = new List<Item>(Utils.GetFromDatabase(Database.allItems, 978, 36));

I can't say if it will work for other items, because I'm still not fully sure how the program organises the items.

Is there any way you could share the exe file with me? having trouble with finding wich file i should edit.

rayoz12 commented 4 years ago

Sorry dude it's been a long time. I don't have the exe anymore.

Anyway for further readers the file you should be looking for is MainWindow.xaml.cs

https://github.com/fendevel/P4G-Save-Tool/blob/master/P4G%20Save%20Tool/P4G%20Save%20Tool/MainWindow.xaml.cs

I'll submit a pull request if I time

pietergmail commented 4 years ago

thx for the reply but i was eventually able to figure it out on my own.

jc-moreira commented 4 years ago

Here is the fixed file for anyone that come here searching for solutions.