diff --git a/.gitignore b/.gitignore index d79f49d6e5..87961bb4b4 100644 --- a/.gitignore +++ b/.gitignore @@ -21,7 +21,7 @@ objectsversion # Port-specific ignores tmp/ build-native/ -emscripten/docker/ext/ +rosebud/docker/ext/ .claude/specs/ #lib diff --git a/tools/build-no-music-upload.sh b/rosebud/build-no-music-upload.sh similarity index 100% rename from tools/build-no-music-upload.sh rename to rosebud/build-no-music-upload.sh diff --git a/emscripten/docker-build b/rosebud/docker-build similarity index 93% rename from emscripten/docker-build rename to rosebud/docker-build index 6bacdfce07..ba6ba101c4 100755 --- a/emscripten/docker-build +++ b/rosebud/docker-build @@ -5,7 +5,7 @@ # don't work because the Docker daemon doesn't see the container's # filesystem. Uses a named volume + docker cp as a robust workaround. # -# Usage: emscripten/docker-build [--rebuild-image] +# Usage: rosebud/docker-build [--rebuild-image] # # Options: # --rebuild-image Force rebuild the Docker image (otherwise uses cache) @@ -30,7 +30,7 @@ done # --- Build image if needed --- if [ "$REBUILD_IMAGE" = true ] || ! docker image inspect "$IMAGE_NAME" >/dev/null 2>&1; then echo "==> Building Docker image ($IMAGE_NAME) for $(uname -m)..." - docker build -t "$IMAGE_NAME" "$REPO_DIR/emscripten/docker/" + docker build -t "$IMAGE_NAME" "$REPO_DIR/rosebud/docker/" else echo "==> Using cached Docker image ($IMAGE_NAME)" fi @@ -75,4 +75,4 @@ docker rm -f "$CONTAINER_NAME" >/dev/null docker volume rm "$VOLUME_NAME" >/dev/null echo "==> Build complete! Output in build/www/" -echo " Serve with: python3 emscripten/serve.py" +echo " Serve with: python3 rosebud/serve.py" diff --git a/emscripten/docker/.dockerignore b/rosebud/docker/.dockerignore similarity index 100% rename from emscripten/docker/.dockerignore rename to rosebud/docker/.dockerignore diff --git a/emscripten/docker/Dockerfile b/rosebud/docker/Dockerfile similarity index 100% rename from emscripten/docker/Dockerfile rename to rosebud/docker/Dockerfile diff --git a/emscripten/docker/build-depends.sh b/rosebud/docker/build-depends.sh similarity index 100% rename from emscripten/docker/build-depends.sh rename to rosebud/docker/build-depends.sh diff --git a/emscripten/docker/clone-deps.sh b/rosebud/docker/clone-deps.sh similarity index 100% rename from emscripten/docker/clone-deps.sh rename to rosebud/docker/clone-deps.sh diff --git a/tools/reskin/batch_sprites.py b/rosebud/reskin/batch_sprites.py similarity index 100% rename from tools/reskin/batch_sprites.py rename to rosebud/reskin/batch_sprites.py diff --git a/tools/reskin/build-object-upload.sh b/rosebud/reskin/build-object-upload.sh similarity index 97% rename from tools/reskin/build-object-upload.sh rename to rosebud/reskin/build-object-upload.sh index e82ce8bf3c..add43132b4 100755 --- a/tools/reskin/build-object-upload.sh +++ b/rosebud/reskin/build-object-upload.sh @@ -105,8 +105,8 @@ if [[ "$rebuild" -eq 1 && -n "$cli_cmd" && ! -x "$cli_cmd" ]]; then fi repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" -overlay_builder="$repo_root/tools/reskin/create-overlay.sh" -upload_builder="$repo_root/tools/reskin/build-upload.sh" +overlay_builder="$repo_root/rosebud/reskin/create-overlay.sh" +upload_builder="$repo_root/rosebud/reskin/build-upload.sh" if [[ ! -x "$overlay_builder" ]]; then echo "Missing executable script: $overlay_builder" >&2 diff --git a/tools/reskin/build-upload.sh b/rosebud/reskin/build-upload.sh similarity index 100% rename from tools/reskin/build-upload.sh rename to rosebud/reskin/build-upload.sh diff --git a/tools/reskin/categories.py b/rosebud/reskin/categories.py similarity index 100% rename from tools/reskin/categories.py rename to rosebud/reskin/categories.py diff --git a/tools/reskin/create-overlay.sh b/rosebud/reskin/create-overlay.sh similarity index 94% rename from tools/reskin/create-overlay.sh rename to rosebud/reskin/create-overlay.sh index 96f049b277..3ed1e10255 100755 --- a/tools/reskin/create-overlay.sh +++ b/rosebud/reskin/create-overlay.sh @@ -14,7 +14,7 @@ Each workspace must contain: - object-path-in-assets-zip.txt - reskinned.parkobj (for .parkobj targets) OR object.json (for .json targets) -The generated overlay can be consumed by tools/reskin/build-upload.sh. +The generated overlay can be consumed by rosebud/reskin/build-upload.sh. EOF } @@ -43,7 +43,7 @@ for workspace_dir in "$@"; do object_path_file="$workspace_dir/object-path-in-assets-zip.txt" if [[ ! -f "$object_path_file" ]]; then echo "Missing workspace metadata file: $object_path_file" >&2 - echo "Re-run tools/reskin/init-workspace.sh for this workspace." >&2 + echo "Re-run rosebud/reskin/init-workspace.sh for this workspace." >&2 exit 1 fi diff --git a/tools/reskin/describe_grid.py b/rosebud/reskin/describe_grid.py similarity index 100% rename from tools/reskin/describe_grid.py rename to rosebud/reskin/describe_grid.py diff --git a/tools/reskin/docs/object-authoring.md b/rosebud/reskin/docs/object-authoring.md similarity index 95% rename from tools/reskin/docs/object-authoring.md rename to rosebud/reskin/docs/object-authoring.md index 3c25239daa..afb0a52773 100644 --- a/tools/reskin/docs/object-authoring.md +++ b/rosebud/reskin/docs/object-authoring.md @@ -11,7 +11,7 @@ This guide uses scripts in this repo to create editable object workspaces from a ## 1) Initialize an editable workspace ```bash -tools/reskin/init-workspace.sh \ +rosebud/reskin/init-workspace.sh \ /Users/meiliu/Downloads/openrct2-upload.zip \ object/official/scenery_small/official.scenery_small.support_structure_half.parkobj \ /Users/meiliu/git/rosebud/OpenRCT2-Web/reskin-workbench/support-structure-half @@ -48,7 +48,7 @@ Outputs: ## 4) Build a patched upload zip ```bash -tools/reskin/build-object-upload.sh \ +rosebud/reskin/build-object-upload.sh \ --rebuild \ /Users/meiliu/Downloads/openrct2-upload.zip \ /tmp/openrct2-upload-reskinned.zip \ @@ -58,7 +58,7 @@ tools/reskin/build-object-upload.sh \ This command rebuilds the workspace artifact, maps it to the original object path from `object-path-in-assets-zip.txt`, and writes a patched upload zip. For additional options and multi-object packaging, see: -`tools/reskin/docs/pipeline.md` +`rosebud/reskin/docs/pipeline.md` ## Notes diff --git a/tools/reskin/docs/pipeline.md b/rosebud/reskin/docs/pipeline.md similarity index 85% rename from tools/reskin/docs/pipeline.md rename to rosebud/reskin/docs/pipeline.md index dcfc1b5619..278166bd51 100644 --- a/tools/reskin/docs/pipeline.md +++ b/rosebud/reskin/docs/pipeline.md @@ -4,9 +4,9 @@ This pipeline packages object reskins into a playable OpenRCT2 web upload zip. It is built from these scripts: -- `tools/reskin/init-workspace.sh` -- `tools/reskin/build-object-upload.sh` -- `tools/reskin/build-upload.sh` +- `rosebud/reskin/init-workspace.sh` +- `rosebud/reskin/build-object-upload.sh` +- `rosebud/reskin/build-upload.sh` ## Prerequisites @@ -17,7 +17,7 @@ It is built from these scripts: ## 1) Initialize one or more workspaces ```bash -tools/reskin/init-workspace.sh \ +rosebud/reskin/init-workspace.sh \ /Users/meiliu/Downloads/openrct2-upload.zip \ object/official/scenery_small/official.scenery_small.support_structure_half.parkobj \ ./reskin-workbench/support-structure-half @@ -34,7 +34,7 @@ Edit PNGs under each workspace `sprites/` directory. For one workspace: ```bash -tools/reskin/build-object-upload.sh \ +rosebud/reskin/build-object-upload.sh \ --rebuild \ /Users/meiliu/Downloads/openrct2-upload.zip \ /tmp/openrct2-upload-reskinned.zip \ @@ -44,7 +44,7 @@ tools/reskin/build-object-upload.sh \ For multiple workspaces: ```bash -tools/reskin/build-object-upload.sh \ +rosebud/reskin/build-object-upload.sh \ --rebuild \ /Users/meiliu/Downloads/openrct2-upload.zip \ /tmp/openrct2-upload-reskinned.zip \ @@ -57,7 +57,7 @@ If you already rebuilt the workspace artifacts, omit `--rebuild`. ## Optional: Keep the generated overlay for inspection ```bash -tools/reskin/build-object-upload.sh \ +rosebud/reskin/build-object-upload.sh \ --rebuild \ --overlay-dir /tmp/reskin-overlay \ /Users/meiliu/Downloads/openrct2-upload.zip \ @@ -68,7 +68,7 @@ tools/reskin/build-object-upload.sh \ ## Optional: Use a custom `openrct2-cli` command ```bash -tools/reskin/build-object-upload.sh \ +rosebud/reskin/build-object-upload.sh \ --rebuild \ --cli-cmd ./scripts/openrct2-cli-docker.sh \ /Users/meiliu/Downloads/openrct2-upload.zip \ diff --git a/tools/reskin/docs/plans/2026-02-25-reskin-pipeline-design.md b/rosebud/reskin/docs/plans/2026-02-25-reskin-pipeline-design.md similarity index 69% rename from tools/reskin/docs/plans/2026-02-25-reskin-pipeline-design.md rename to rosebud/reskin/docs/plans/2026-02-25-reskin-pipeline-design.md index 50c97ab6b1..03deceaa72 100644 --- a/tools/reskin/docs/plans/2026-02-25-reskin-pipeline-design.md +++ b/rosebud/reskin/docs/plans/2026-02-25-reskin-pipeline-design.md @@ -11,11 +11,11 @@ The existing OpenRCT2-Web reskin workflow requires manual sprite editing. The ot OR Arbitrary sprite PNG directories | -tools/reskin/batch_sprites.py <- generic: creates 4x4 grids + manifest.json +rosebud/reskin/batch_sprites.py <- generic: creates 4x4 grids + manifest.json | -tools/reskin/generate_restyled.py <- generic: sends grids to FAL.ai Gemini 3 Pro +rosebud/reskin/generate_restyled.py <- generic: sends grids to FAL.ai Gemini 3 Pro | -tools/reskin/parse_restyled.py <- generic: extracts sprites, restores alpha, blends edges +rosebud/reskin/parse_restyled.py <- generic: extracts sprites, restores alpha, blends edges | Restyled PNGs back in workspace sprites/ dir | @@ -26,11 +26,11 @@ rebuild-object.sh -> create-reskin-overlay.sh -> build-reskin-upload.sh (existi | File | Role | |------|------| -| `tools/reskin/categories.py` | Category configs: style prompts, tiling flags, description hints. Starts with scenery presets, extensible. | -| `tools/reskin/batch_sprites.py` | Scans a sprite directory, groups by size into 4x4 grids (2048x2048), writes manifest.json. Game-agnostic. | -| `tools/reskin/generate_restyled.py` | Reads manifest, sends each grid to FAL.ai Gemini 3 Pro, saves restyled grids. | -| `tools/reskin/parse_restyled.py` | Extracts sprites from AI grids using manifest coordinates, restores original alpha masks, blends tile edges. | -| `tools/reskin/reskin.py` | Orchestrator: chains batch -> generate -> parse. Supports `--step` and `--through`. | +| `rosebud/reskin/categories.py` | Category configs: style prompts, tiling flags, description hints. Starts with scenery presets, extensible. | +| `rosebud/reskin/batch_sprites.py` | Scans a sprite directory, groups by size into 4x4 grids (2048x2048), writes manifest.json. Game-agnostic. | +| `rosebud/reskin/generate_restyled.py` | Reads manifest, sends each grid to FAL.ai Gemini 3 Pro, saves restyled grids. | +| `rosebud/reskin/parse_restyled.py` | Extracts sprites from AI grids using manifest coordinates, restores original alpha masks, blends tile edges. | +| `rosebud/reskin/reskin.py` | Orchestrator: chains batch -> generate -> parse. Supports `--step` and `--through`. | ## Adaptations from ottd pipeline @@ -55,32 +55,32 @@ rebuild-object.sh -> create-reskin-overlay.sh -> build-reskin-upload.sh (existi ```bash # 1. Init workspace (existing) -tools/reskin/init-workspace.sh \ +rosebud/reskin/init-workspace.sh \ upload.zip \ object/official/scenery_small/official.scenery_small.support_structure_half.parkobj \ ./reskin-workbench/support-structure # 2. AI reskin (NEW) -python3 tools/reskin/reskin.py \ +python3 rosebud/reskin/reskin.py \ --workspace ./reskin-workbench/support-structure \ --style "Cartoony hand-painted fantasy. Bold outlines, vibrant colors." \ --through generate # 3. Review, then apply -python3 tools/reskin/reskin.py \ +python3 rosebud/reskin/reskin.py \ --workspace ./reskin-workbench/support-structure \ --step parse # 4. Rebuild + package (existing) ./reskin-workbench/support-structure/rebuild-object.sh -tools/reskin/build-object-upload.sh \ +rosebud/reskin/build-object-upload.sh \ upload.zip /tmp/reskinned.zip ./reskin-workbench/support-structure ``` ### Standalone mode (any PNGs) ```bash -python3 tools/reskin/reskin.py \ +python3 rosebud/reskin/reskin.py \ --sprites-dir ./my-sprites/ \ --style "Pixel art, 16-bit SNES style" \ --tiling diff --git a/tools/reskin/docs/plans/2026-02-25-reskin-pipeline.md b/rosebud/reskin/docs/plans/2026-02-25-reskin-pipeline.md similarity index 94% rename from tools/reskin/docs/plans/2026-02-25-reskin-pipeline.md rename to rosebud/reskin/docs/plans/2026-02-25-reskin-pipeline.md index 8985b0e32b..3c235d9d81 100644 --- a/tools/reskin/docs/plans/2026-02-25-reskin-pipeline.md +++ b/rosebud/reskin/docs/plans/2026-02-25-reskin-pipeline.md @@ -4,7 +4,7 @@ **Goal:** Add AI-powered sprite reskinning scripts that batch OpenRCT2 sprite PNGs into grids, send them to FAL.ai for restyling, and extract the results back — integrating with the existing workspace/overlay/upload pipeline. -**Architecture:** Five Python scripts under `tools/reskin/`. The core pipeline is game-agnostic (batch PNGs into grids, call FAL.ai, extract results). An orchestrator script (`reskin.py`) provides both workspace mode (integrates with `init-reskin-object-workspace.sh` outputs) and standalone mode (any directory of PNGs). Category presets in `categories.py` provide reusable style configs. +**Architecture:** Five Python scripts under `rosebud/reskin/`. The core pipeline is game-agnostic (batch PNGs into grids, call FAL.ai, extract results). An orchestrator script (`reskin.py`) provides both workspace mode (integrates with `init-reskin-object-workspace.sh` outputs) and standalone mode (any directory of PNGs). Category presets in `categories.py` provide reusable style configs. **Tech Stack:** Python 3.8+, Pillow, numpy, fal-client. FAL.ai Gemini 3 Pro image-edit API. @@ -16,18 +16,18 @@ The source code being adapted lives at `/workspace/ottd-reskin-pipeline/`. Key f | ottd file | Becomes | What changes | |-----------|---------|--------------| -| `batch_env.py` | `tools/reskin/batch_sprites.py` | Remove NFO parsing. Input is just a PNG directory. No sprite ID ranges — discover files from disk. | -| `generate_restyled.py` | `tools/reskin/generate_restyled.py` | Nearly identical. Update default paths. Keep FAL.ai logic as-is. | -| `parse_and_replace.py` | `tools/reskin/parse_restyled.py` | Remove GRF rebuild / sheet patching. Output is restyled PNGs to a target dir. Keep alpha restore + edge blending. | -| `restyle_env.py` | `tools/reskin/reskin.py` | Replace subprocess calls with direct function imports. Add `--workspace` mode. | -| `env_categories.py` | `tools/reskin/categories.py` | Replace zBase sprite ID ranges with OpenRCT2 style presets (scenery, terrain, rides). No ID ranges needed. | +| `batch_env.py` | `rosebud/reskin/batch_sprites.py` | Remove NFO parsing. Input is just a PNG directory. No sprite ID ranges — discover files from disk. | +| `generate_restyled.py` | `rosebud/reskin/generate_restyled.py` | Nearly identical. Update default paths. Keep FAL.ai logic as-is. | +| `parse_and_replace.py` | `rosebud/reskin/parse_restyled.py` | Remove GRF rebuild / sheet patching. Output is restyled PNGs to a target dir. Keep alpha restore + edge blending. | +| `restyle_env.py` | `rosebud/reskin/reskin.py` | Replace subprocess calls with direct function imports. Add `--workspace` mode. | +| `env_categories.py` | `rosebud/reskin/categories.py` | Replace zBase sprite ID ranges with OpenRCT2 style presets (scenery, terrain, rides). No ID ranges needed. | ## Reference: existing OpenRCT2-Web reskin scripts -- `tools/reskin/init-workspace.sh` — creates `/sprites/` with exported PNGs + `sprites.json` +- `rosebud/reskin/init-workspace.sh` — creates `/sprites/` with exported PNGs + `sprites.json` - `/rebuild-object.sh` — rebuilds `images.dat` + `reskinned.parkobj` from sprites -- `tools/reskin/create-overlay.sh` — maps workspaces into overlay dirs -- `tools/reskin/build-upload.sh` — merges overlays into web upload zip +- `rosebud/reskin/create-overlay.sh` — maps workspaces into overlay dirs +- `rosebud/reskin/build-upload.sh` — merges overlays into web upload zip The new Python pipeline slots in between steps 1 and the rebuild: it reads from `sprites/`, writes restyled PNGs back there (or to a separate output dir). @@ -36,7 +36,7 @@ The new Python pipeline slots in between steps 1 and the rebuild: it reads from ### Task 1: `categories.py` — Style preset definitions **Files:** -- Create: `tools/reskin/categories.py` +- Create: `rosebud/reskin/categories.py` **Step 1: Create the categories module** @@ -108,7 +108,7 @@ CATEGORIES = { **Step 2: Verify it imports cleanly** -Run: `python3 -c "import sys; sys.path.insert(0, 'tools/reskin'); from categories import CATEGORIES; print(f'{len(CATEGORIES)} categories loaded')" ` +Run: `python3 -c "import sys; sys.path.insert(0, 'rosebud/reskin'); from categories import CATEGORIES; print(f'{len(CATEGORIES)} categories loaded')" ` Expected: `6 categories loaded` **Step 3: Commit** @@ -122,7 +122,7 @@ Expected: `6 categories loaded` ### Task 2: `batch_sprites.py` — Grid batching **Files:** -- Create: `tools/reskin/batch_sprites.py` +- Create: `rosebud/reskin/batch_sprites.py` This is adapted from `/workspace/ottd-reskin-pipeline/batch_env.py`. Key changes: - No NFO parsing — sprites come from a flat PNG directory @@ -373,7 +373,7 @@ if __name__ == "__main__": **Step 2: Write a smoke test** -Create `tools/reskin/test_batch_sprites.py`: +Create `rosebud/reskin/test_batch_sprites.py`: ```python """Smoke tests for batch_sprites.py.""" @@ -474,7 +474,7 @@ def test_batch_sprites_end_to_end(): **Step 3: Run tests** -Run: `cd /workspace/OpenRCT2-Web && python3 -m pytest tools/reskin/test_batch_sprites.py -v` +Run: `cd /workspace/OpenRCT2-Web && python3 -m pytest rosebud/reskin/test_batch_sprites.py -v` Expected: All 6 tests PASS. **Step 4: Commit** @@ -488,7 +488,7 @@ Expected: All 6 tests PASS. ### Task 3: `generate_restyled.py` — FAL.ai generation **Files:** -- Create: `tools/reskin/generate_restyled.py` +- Create: `rosebud/reskin/generate_restyled.py` Adapted from `/workspace/ottd-reskin-pipeline/generate_restyled.py`. Changes: - Update default paths to match our directory layout @@ -724,7 +724,7 @@ if __name__ == "__main__": **Step 2: Write tests for the non-API functions** -Add to `tools/reskin/test_generate_restyled.py`: +Add to `rosebud/reskin/test_generate_restyled.py`: ```python """Tests for generate_restyled.py (non-API functions only).""" @@ -787,7 +787,7 @@ def test_load_descriptions_missing_file(): **Step 3: Run tests** -Run: `cd /workspace/OpenRCT2-Web && python3 -m pytest tools/reskin/test_generate_restyled.py -v` +Run: `cd /workspace/OpenRCT2-Web && python3 -m pytest rosebud/reskin/test_generate_restyled.py -v` Expected: All 4 tests PASS. **Step 4: Commit** @@ -801,7 +801,7 @@ Expected: All 4 tests PASS. ### Task 4: `parse_restyled.py` — Extract and restore sprites **Files:** -- Create: `tools/reskin/parse_restyled.py` +- Create: `rosebud/reskin/parse_restyled.py` Adapted from `/workspace/ottd-reskin-pipeline/parse_and_replace.py`. Changes: - Remove `patch_sprite_sheets()` and `rebuild_grf()` — not needed for OpenRCT2 @@ -1091,7 +1091,7 @@ if __name__ == "__main__": **Step 2: Write tests** -Create `tools/reskin/test_parse_restyled.py`: +Create `rosebud/reskin/test_parse_restyled.py`: ```python """Tests for parse_restyled.py.""" @@ -1203,7 +1203,7 @@ def test_validate_sprite_transparent(): **Step 3: Run tests** -Run: `cd /workspace/OpenRCT2-Web && python3 -m pytest tools/reskin/test_parse_restyled.py -v` +Run: `cd /workspace/OpenRCT2-Web && python3 -m pytest rosebud/reskin/test_parse_restyled.py -v` Expected: All 7 tests PASS. **Step 4: Commit** @@ -1217,7 +1217,7 @@ Expected: All 7 tests PASS. ### Task 5: `reskin.py` — Orchestrator **Files:** -- Create: `tools/reskin/reskin.py` +- Create: `rosebud/reskin/reskin.py` This chains batch -> generate -> parse and supports both workspace mode and standalone mode. @@ -1478,7 +1478,7 @@ if __name__ == "__main__": **Step 2: Write tests** -Create `tools/reskin/test_reskin.py`: +Create `rosebud/reskin/test_reskin.py`: ```python """Tests for reskin.py orchestrator.""" @@ -1547,7 +1547,7 @@ def test_resolve_tiling_from_category(): **Step 3: Run tests** -Run: `cd /workspace/OpenRCT2-Web && python3 -m pytest tools/reskin/test_reskin.py -v` +Run: `cd /workspace/OpenRCT2-Web && python3 -m pytest rosebud/reskin/test_reskin.py -v` Expected: All 6 tests PASS. **Step 4: Commit** @@ -1562,22 +1562,22 @@ Expected: All 6 tests PASS. **Step 1: Run all tests together** -Run: `cd /workspace/OpenRCT2-Web && python3 -m pytest tools/reskin/ -v` +Run: `cd /workspace/OpenRCT2-Web && python3 -m pytest rosebud/reskin/ -v` Expected: All tests pass (6 + 4 + 7 + 6 = 23 tests). **Step 2: Verify CLI help works** Run these four commands and verify each prints usage/help: ```bash -python3 tools/reskin/batch_sprites.py --help -python3 tools/reskin/generate_restyled.py --help -python3 tools/reskin/parse_restyled.py --help -python3 tools/reskin/reskin.py --help +python3 rosebud/reskin/batch_sprites.py --help +python3 rosebud/reskin/generate_restyled.py --help +python3 rosebud/reskin/parse_restyled.py --help +python3 rosebud/reskin/reskin.py --help ``` **Step 3: Verify category listing** -Run: `python3 tools/reskin/reskin.py --list-categories` +Run: `python3 rosebud/reskin/reskin.py --list-categories` Expected: Lists 6 categories with tiling flags. **Step 4: Final commit with all files** diff --git a/tools/reskin/docs/web-upload.md b/rosebud/reskin/docs/web-upload.md similarity index 87% rename from tools/reskin/docs/web-upload.md rename to rosebud/reskin/docs/web-upload.md index 326ef04fa4..176915530d 100644 --- a/tools/reskin/docs/web-upload.md +++ b/rosebud/reskin/docs/web-upload.md @@ -8,13 +8,13 @@ This repo's web package is typically distributed as: - `assets/rct2-content.zip` - `assets/openrct2.zip` -Use `tools/reskin/build-upload.sh` to apply your own files on top of an existing upload zip. +Use `rosebud/reskin/build-upload.sh` to apply your own files on top of an existing upload zip. If your inputs come from initialized object workspaces (`reskin-workbench/...`), prefer: -`tools/reskin/build-object-upload.sh` (see `tools/reskin/docs/pipeline.md`). +`rosebud/reskin/build-object-upload.sh` (see `rosebud/reskin/docs/pipeline.md`). For creating/editing object sprite files first, see: -`tools/reskin/docs/object-authoring.md` +`rosebud/reskin/docs/object-authoring.md` ## Overlay Structure @@ -30,7 +30,7 @@ Only include files you want to replace or add. ## Command ```bash -tools/reskin/build-upload.sh \ +rosebud/reskin/build-upload.sh \ /path/to/openrct2-upload.zip \ /path/to/overlay \ /tmp/openrct2-upload-reskinned.zip diff --git a/tools/reskin/generate_restyled.py b/rosebud/reskin/generate_restyled.py similarity index 100% rename from tools/reskin/generate_restyled.py rename to rosebud/reskin/generate_restyled.py diff --git a/tools/reskin/init-workspace.sh b/rosebud/reskin/init-workspace.sh similarity index 100% rename from tools/reskin/init-workspace.sh rename to rosebud/reskin/init-workspace.sh diff --git a/tools/reskin/judge_screenshot.py b/rosebud/reskin/judge_screenshot.py similarity index 100% rename from tools/reskin/judge_screenshot.py rename to rosebud/reskin/judge_screenshot.py diff --git a/tools/reskin/parse_restyled.py b/rosebud/reskin/parse_restyled.py similarity index 100% rename from tools/reskin/parse_restyled.py rename to rosebud/reskin/parse_restyled.py diff --git a/tools/reskin/reskin.py b/rosebud/reskin/reskin.py similarity index 100% rename from tools/reskin/reskin.py rename to rosebud/reskin/reskin.py diff --git a/tools/reskin/screenshot_game.py b/rosebud/reskin/screenshot_game.py similarity index 100% rename from tools/reskin/screenshot_game.py rename to rosebud/reskin/screenshot_game.py diff --git a/tools/reskin/test_batch_sprites.py b/rosebud/reskin/test_batch_sprites.py similarity index 100% rename from tools/reskin/test_batch_sprites.py rename to rosebud/reskin/test_batch_sprites.py diff --git a/tools/reskin/test_describe_grid.py b/rosebud/reskin/test_describe_grid.py similarity index 100% rename from tools/reskin/test_describe_grid.py rename to rosebud/reskin/test_describe_grid.py diff --git a/tools/reskin/test_generate_restyled.py b/rosebud/reskin/test_generate_restyled.py similarity index 100% rename from tools/reskin/test_generate_restyled.py rename to rosebud/reskin/test_generate_restyled.py diff --git a/tools/reskin/test_judge_screenshot.py b/rosebud/reskin/test_judge_screenshot.py similarity index 100% rename from tools/reskin/test_judge_screenshot.py rename to rosebud/reskin/test_judge_screenshot.py diff --git a/tools/reskin/test_parse_restyled.py b/rosebud/reskin/test_parse_restyled.py similarity index 100% rename from tools/reskin/test_parse_restyled.py rename to rosebud/reskin/test_parse_restyled.py diff --git a/tools/reskin/test_reskin.py b/rosebud/reskin/test_reskin.py similarity index 100% rename from tools/reskin/test_reskin.py rename to rosebud/reskin/test_reskin.py diff --git a/tools/reskin/test_screenshot_game.py b/rosebud/reskin/test_screenshot_game.py similarity index 100% rename from tools/reskin/test_screenshot_game.py rename to rosebud/reskin/test_screenshot_game.py diff --git a/tools/reskin/verify_sprites.py b/rosebud/reskin/verify_sprites.py similarity index 100% rename from tools/reskin/verify_sprites.py rename to rosebud/reskin/verify_sprites.py diff --git a/emscripten/serve.py b/rosebud/serve.py similarity index 100% rename from emscripten/serve.py rename to rosebud/serve.py