Repository navigation
Use WEBP for map images & add missing TF2 maps - #1628
Merged
Merged
Conversation
Member
|
Are these all stock maps, or are custom maps also in this? Would like to keep it to stock maps only. |
rumblefrog
reviewed
Nov 23, 2026
Contributor
Author
There was a problem hiding this comment.
There are some custom maps included but I can easily remove them.
What's this?
Zipped copy of the repository I downloaded and forgot to remove; I'll get rid of it.
Contributor
Author
|
Removed the extra custom maps. There are still some other custom maps in here, but those were there when I started. |
rumblefrog
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
WEBP can provide more image quality and better compression than jpeg, so I re-compressed all the existing map images in webp and added my own screenshots of all the missing TF2 maps added over the years. Before, there were 300 map screenshots and they took up 7.31 megabytes in total. Now, there are 526 screenshots and they take up 8.23 megabytes. A <1 megabyte increase for 226 more maps.
If you're concerned about the increase in file size, you can remove the additional maps and save lots of space. The base 300 maps take up 4.12 megabytes in WEBP at quality 90.
Motivation and Context
The map list hasn't been updated in the past 9 years and could absolutely use an update, especially for a game like TF2 that regularly receives new maps. Plus, WEBP helps reduce the amount of data being sent to clients visiting the web portal.
How Has This Been Tested?
I don't have a proper test environment set up for this, but it's a relatively trivial change. It is unlikely to break anything.
Types of changes
Checklist:
Note: If your PR touches
web/**and this is your firstcontribution to the web panel, the CLA bot will comment within
~30 seconds with one-line sign instructions. You only need to sign
once per repo. See
CLA.mdfor the full text andCONTRIBUTING.mdfor the rationale.