Skip to content

Add poisoned Linux depo repair script to tools/ + ./toolbox.sh easy entrypoint. - #2059

Open
sunmachine wants to merge 5 commits into
NeotokyoRebuild:masterfrom
sunmachine:add-casing-repair-script
Open

Add poisoned Linux depo repair script to tools/ + ./toolbox.sh easy entrypoint.#2059
sunmachine wants to merge 5 commits into
NeotokyoRebuild:masterfrom
sunmachine:add-casing-repair-script

Conversation

@sunmachine

@sunmachine sunmachine commented Aug 8, 2026

Copy link
Copy Markdown
Contributor
example-fix-depo-casing.mp4
#                    ████
#       ████████    ██████████     ▓▓▓▓
#     ████████████  ███████████   ▓▓▓▓▓▓
#    █████░░░█████░ █████░░░░░░░  ▓▓▓▓▓▓░
#    █████░  █████░ █████░         ▓▓▓▓░░
#    █████░  █████░ █████░          ░░░░
#    █████░  █████░ ██████████      █████
#    █████░  █████░ ██████████░     █████░
#     ░░░░░  █████░  ░░░░░░░░░░    ████░░░
#            █████░               ███░░░
#             ░░░░░                ░░░
#
#      N E O T O K Y O ; R E B U I L D

Description

Follow-up to #2055 (and technically the OG investigation scripts). The launcher heal covers players automatically. This adds the manual tooling around it under tools/.

  • check-depot-casing.sh run against a depot staging tree before every steamcmd upload. Exits 1 and lists any of the seven engine binaries staged under the wrong file name casing, so a bad upload gets caught before it ships.
  • fix-linux-casing.sh user-run repair for an already broken Linux install. Same canonical list and newest-wins rules as the launcher heal, safe to run repeatedly.
  • toolbox.sh single interactive entry point for the tools. Presents the tools as a numbered menu; a new tool joins with one line in its table.
  • nt-logo.sh shared NT;RE logo banner, printed only when stdout is a terminal, so piped and CI output stays clean and exit codes are untouched.
  • Points the sync comment in neo_case_heal.cpp at the renamed check script.

Testing on Linux

Against a real install with all seven binaries lowercased:

# Quick way, use toolbox.
./toolbox.sh


# Or run the scripts directly.
./check-depot-casing.sh <install root>   # 7 WRONG CASING lines, exit 1
./fix-linux-casing.sh <install root>     # 7 repairs

# Then re-run to verify...
./check-depot-casing.sh <install root>   # Depot casing OK. exit 0

Also drove both tools through toolbox.sh, and verified the logo stays silent when output is piped.

@sunmachine sunmachine added the Tooling Tooling related works (EX: OS fixes, libraries) label Aug 8, 2026
@sunmachine
sunmachine force-pushed the add-casing-repair-script branch from 3ff65dd to d6c5213 Compare August 8, 2026 22:36
@sunmachine sunmachine changed the title Add poisoned Linux depo repair script to devtools + ./toolbox.sh easy entrypoint. Add poisoned Linux depo repair script to tools/ + ./toolbox.sh easy entrypoint. Aug 8, 2026
@sunmachine
sunmachine force-pushed the add-casing-repair-script branch from d6c5213 to 278ddcc Compare August 9, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tooling Tooling related works (EX: OS fixes, libraries)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant