Commit Graph

1057 Commits

Author SHA1 Message Date
bryanthaboi 370aaf4e1f Merge branch 'dev' of https://github.com/bryanthaboi/gen1recomp into dev 2026-09-30 12:18:25 -04:00
bryanthaboi 932a075496 CLOSES #2564, CLOSES #2570 2026-09-30 12:18:24 -04:00
Shane McGovern 795276935c Performance pass: cut per-frame allocations and draw calls, fix frame-rate and batch bugs
- Shared render: cache Font encode/width, skip unchanged palette/ShaderFX
  uniform sends, reuse quads and scratch tables, cheaper sprite palettes
- Mods: fast path for loaded requires, memoized sandbox verdicts, fewer
  Hooks:call allocations, drop emptied hook chains
- Audio: bulk PCM writes, cry/SFX prewarm on the worker, sliced sync
  fallback, cached Gen 3 SE sources
- Gen 1: per-frame SGB battle palettes, hoisted overworld FX, cached menus
- Gen 2: numeric attr grid, indexed anim cells, entity culling, memoized
  cache keys, palette shader set once per tile run
- Gen 3: reuse native tile batches, per-cell metatile rebuilds, partial
  FRLG tile anim uploads, near-view ghost ticking, packed FRLG font atlas
- Fixes: emergency quit timer, Gen 3 batch regression and stale sprite
  index, trainer card texture leak, missing pic re-reads, anim tint cache,
  Crystal ghost grass overdraw, refresh-rate dependent counters, pad swap
2026-09-30 14:53:18 +00:00
bryanthaboi af69971efe save fix gen 3 2026-09-30 08:07:52 -04:00
bryanthaboi 4f7657aad0 performance attempts 2026-09-30 05:40:41 -04:00
bryanthaboi a5094c8264 Merge pull request #2565 from 1Jamie/grandpas-garage 2026-09-29 20:28:55 -04:00
bryanthaboi 5047e7cf18 fix game3 subpriority regressions: keep map refusal and fixedClass capture, update draw order test 2026-09-29 20:20:42 -04:00
1jamie 655000bfac fix(emerald): OAM software subpriority, duplicate boat cleanup, and start menu size 2026-09-29 17:44:38 -05:00
bryanthaboi bf45bb51d6 CLOSES #2557 2026-09-29 16:00:57 -04:00
bryanthaboi 9eb6f199b9 CLOSES #2554 2026-09-29 14:31:55 -04:00
bryanthaboi f99d59f8f6 CLOSES #2548 2026-09-29 13:30:13 -04:00
bryanthaboi 8d60fe8c02 Update launcher_patch_notes.lua 2026-09-29 11:28:21 -04:00
bryanthaboi b986f6475c one of the dumbest tests ive ever seen 2026-09-29 11:04:24 -04:00
bryanthaboi 9fb3c529e7 couple tiny fixes 2026-09-29 10:38:20 -04:00
bryanthaboi ebd4985cc0 CLOSES #2524, CLOSES #2540, CLOSES #2541, CLOSES #2542 2026-09-29 10:08:21 -04:00
bryanthaboi 6d224e7d89 Merge pull request #2545 from 1Jamie/grandpas-garage 2026-09-28 23:21:08 -04:00
1jamie fad767ffc0 test: remove redundant generic test bundle in favor of modular test suites 2026-09-28 22:09:06 -05:00
1jamie 26506b0677 fix(emerald): fix party TM descriptions, summary 5th move, and UI issues
- Fix Emerald party menu TM learnability descriptions (sDescriptionStringTable indexing)
- Fix summary menu 5th move slot display and move learning in RSE
- Fix pause/start menu viewport scrolling and scroll arrow indicators
- Fix berry planting bag pocket routing and screen veil fading in Emerald
- Fix Route 101 Birch rescue positioning and truck sequence unfreeze
- Add comprehensive regression tests for all fixes
2026-09-28 22:03:03 -05:00
bryanthaboi a739e70c9e update 2026-09-28 20:37:29 -04:00
bryanthaboi f7a8014fdb Update oaks_lab_last_ball_bug601.lua 2026-09-28 14:40:18 -04:00
bryanthaboi a98c0d2a0a Merge branch 'dev' of https://github.com/bryanthaboi/gen1recomp into dev 2026-09-28 14:33:10 -04:00
bryanthaboi 8450c8f107 CLOSES #2515, CLOSES #2516, CLOSES #2518, CLOSES #2519, CLOSES #2521, CLOSES #2522, CLOSES #2523, CLOSES #2525, CLOSES #2526
CLOSES #2515, CLOSES #2516, CLOSES #2518, CLOSES #2519, CLOSES #2521, CLOSES #2522, CLOSES #2523, CLOSES #2525, CLOSES #2526
2026-09-28 14:33:06 -04:00
1jamie 27b2e2548b fix(save_convert): Gen 2 cartridge SRAM export parity and PKHeX compatibility 2026-09-28 12:07:48 -05:00
bryanthaboi 5d8009096a other update 2026-09-28 10:30:30 -04:00
bryanthaboi 193f350db0 more perf updates 2026-09-28 10:18:27 -04:00
bryanthaboi d4899e48b0 ok o ok 2026-09-28 09:13:34 -04:00
bryanthaboi f6898903b6 asdf 2026-09-28 08:53:02 -04:00
bryanthaboi ba24266192 quick fix 2026-09-28 07:21:38 -04:00
bryanthaboi b5b2965d55 Merge pull request #2530 from bryanthaboi/Nexhas28 2026-09-28 07:00:40 -04:00
bryanthaboi 706a025222 AUDIBLE 2026-09-28 06:57:18 -04:00
bryanthaboi ff9cc6d172 YELLOWCARD 2026-09-28 06:45:52 -04:00
shanemcgovernie c0a6db4c8c FireRed: fix party gaps after PC moves and TM ABLE!/NOT ABLE! labels
- PC storage: moving a party Pokemon out of the middle of the party left a
  nil hole, so later slots showed as empty in battle and could not be filled
  (#2494). Add Storage.compactParty (pret CompactPartySlots) and run it after
  every PC party move, when the PC opens, and on save load so already broken
  saves are repaired.
- Party menu: using a TM/HM from the bag now labels each slot ABLE!,
  NOT ABLE! or LEARNED, matching DisplayPartyPokemonDataToTeachMove (#2520).
- Add regression tests for both.
2026-09-28 07:54:53 +00:00
bryanthaboi 3620e787d2 FIELD GOAL 2026-09-27 16:58:27 -04:00
bryanthaboi 690f0cd9a1 TOUCHDOWN 2026-09-27 16:07:31 -04:00
bryanthaboi 5540fc1538 dummy file go bye 2026-09-26 20:39:59 -04:00
bryanthaboi d2b3afbfb3 Merge branch 'dev' of https://github.com/bryanthaboi/gen1recomp into dev 2026-09-26 20:36:27 -04:00
bryanthaboi f7213eea29 Update grass_palette_modes_2500.lua 2026-09-26 20:36:25 -04:00
bryanthaboi 531a6ec3bb Merge pull request #2512 from 1Jamie/grandpas-garage
fix: enforce bike dismount on indoor maps and synchronize biking state across saves
2026-09-26 20:31:10 -04:00
bryanthaboi 0fa4aeacc3 CLOSES #2452, CLOSES #2493, CLOSES #2496, CLOSES #2499, CLOSES #2500, CLOSES #2501, CLOSES #2502, CLOSES #2503 2026-09-26 20:29:32 -04:00
1jamie 93310885c7 fix: enforce bike dismount on indoor maps and synchronize biking state across saves 2026-09-26 19:16:23 -05:00
bryanthaboi 84e076b2d1 Merge pull request #2509 from Nexhas28/crash-screen-engine 2026-09-26 19:33:17 -04:00
1jamie a658285761 fix: improve robustness of cycling road flag check with session flag fallbacks 2026-09-26 18:09:47 -05:00
1jamie 59c6629457 feat(game3): fix held item consumption, cycling road enforcement, door warp arrivals, and optimize field rendering
- Fix held item (berries, herbs, pinch stat items) activation and permanent consumption on battler and party data during battles.
- Enforce mandatory bicycle riding on Cycling Road (Route 16-18) when dismounting Surf, entering map, loading saves, and prevent bike dismount attempts.
- Fix warp and door exit arrivals (e.g. Safari Zone gate) to execute warpExitArrival post-fade step so the player is placed on the correct forward tile and does not bypass triggers.
- Optimize field rendering pipeline by caching animated tileset pieces, pooling native metatile cell allocations, and hoisting dynamic module lookups to fast accessors.
2026-09-26 18:00:04 -05:00
Shane McGovern 8c4acf669d feat: make crash reports readable and attributable 2026-09-26 22:35:10 +01:00
bryanthaboi fab224458f minor fixes 2026-09-26 11:24:24 -04:00
bryanthaboi a6945ec4bb CLOSES #2479, CLOSES #2481, CLOSES #2483, CLOSES #2485 2026-09-26 05:44:05 -04:00
1jamie 76ede1171e feat: Gen 3 save editor, GBA extraction resilience, and UI/asset polish
- Save Editor (Gen 3):
  - Added full support for EV, IV, Nature, Ability, and Ribbons editing for Gen 3 Pokémon.
  - Implemented stat calculations, personality-based nature derivation, and Gen 3 save data structures.
  - Added comprehensive unit test suite in tests/save_editor_gen3_ev_iv_tests.lua.

- GBA Extraction & Graphics:
  - Added zero-copy ARM-safe ROM accessor and fast LZ77 string decompression.
  - Fixed bag chrome decompression string-buffer indexing preventing solid-color renders.
  - Fixed TM Case HM badge tile offset and palette mapping.
  - Added builtin moves fallback in src/core/game3/battle/builtin_moves.lua.
  - Improved parallel extraction resilience, desktop fallback search paths, and prefix handling.

- Android & Launchers:
  - Added dynamic high-res app launcher shortcuts and color palettes for all supported games.
  - Updated Android icon generator and intent dispatch handlers.
2026-09-25 16:20:40 -05:00
bryanthaboi c65fcf939d battle speed 2026-09-25 14:20:34 -04:00
bryanthaboi 389184789f import picker for custom cart 2026-09-25 13:18:59 -04:00
bryanthaboi 8d1e1551c7 mod count in saves 2026-09-25 11:12:10 -04:00