Re: The next version of manalink
The problem lies in all those static arrays that load and store cards.dat data ex. drawcardlib.dll has char Source[303992]; (gigantic array creation on the stack is just asking for trouble) and when this storage runs out you overwrite stack which causes a crash at some point (stack corruption).
Same goes for Magic.exe, however if you want to move the arrays you need to update all the calls to them (and there's quite many of them).
Rewriting the whole software would be best as you would know why and where it's crashing. It would be also easy to patch, however the amount of works is comparable to writing your own MtG game, which I suppose is more attractive to people than rewriting and old piece of code.
Same goes for Magic.exe, however if you want to move the arrays you need to update all the calls to them (and there's quite many of them).
Rewriting the whole software would be best as you would know why and where it's crashing. It would be also easy to patch, however the amount of works is comparable to writing your own MtG game, which I suppose is more attractive to people than rewriting and old piece of code.