http://bugs.winehq.org/show_bug.cgi?id=22780
--- Comment #6 from Matteo Bruni matteo.mystral@gmail.com 2010-05-20 14:59:56 --- The assembler shaders in Trackmania (at least up to the crash) use shader version 1.1, which is not yet supported by builtin d3dx9. Anyway I get the same behavior even with some more patches to let the assember work. The game also calls the shader compiler (which is unimplemented now, and will continue to be unimplemented for quite some time probably) but seems to go on, somewhat managing the failure. The game then exits without crashing, maybe with a failed assertion when calling D3DXGetImageInfoFromFileInMemory "Not a JPEG file: starts with 0x00 0x10". We could investigate further on this (maybe after the code freeze :)).