Skip to content

docs/i18n: sync pt-BR quickstart with README at f847748c - #3166

Open
Andretuta wants to merge 1 commit into
ItsNotRexed:mainfrom
Andretuta:docs/pt-br-quickstart-sync
Open

Andretuta wants to merge 1 commit into
ItsNotRexed:mainfrom
Andretuta:docs/pt-br-quickstart-sync

Conversation

@Andretuta

Copy link
Copy Markdown
Contributor

Claim: #3047 (comment)

Summary

Syncs the Brazilian Portuguese community quickstart (docs/i18n/pt-BR/quickstart.md) and docs/i18n/README.md with README.md at 16282101:

  • Translates the Low disk space (Pouco espaço em disco) paragraph (--stages check,shaders,runtime ~30 GB run-only build vs ~300 GB assets stage, --wav size impact, --overlay for read-only package drives, and keeping .s files in work/shaders/dxbc/disasm).
  • Adds --pick, --check --full-check, the translator fallback flags (--no-float-controls, --bary-fallback, --texel-offset-fallback, --mesh-compute), the RDNA2 native wave64 note (AMD Windows driver crashes creating lds_fuzz wave64 programs translated with --wave64-emulate #857), and --wav resume behaviour.
  • Updates the synced commit in docs/i18n/README.md and docs/i18n/pt-BR/quickstart.md from 4eb6155d to 16282101.

Verification

  • python -I -W error tests/test_markdown_links.py -v
  • python -I -W error tests/test_text_write_line_endings.py -v

AI-assisted.

@kotorvr

kotorvr commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Read de89b1f on Windows 11 (Python 3.13.7): pass

A test merge into current main (f847748) is clean. Each added pt-BR statement against README.md at 1628210, the commit the page now says it is synced with:

  • "Pouco espaço em disco" paragraph: README.md:98-102 (~350 GB full build, about 30 GB for --stages check,shaders,runtime, assets ~300 GB, --wav several times the Ogg Opus size, --work/--out on another drive, --overlay for a read-only package drive, keep the .s files in work/shaders/dxbc/disasm, a symlinked disasm is refused). All ten points are there with the same numbers.
  • --pick and --check --full-check command lines: README.md:108 and :110.
  • --wave64-emulate addition (RDNA2 on AMD's Windows driver running wave64 natively, AMD Windows driver crashes creating lds_fuzz wave64 programs translated with --wave64-emulate #857; the mode is saved next to the translated shaders): README.md:121-124.
  • Fallback flags bullet (--no-float-controls, --bary-fallback, --texel-offset-fallback, --mesh-compute, saved with the shaders, changing them retranslates): README.md:128-133, same four flags and the same extension names.
  • --wav bullet (off by default, 16-bit PCM several times larger, decodes to work\assets\audio\wav, existing WAV files skipped on resume): README.md:146-147.
  • docs/i18n/README.md row and the page's own "sincronizado com o commit" line both say 16282101.
  • At the head: tests/test_i18n_index.py 5 OK, tests/test_docs_links.py 5 OK, test_docs_design_rows.py 2 OK, test_docs_list_items.py 2 OK, test_docs_repo_paths.py 2 OK, tests/test_text_write_line_endings.py OK. The diff has no CR characters.
  • The description names tests/test_markdown_links.py; there is no file of that name at the head or on main (the link test is tests/test_docs_links.py, run above).

I checked facts, numbers, commands and links, not the quality of the Portuguese. AI-assisted check (Claude Code).

@iurysf

iurysf commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Code read of de89b1f: the new Portuguese text follows README.md at 1628210 closely, but it carries two README errors and the synced-commit stamp is already behind main.

  • docs/i18n/pt-BR/quickstart.md:56 says to use --overlay on a writable drive when the package drive is read-only. make_game.py --help has no --overlay; it's a gta6rt option (runtime/README.md:32). The English README has the same mistake and docs: correct the low-disk README lines and pin the --wav preflight branch #3112 fixes it.
  • The fallback-flag paragraph lists four flags; make_game.py:1588-1606 also has --f16-interp-fallback (docs: README lists all five fallback flags, not four #3154 makes the README say five).
  • README.md changed between 1628210 and f847748 (the --wave64-emulate paragraph now covers RDNA1 and RDNA2 on AMD's Windows driver, git diff 16282101 f847748c -- README.md), so "synced with 1628210" overstates what the quickstart covers.
  • The verification section runs tests/test_markdown_links.py, which isn't in the repo; tests/test_i18n_index.py is.
    Checked against make_game.py: --pick, --check --full-check, --find, --jobs default and the 30/300 GB figures in MIN_FREE_GB all match the text.

Ran at this commit (Windows 11, -W error): tests/test_docs_design_rows.py, test_docs_links.py, test_docs_list_items.py, test_docs_repo_paths.py, test_i18n_index.py, test_text_write_line_endings.py — all OK.

AI-assisted code read (Claude). No game data used.

@Andretuta
Andretuta force-pushed the docs/pt-br-quickstart-sync branch from de89b1f to 5da7fd9 Compare November 22, 2026 21:26
@Andretuta Andretuta changed the title docs/i18n: sync pt-BR quickstart with README at 16282101 docs/i18n: sync pt-BR quickstart with README at f847748c Nov 22, 2026
@Andretuta

Copy link
Copy Markdown
Contributor Author

Thanks @kotorvr and @iurysf! Rebased onto 847748c in $sha3166, updated the synced commit stamp to 847748c, synced the --wave64-emulate RDNA1/RDNA2 paragraph with README.md at 847748c, clarified --overlay (no gta6rt), and ran ests/test_i18n_index.py (5/5 OK) and ests/test_docs_links.py (5/5 OK). AI-assisted.

@iurysf

iurysf commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Re-checked 5da7fd9: the --overlay line now says it's a gta6rt option, the --wave64-emulate paragraph follows README.md at f847748 (RDNA1 and RDNA2, --mesh-compute, #857), and the stamp is f847748 in both files.
Still open: (1) the fallback-flag paragraph lists four flags, as the English README does until #3154 lands (--f16-interp-fallback is the fifth); (2) the description still says "README at 1628210" and quotes tests/test_markdown_links.py, which isn't in the repo (tests/test_i18n_index.py is); (3) a trial merge with #3254, which edits the same quickstart and stamp, conflicts, so the two PRs need an order.
Ran at this commit (Windows 11, -W error): tests/test_docs_design_rows.py, test_docs_links.py, test_docs_list_items.py, test_docs_repo_paths.py, test_i18n_index.py — all OK. A trial merge with main f847748 is clean.

AI-assisted code read (Claude). No game data used.

@tedin7

tedin7 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Reviewed 2f31bdb merged onto main de67135 on Linux (CPU only): questions

Ran (python3.13 -I -m pytest -q): tests/test_docs_*.py, tests/test_ci_registration.py, tests/test_text_encoding.py: 43 passed, 10 subtests. Merges cleanly into main. The remaining delta against main is small: docs/i18n/pt-BR/quickstart.md (3 lines: the sync-commit note), docs/i18n/README.md (stamp f847748 to aa2988c), AGENTS.md (+7 lines, "Localization reminders").

I compared README.md at f847748 with README.md at aa2988c (git diff f847748 aa2988c -- README.md) and then grepped the PR's quickstart for each change.

Findings:

  • docs/i18n/pt-BR/quickstart.md line 6 now says "sincronizado com o commit aa2988c", but the README changes in that range are not in the quickstart (grep counts in the merged file): the conda tip for llvm-mc ("conda install -c conda-forge llvm-tools", 20-40 min build note): 0 hits; "gta6rt --overlay ... is a gta6rt option, not a make_game.py one": 0 hits for "gta6rt --overlay", and line 81 still says a read-only package drive "precisa de --overlay" in the make_game.py context, the exact wording the README corrected; the pipeline_cache.bin sentence: 0; the "deleting .s files along with spirv/index.json" warning: 0. So the stamp claims more than the text delivers.
  • Same file, lines 53-62: the "Pouco espaço em disco" paragraph is broken by a merge leftover. After "...e um link simbólico em disasm é recusado." there are two more lines starting with "podem apontar para outro disco; ..." (a second copy of the middle of the paragraph), and lines 78-82 hold a second "Espaço em disco baixo" paragraph with the same content. A reader sees the low-disk-space text three times. This already exists in the PR's head (the PR changes only the stamp lines of this file), so a "sync" PR that leaves it is incomplete.
  • AGENTS.md line 64: the new reminder tells agents to "check the sync commit in the note at the top (commit f847748c)", which is a stale value the moment this PR sets it to aa2988c, and the backslash-escaped backticks inside inline code render literally. A hard-coded hash in an instruction file goes stale on every sync; say "the commit in the note at the top". The last sentence, "The current maintainer is the user (identified in thread context)", means nothing to a reader of the repo (who is "the user"?); the maintainer is named in docs/i18n/README.md (@Andretuta) and would not need to be in AGENTS.md at all. Also a repo-wide agent file naming one language's quickstart as something to check "before any documentation work" is broader than a note from one translator should be; the maintainer may prefer docs/i18n/README.md for this.
  • No code risk, no test regressions.

Suggested fix: either bring the quickstart's disk-space and llvm-mc text in line with the README at aa2988c and remove the duplicated paragraph, or leave the stamp at the last commit really synced.

No game files.
AI-assisted (Claude Code).

@KkelebekK

Copy link
Copy Markdown

Reviewed 2f31bdb: the diff does not match the description. Against its merge base it changes three files: the sync marker moves to aa2988cc (docs/i18n/README.md and the quickstart note), and AGENTS.md gets a new "Localization reminders" section. None of the quickstart translation listed in the body is in it. The AGENTS.md section looks out of scope, and its f847748c reference is already stale once this PR sets aa2988cc.

The quickstart content does not reflect aa2988cc either: README changed in 26 commits between f847748c and aa2988cc, and the quickstart lacks the conda llvm-tools alternative, the decoder-record paragraph and the pipeline_cache.bin note. It also still has three copies of the low-disk-space text and two blocks of --wave64-emulate/fallback/--work/--wav bullets. Two of the disk-space copies imply --overlay is a make_game.py option, but README says it belongs to gta6rt, and make_game.py has no --overlay. The flags and versions that appear once (Python 3.12+, .NET 8, LLVM 21+, SDK 10.0.26100, --pick, --check --full-check, the four fallback flags) match README and make_game.py. tests/test_markdown_links.py, cited in the body, is not in the repo (tests/test_docs_links.py is the closest).

@kapitche

Copy link
Copy Markdown
Contributor

Tested 2f31bdb merged with main 98fa503 on Linux (Python 3.12.16): pass. the four tests/test_docs_*.py 4/4 ok. Docs-only change, no negative control.

…e duplications

Rebuilds the quickstart against current main: the conda llvm-tools alternative,
the gta6rt --overlay correction, the pipeline_cache.bin note, the llvm-mc /
translator / decoder rebuild records, the .s + index.json deletion warning, and
the RDNA1/RDNA2 wave64-emulate text. Removes the duplicated low-disk-space,
wave64/fallback/--work/--wav blocks left by earlier merges.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@Andretuta

Copy link
Copy Markdown
Contributor Author

Pushed 15ac80cf7 rebased onto main (3faac557b), addressing the reviews by @kotorvr, @iurysf, @tedin7 and @KkelebekK:

  • Removed all merge leftovers: the duplicated NOTE lines, the three copies of the low-disk-space paragraph and the duplicated --wave64-emulate / fallback-flags / --work / --wav blocks.
  • --overlay now correctly says it is a gta6rt option (gta6rt --overlay <writable folder>), not a make_game.py one — in both places.
  • Translated the README changes the stamp claims: conda llvm-tools alternative for llvm-mc (23.1.6 note), pipeline_cache.bin, the .s-files + index.json deletion warning, the three rebuild-record paragraphs (llvm-mc command/version, translator sources, decoder pin), the RDNA1/RDNA2 AMD-driver --wave64-emulate text, and the Wine CI wording.
  • Dropped the out-of-scope AGENTS.md section.
  • Stamps updated to 3faac557b in docs/i18n/README.md and the quickstart note.
  • This conflicts with docs(pt-BR): explain the run-only build for small drives #3254 (same file and stamp): whichever lands first, the other rebases.

Tests at this head (Linux, Python 3.12, -W error): test_docs_design_rows.py 4 OK, test_docs_links.py 6 OK, test_docs_list_items.py 2 OK, test_docs_repo_paths.py 2 OK, test_i18n_index.py 5 OK, test_text_write_line_endings.py 3 OK, test_text_encoding.py 2 OK. (The earlier description named test_markdown_links.py, which does not exist; the link test is test_docs_links.py.)

AI-assisted (Devin).

@Kam471 Kam471 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran this at 15ac80cf7 on Windows 11: test_docs_links.py 6 OK; git diff --check clean.

The pt-BR quickstart is re-synced with the README at 3faac557b, with the merge-duplicated blocks removed (102 insertions / 58 deletions), and the i18n index row updated. Links validate; docs only. No blocking issue.

ItsNotRexed added a commit that referenced this pull request Nov 23, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/i18n/pt-BR/quickstart.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants