Valiantsin Dzerakh and Claude Opus 5.5
1bebcfd9ef
Rebuild the game at start when an enabled mod has unbuilt code cheats
...
Code cheats need the game lifted and compiled with them. Running the setup
again did that, but it lifted and compiled everything and prepared the
shaders again.
- The setup keeps the generated C and the objects in its temp folder (about
1.3 GB). gen.py rewrites only the chunks whose C changed, so Ninja
recompiles only those. One new code cheat on 1.4.3 took a 47 s lift and
19 s of compile and link on 24 cores.
- Prepare's key no longer follows the compile key, only the runtime, the
translator and the game version, so a rebuild keeps the prepared shaders.
- The cleanup writes build-cache/rebuild.txt, the command that opens the
setup window in a new --rebuild mode on the install folder. That mode runs
at once and starts the game again when it succeeds.
- At start, runtime/cheats.c runs that command and exits when an enabled
mod has code cheats the build lacks (plat_spawn, new for Windows and
Linux). build-cache/rebuild.skip keeps a failed or cancelled rebuild from
starting again for the same cheats. "Rebuild the game now" on the Cheats
tab tries again, and [mods] mods_rebuild = off turns the rebuild off.
Scripted runs never start it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-01 14:16:53 +03:00
..
2026-11-01 14:16:53 +03:00
2026-11-01 11:40:27 +03:00
2026-10-23 23:54:57 +03:00
2026-11-01 14:16:53 +03:00
2026-10-31 14:11:46 +00:00
2026-10-31 14:11:46 +00:00
2026-10-25 18:28:00 +03:00
2026-10-31 13:59:28 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 07:12:48 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 07:34:59 +03:00
2026-11-01 08:07:29 +07:00
2026-10-31 07:08:11 -05:00
2026-11-01 13:14:36 +03:00
2026-11-01 14:16:53 +03:00
2026-10-29 18:14:30 -03:00
2026-11-01 14:16:53 +03:00
2026-11-01 14:16:53 +03:00
2026-10-31 10:02:16 -04:00
2026-10-30 15:29:53 +01:00
2026-11-01 07:09:13 +08:00
2026-11-01 10:10:09 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 03:34:55 +08:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-01 07:09:13 +08:00
2026-11-01 02:51:19 +03:00
2026-10-31 21:00:01 +03:00
2026-11-01 13:14:37 +03:00
2026-10-27 13:40:34 +03:00
2026-10-27 13:40:34 +03:00
2026-10-29 16:56:56 -03:00
2026-10-24 10:41:54 +03:00
2026-11-01 11:39:38 +03:00
2026-11-01 01:49:40 +08:00
2026-10-31 21:17:12 +01:00
2026-10-31 21:17:12 +01:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 21:17:12 +01:00
2026-10-31 21:17:12 +01:00
2026-10-31 21:17:12 +01:00
2026-11-01 11:39:38 +03:00
2026-10-31 21:17:12 +01:00
2026-11-01 13:14:36 +03:00
2026-11-01 00:53:17 +03:00
2026-11-01 12:16:08 +03:00
2026-11-01 12:16:08 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-30 21:58:22 -07:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-01 12:16:08 +03:00
2026-11-01 12:16:08 +03:00
2026-10-31 14:11:46 +00:00
2026-10-29 16:56:56 -03:00
2026-11-01 10:10:09 +03:00
2026-11-01 10:10:09 +03:00
2026-11-01 10:10:09 +03:00
2026-11-01 01:49:40 +08:00
2026-11-01 13:14:36 +03:00
2026-10-29 16:56:56 -03:00
2026-11-01 14:05:31 +03:00
2026-11-01 14:05:31 +03:00
2026-11-01 14:05:31 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-23 22:27:54 +03:00
2026-10-31 14:11:46 +00:00
2026-10-31 14:11:46 +00:00
2026-10-31 23:38:20 +03:00
2026-10-29 16:56:56 -03:00
2026-11-01 10:55:01 +03:00
2026-10-27 13:12:50 +03:00
2026-10-29 12:58:01 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-23 22:27:54 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 14:31:41 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-01 12:43:03 +03:00
2026-10-31 14:11:46 +00:00
2026-10-29 16:56:56 -03:00
2026-10-27 13:12:50 +03:00
2026-10-26 17:50:40 +03:00
2026-10-31 11:42:51 -03:00
2026-10-31 02:03:34 -03:00
2026-10-27 15:21:41 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-01 11:40:27 +03:00
2026-11-01 14:05:41 +03:00
2026-11-01 14:05:41 +03:00
2026-10-23 22:27:54 +03:00
2026-11-01 14:05:41 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-28 12:25:25 +03:00
2026-11-01 07:09:13 +08:00
2026-10-29 16:56:56 -03:00
2026-10-29 17:29:31 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 12:41:12 +03:00
2026-10-29 12:41:12 +03:00
2026-10-31 13:26:42 +03:00
2026-10-23 22:27:54 +03:00
2026-10-25 14:14:46 +03:00
2026-10-29 17:29:31 -03:00
2026-10-31 07:27:46 +03:00
2026-10-26 16:48:02 +03:00
2026-10-30 13:40:04 +03:00
2026-10-26 16:48:02 +03:00
2026-11-01 14:16:53 +03:00
2026-11-01 14:16:53 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-11-01 11:40:27 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 10:02:16 -04:00
2026-10-30 15:29:53 +01:00
2026-10-30 19:48:38 +03:00
2026-11-01 11:40:27 +03:00
2026-11-01 11:42:15 +03:00
2026-10-31 15:33:03 +08:00
2026-10-31 14:44:48 +03:00
2026-11-01 11:40:27 +03:00
2026-10-31 21:17:12 +01:00
2026-10-31 14:44:48 +03:00
2026-11-01 11:40:27 +03:00
2026-11-01 11:39:38 +03:00
2026-10-31 07:27:46 +03:00
2026-10-31 13:26:42 +03:00
2026-11-01 11:15:50 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 15:02:30 -07:00
2026-10-31 16:39:38 -03:00
2026-11-01 11:31:17 +02:00
2026-10-30 23:50:02 +03:00
2026-10-31 11:42:51 -03:00
2026-11-01 11:40:27 +03:00
2026-11-01 00:16:47 +08:00
2026-10-23 22:27:54 +03:00
2026-11-01 11:39:38 +03:00