http://bugs.winehq.org/show_bug.cgi?id=14578
--- Comment #4 from Alexander Dorofeyev alexd4@inbox.lv 2008-07-20 13:34:49 --- Failed assert in system shock 2 intros seem to be a part of the same problem. I don't know whether this is really right or not as I don't understand yet how this index stuff works, but reverting that part back, i.e.
- if (stream->index) + if (stream->pos_next * sizeof(This->oldindex->aIndex[0]) >= This->oldindex->cb)
Cures hang in Thief and the assert in SS2 as well. It seems that SS2 assert may be coming from it failing to stop at end of stream.