Repository navigation
Ship lowercase copies of the original game's mixed-case fonts and Jitte sounds - #199
Closed
sunmachine wants to merge 1 commit into
Closed
sunmachine wants to merge 1 commit into
sunmachine wants to merge 1 commit into
Conversation
…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.
Author
|
Probably not needed. |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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.ttfresource/X-SCALE_.TTFresource/AFL.ttfresource/Cstrike.ttfsound/weapons/Jitte/neo loads the fonts through
CustomFontFilesingame/neo/resource/ClientScheme.res:3891and the Jitte sounds asweapons/jitte/*.wavingame/neo/scripts/game_sounds_weapons.txt:502, both at neod8cf5863. 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/: addsneuropol2.ttf,x-scale_.ttf,afl.ttfandcstrike.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.TTFandCSlogo.ttf, which neo does not load, so they are left out.How to test
NEO_EXTRA_ASSETS_ALT_PATHpointing at this branch and launch.Related