Download setup.ps1 from Agents-MCP-Hackathon/MMORPG_AI_NPC_MCP_CLIENT_SERVER: direct link, hf CLI and curl.
- Browser
- Download file 1.56 kB
-
https://huggingface.co/spaces/Agents-MCP-Hackathon/MMORPG_AI_NPC_MCP_CLIENT_SERVER/resolve/main/setup.ps1
- Command line
-
hf download hf://spaces/Agents-MCP-Hackathon/MMORPG_AI_NPC_MCP_CLIENT_SERVER/setup.ps1
-
curl -L -o setup.ps1 https://huggingface.co/spaces/Agents-MCP-Hackathon/MMORPG_AI_NPC_MCP_CLIENT_SERVER/resolve/main/setup.ps1
1.56 kB
| # MMOP Second Try - PowerShell Setup Script | |
| # This script sets up the MMORPG environment using PowerShell | |
| Write-Host "" | |
| Write-Host "========================================" -ForegroundColor Cyan | |
| Write-Host " MMOP Second Try - Setup Script" -ForegroundColor Cyan | |
| Write-Host "========================================" -ForegroundColor Cyan | |
| Write-Host "" | |
| # Check if Python is available | |
| try { | |
| $pythonVersion = python --version 2>&1 | |
| Write-Host "✅ $pythonVersion found" -ForegroundColor Green | |
| } catch { | |
| Write-Host "❌ ERROR: Python is not installed or not in PATH" -ForegroundColor Red | |
| Write-Host "Please install Python 3.8 or higher from python.org" -ForegroundColor Yellow | |
| Read-Host "Press Enter to exit" | |
| exit 1 | |
| } | |
| Write-Host "🔧 Starting setup..." -ForegroundColor Yellow | |
| Write-Host "" | |
| # Run the Python setup script | |
| try { | |
| python setup.py | |
| Write-Host "" | |
| Write-Host "========================================" -ForegroundColor Green | |
| Write-Host "🎉 Setup completed successfully!" -ForegroundColor Green | |
| Write-Host "" | |
| Write-Host "To run the MMORPG:" -ForegroundColor Cyan | |
| Write-Host " python app.py" -ForegroundColor White | |
| Write-Host "" | |
| Write-Host "Then open your browser to the displayed URL" -ForegroundColor Cyan | |
| Write-Host "========================================" -ForegroundColor Green | |
| } catch { | |
| Write-Host "❌ Setup failed. Please check the error messages above." -ForegroundColor Red | |
| } | |
| Write-Host "" | |
| Read-Host "Press Enter to continue" | |