Skip to content

Ship lowercase copies of the original game's mixed-case fonts and Jitte sounds - #199

Closed
sunmachine wants to merge 1 commit into
NeotokyoRebuild:masterfrom
sunmachine:linux/lowercase-fonts-jitte
Closed

sunmachine wants to merge 1 commit into
NeotokyoRebuild:masterfrom
sunmachine:linux/lowercase-fonts-jitte

Conversation

@sunmachine

Copy link
Copy Markdown

Summary

On Linux, the Jitte sounds are silent and text in the Neuropol, X-Scale, Alpha Flight and Counter-Strike font families falls back to a system font. This PR ships lowercase copies of those files from the original NEOTOKYO install, so they load without the player renaming anything.

Intent

Since the TF2 SDK update, the engine on Linux lowercases every path it is asked for. It then matches file names ignoring case but directory names exactly, and it loads a custom font only under its lowercase file name. The original game, which neo mounts from NeotokyoSource, ships these files in mixed case:

  • resource/NEUROPOL2.ttf
  • resource/X-SCALE_.TTF
  • resource/AFL.ttf
  • resource/Cstrike.ttf
  • sound/weapons/Jitte/

neo loads the fonts through CustomFontFiles in game/neo/resource/ClientScheme.res:3891 and the Jitte sounds as weapons/jitte/*.wav in game/neo/scripts/game_sounds_weapons.txt:502, both at neo d8cf5863. The mod directory comes ahead of the original game in the search paths, so the lowercase copies here are found first on every platform.

Changes

  • neo/resource/: adds neuropol2.ttf, x-scale_.ttf, afl.ttf and cstrike.ttf.
  • neo/sound/weapons/jitte/: adds the four Jitte sounds.

Every file is byte-identical to its original. The original game has other mixed-case fonts, NEUROPOL.ttf, BitCheese.TTF and CSlogo.ttf, which neo does not load, so they are left out.

How to test

  1. On Linux, use a NEOTOKYO install that has not had the manual renames from the neo README.
  2. Configure neo with NEO_EXTRA_ASSETS_ALT_PATH pointing at this branch and launch.
  3. Check that the main menu and HUD text use Neuropol and X-Scale rather than a fallback font.
  4. Fire, dry fire and reload the Jitte and the scoped Jitte, and check that each plays its sound.

Related

…te sounds

Since the TF2 SDK update, the engine on Linux lowercases every path it is asked for, then matches file names ignoring case but directory names exactly, and loads a custom font only under its lowercase file name. The original NEOTOKYO install ships NEUROPOL2.ttf, X-SCALE_.TTF, AFL.ttf, Cstrike.ttf and sound/weapons/Jitte/, so on Linux the Jitte sounds were silent and text in those font families fell back to a system font unless the player renamed the files in their NEOTOKYO install.

The mod directory comes ahead of the original game in the search paths, so lowercase copies here are found first on every platform. The files are byte-identical to the originals. The four fonts are the mixed-case ones that ClientScheme.res loads through CustomFontFiles.
sunmachine added a commit to sunmachine/ntre-dev that referenced this pull request Nov 12, 2026
Since the TF2 SDK update, the engine on Linux finds the original game's NEUROPOL2 and X-SCALE fonts and the Jitte sounds only under lowercase paths. The README told players to copy and rename those files inside their NEOTOKYO install by hand.

NeotokyoRebuild/neoAssets#199 ships the lowercase copies, so a player no longer needs to touch their install, and the section is removed.
@sunmachine sunmachine added the bug Something isn't working label Nov 13, 2026
@sunmachine
sunmachine requested a review from a team November 13, 2026 22:13
@sunmachine

Copy link
Copy Markdown
Author

Probably not needed.

@sunmachine sunmachine closed this Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant