Commit df92c4b
committed
fix: generate chobby_config.json in lobby .sdd for launcherless bundle
The BAR desktop launcher normally reads dist_cfg/config.json and
extracts json_files.chobby_config.json, writing it to the game data
directory before starting the engine. Without the launcher present,
Chobby Lua code fails to find the file via VFS, causing the Chobby
global to be nil and crashing every widget that references it.
Write chobby_config.json directly into the Chobby .sdd with the BAR
server address and "byar" game config so the lobby initialises
correctly.1 parent 56ec30e commit df92c4b
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
342 | 360 | | |
343 | 361 | | |
344 | 362 | | |
| |||
0 commit comments