Gleb Mazovetskiy
6d1064b57a
Re-encode all the bundled CLX assets
...
Following the CLX encoding fix in https://github.com/diasurgical/devilutionx-graphics-tools/pull/3
3 years ago
Frazer Smith
1ce29164e2
Compress images
3 years ago
Gleb Mazovetskiy
57e267e990
button.png: Arrange sprites horizontally
...
87x2262 -> 1131x174
This makes the file smaller and also makes the texture fit
on devices with 2048x2048 max texture size (Fixes #5403 ).
`button.png` updated with:
convert -crop 87x174 button.png +append out.png
optipng -o9 out.png
mv out.png button.png
3 years ago
Gleb Mazovetskiy
f4827a0cb6
Replace default palette PCX files with PAL files
...
These PCX files were only used to load the default palette.
Replaces them with PAL files.
4 years ago
Gleb Mazovetskiy
17a97450bc
Convert assets to CLX
...
Converted using the following commands:
```
cd Packaging/resources/assets
pcx2clx --transparent-color 1 --num-sprites 256 fonts/*.pcx && rm fonts/*.pcx
pcx2clx --num-sprites 2 ui_art/dvl_but_sml.pcx && rm ui_art/dvl_but_sml.pcx
pcx2clx --transparent-color 1 data/hintbox.pcx data/hintboxbackground.pcx && rm data/hintbox.pcx data/hintboxbackground.pcx
pcx2clx --transparent-color 1 --num-sprites 6 data/hinticons.pcx && rm data/hinticons.pcx
pcx2clx --num-sprites 2 data/panel8buc.pcx data/dirtybuc.pcx data/dirtybucp.pcx && rm data/panel8buc.pcx data/dirtybuc.pcx data/dirtybucp.pcx
pcx2clx --transparent-color 1 data/healthbox.pcx && rm data/healthbox.pcx
pcx2clx --transparent-color 1 --num-sprites 6 data/resistance.pcx && rm data/resistance.pcx
pcx2clx --transparent-color 1 --num-sprites 5 data/monstertags.pcx && rm data/monstertags.pcx
pcx2clx --transparent-color 1 data/stash.pcx && rm data/stash.pcx
pcx2clx --transparent-color 1 --num-sprites 5 data/stashnavbtns.pcx && rm data/stashnavbtns.pcx
pcx2clx **/*.pcx && rm **/*.pcx
git checkout master -- ui_art/black_diablo.pcx ui_art/black_hellfire.pcx data/charbg.pcx data/talkbutton.pcx data/panel8bucp.pcx
rm ui_art/black_diablo.clx ui_art/black_hellfire.clx data/charbg.clx data/talkbutton.clx data/panel8bucp.clx
```
4 years ago
Gleb Mazovetskiy
ad7ca97ae1
Fix black background palette ( #4831 )
...
Diablo and Hellfire have different palettes in `ui_art\black.pcx`.
We now ship our own tiny `black.pcx` that takes priority over the
other ones. This `black.pcx` had the Diablo palette which resulted in an
incorrect palette in the Settings screen.
Split our own `black.pcx` file into `black_diablo.pcx` and
`black_hellfire.pcx` and load the correct one depending on the mode.
4 years ago
Gleb Mazovetskiy
1933e237da
Remove `FallbackPalette`
...
Copies `black.pcx` into the MPQ to handle the case where we have
`devilutionx.mpq` but not `diabdat.mpq`
4 years ago
Gleb Mazovetskiy
73f9dd45ab
Move embedded dialog assets to the MPQ
...
If we can't find `devilutionx.mpq`, we can't render a dialog either,
because the MPQ contains the fonts.
4 years ago
Anders Jenbo
716eee0198
Agressivly compress png files
4 years ago
staphen
2550d52c8d
optipng -o9 Packaging/resources/**/*.png
4 years ago
Anders Jenbo
609414fd69
[touch] Indicate level up in a touch friendly way
4 years ago
Anders Jenbo
6e215a3cae
[touch] Update joypad graphics
4 years ago
Anders Jenbo
396aa449d2
[touch] Update button faces
4 years ago
Gleb Mazovetskiy
ff64916bdd
optipng -o9 Packaging/resources/**/*.png
4 years ago
Anders Jenbo
4757314158
[touch] Add menu buttons
4 years ago
Anders Jenbo
488acf0eba
[touch] Fix some button faces
4 years ago
Anders Jenbo
284f0347cc
[touch] Add additional button faces
...
Apply color correciton
4 years ago
Anders Jenbo
6321ddb721
Generate devilutionx.mpq
5 years ago