Commit Graph

17 Commits

Author SHA1 Message Date
RoosterDragon
ab9b393238 Compress all pngs, including within oramap files.
Reduces size used for png files from 13,366,660 bytes to 13,055,285 bytes in total. Changes size used for oramap files from 2,601,027 bytes to 2,605,779 bytes in total (contained PNGs are smaller, but the oramap zip wrapper didn't compress as well). This slight filesize improvement doesn't noticeably impact loading times.

zopfilpng is used for compression with the following command line:
'zopflipng.exe -y -m image.png image.png'

This follows on from 78bef8a98f and bc5e7d1497. Except now that the PNG decoder supports bit depths of 1, 2 or 4 we don't have to preserve the original bit depth of the image, allowing for more compression.

The oramap files were updated by:
- Running utility command "<mod> --unpack-map unpack" for each mod.
- Compressing the png files using the command above.
- Running utility command "<mod> --unpack-map repack" for each mod, except in Map.Save the line `if (!LockPreview) { var previewData = ...` is replaced with `if (false) { var previewData = ...` to save the existing optimized image on disk rather than generating a fresh preview.
2023-11-25 16:45:05 +01:00
RoosterDragon
78bef8a98f Compress all pngs.
Reduces size used for png files from 19,034,446 bytes to 13,305,798 bytes in total. The smaller files also improve loading times as the zlib decoder has less bytes to schlep through.

The PNG decoder shipped with OpenRA only supports a bit depth of 8 for images with a palette, so must must ensure that other depths (1,2 or 4) are not used.

zopfilpng is used for compression with the following command line:
'zopflipng.exe --keepcolortype -y -m image.png image.png'

The keepcolortype flag ensures the bit depth is not changed.
2023-06-26 19:28:06 +02:00
Paul Chote
1282650274 Rework RA Chrome in preparation for UI scaling. 2020-01-12 18:16:41 +01:00
clemty
76de14b6f5 PNG file size reduction
run pngcrush -brute on *.png

before:
 70 File(s)      3.455.140 bytes

after:
 70 File(s)      2.616.088 bytes
2015-09-29 20:47:36 +02:00
Paul Chote
ad88378a0b Overhaul the replay sidebar. 2014-10-19 15:32:26 +13:00
Alexander Fast
bb88fddb0f Manual merge of dialog.png
The new file inclused both the black box and the new vivid red colors.
2014-08-19 09:36:46 +02:00
Oliver Brakmann
0d85b7ee71 Make FMVPlayer in RA use a completely black background 2014-08-10 12:38:55 +02:00
MicroGraphics
5a698d612f Fixed dialog.png for RedAlert 2014-04-15 08:00:39 +02:00
Matthias Mailänder
a71f861638 darker wine red for the highlighted button 2013-10-26 12:07:09 +02:00
Matthias Mailänder
34cc78924f more subtle highlighted button 2013-10-25 18:48:52 +02:00
Sébastien Kerguen
46364acaf5 RA dialog.png file updated (-disabled more grey)
RA dialog.png file updated (-disabled is now more grey)
2013-10-25 18:43:26 +02:00
Sébastien Kerguen
8b9f7a12fa Added -disabled in chrome.yaml & dialog.png files
Added -disabled in chrome.yaml & dialog.png files
2013-10-16 23:34:27 +02:00
Sébastien Kerguen
76c81b610a Fixed spawnpoints in chrome.yaml (D2K, TS, RA)
Fixed spawnpoints in chrome.yaml (D2K, TS, RA)
Fixes #3931
2013-10-14 18:43:51 +02:00
Sébastien Kerguen
8df4f7b3dd Updated chrome.yaml and dialog.png (RA,D2K,TS)
I have updated chrome.yaml and dialog.png files for RA, D2K, TS mods.
Featuring "button-hover" and "textfield-hover" states.
2013-10-08 23:19:00 +02:00
Scott_NZ
d4cd05c2ea Improve RA main menu design 2013-05-01 22:08:28 +12:00
Scott_NZ
0c6daf191c Add button highlighting/glow effect, to be used for the objective button when the objectives update 2012-10-02 21:52:43 +13:00
Paul Chote
9ea3a404a3 Tidy ra dir 2010-09-09 20:31:54 +12:00