[PR #2121] [MERGED] Restore default game asset path parity #5448

Closed
opened 2026-10-22 04:16:24 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2121
Author: @Promansis
Created: 6/4/2026
Status: ✅ Merged
Merged: 6/4/2026
Merged by: @Promansis

Base: refactor ← Head: fix/2111-default-game-asset-parity


📝 Commits (1)

  • 5bb98d5 Restore default game asset path parity

📊 Changes

9 files changed (+430 additions, -387 deletions)

View changed files

📝 src-tauri/resources/default-data/game-assets/CREDITS.md (+23 -12)
📝 src-tauri/resources/default-data/game-assets/manifest.json (+407 -375)
📝 src-tauri/resources/default-data/game-assets/music/combat/fantasy/intense/battle-epic.mp3 (+0 -0)
📝 src-tauri/resources/default-data/game-assets/music/dialogue/slice_of_life/calm/town-peaceful.mp3 (+0 -0)
📝 src-tauri/resources/default-data/game-assets/music/exploration/fantasy/calm/field-of-dreams.mp3 (+0 -0)
📝 src-tauri/resources/default-data/game-assets/music/exploration/horror/tense/dark-forest.mp3 (+0 -0)
📝 src-tauri/resources/default-data/game-assets/music/travel_rest/fantasy/calm/old-tower-inn.mp3 (+0 -0)
➕ src-tauri/resources/default-data/game-assets/sfx/exploration/bed-creak.wav (+0 -0)
➕ src-tauri/resources/default-data/game-assets/sfx/exploration/wet-squelch.wav (+0 -0)

📄 Description

Linked issue

Closes #2111

Why this change

  • Refactor default game assets drifted from legacy: bundled music used flatter paths and two legacy exploration SFX files were missing.

What changed

  • Restored bundled music files to legacy nested paths under state, genre, and intensity.
  • Restored sfx/exploration/bed-creak.wav and sfx/exploration/wet-squelch.wav from the legacy bundle.
  • Regenerated the default game asset manifest so paths and tags resolve to the restored bundled assets.
  • Updated bundled asset credits and upload guidance to match the nested music path convention and restored procedural SFX.

Refactor impact

Primary owner:

Tauri bundled default game assets.

Impact areas reviewed:

  • Default game asset file inventory.
  • Generated default game asset manifest.
  • Default backgrounds remained present through the manifest.

Boundary notes:

  • Changes are limited to bundled default data under src-tauri/resources/default-data.
  • No Rust command, shared API, engine, or feature UI behavior changed.

Pressure points touched:

  • Default game asset seed inputs only.

Validation

  • Matching validation command passes locally (for example pnpm typecheck, pnpm build, pnpm check:architecture, pnpm check:docs, or full pnpm check when warranted)
  • Full pnpm check passes before PR push/handoff
  • Human/manual validation completed by contributor or reviewer

Manual verification notes

  • comm -3 /tmp/main-game-assets.txt /tmp/refactor-game-assets-after.txt showed only manifest.json as refactor-only after comparing legacy and refactor asset inventories.
  • Manifest count is 183: 170 bundled game asset files plus 13 default backgrounds.
  • Manifest contains restored tags and paths for the five legacy music assets plus sfx:exploration:bed-creak and sfx:exploration:wet-squelch.
  • cargo test --manifest-path src-tauri/Cargo.toml seed passed.
  • cargo test --manifest-path src-tauri/Cargo.toml background passed.
  • cargo test --manifest-path src-tauri/Cargo.toml manifest passed.
  • git diff --check passed.

Feature Discoverability

Check exactly one:

  • Updated src/features/shell/discovery/ because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.
  • N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find.

Reason:

  • Bugfix/data parity restore only; no new discoverable feature or workflow.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

UI evidence

No visible layout change. Static bundle inventory and manifest proof cover this asset parity fix.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/2121 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 6/4/2026 **Status:** ✅ Merged **Merged:** 6/4/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `refactor` ← **Head:** `fix/2111-default-game-asset-parity` --- ### 📝 Commits (1) - [`5bb98d5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5bb98d55c67dae897cd978f4db6766f8a5601495) Restore default game asset path parity ### 📊 Changes **9 files changed** (+430 additions, -387 deletions) <details> <summary>View changed files</summary> 📝 `src-tauri/resources/default-data/game-assets/CREDITS.md` (+23 -12) 📝 `src-tauri/resources/default-data/game-assets/manifest.json` (+407 -375) 📝 `src-tauri/resources/default-data/game-assets/music/combat/fantasy/intense/battle-epic.mp3` (+0 -0) 📝 `src-tauri/resources/default-data/game-assets/music/dialogue/slice_of_life/calm/town-peaceful.mp3` (+0 -0) 📝 `src-tauri/resources/default-data/game-assets/music/exploration/fantasy/calm/field-of-dreams.mp3` (+0 -0) 📝 `src-tauri/resources/default-data/game-assets/music/exploration/horror/tense/dark-forest.mp3` (+0 -0) 📝 `src-tauri/resources/default-data/game-assets/music/travel_rest/fantasy/calm/old-tower-inn.mp3` (+0 -0) ➕ `src-tauri/resources/default-data/game-assets/sfx/exploration/bed-creak.wav` (+0 -0) ➕ `src-tauri/resources/default-data/game-assets/sfx/exploration/wet-squelch.wav` (+0 -0) </details> ### 📄 Description <!-- Target branch: `refactor`. Change the base to `refactor` before submitting unless a maintainer explicitly asked for another base. --> <!-- Keep all checkboxes unchecked until a human has actually verified them. --> ## Linked issue Closes #2111 ## Why this change - Refactor default game assets drifted from legacy: bundled music used flatter paths and two legacy exploration SFX files were missing. ## What changed - Restored bundled music files to legacy nested paths under state, genre, and intensity. - Restored `sfx/exploration/bed-creak.wav` and `sfx/exploration/wet-squelch.wav` from the legacy bundle. - Regenerated the default game asset manifest so paths and tags resolve to the restored bundled assets. - Updated bundled asset credits and upload guidance to match the nested music path convention and restored procedural SFX. ## Refactor impact Primary owner: Tauri bundled default game assets. Impact areas reviewed: - Default game asset file inventory. - Generated default game asset manifest. - Default backgrounds remained present through the manifest. Boundary notes: - Changes are limited to bundled default data under `src-tauri/resources/default-data`. - No Rust command, shared API, engine, or feature UI behavior changed. Pressure points touched: - Default game asset seed inputs only. ## Validation <!-- Check only what you personally ran or manually verified. Treat unchecked items as explicit TODOs. --> <!-- Do not submit *.test.ts or *.test.tsx files as PR proof; cite existing checks, command output, app/browser/Tauri verification, or manual notes instead. --> - [x] Matching validation command passes locally (for example `pnpm typecheck`, `pnpm build`, `pnpm check:architecture`, `pnpm check:docs`, or full `pnpm check` when warranted) - [x] Full `pnpm check` passes before PR push/handoff - [ ] Human/manual validation completed by contributor or reviewer ### Manual verification notes - `comm -3 /tmp/main-game-assets.txt /tmp/refactor-game-assets-after.txt` showed only `manifest.json` as refactor-only after comparing legacy and refactor asset inventories. - Manifest count is `183`: 170 bundled game asset files plus 13 default backgrounds. - Manifest contains restored tags and paths for the five legacy music assets plus `sfx:exploration:bed-creak` and `sfx:exploration:wet-squelch`. - `cargo test --manifest-path src-tauri/Cargo.toml seed` passed. - `cargo test --manifest-path src-tauri/Cargo.toml background` passed. - `cargo test --manifest-path src-tauri/Cargo.toml manifest` passed. - `git diff --check` passed. ## Feature Discoverability Check exactly one: - [ ] Updated `src/features/shell/discovery/` because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool. - [x] N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find. Reason: - Bugfix/data parity restore only; no new discoverable feature or workflow. ## Docs and release impact - [x] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [ ] Confirmed this PR does not restore old staging/package-workspace/release claims ## UI evidence No visible layout change. Static bundle inventory and manifest proof cover this asset parity fix. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:16:24 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5448
No description provided.