Support first-run selection and optional tutorials

Save the selected country, starting crew, and unlocks when the client
submits its first-run selection. Use the stock unlock and crew formats.
Enable the existing option to skip the basic tutorial.

The client reached the hangar. Tutorial verification is pending.
This commit is contained in:
N0VAN0M4LY committed 2026-11-24 10:01:47 +08:00
1 parent c3c5f583ad
commit 6ed498e4d0
8 files changed
+227 -10

No files matched your search

+1
View File
@@ -48,6 +48,7 @@ function main(): number {
if (values.verbose) {
for (const change of charPack.network.addresses) console.log(` ${change.path}: ${change.before} -> ${change.after}`);
}
console.log(`game_settings.blk: features on for every player: ${charPack.features.join(', ') || '(already on)'}`);
const mainPack = rebuildMainPack(readFileSync(join(values.game, GAME_FILES.mainPack)), endpoint);
console.log(`settings.blk: ${mainPack.addresses.length} address(es) now point to ${endpoint.host}:${endpoint.port}`);