mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 03:32:06 +00:00
refactor: remove GitHub assets source and require HTTP provider
This commit is contained in:
@@ -29,3 +29,43 @@ NodeCG bundle for producing fighting game overlays.
|
||||
## Version
|
||||
|
||||
Initial project version: `0.1.0`.
|
||||
|
||||
## Assets por HTTP (sin GitHub API)
|
||||
|
||||
La descarga de assets usa **únicamente HTTP**. Debes configurar un servidor propio.
|
||||
|
||||
1. En `cfg/scoreko-dev.json`, configura `assetsBaseUrl` (obligatorio):
|
||||
|
||||
```json
|
||||
{
|
||||
"scoreko-dev": {
|
||||
"exampleProperty": "value",
|
||||
"assetsBaseUrl": "http://TU_SERVIDOR:8080"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
2. Sirve por HTTP esta estructura:
|
||||
|
||||
```text
|
||||
games/
|
||||
street-fighter-6/
|
||||
manifest.json
|
||||
fighting-characters.json
|
||||
characters/...
|
||||
tekken-8/
|
||||
manifest.json
|
||||
...
|
||||
```
|
||||
|
||||
3. Cada `manifest.json` debe ser un array con rutas relativas, o con objetos `{ "path", "size", "url" }`.
|
||||
|
||||
Ejemplo mínimo:
|
||||
|
||||
```json
|
||||
[
|
||||
"fighting-characters.json",
|
||||
"characters/ryu.png"
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user