Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/magynhard/halflife_goldsrc_linux_font_patches
Patch unreadable fonts on Half-Life 1 (GoldSrc) based games on Linux
https://github.com/magynhard/halflife_goldsrc_linux_font_patches
Last synced: 3 days ago
JSON representation
Patch unreadable fonts on Half-Life 1 (GoldSrc) based games on Linux
- Host: GitHub
- URL: https://github.com/magynhard/halflife_goldsrc_linux_font_patches
- Owner: magynhard
- Created: 2023-02-01T00:05:14.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-15T11:42:14.000Z (6 months ago)
- Last Synced: 2024-05-16T01:31:17.288Z (6 months ago)
- Language: ReScript
- Size: 1.4 MB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Half-Life (GoldSrc) Linux Font Patches
[![Hits](https://hits.sh/github.com/magynhard/halflife_goldsrc_linux_font_patches.svg?style=plastic&label=hits&color=7011cc&logo=steam)](https://hits.sh/github.com/magynhard/halflife_goldsrc_linux_font_patches/)> Patch unreadable fonts on Half-Life 1 (GoldSrc) based games on Linux.
```diff
- This patch can break after the 25th anniversary update. You will need to reinstall and repatch again.
```![image](https://user-images.githubusercontent.com/14541962/215915153-32132781-630f-4c4f-a0d1-e7f4fa533378.png)
![image](doc/ingame_dust.gif)
![image](doc/ingame_main_menu.gif)
### There are patches available for
* Counter-Strike 1.6
* Day of Defeat 1.2### How the patch works
At first it will install a free, readable font for chatting, similar to the original one. Then it will add and apply custom scheme files. The scheme refers to the installed font as well as using fonts from the *Noto* font family.
# Installation
## Automatic installer
### Install
Run
```bash
\curl -sSL https://raw.githubusercontent.com/magynhard/halflife_goldsrc_linux_font_patches/master/setup.sh | ACTION=install bash
```
in your terminal to run the automatic installer script.### Uninstall
To uninstall you can run the following command:```bash
\curl -sSL https://raw.githubusercontent.com/magynhard/halflife_goldsrc_linux_font_patches/master/setup.sh | ACTION=uninstall bash
```## Additional improvements
### Default Font
The patch refers to `Noto` as default font, but will fallback to your system font. If you want to use the optimitzed Noto fonts, ensure that they are installed on your system.They are included in the following packages:
| Distribution | Package | Info |
|--------------|--------------|-------------------------------|
| Ubuntu | `fonts-noto` | `sudo apt install fonts-noto` |
| Arch / Manjaro | `noto-fonts` | `sudo pacman -S noto-fonts` |### Symbols
To get symbol icons working well (when using spectator mode and its dropdowns), you need to install the MS fonts package of your linux distribution.The symbol fonts name is `Marlett`. It is included in the following packages:
| Distribution | Package | Info |
|--------------|---------------------|---------------------|
| Ubuntu | `ttf-mscorefonts-installer` | `sudo apt install ttf-mscorefonts-installer` |
| Arch / Manjaro | `ttf-ms-win11-auto` | AUR repository |