Como funciona
O que acontece, passo a passo, quando o jogador abre o launcher.
Entender a ordem ajuda a adaptar o tema no lugar certo:
- Splash — a tela de carregamento aparece enquanto o tema carrega escondido.
- Licença — o launcher valida a licença com a API.
- Tema carrega — quando pronto, o tema chama
ThemeReady()e a janela aparece. - Atualização — verifica no GitHub se há versão nova (respeitando agendamento) e baixa.
- Integridade — confere os arquivos pelo
hash.jsone repara os corrompidos. - Pronto — emite
launcher-ready; o botão jogar libera. - Jogar — o jogador clica; o jogo abre e (se configurado) o dashboard aparece.
●
Se o tema remoto estiver offline, o launcher usa a tela reserva embutida no passo 3.
Comportamento offline por seção
| Seção | Tema offline |
|---|---|
| Launcher | Usa a tela reserva embutida — continua jogável. |
| Downloader | Bloqueia com aviso. |
| Dashboard | Não abre — o jogo segue normal. |
How it works
What happens, step by step, when the player opens the launcher.
Understanding the order helps you adapt the theme in the right place:
- Splash — the loading screen shows while the theme loads hidden.
- License — the launcher validates the license with the API.
- Theme loads — when ready, the theme calls
ThemeReady()and the window appears. - Update — checks GitHub for a new version (respecting scheduling) and downloads.
- Integrity — checks files against
hash.jsonand repairs corrupted ones. - Ready — emits
launcher-ready; the play button unlocks. - Play — the player clicks; the game opens and (if configured) the dashboard appears.
●
If the remote theme is offline, the launcher uses the built-in fallback screen at step 3.
Offline behavior per section
| Section | Theme offline |
|---|---|
| Launcher | Uses the built-in fallback — still playable. |
| Downloader | Blocks with a warning. |
| Dashboard | Won't open — the game runs normally. |
Cómo funciona
Qué pasa, paso a paso, cuando el jugador abre el launcher.
Entender el orden ayuda a adaptar el tema en el lugar correcto:
- Splash — la pantalla de carga aparece mientras el tema carga oculto.
- Licencia — el launcher valida la licencia con la API.
- El tema carga — cuando está listo, el tema llama a
ThemeReady()y la ventana aparece. - Actualización — verifica en GitHub si hay versión nueva (respetando la programación) y descarga.
- Integridad — comprueba los archivos con
hash.jsony repara los dañados. - Listo — emite
launcher-ready; el botón jugar se libera. - Jugar — el jugador hace clic; el juego abre y (si está configurado) aparece el dashboard.
●
Si el tema remoto está offline, el launcher usa la pantalla de reserva integrada en el paso 3.
Comportamiento offline por sección
| Sección | Tema offline |
|---|---|
| Launcher | Usa la pantalla de reserva — sigue jugable. |
| Downloader | Bloquea con aviso. |
| Dashboard | No abre — el juego sigue normal. |