<# ================================================================ Installateur Vocal de proximite - Hivey (The Isle Evrima) Installe Mumble + le plugin de proximite, puis connecte au serveur. Usage : clic droit -> "Executer avec PowerShell" (ou) powershell -ExecutionPolicy Bypass -File .\Installer-Vocal-FR.ps1 ================================================================ #> # ---- Parametres du serveur ---- $ServerHost = "141.94.46.216" $ServerPort = "64738" $Channel = "Proximity_chat" # ---- Plugin de proximite Isle-VOIP (installateur officiel) ---- $PluginUrl = "https://cdn.isle-voip.com/client/TheIsleProximityPluginInstaller.exe" $ErrorActionPreference = "Stop" function Info($m){ Write-Host "[*] $m" -ForegroundColor Cyan } function Ok($m){ Write-Host "[OK] $m" -ForegroundColor Green } function Warn($m){ Write-Host "[!] $m" -ForegroundColor Yellow } Write-Host "==== Installation du vocal de proximite FR ====" -ForegroundColor Magenta # 1) Installer le client Mumble ------------------------------------------------- $mumbleExe = "$env:ProgramFiles\Mumble\client\mumble.exe" if (Test-Path $mumbleExe) { Ok "Mumble est deja installe." } else { Info "Installation de Mumble..." $installed = $false # Methode 1 : winget (Windows 10/11) if (Get-Command winget -ErrorAction SilentlyContinue) { try { winget install -e --id Mumble.Mumble --accept-package-agreements --accept-source-agreements --silent if (Test-Path $mumbleExe) { $installed = $true; Ok "Mumble installe via winget." } } catch { Warn "winget a echoue, tentative par telechargement direct..." } } # Methode 2 : telechargement direct du MSI officiel if (-not $installed) { $msi = "$env:TEMP\mumble-client.msi" Info "Telechargement de Mumble (officiel)..." Invoke-WebRequest -Uri "https://dl.mumble.info/latest/stable/client-windows-x64" -OutFile $msi Info "Installation silencieuse..." Start-Process msiexec.exe -ArgumentList "/i `"$msi`" /qn /norestart" -Wait if (Test-Path $mumbleExe) { Ok "Mumble installe." } else { Warn "Verifie l'installation de Mumble manuellement." } } } # 2) Installer le plugin de proximite Isle-VOIP (telechargement + lancement auto) try { $plugExe = "$env:TEMP\TheIsleProximityPluginInstaller.exe" Info "Telechargement du plugin de proximite Isle-VOIP..." Invoke-WebRequest -Uri $PluginUrl -OutFile $plugExe Info "Lancement de l'installateur du plugin (suis les eventuelles etapes a l'ecran)..." Start-Process -FilePath $plugExe -Wait Ok "Plugin de proximite installe." Warn "Verifie dans Mumble : Configurer > Reglages > Plugins -> 'TheIsleProximity' active." } catch { Warn "Echec du telechargement/installation auto du plugin : $_" Warn "Telecharge-le manuellement sur https://isle-voip.com/ puis active-le dans Mumble." try { Start-Process "https://isle-voip.com/" } catch {} } # 3) Se connecter au serveur ---------------------------------------------------- $pseudo = Read-Host "Entre ton PSEUDO EN JEU (doit etre identique a ton nom dans The Isle)" if ([string]::IsNullOrWhiteSpace($pseudo)) { $pseudo = $env:USERNAME } $link = "mumble://$pseudo@$ServerHost`:$ServerPort/$Channel" Info "Connexion au serveur vocal : $link" Start-Process $link Write-Host "" Ok "Termine !" Write-Host "Rappels :" -ForegroundColor Magenta Write-Host " - 1re fois : clique 'Suivant' dans l'assistant de certificat Mumble, accepte le certificat du serveur." Write-Host " - Ton pseudo Mumble DOIT etre identique a ton nom en jeu." Write-Host " - Pour la proximite : copie ton 'UserHash' (logs de connexion Mumble) puis tape en jeu : /link-account TONHASH" Read-Host "Appuie sur Entree pour fermer"