Commit Graph
165 Commits
Author SHA1 Message Date
Fiereu 3b90027d18 fix(game): resolve dynamic warps for every warp trigger (#104) 2026-08-07 21:59:06 +02:00
Fiereu b615b65334 fix(game): stop running the warp arrival twice (#94)
* fix(game): use the npc's own region for map and sprite lookups

* fix(game): trigger warps by their tile behaviour

* fix(game): classify every warp metatile behaviour the decomp accepts

* fix(game): stop running the warp arrival twice

* fix(game): stop a failed warp from freezing the player and leaking its old map

* fix(game): give every warp a deadline and hand the map group over on arrival

* fix(game): check the warp target first and stop the deadline outliving the session
2026-08-07 16:14:51 +02:00
Fiereu 085407ccf1 fix(codegen): put the region in the dialog id instead of always hoenn (#100) 2026-08-07 15:12:10 +02:00
Fiereu 67e3b14a1d fix(game): send the right value in the map transition ack (#99)
* fix(game): send 1 in the map transition ack, 2 is only the first placement

* refactor(protocol): give the map transition ack a proper enum
2026-08-07 14:34:21 +02:00
Fiereu d4940f85cf fix(game): stop the player from stopping when walking to another map (#98)
* fix(game): stop moving the player when they cross a map connection

* fix(game): only send map data the client does not already have
2026-08-07 14:18:14 +02:00
Fiereu 14fbc05bab fix(game): trigger warps by their tile behaviour (#93)
* fix(game): use the npc's own region for map and sprite lookups

* fix(game): trigger warps by their tile behaviour

* fix(game): classify every warp metatile behaviour the decomp accepts
2026-08-07 10:57:17 +02:00
Fiereu 9866c1b0fb refactor(test): add a common.test module and move the captured payloads into fixtures (#97) 2026-08-07 10:47:27 +02:00
Fiereu 6427c3498b fix(game): use the npc's own region for map and sprite lookups (#92) 2026-08-07 09:28:59 +02:00
Fiereu 4289ecca5e feat(protocol): add the gtl packets and codecs (#95) 2026-08-07 09:18:33 +02:00
Fiereu f785cc5a80 fix(protocol): read the extra byte in the monster record (#91) 2026-08-05 23:20:26 +02:00
Fiereu 4470cbda37 feat(game): let the player replace a move on level up (#90) 2026-08-05 23:10:59 +02:00
Fiereu 1ecfabaed5 feat(game): give monsters their real level up moveset (#85)
* feat(codegen): generate the level up learnsets from the decomp

* feat(game): give monsters their real level up moveset
2026-08-05 10:38:55 +02:00
Fiereu e24bc5518d fix(network): log uncompressed packets (#84)
Insert the compression codec in front of the protocol logger so the
logger sees raw packets: decompressed on the way in, not yet compressed
on the way out.

Closes #61
2026-08-04 07:51:50 +02:00
Fiereu 22c922ffe3 docs: explain the roms folder and why the build wants one (#87) 2026-08-03 22:59:26 +02:00
Fiereu f01f411741 feat(server): write only the character rows that changed (#86)
* feat(server): add a row delta helper for incremental table writes

* feat(server): write only the character rows that changed
2026-08-03 16:35:10 +02:00
renovate[bot] 19fc05beba fix(deps): update kotest to v6.2.3 (#80)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 13:21:09 +00:00
renovate[bot] ce7ff34c44 fix(deps): update dependency name.remal.sonarlint:name.remal.sonarlint.gradle.plugin to v7.1.5 (#79)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 09:56:28 +00:00
Fiereu dfeabdc581 feat: release pipeline and env-supplied server key (#82)
* build: move group and version to gradle.properties

* ci: add release-please versioning and release pipeline

* feat(server): load the root key from the environment

* ci: publish key-free server archives on release
2026-08-03 11:38:03 +02:00
renovate[bot] 8bd065fcb4 chore(deps): update dependency astro to v7.1.6 (#76)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 09:31:51 +00:00
Fiereu 98d68946ae fix(patcher): copy feed keys before compiling (#81)
* fix(patcher): copy feed keys before compiling

* build: raise daemon memory limits for KSP
2026-08-03 11:07:10 +02:00
Fiereu c3fd2d3f81 docs: document the script system (#78)
* docs: document the script system

* chore: fix style
2026-08-02 15:42:30 +02:00
renovate[bot] 4b49a13a8f chore(deps): update dependency @astrojs/starlight to v0.41.4 (#75)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-02 15:40:21 +02:00
Fiereu d36c630d53 feat(patcher): patch the native image client and serve it a local main feed 2026-08-02 15:39:05 +02:00
LananaHWP 3b19a81201 feat(game): implement Hoenn story through Rustboro (#77)
* feat(game): implement Hoenn story through Rustboro

* fix(game): group dialog presentation options

* fix(game): address review feedback and running movement
2026-08-02 15:09:08 +02:00
Fiereu f57149eae3 fix(ci): revert spotlessApply on master
Updated CI workflow to use the commit SHA for ref in pull requests and simplified the condition for applying formatting changes.
2026-07-28 13:26:35 +02:00
Fiereu 4e90abe398 fix(ci): Update ref in CI workflow to use github.ref_name 2026-07-28 12:33:48 +02:00
Fiereu e50fb8b7c2 fix(ci): Run spotlessApply on master too 2026-07-28 12:28:34 +02:00
renovate[bot] c954da3717 fix(deps): update flyway to v13 (#43)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-28 12:03:41 +02:00
Fiereu 0a23cdb9b4 fix: Update CI workflow to exclude Renovate bot 2026-07-28 11:55:46 +02:00
Fiereu 9cda538a68 feat(game): littleroot town intro with the truck and mom cutscene 2026-07-26 14:36:07 +02:00
Fiereu 41ff99ae4f feat(game): scripted npc and player movement for cutscenes 2026-07-26 14:36:07 +02:00
Fiereu c06aff99d3 feat(game): run a map's on-transition script when a player enters it 2026-07-26 14:36:07 +02:00
Fiereu 023f4eb305 feat(game): persist per-character story flags and vars 2026-07-26 14:36:07 +02:00
Fiereu 4879082eb0 fix(game): write entity flags as one byte so the follower shows the right species (#71) 2026-07-26 14:29:41 +02:00
Fiereu 3ff8a76875 fix(game): show the full party on the character select screen (#70) 2026-07-26 14:24:56 +02:00
Fiereu 109cf5f814 feat(game): start a wild battle when a player steps in grass (#68)
* feat(game): start a wild battle when a player steps in grass

* fix(codegen): key species by national dex so the client shows the right mon
2026-07-26 11:04:35 +02:00
Fiereuandgithub-actions[bot] 300bc52531 feat(game): basic script implementations (#65)
* feat(game): open the wired dialog line when a player interacts with an npc or sign

* feat(game): run npc and sign interactions through a generated script layer

* chore(style): spotlessApply

* fix(codegen): generate dialog enums without a rom so ci can compile

* docs: add a guide for writing overworld scripts

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-07-26 00:12:30 +02:00
Fiereu 6695daabd8 fix(codegen): merge the duplicate empty and default branches in the text parser 2026-07-25 21:46:59 +02:00
Fiereu 35f498f0de chore: move hex encode and decode into a shared common util (#62) 2026-07-25 21:37:53 +02:00
Fiereu 9c52eeb8c6 feat(dialog): generate per-location gba dialog enums from the rom and drop the old script params (#64) 2026-07-25 21:26:43 +02:00
Fiereu e89ae6e6df feat(game): handle npc dialog replies and send correct dialog actions (#63) 2026-07-25 19:18:58 +02:00
Fiereu 35a7966a97 chore(network): note the protocol logger should log raw packets (#59) 2026-07-25 17:29:42 +02:00
Fiereu 651a1fbb67 feat(battle): add the wild battle system with structured codecs (#58) 2026-07-25 17:28:48 +02:00
Fiereu 214663531a feat(server.game): create new characters with an empty party (#57) 2026-07-25 16:45:50 +02:00
Fiereu 1e19440743 feat(server.game): add gen 3 stat and exp calculators (#56) 2026-07-25 16:44:11 +02:00
Fiereu e26c8f91f4 fix(common): let stat setters take zero and check totals (#55) 2026-07-25 16:43:10 +02:00
Fiereu 391e2efeb7 feat(codegen): generate the gen 3 type chart (#54) 2026-07-25 16:40:48 +02:00
Fiereu 017f6bca60 feat(bytecodec): add a constant atom for fixed wire bytes (#53) 2026-07-25 16:30:08 +02:00
Fiereu 5e75f5cca7 fix: formatting in .gitignore for local env 2026-07-22 18:50:56 +02:00
Fiereu daf4daf197 feat(server): persist accounts and characters in PostgreSQL (#48)
* feat(server): persist accounts and characters in PostgreSQL via jOOQ, HikariCP, and Flyway

* test: reword test names to match the writing style

* docs: explain the database setup and dev seeding
2026-07-21 11:25:21 +02:00