http://bugs.winehq.org/show_bug.cgi?id=27636
--- Comment #15 from Michael Curran curran.michaelp@gmail.com 2012-02-24 22:42:36 CST --- Okay, I figured out this problem, wrapping:
for (k = 0; k < nb_elems; k++) {...} if (buf->txt && (check_TOKEN(buf) != TOKEN_CBRACE) && (check_TOKEN(buf) != TOKEN_NAME)) buf->pxo->members[i].size = buf->cur_pos_data - buf->pxo->members[i].start;
inside of:
if (nb_elems > 0) {}
resolves the d3dxof issues, but the program still crash when starting a new game, without any useful feedback.
I'll hash out a patch tomorrow when I have some time.