jak-project/game/kernel/jak2
Tyler Wilding eb703ee96e
REPL related improvements and fixes (#3545)
Motivated by - https://github.com/open-goal/opengoal-vscode/pull/358

This addresses the following:
- Fixes #2939 spam edge-case
- Stop picking a different nREPL port based on the game mode by default,
this causes friction for tools in the average usecase (having a REPL
open for a single game, and wanting to connect to it). `goalc` spins up
fine even if the port is already bound to.
- For people that need/want this behaviour, adding per-game
configuration to the `repl-config.json` is on my todo list.
- Allows `goalc` to permit redefining symbols, including functions. This
is defaulted to off via the `repl-config.json` but it allows you to for
example, change the definition of a function without having to restart
and rebuild the entire game.
![Screenshot 2024-06-02
124558](https://github.com/open-goal/jak-project/assets/13153231/28f81f6e-b7b8-4172-9787-f96e4ab1305b)
- Updates the welcome message to include a bunch of useful metadata
up-front. Cleaned up all the startup logs that appear when starting
goalc, many of whom's information is now included in the welcome
message.
  - Before:

![image](https://github.com/open-goal/jak-project/assets/13153231/814c2374-4808-408e-9ed6-67114902a1d9)

  - After:
![Screenshot 2024-06-01
235954](https://github.com/open-goal/jak-project/assets/13153231/f3f459fb-2cbb-46ba-a90f-318243d4b3b3)
2024-06-03 00:14:52 -04:00
..
fileio.cpp [jak3] Set up ckernel (#3308) 2024-01-16 19:24:02 -05:00
fileio.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
kboot.cpp REPL related improvements and fixes (#3545) 2024-06-03 00:14:52 -04:00
kboot.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
kdgo.cpp [jak3] Set up ckernel (#3308) 2024-01-16 19:24:02 -05:00
kdgo.h [jak3] Set up ckernel (#3308) 2024-01-16 19:24:02 -05:00
klink.cpp game: allow overriding the config directory location (#3477) 2024-04-28 15:29:20 -04:00
klink.h d/jak2: finish progress menu code and initialize the camera (#1945) 2022-10-11 18:30:26 -04:00
klisten.cpp [decompiler] Handle find-parent-method (#3018) 2023-09-30 11:06:09 -04:00
klisten.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
kmachine.cpp g/j2: Dynamic speedrun mode categories and implement a significant amount of a practice mode (#3378) 2024-02-23 19:04:44 -05:00
kmachine.h g/j2: Dynamic speedrun mode categories and implement a significant amount of a practice mode (#3378) 2024-02-23 19:04:44 -05:00
kmachine_extras.cpp fix c++ compiler warnings, extract_merc assert (#3488) 2024-05-03 17:29:18 +01:00
kmachine_extras.h g/j2: Dynamic speedrun mode categories and implement a significant amount of a practice mode (#3378) 2024-02-23 19:04:44 -05:00
kmalloc.cpp [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
kmalloc.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
kprint.cpp Change important printfs to lg::print (#3355) 2024-02-01 18:01:41 +00:00
kprint.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
kscheme.cpp [jak3] Set up ckernel (#3308) 2024-01-16 19:24:02 -05:00
kscheme.h [jak3] Set up ckernel (#3308) 2024-01-16 19:24:02 -05:00
ksound.cpp [jak3] Set up ckernel (#3308) 2024-01-16 19:24:02 -05:00
ksound.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00