Page 1 of 1

Inventory loading problem - need further investigation

PostPosted: 18 Jul 2009, 18:21
by hunter60
please help me, I have a problem.
After installing the new masterbase M10
when can I try to open my old library I can't do it
the program tell me that the file is wrong.
Before the update it was all OK
thanks for the help from Italy (sorry for my english ).
if I can't solve the problem I lost more than 6000 cards from my databese

Re: Inventory loading problem - need further investigation

PostPosted: 19 Jul 2009, 08:41
by Goblin Hero
After M10 update there's a strange problem with inventory. I (and hunter 60) can't load my old inventory in bottom window. "File structure is invalid. Load canceled." But it is possible to load inventory in top window (instead of masterbase). I do not know what causes this problem. MWS limitations again?
Please try to open your own inventories. Any ideas are welcome.

Re: Inventory loading problem - need further investigation

PostPosted: 19 Jul 2009, 09:22
by hunter60
new issue , after more investigation I was able to open my inventory but only in the bottom window after closed top and bottom library. Now when try to open masterbase
I have this message :
DEBUG : ( insufficent memory for this operation ).
Thanks for your attention and your great work for us.

Re: Inventory loading problem - need further investigation

PostPosted: 19 Jul 2009, 09:31
by Goblin Hero
hunter60 wrote:Now when try to open masterbase
I have this message :
DEBUG : ( insufficent memory for this operation ).
The same for me. And I can open my second small inventory file w/o problems.

Re: Inventory loading problem - need further investigation

PostPosted: 20 Jul 2009, 12:30
by Goblin Hero
MWS developer Detonator said this:
GoblinHero, it is strange and occasionally bug in Delphi 7 runtime library (ClientDataSet component) and I don't find how to fix or evade it. In Delphi 2009 it fixed, but in Delphi 2009 string type is WideString and I fail to recompile MWS under Delphi 2009 due to this fact. I changed ClientDataSet component to VirtualTable(http://devart.com/vtable/) but last two months I'm out of home and not finished it yet, a lot of changes was made and need big testing before release.
As workaround to load and support old format I use dll compiled under Delphi 2009 where table loads in ClientDataSet format, copy records to VirtualTable and save in memory buffer, then this buffer passes to MWS and load to VirtualTable for internal working.
The only thing we can do is wait for new version of MWS with bug fixed.

Re: Inventory loading problem - need further investigation

PostPosted: 21 Jul 2009, 17:52
by hunter60
i'll wait to.
Goblin hero a question for you : what's the difference
about MSW and Magic Album ?
Thanks

Re: Inventory loading problem - need further investigation

PostPosted: 16 May 2010, 19:11
by Keldrif
Any word about this?

Re: Inventory loading problem - need further investigation

PostPosted: 26 Jul 2010, 07:33
by Goblin Hero
From: Planeswlk
To: GoblinHero

Hi again, I found the real cause of the error- I have a large rulings.dat from keeping it updated. With this in place, I'm still getting the error after reducing the masterbase to 18250 (the ROE base was 17700ish). When I revert my rulings to the old gamepack version, I can load your new base fine. The old rulings are 2.9mb, and my updated one (crystalkeep latest) is just over 4mb. It seems MWS cannot handle the combination of 2 large databases loaded in memory.
This can help.