Commit Graph

61 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
Gustas
caad8ba44b Manual cleanup 2023-11-25 16:28:19 +01:00
Gustas
db8a28f2c0 Automated extraction 2023-11-25 16:28:19 +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
Gustas
fc1d8d2355 Update RA maps to format 12 2022-08-30 20:03:40 +02:00
Ivaylo Draganov
fa0adb5a1b Hide various lobby options from missions and minigames 2021-09-26 21:25:08 +01:00
abcdefg30
1d4891b017 Rename several MP traits 2020-12-31 12:09:56 +01:00
Paul Chote
e431954107 Update RA map previews and formatting. 2019-05-02 13:40:22 +02:00
reaperrr
638c727f5b Fix Drop Zone maps
Fixes Lint errors, Bomb truck gfx & lobby options.
2019-03-01 14:52:31 +01:00
Paul Chote
d750db26b7 Replace AttackSuicides with AttackFrontal and conditions in RA. 2019-02-01 23:18:18 +00:00
Paul Chote
5b47aa4a9e Remove unused map options from minigame maps. 2018-06-03 12:27:20 +01:00
abcdefg30
7f55e85530 Rename DefaultCashLocked to DefaultCashDropdownLocked in yaml 2018-03-21 00:52:18 -03:00
Paul Chote
d24d80f483 Update minigames for bounty checkbox. 2017-12-21 23:52:04 +01:00
Paul Chote
36fccbc453 Add Checkbox/Dropdown to lobby options yaml fields. 2017-12-12 22:43:11 +01:00
Arular101
e049452f22 Increase damage and HP by 100x 2017-12-12 20:50:27 +01:00
Arular101
1b94378f71 Disable the new build radius lobby option for minigames 2017-12-02 20:26:23 +01:00
FrameLimiter
b7c3bc4e25 Fixes PortaTesla Warhead override for drop-zone 2017-11-19 12:49:43 +00:00
Paul Chote
c46d1944d9 Add assault move to RA. 2017-09-11 19:08:33 +02:00
Tyson Liddell
8a760fedf2 Yaml files updated with Description moved from Tooltip to Buildable 2016-10-16 12:10:07 +11:00
abcdefg30
f945837860 Lower the case of the TechLevel in all rules.yaml files 2016-07-01 00:00:42 +02:00
reaperrr
8bb2574e21 Fixed Creeps on non-Conquest RA maps 2016-04-23 16:42:31 +02:00
Paul Chote
85c41bf50e Update RA maps to format 11. 2016-03-27 12:17:00 +01:00
Paul Chote
9884a29b9e Upgrade RA maps to format 10. 2016-03-08 22:19:26 +00:00
Paul Chote
505dddcf96 Upgrade RA maps to format 9. 2016-03-07 21:41:14 +00:00
abcdefg30
e8c67993c1 Remove obsolete and performance costly RevealsShroud definitions
from the APC on the dropzone maps.
2016-01-29 22:22:15 +01:00
Matthias Mailänder
6900e4bad3 rename DemoTruck to AttackSuicides
generalize move to add Aircraft support
give it a description
don't require Explodes as it is just a soft dependency
use a regular self kill
2016-01-16 19:38:23 +01:00
abcdefg30
1cdd121753 Fix crates not spawning immediately on the dropzone maps 2015-12-15 13:25:48 +01:00
atlimit8
949994f10b Convert MiniYaml colors to hex 2015-10-27 16:10:33 -05:00
reaperrr
1a08e6de77 Add Music trait to maps (applied upgrade rule) 2015-10-21 08:20:48 +02:00
abcdefg30
d5a6d9949c Remove the now unnecessary InitialSpawnDelay: 0 from the dropzone maps 2015-10-16 14:44:48 +02:00
abcdefg30
e7c62b070b Add an upgrade rule for the seconds -> ticks change
and update the default mods
2015-09-25 17:00:06 +02:00
abcdefg30
7fd3ae7db9 Adjust the dropzone maps 2015-09-25 16:53:44 +02:00
penev92
7873a326cd Upgrade RA maps 2015-07-06 00:05:07 +03:00
abcdefg30
7a6b823233 Fix the lobby settings of the dropzone maps 2015-07-02 21:06:06 +02:00
penev92
1c44fcbad4 Add upgrade rules to remove DamageWarhead.DeathType
and replace it with proper DamageTypes
2015-05-24 00:15:09 +03:00
penev92
ea01439377 Add an upgrade rule for DamageWarheads 2015-04-26 14:29:10 +03:00
Paul Chote
bd2518649a Upgrade shipped maps to the latest format. 2014-12-23 10:00:19 +13:00
Oliver Brakmann
f182e3be1d Adjust minigames 2014-12-18 20:24:37 +01:00
Matthias Mailänder
d418afaab9 don't re-use regular multiplayer crates
fixes #6869
2014-11-10 20:20:10 +01:00
Paul Chote
cf2d30d80a Update map yaml formatting. 2014-10-19 21:06:50 +13:00
reaperrr
3725ce4f7b InfDeath -> DeathType renaming. 2014-08-30 18:06:05 +02:00
abcdefg30
b5bdb73447 Fixed crates spawning on inaccessable terrain 2014-08-26 12:52:48 +02:00
abcdefg30
ed5648f873 Disabled wrong crateactions 2014-08-26 12:51:06 +02:00
abcdefg30
2c2424d10e unit -> units to avoid crashes 2014-08-26 11:44:31 +02:00
reaperrr
d6ef37a750 ReloadModifier & ROF -> ReloadDelay yaml changes 2014-08-19 02:59:50 +02:00
UberWaffe
c972b39687 Custom Warheads refactor
Changes included:

Warhead code split out of weapon code and refactored.
Warhead functionality now split into several classes, each handling one effect/impact.

Additional custom warheads can now be defined and called via yaml.
Custom warheads inherit the abstract class Warhead,
which provides target check functions.

Custom warheads have to define their own impact functions,
and can also define their own replacement for check
functions.
2014-08-03 17:10:44 +02:00
abcdefg30
8f60b9b652 Fixed drop-zone units 2014-07-18 11:39:43 +12:00
abcdefg30
0daf8c173e updated drop-zone mapyaml 2014-06-22 12:07:48 +02:00
Chicken man
a538914d6c Updated maps to work with changes. 2014-03-05 17:30:35 -05:00
Curtis Shmyr
f8dca4b834 Replaced references of CrateDrop with CrateSpawner in RA maps 2013-12-26 12:14:51 -07:00