-
Notifications
You must be signed in to change notification settings - Fork 85
Character studio archive #281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
MolochDaGod
wants to merge
4
commits into
M3-org:main
Choose a base branch
from
MolochDaGod:character-studio-archive
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
f3b9e12
feat: Grudge Studio integration — SSO auth, DB-connected character cr…
MolochDaGod 361a3e1
add vercel.json with build output dir
MolochDaGod 491eb7c
Rebrand to GCS (Grudge Character Studio) with Hydra identity
MolochDaGod 75b8ab6
getting assets lined up and wired
MolochDaGod File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,12 @@ | ||
| # VITE_ASSET_PATH=https://M3-org.github.io/loot-assets | ||
| # access remote (may have CORS issues) or download from https://github.com/M3-org/loot-assets and load locally | ||
| #VITE_ASSET_PATH=./ | ||
| # Grudge Studio CharacterStudio Configuration | ||
| # Asset path — local manifest.json or remote | ||
| VITE_ASSET_PATH=./ | ||
|
|
||
| # Grudge Studio Backend (Railway) | ||
| VITE_GRUDGE_API=https://api.grudge-studio.com | ||
|
|
||
| # Grudge SSO Gateway | ||
| VITE_AUTH_GATEWAY=https://id.grudge-studio.com | ||
|
|
||
| # R2 CDN for 3D models, textures, icons | ||
| VITE_ASSET_CDN=https://assets.grudge-studio.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,32 @@ | ||
| # ── GCS — Grudge Character Studio :: Environment Variables ─────────────────── | ||
| # Copy to .env.local for local development. Never commit .env.local. | ||
|
|
||
| # ── Asset path (required) ───────────────────────────────────────────────────── | ||
| # Path to the VRM/manifest assets directory. | ||
| # Leave empty to use the default public/ bundle, or point at a CDN. | ||
| VITE_ASSET_PATH= | ||
|
|
||
| # ── Grudge Studio API (The-ENGINE backend) ─────────────────────────────────── | ||
| # REST API for user accounts, characters, inventory, GBUX balance. | ||
| # Production: https://api.grudge-studio.com | ||
| # Local dev: http://localhost:5000 | ||
| VITE_GRUDGE_API=https://api.grudge-studio.com | ||
|
|
||
| # ── Auth gateway (Grudge SSO) ───────────────────────────────────────────────── | ||
| # SSO login endpoint. Redirects back with ?sso_token=... after login. | ||
| # Production: https://id.grudge-studio.com | ||
| # Local dev: http://localhost:5000 (The-ENGINE handles /login) | ||
| VITE_AUTH_GATEWAY=https://id.grudge-studio.com | ||
|
|
||
| # ── Asset CDN ───────────────────────────────────────────────────────────────── | ||
| # Optional CDN for 3D assets, textures, and manifests. | ||
| VITE_ASSET_CDN=https://assets.grudge-studio.com | ||
|
|
||
| # ── OpenSea API key (optional — for NFT trait verification) ─────────────────── | ||
| VITE_OPENSEA_KEY= | ||
|
|
||
| # ── Helius API key (optional — for Solana RPC) ─────────────────────────────── | ||
| VITE_HELIUS_KEY= | ||
| VITE_VALIDATION_SERVER_URL=http://localhost:3000 | ||
|
|
||
| # ── Validation server (optional — for VRM export validation) ───────────────── | ||
| VITE_VALIDATION_SERVER_URL=http://localhost:3000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| name: NodeJS with Webpack | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "main" ] | ||
| pull_request: | ||
| branches: [ "main" ] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| strategy: | ||
| matrix: | ||
| node-version: [18.x, 20.x, 22.x] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Use Node.js ${{ matrix.node-version }} | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ matrix.node-version }} | ||
|
|
||
| - name: Build | ||
| run: | | ||
| npm install | ||
| npx webpack | ||
|
MolochDaGod marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,89 +1,69 @@ | ||
| { | ||
| "characters":[ | ||
| "characters": [ | ||
| { | ||
| "name": "Anata", | ||
| "description": "Female", | ||
| "portrait": "./assets/portraitImages/female.jpg", | ||
| "manifest":"https://m3-org.github.io/loot-assets/anata/female/manifest.json", | ||
| "format": "vrm" | ||
| "name": "Human", | ||
| "description": "Balanced fighter, versatile in all roles.", | ||
| "portrait": "https://assets.grudge-studio.com/portraits/human.jpg", | ||
| "manifest": "https://assets.grudge-studio.com/manifests/human.json", | ||
| "format": "glb", | ||
| "raceId": "human", | ||
| "faction": "crusade" | ||
| }, | ||
| { | ||
| "name": "Anata", | ||
| "description": "Male", | ||
| "portrait": "./assets/portraitImages/male.jpg", | ||
| "manifest":"./loot-assets/anata/male/manifest.json", | ||
| "format": "vrm" | ||
| "name": "Barbarian", | ||
| "description": "Brutal berserker, raw power and fury.", | ||
| "portrait": "https://assets.grudge-studio.com/portraits/barbarian.jpg", | ||
| "manifest": "https://assets.grudge-studio.com/manifests/barbarian.json", | ||
| "format": "glb", | ||
| "raceId": "barbarian", | ||
| "faction": "crusade" | ||
| }, | ||
| { | ||
| "name": "ON1FORCE", | ||
| "description": "Demon", | ||
| "portrait": "./assets/portraitImages/0n1.jpg", | ||
| "manifest":"https://m3-org.github.io/loot-assets/0N1/manifest.json", | ||
| "format": "vrm" | ||
| "name": "Elf", | ||
| "description": "Agile marksman, master of precision.", | ||
| "portrait": "https://assets.grudge-studio.com/portraits/elf.jpg", | ||
| "manifest": "https://assets.grudge-studio.com/manifests/elf.json", | ||
| "format": "glb", | ||
| "raceId": "elf", | ||
| "faction": "fabled" | ||
| }, | ||
| { | ||
| "name": "TUBBY CAT", | ||
| "description": "Cute", | ||
| "portrait": "./assets/portraitImages/tubby.jpg", | ||
| "manifest":"https://m3-org.github.io/loot-assets/tubbycats/manifest.json", | ||
| "format": "vrm" | ||
| } | ||
| ], | ||
| "loras":[ | ||
| { | ||
| "name": "SDXL Lora 728", | ||
| "description": "Poses and camera positions to create Lora for SDXL 726 x 726", | ||
| "manifest":"./lora-assets/manifest.json", | ||
| "icon": "|" | ||
| } | ||
| ], | ||
| "sprites":[ | ||
| { | ||
| "name": "Multiple Animations", | ||
| "description": "Multiple definitions for different animations converted to sprites.", | ||
| "manifest":"./sprite-atlas-assets/manifest.json", | ||
| "icon": "|" | ||
| } | ||
|
|
||
| ], | ||
| "thumbnails":[ | ||
| { | ||
| "name": "Clothing Thumbnail", | ||
| "description": "Create thumbnails for Clothing", | ||
| "manifest":"./thumbnail-assets/manifest.json", | ||
| "icon": "|" | ||
| "name": "Dwarf", | ||
| "description": "Stout defender, unbreakable resolve.", | ||
| "portrait": "https://assets.grudge-studio.com/portraits/dwarf.jpg", | ||
| "manifest": "https://assets.grudge-studio.com/manifests/dwarf.json", | ||
| "format": "glb", | ||
| "raceId": "dwarf", | ||
| "faction": "crusade" | ||
| }, | ||
| { | ||
| "name": "Clothing Thumbnail2", | ||
| "description": "Create thumbnails for Clothing", | ||
| "manifest":"./thumbnail-assets/manifest.json", | ||
| "icon": "|" | ||
| } | ||
| ], | ||
| "defaultAnimations":[ | ||
| { | ||
| "name": "T-Pose", | ||
| "description": "T-Pose", | ||
| "location":"./animations/T-Pose.fbx", | ||
| "icon": "|" | ||
| }, | ||
| { | ||
| "name": "Dancing", | ||
| "description": "Basic Dance Animation", | ||
| "location":"./animations/Dancing.fbx", | ||
| "icon": "|" | ||
| "name": "Orc", | ||
| "description": "Savage warrior, strength through rage.", | ||
| "portrait": "https://assets.grudge-studio.com/portraits/orc.jpg", | ||
| "manifest": "https://assets.grudge-studio.com/manifests/orc.json", | ||
| "format": "glb", | ||
| "raceId": "orc", | ||
| "faction": "legion" | ||
| }, | ||
| { | ||
| "name": "Walking", | ||
| "description": "Basic Walk Animation", | ||
| "location":"./animations/Walking.fbx", | ||
| "icon": "|" | ||
| }, | ||
| { | ||
| "name": "Waving", | ||
| "description": "Basic Waving Animation", | ||
| "location":"./animations/Waving.fbx", | ||
| "icon": "|" | ||
| "name": "Undead", | ||
| "description": "Risen skeleton, relentless and fearless.", | ||
| "portrait": "https://assets.grudge-studio.com/portraits/undead.jpg", | ||
| "manifest": "https://assets.grudge-studio.com/manifests/undead.json", | ||
| "format": "glb", | ||
| "raceId": "undead", | ||
| "faction": "legion" | ||
| } | ||
| ], | ||
| "classes": [ | ||
| { "id": "warrior", "name": "Warrior", "icon": "⚔️", "defaultWeapon": "unarmed" }, | ||
| { "id": "mage", "name": "Mage", "icon": "🔮", "defaultWeapon": "unarmed" }, | ||
| { "id": "ranger", "name": "Ranger", "icon": "🏹", "defaultWeapon": "unarmed" }, | ||
| { "id": "worg", "name": "Worge", "icon": "🐺", "defaultWeapon": "unarmed" } | ||
|
MolochDaGod marked this conversation as resolved.
|
||
| ], | ||
| "defaultAnimations": [ | ||
| { "name": "Idle", "description": "Standing idle", "location": "https://assets.grudge-studio.com/models/animations/sword-shield/sword and shield idle.glb" }, | ||
| { "name": "Walk", "description": "Walking forward", "location": "https://assets.grudge-studio.com/models/animations/sword-shield/sword and shield run.glb" }, | ||
| { "name": "Attack", "description": "Basic attack", "location": "https://assets.grudge-studio.com/models/animations/sword-shield/sword and shield attack.glb" } | ||
|
Comment on lines
+65
to
+67
|
||
| ] | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.