Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 5 additions & 10 deletions .github/workflows/game-assets.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Game assets

# Keeps map_thumbnails/ (screenshots, icons, maps.json with the Active Duty
# pool) and skin_images/ (skin previews, skins.json) in step with CS2.
# Keeps map_thumbnails/maps.json (maps and the Active Duty pool) and
# skin_images/skins.json in step with CS2. The pictures are never committed.
#
# Runs on the self-hosted runner labelled cs2-assets: a host whose csm master
# install is kept up to date, so nothing has to download CS2 here. Every six
# hours it compares the master install's Steam build id with the one in
# maps.json and extracts only when CS2 changed (or when run by hand), then
# opens (or updates) a pull request with the changed files.
# opens (or updates) a pull request with the changed catalogues.

on:
schedule:
Expand Down Expand Up @@ -73,18 +73,13 @@ jobs:
if: steps.build.outputs.run == 'true'
run: '"$RUNNER_TEMP/csm" extract-skin-data'

- name: Compress for the platform
if: steps.build.outputs.run == 'true'
run: |
command -v cwebp >/dev/null || sudo apt-get install -y -qq webp
scripts/make-web-assets.sh

- name: Open a pull request
if: steps.build.outputs.run == 'true'
env:
GH_TOKEN: ${{ github.token }}
run: |
git add map_thumbnails skin_images web_assets
# Only the catalogues: the pictures are Valve's, and hosts read them from their own install.
git add map_thumbnails/maps.json skin_images/skins.json
if git diff --cached --quiet; then
echo "Nothing changed."
exit 0
Expand Down
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,11 @@ extracted_csgo/
/csm
csm.exe

overrides/
overrides/
# Valve's pictures: extracted locally, never committed (hosts serve them from their own install)
map_thumbnails/*
!map_thumbnails/maps.json
skin_images/*
!skin_images/skins.json
web_assets/
skin_thumbs/
11 changes: 0 additions & 11 deletions map_thumbnails/README.md

This file was deleted.

Binary file removed map_thumbnails/ar_baggage.png
Binary file not shown.
Binary file removed map_thumbnails/ar_baggage.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_baggage_1.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_baggage_1_thumb.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_baggage_2.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_baggage_2_thumb.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_baggage_3.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_baggage_3_thumb.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_baggage_4.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_baggage_4_thumb.webp
Binary file not shown.
202 changes: 0 additions & 202 deletions map_thumbnails/ar_baggage_icon.svg

This file was deleted.

Binary file removed map_thumbnails/ar_baggage_thumb.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_pool_day.png
Binary file not shown.
Binary file removed map_thumbnails/ar_pool_day.webp
Binary file not shown.
82 changes: 0 additions & 82 deletions map_thumbnails/ar_pool_day_icon.svg

This file was deleted.

Binary file removed map_thumbnails/ar_pool_day_thumb.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_shoots.png
Binary file not shown.
Binary file removed map_thumbnails/ar_shoots.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_shoots_1.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_shoots_1_thumb.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_shoots_2.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_shoots_2_thumb.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_shoots_4.webp
Binary file not shown.
Binary file removed map_thumbnails/ar_shoots_4_thumb.webp
Binary file not shown.
170 changes: 0 additions & 170 deletions map_thumbnails/ar_shoots_icon.svg

This file was deleted.

Binary file removed map_thumbnails/ar_shoots_night.png
Diff not rendered.
Binary file removed map_thumbnails/ar_shoots_night.webp
Diff not rendered.
Binary file removed map_thumbnails/ar_shoots_night_1.webp
Diff not rendered.
Binary file removed map_thumbnails/ar_shoots_night_1_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/ar_shoots_night_2.webp
Diff not rendered.
Binary file removed map_thumbnails/ar_shoots_night_2_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/ar_shoots_night_3.webp
Diff not rendered.
Binary file removed map_thumbnails/ar_shoots_night_3_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/ar_shoots_night_4.webp
Diff not rendered.
Binary file removed map_thumbnails/ar_shoots_night_4_thumb.webp
Diff not rendered.
178 changes: 0 additions & 178 deletions map_thumbnails/ar_shoots_night_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/ar_shoots_night_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/ar_shoots_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_agency.png
Diff not rendered.
Binary file removed map_thumbnails/cs_agency.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_agency_1.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_agency_1_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_agency_2.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_agency_2_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_agency_3.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_agency_3_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_agency_4.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_agency_4_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_agency_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_italy.png
Diff not rendered.
Binary file removed map_thumbnails/cs_italy.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_italy_0.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_italy_0_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_italy_1.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_italy_1_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_italy_2.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_italy_2_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_italy_3.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_italy_3_thumb.webp
Diff not rendered.
118 changes: 0 additions & 118 deletions map_thumbnails/cs_italy_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/cs_italy_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_office.png
Diff not rendered.
Binary file removed map_thumbnails/cs_office.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_office_1.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_office_1_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_office_2.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_office_2_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_office_3.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_office_3_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_office_4.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_office_4_thumb.webp
Diff not rendered.
193 changes: 0 additions & 193 deletions map_thumbnails/cs_office_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/cs_office_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/cs_shelter.png
Diff not rendered.
Binary file removed map_thumbnails/cs_shelter.webp
Diff not rendered.
117 changes: 0 additions & 117 deletions map_thumbnails/cs_shelter_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/cs_shelter_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient.png
Diff not rendered.
Binary file removed map_thumbnails/de_ancient.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_2.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_2_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_3.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_3_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_4.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_4_thumb.webp
Diff not rendered.
433 changes: 0 additions & 433 deletions map_thumbnails/de_ancient_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_night.png
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_night.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_night_1.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_night_1_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_night_2.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_night_2_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_night_3.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_night_3_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_night_4.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_night_4_thumb.webp
Diff not rendered.
230 changes: 0 additions & 230 deletions map_thumbnails/de_ancient_night_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_night_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_ancient_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_anubis.png
Diff not rendered.
Binary file removed map_thumbnails/de_anubis.webp
Diff not rendered.
Binary file removed map_thumbnails/de_anubis_1.webp
Diff not rendered.
Binary file removed map_thumbnails/de_anubis_1_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_anubis_2.webp
Diff not rendered.
Binary file removed map_thumbnails/de_anubis_2_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_anubis_3.webp
Diff not rendered.
Binary file removed map_thumbnails/de_anubis_3_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_anubis_4.webp
Diff not rendered.
Binary file removed map_thumbnails/de_anubis_4_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_anubis_5.webp
Diff not rendered.
Binary file removed map_thumbnails/de_anubis_5_thumb.webp
Diff not rendered.
331 changes: 0 additions & 331 deletions map_thumbnails/de_anubis_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/de_anubis_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_boulder.png
Diff not rendered.
Binary file removed map_thumbnails/de_boulder.webp
Diff not rendered.
80 changes: 0 additions & 80 deletions map_thumbnails/de_boulder_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/de_boulder_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_cache.png
Diff not rendered.
Binary file removed map_thumbnails/de_cache.webp
Diff not rendered.
Binary file removed map_thumbnails/de_cache_1.webp
Diff not rendered.
Binary file removed map_thumbnails/de_cache_1_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_cache_2.webp
Diff not rendered.
Binary file removed map_thumbnails/de_cache_2_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_cache_3.webp
Diff not rendered.
Binary file removed map_thumbnails/de_cache_3_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_cache_4.webp
Diff not rendered.
Binary file removed map_thumbnails/de_cache_4_thumb.webp
Diff not rendered.
255 changes: 0 additions & 255 deletions map_thumbnails/de_cache_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/de_cache_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_debris.png
Diff not rendered.
Binary file removed map_thumbnails/de_debris.webp
Diff not rendered.
80 changes: 0 additions & 80 deletions map_thumbnails/de_debris_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/de_debris_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_dust2.png
Diff not rendered.
Binary file removed map_thumbnails/de_dust2.webp
Diff not rendered.
Binary file removed map_thumbnails/de_dust2_1.webp
Diff not rendered.
Binary file removed map_thumbnails/de_dust2_1_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_dust2_2.webp
Diff not rendered.
Binary file removed map_thumbnails/de_dust2_2_thumb.webp
Diff not rendered.
2,848 changes: 0 additions & 2,848 deletions map_thumbnails/de_dust2_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/de_dust2_thumb.webp
Diff not rendered.
263 changes: 0 additions & 263 deletions map_thumbnails/de_dust_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/de_eldorado.png
Diff not rendered.
Binary file removed map_thumbnails/de_eldorado.webp
Diff not rendered.
118 changes: 0 additions & 118 deletions map_thumbnails/de_eldorado_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/de_eldorado_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_fachwerk.png
Diff not rendered.
Binary file removed map_thumbnails/de_fachwerk.webp
Diff not rendered.
120 changes: 0 additions & 120 deletions map_thumbnails/de_fachwerk_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/de_fachwerk_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_golden.png
Diff not rendered.
Binary file removed map_thumbnails/de_golden.webp
Diff not rendered.
Binary file removed map_thumbnails/de_golden_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_inferno.png
Diff not rendered.
Binary file removed map_thumbnails/de_inferno.webp
Diff not rendered.
Binary file removed map_thumbnails/de_inferno_1.webp
Diff not rendered.
Binary file removed map_thumbnails/de_inferno_1_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_inferno_2.webp
Diff not rendered.
Binary file removed map_thumbnails/de_inferno_2_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_inferno_3.webp
Diff not rendered.
Binary file removed map_thumbnails/de_inferno_3_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_inferno_4.webp
Diff not rendered.
Binary file removed map_thumbnails/de_inferno_4_thumb.webp
Diff not rendered.
81 changes: 0 additions & 81 deletions map_thumbnails/de_inferno_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/de_inferno_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_mirage.png
Diff not rendered.
Binary file removed map_thumbnails/de_mirage.webp
Diff not rendered.
Binary file removed map_thumbnails/de_mirage_1.webp
Diff not rendered.
Binary file removed map_thumbnails/de_mirage_1_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_mirage_2.webp
Diff not rendered.
Binary file removed map_thumbnails/de_mirage_2_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_mirage_3.webp
Diff not rendered.
Binary file removed map_thumbnails/de_mirage_3_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_mirage_4.webp
Diff not rendered.
Binary file removed map_thumbnails/de_mirage_4_thumb.webp
Diff not rendered.
20 changes: 0 additions & 20 deletions map_thumbnails/de_mirage_icon.svg
Diff not rendered.
Binary file removed map_thumbnails/de_mirage_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_nuke.png
Diff not rendered.
Binary file removed map_thumbnails/de_nuke.webp
Diff not rendered.
Binary file removed map_thumbnails/de_nuke_1.webp
Diff not rendered.
Binary file removed map_thumbnails/de_nuke_1_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_nuke_2.webp
Diff not rendered.
Binary file removed map_thumbnails/de_nuke_2_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_nuke_3.webp
Diff not rendered.
Binary file removed map_thumbnails/de_nuke_3_thumb.webp
Diff not rendered.
Binary file removed map_thumbnails/de_nuke_4.webp
Diff not rendered.
Binary file removed map_thumbnails/de_nuke_4_thumb.webp
Diff not rendered.
Loading
Loading