Skip to content

Latest commit

 

History

History
76 lines (51 loc) · 4.14 KB

File metadata and controls

76 lines (51 loc) · 4.14 KB

Installing in the GameDev monorepo

Language: English · Português (INSTALLING_PT.md)

Official method

At the repository root (folder containing Shared/, install.sh, .git):

Platform Command
Linux / macOS ./install.sh <tool>
Windows PowerShell .\install.ps1 <tool>
Windows CMD install.bat <tool>

With gamedev-shared installed (or PYTHONPATH pointing to Shared/src):

gamedev-install --list
gamedev-install text2d

Installer prerequisites: Python 3.10+, pip, and dependencies in Shared/config/requirements.txt (e.g. Rich), installed automatically by install.sh before loading the unified module.

Useful variable: PYTHON_CMD — interpreter to use (default python3, or python on Windows in the scripts).


Registered tools

./install.sh … command Folder Type Min Python Notes
text2d Text2D Python 3.10 PyTorch/CUDA recommended
text3d Text3D Python 3.8 Depends on Text2D; nvdiffrast after venv
gameassets GameAssets Python 3.10 No PyTorch in package; batch orchestrates CLIs (auto-detects 3D, rig, parts, animate from manifest + profile)
text2sound Text2Sound Python 3.10 PyTorch/CUDA
texture2d Texture2D Python 3.10 HF API; local GPU optional
skymap2d Skymap2D Python 3.10 HF API
rigging3d Rigging3D Python 3.11 UniRig; inference extras always via unified installer
animator3d Animator3D Python 3.13 bpy 5.1
part3d Part3D Python 3.10 torch-scatter/cluster after venv
paint3d Paint3D Python 3.10 Vendored code in Paint3D/src/paint3d/hy3dpaint/ + patches + Real-ESRGAN; models on-demand via huggingface_hub; nvdiffrast after venv
materialize Materialize Rust Needs cargo; binary in ~/.local/bin by default
vibegame VibeGame Bun Needs Bun and Node on PATH; bun install + bun run build; CLI vibegame~/.local/bin

Install everything present in the checkout: ./install.sh all.

Technical details: Shared/src/gamedev_shared/installer/registry.py.

From batch assets to a browser game (folder layout, GLB handoff, VibeGame): MONOREPO_GAME_PIPELINE.md.


Do not confuse two install.sh files

File Role
GameDev/install.sh (root) Unified installer for any tool (gamedev_shared.installer.unified).
<Project>/scripts/install.sh Local shortcut that only calls that project’s scripts/installer.py (same logic as unified when equivalent). Not the root script.

Prefer ./install.sh <name> from the repo root. The scripts/ wrapper exists for people already inside the project folder.

Text2D, Text3D, and Texture2D also expose scripts/run_installer.sh (implementation); scripts/install.sh delegates to it for compatibility.


Manual install / CI

For pipelines or debugging, you can create a venv and pip install -e in each folder; see per-project READMEs and “Manual” sections or scripts/setup.sh (dev convenience: creates .venv and editable install — does not replace the “official install” contract documented above).


Documentation per tool