Commit Graph

469 Commits

Author SHA1 Message Date
bryanthaboi 34377eef5a further performance udpdates 2026-10-05 15:45:58 -04:00
bryanthaboi 6613f5bc42 CLOSES #2691, CLOSES #2690, CLOSES #2677, CLOSES #2646 2026-10-05 12:48:22 -04:00
bryanthaboi dd5d394f84 Merge pull request #2680 from thibautbus/fix/game3-name-order-in-cart-text
Join names to translated cart text the way the European carts do
2026-10-05 11:33:59 -04:00
bryanthaboi 4d41d4b9a6 Merge pull request #2681 from thibautbus/fix/menu-labels-black-without-title
Draw a menu's choices in black when it has no title
2026-10-05 11:23:34 -04:00
bryanthaboi 72f2294d8d CLOSES #2649, CLOSES #2650, CLOSES #2652, CLOSES #2653, CLOSES #2654, CLOSES #2657, CLOSES #2658, CLOSES #2659, CLOSES #2660, CLOSES #2662, CLOSES #2664, CLOSES #2665, CLOSES #2666, CLOSES #2669, CLOSES #2671, CLOSES #2672, CLOSES #2674, CLOSES #2676, CLOSES #2682, CLOSES #2683, CLOSES #2684, CLOSES #2685, CLOSES #2686, CLOSES #2687, CLOSES #2688, CLOSES #2689
CLOSES #2649, CLOSES #2650, CLOSES #2652, CLOSES #2653, CLOSES #2654, CLOSES #2657, CLOSES #2658, CLOSES #2659, CLOSES #2660, CLOSES #2662, CLOSES #2664, CLOSES #2665, CLOSES #2666, CLOSES #2669, CLOSES #2671, CLOSES #2672, CLOSES #2674, CLOSES #2676, CLOSES #2682, CLOSES #2683, CLOSES #2684, CLOSES #2685, CLOSES #2686, CLOSES #2687, CLOSES #2688, CLOSES #2689
2026-10-05 11:06:01 -04:00
bryanthaboi b305652fdb Store Gen 3 cache pixel data deflated and write compressed PNGs
Same decoded pixels, about 60 percent smaller caches. Bumps the FireRed/LeafGreen, Emerald and Ruby/Sapphire cache versions.
2026-10-05 08:00:07 -04:00
bryanthaboi 586d56e6c7 Merge remote-tracking branch 'origin/dev' into dev 2026-10-05 05:07:47 -04:00
bryanthaboi 6774889505 Add Pokemon Ruby and Sapphire
Ruby and Sapphire 1.0/1.1/1.2 import, play, save, convert and link. Gen 3 shaders, braille, weather and reflection parity, link room players, RS custom carts and launcher support, Gen 3 link fixes for Emerald and FireRed/LeafGreen.
2026-10-05 05:07:42 -04:00
thibautbus 5528a92a59 Draw a menu's choices in black when it has no title
Since v0.3.29, Menu:draw sets the black text color only inside its title branch, where the title's white backing is drawn. A menu without a title, such as the Red/Blue/Yellow main menu (CONTINUE, NEW GAME, OPTION), printed its choices in whatever color was current: the white the box's fill and the previous frame leave behind. Tile glyphs are black on transparent and come out black whatever the color, so English never showed it, but a translation's TTF font draws in the current color and printed every choice white on white; only the tile cursor stayed visible.

The choices are now drawn after an unconditional black, as before v0.3.29, with or without a title.
2026-10-04 21:56:46 +02:00
thibautbus f26fe452e5 Fill a European row's name placeholder instead of prepending the name
Two screens print a name followed by a cart string, the way the US code builds them: the nickname screen's title (the species and gText_PkmnsNickname) and a secret base's name (the owner and gText_ApostropheSBase). The French, Italian and Spanish rows name it where their language puts it, through STR_VAR_1 ("Surnom de [STR_VAR_1]?", "BASE DE [STR_VAR_1]"), and their code fills the placeholder (pret pokeemerald multi-language, src/naming_screen.c:1746, src/secret_base.c:732); the German rows do the same ("Kosename f. [STR_VAR_1]"). A French nickname screen read "POUSSIFEUSurnom de ?".

Both now render the row with the name as STR_VAR_1 and use that text when the row prints it, a mod's catalog entry for the English source included; a row without the placeholder (FireRed's US and Japanese titles, the Japanese secret base row) keeps the name in front. English and Japanese text is unchanged.
2026-10-04 20:32:22 +02:00
1jamie b8319dd2f8 fix(ui): declare applied as local in TouchControlsEditor 2026-10-03 16:05:29 -05:00
1jamie a39efc30f4 feat(game3): add GBA shoulder buttons, touch overlay editor support, and bundled gba_purple skin 2026-10-03 15:50:39 -05:00
bryanthaboi 340e2567ec CLOSES #2644, CLOSES #2645 2026-10-03 06:57:16 -04:00
bryanthaboi 46d255d18c CLOSES #2639, CLOSES #2640, CLOSES #2642, CLOSES #2643 2026-10-03 05:49:13 -04:00
bryanthaboi dc0756c236 CLOSES #2632, CLOSES #2634, CLOSES #2637, CLOSES #2638 2026-10-02 22:57:54 -04:00
bryanthaboi 178cbf1bc4 CLOSES #2578, CLOSES #2617, CLOSES #2623 2026-10-02 13:52:21 -04:00
bryanthaboi c079233819 major enhancement 2026-10-02 09:48:20 -04:00
bryanthaboi d555a24693 further save editor yum 2026-10-02 06:21:06 -04:00
bryanthaboi 20ab97abf8 save editor 2026-10-01 21:31:40 -04:00
bryanthaboi 7d5fbd5754 CLOSES #2604, CLOSES #2605, CLOSES #2607, CLOSES #2608, CLOSES #2610, CLOSES #2611, CLOSES #2612, CLOSES #2613 2026-10-01 18:50:48 -04:00
bryanthaboi 9b7f3188b1 big save fix energy 2026-10-01 17:30:52 -04:00
bryanthaboi 5f27f0f87b game 3 performance 2026-10-01 10:32:14 -04:00
bryanthaboi 78916ef416 CLOSES #2561, CLOSES #2593, CLOSES #2596, CLOSES #2597 2026-10-01 08:27:27 -04:00
bryanthaboi 44723376b8 CLOSES #2555, CLOSES #2558, CLOSES #2560, CLOSES #2562, CLOSES #2563, CLOSES #2581, CLOSES #2583, CLOSES #2584, CLOSES #2585, CLOSES #2589, CLOSES #2590, CLOSES #2592 2026-10-01 07:26:48 -04:00
bryanthaboi fd2c8ecdae further fixes 2026-09-30 22:35:18 -04:00
bryanthaboi 19df78292a tiny update 2026-09-30 17:59:39 -04:00
bryanthaboi 690b5a61e6 more 2026-09-30 17:33:36 -04:00
bryanthaboi 6118b1e38a Update item_storage.lua 2026-09-30 16:45:40 -04:00
bryanthaboi bafa8b4103 couple other things 2026-09-30 16:21:10 -04:00
bryanthaboi 8c5d877bb9 various fixes 2026-09-30 15:47:06 -04:00
bryanthaboi 6806d5a235 CLOSES #2577, CLOSES #2573, CLOSES #2572 2026-09-30 13:54:23 -04:00
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
1jamie 655000bfac fix(emerald): OAM software subpriority, duplicate boat cleanup, and start menu size 2026-09-29 17:44:38 -05: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 9fb3c529e7 couple tiny fixes 2026-09-29 10:38:20 -04:00
bryanthaboi 6d224e7d89 Merge pull request #2545 from 1Jamie/grandpas-garage 2026-09-28 23:21:08 -04: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 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
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