http://bugs.winehq.org/show_bug.cgi?id=14939
--- Comment #28 from Ben Klein shacklein@gmail.com 2011-03-23 07:50:29 CDT --- (In reply to comment #27)
Hello Ben, I hope you're enjoying Black & White - it's been a long time coming.
- The XRGB1555 -> DXT135 compression algorithm is no longer essential to
running Black & White, as it's only used to compress the screenshots into thumbnails when one saves a game. The crashes were caused by a shoddy implementation of DirectDraw blitting (used when making these savegame screenshots), Zdenek Behan has provided a hack that bypasses blitting. In the HowTo I have included all 3 patches needed for playing Black & White on Wine.
Thanks :)
- Personally I think this patent fear is nonsense, since only a backwards,
oppressive and capitalist legal climate as in the U.S. would allow patents to kill innovation.
I agree with you. I'd even argue that implementing the S3TC algorithms from scratch is not a patent violation as long as you don't reverse-engineer. But I'm not a patent expert, an nor are the wine devs, so as it stands this sort of software decoder won't get into wine upstream.
If you like, I could write a patch to hook into libtxc_dxtn, though there are two concerns: A) the overhead produced by converting the 16 bit textures to 32 bit (libtdx_dxtn works with 32 bit textures) and then performing a function call to libtdx_dxtn.so would be just silly and
I suggested it mainly because it'd be more likely to be accepted by AJ.
B) the Mesa guys are finally turning on the light in their attics and are discussing providing DXT support natively in Mesa ( http://lists.freedesktop.org/archives/mesa-dev/2011-March/005826.html ). I'll push a patch to provide fast, direct compression / decompression of 16 bit (A)RGB textures to Mesa when they've completed the merger.
This is good news then :) Something to keep an eye on.
For now, just follow the HowTo on the AppDB page and you're good to go. If you want an online match sometime, give me a yell! My rhino is feeling lonesome. =(
Poor rhino!