Re:Warcraft 3: Remastered Will Work with Old Custom Maps
by jsnell on Sunday September 15, 2019 @09:49AM
(#20977178)
According to the slides that plan fails already at step 1 :)
> Unfortunately, we did not have private or public symbols for StarCraft 1.16.1.
And then there are all kinds of complications that make the naive approach insufficient. Ok, you have a static memory map. But that's not really enough when the buffer overflows are being used to poke at dynamically allocated data structures (e.g. linked lists and GUI elements).
So you need to basically emulate the full original game and constantly sync the state (in both directions) between the emulation and the real game.
Well you have the original source so you can derive the memory map and then just create an artificial "buffer overflow area" where the maps can write to that you then copy into the actual game data.