Skip to content

Comments

Add prepare:assets script for game asset setup#11

Merged
foxtacles merged 1 commit intomasterfrom
prepare-assets-script
Jan 31, 2026
Merged

Add prepare:assets script for game asset setup#11
foxtacles merged 1 commit intomasterfrom
prepare-assets-script

Conversation

@foxtacles
Copy link
Member

Add a Node.js script that sets up LEGO Island game assets via symlinks:

  • Accepts source path interactively or via --path/-p flag
  • Case-insensitive file matching for cross-platform compatibility
  • Validates all required files before making changes
  • Supports optional extra/ and textures/ folders
  • Includes --force/-f flag to skip deletion confirmation

Updates README with new setup step and script documentation.

Add a Node.js script that sets up LEGO Island game assets via symlinks:
- Accepts source path interactively or via --path/-p flag
- Case-insensitive file matching for cross-platform compatibility
- Validates all required files before making changes
- Supports optional extra/ and textures/ folders
- Includes --force/-f flag to skip deletion confirmation

Updates README with new setup step and script documentation.
@foxtacles foxtacles marked this pull request as ready for review January 31, 2026 19:14
@foxtacles foxtacles merged commit 8f37456 into master Jan 31, 2026
1 check passed
@foxtacles foxtacles deleted the prepare-assets-script branch January 31, 2026 19:14
const TARGET_DIR = path.join(process.cwd(), 'LEGO');

// Parse command line arguments
function parseArgs() {
Copy link
Contributor

Choose a reason for hiding this comment

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

@foxtacles FYI, these days Node.js has a built-in API to parse command line arguments, so there is no need to do this manually.

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.

2 participants