DiscWright 0.7.4
A bug-fix release, both fixes in the disc's icons. Nothing needs migrating: project files and the disc layout are unchanged, and a 0.7.3 project opens and rebuilds exactly as it did. Rebuild a disc to get its icons redone.
The icon a disc shows on Linux was wrong for almost every icon
With named on Linux ticked, a disc carries a PNG copy of its icon for Linux desktops, made from the icon's largest frame. That frame was read through Windows' old icon class, which can't decode a frame stored as a PNG. Since Windows Vista, that's how an icon's 256px frame is normally stored.
What came out depended on how the icon was laid out:
| icon | Linux icon on the disc, before | now |
|---|---|---|
| 256px frame stored as PNG | the build failed | the icon |
| a real game's own icon (Alan Wake's) | random noise | the icon |
| the layout DiscWright itself writes | blurred, upscaled from 128px | the icon |
| plain bitmaps up to 256px | blurred, upscaled from 16px | the icon |
So since 0.6.0, a disc named for Linux showed a broken, noisy or blurred icon there for almost any icon with a 256px frame. DiscWright now reads the icon file itself, finds the largest frame, and decodes it as what it is.
No more see-through rim
Scaling a picture, Windows' drawing library samples a little past its edge and blends in transparency. So the outermost pixels of every icon frame, and two edges of most menu backgrounds, came out partly see-through. On the menu's dark backdrop that showed as a thin line round the artwork. Every scaled drawing now mirrors the picture at its edges instead.
Both turned up while porting the icon code to the Linux version of DiscWright, which is under way and builds the same disc. Its icons came out right, so they disagreed with the Windows ones.
Checksums
DiscWright-0.7.4-setup.exe 40E092364D3CADABA0A3B32ECBE9BB280BFE521D3272FC41153E6F9FEC07DD34
DiscWright-0.7.4.zip 394DBC6C399D58B766AE3064F8F42AB0A55246A472023AF3E5FCC4FEC0C7E652
Tests: 426 logic, 84 window.