Commit Graph

76 Commits

Author SHA1 Message Date
GearsProgress
e9fcf60de4 Fixing Gold background 2026-09-14 15:48:37 -04:00
GearsProgress
9cd6dc30c3 Updating box graphics and adding Crystal revisions 2026-09-01 18:19:29 -04:00
GearsProgress
50b0cdab72 Merge branch 'release-candidate' into gameboy-payload-update 2026-07-02 23:15:18 -04:00
easyaspi314
f3a164076d Cut VRAM usage roughly in half
Memory manufacturers and AAA game studios hate her!

With some clever rearranging, PTGB now uses only 36 KiB of the 64 KiB
BG VRAM. This means the remaining 28 KiB is free to use in the future.

Caveats: The flex tileset must not use more that 6 KiB. There is a check
for it added.

VRAM Map
  06000000 - 06000800 ( 2K): Eternal backdrop and textbox tileset
  06000800 - 06002000 ( 6K): Flex BG tileset
  06002000 - 06002400 ( 2K): BG0: Backdrop tilemap
  06002800 - 06003000 ( 2K): BG1: Flex BG tilemap
  06003000 - 06003800 ( 2K): BG2: Textbox tilemap
  06003800 - 06004000 ( 2K): BG3: Text tilemap
  06004000 -~06009000 (20K): Text rendering bitmap
  06009000 - 06010000 (28K): Free work RAM
  06010000 - 06018000 (32K): Sprite tileset

Additionally:
- Explicitly clear VRAM on boot
- Dirty workaround to fix box drawing buffer overflow.
- Flex backgrounds use a table instead of a huge switch statement
- Textbox tile IDs are now const u16[] instead of int[]
2026-07-02 16:20:19 -04:00
Adri1
141a079111 Adjustments 2026-06-25 04:03:21 +02:00
Adri1
8038762577 Some translations for openingBG 2026-06-18 15:30:05 +02:00
Adri1
b35bed93ef Moved openingBG to languages 2026-06-18 14:31:17 +02:00
Adri1
806798c272 Centering text 2026-06-17 23:10:20 +02:00
GearsProgress
ee87b3df3e Modifying the unown cart label to match the others 2026-05-27 17:01:51 -04:00
GearsProgress
64f25b700f Set sprites when cart is recognized 2026-05-27 16:57:51 -04:00
Adri1
83736eea2d Progresss to Progress (oopsi) 2026-05-21 17:41:10 +02:00
Adri1
6aed59db38 New Klang opening fix 2026-05-21 17:37:39 +02:00
Adri1
a3bebf955b New Klang opening 2026-05-21 17:21:24 +02:00
Adri1
8202bc418e And why not some Chinese 2026-05-11 00:36:49 +02:00
Adri1
d2cfcdd914 Moar Japanese and Korean 2026-05-10 21:26:28 +02:00
Adri1
0cc1e31f71 Logo for ES-LA 2026-05-10 20:45:57 +02:00
Adri1
1744ae7e19 More transalted images 2026-05-10 20:21:28 +02:00
Adri1
6336653f56 More translations 2026-05-10 02:24:33 +02:00
Adri1
9d3d18d413 Pixel correction on English "Dragon" 2026-04-22 19:52:04 +02:00
Adri1
0547da909e Type icons translations for latin alphabet languages 2026-04-22 19:51:23 +02:00
The Gears of Progress
1abcdd3eee Merge pull request #116 from risingPhil:fix/compress-button_no
Fix mistake with button_no.grit file -> it was not copied/moved to the language-specific folders
2026-03-11 10:51:25 -04:00
Philippe Symons
e5ef89a2be Fix mistake with button_no.grit file -> it was not copied/moved to the language-specific folders
This caused the button_no.png file to no longer get compressed.

Fixing this gains about 2KB.
2026-03-10 14:34:46 +01:00
Philippe Symons
1590a1f108 Make the debug menu functional!
This adds a lot of the debug_mode.h options as an option you can modify at runtime.

I also moved both the text debug screen and the regular debug info screen in there.

And I added an option to start song playback.
2026-03-10 00:38:44 +01:00
GearsProgress
95c6af63e4 Changing the folders back 2026-03-07 10:12:59 -05:00
The Gears of Progress
184b9f99ef Updating folder names for language graphics 2026-03-06 21:46:26 -05:00
GearsProgress
d17371ed1c Updating pt-br implementation 2026-03-05 18:11:16 -05:00
Adri1
024ff55d66 Palette correction 2026-03-02 22:14:08 +01:00
Adri1
6ff2d55543 French translation for images 2026-03-02 21:27:56 +01:00
GearsProgress
a4c4826322 Modifying build process to have language specific graphics 2026-03-01 22:08:09 -05:00
Adri1
cdc653a46e Menu bars adjustments ; POKéDEx to DREAM DEX in UI 2026-02-04 13:04:56 +01:00
The Gears of Progress
8b846a223b Adjusting text box width 2026-02-01 19:44:05 -05:00
The Gears of Progress
5447b39569 Updating dex menu and selections 2026-01-29 22:42:06 -05:00
The Gears of Progress
26b89d17fc Updating font generation 2026-01-27 09:29:28 -05:00
The Gears of Progress
48c1ae7b14 Adding font generator 2026-01-26 11:47:28 -05:00
The Gears of Progress
f50d42f61f Updating accent characters 2026-01-13 20:24:03 -05:00
The Gears of Progress
52b6b65330 Revert "Merge pull request #71 from Adri1:optimized-pngs"
This reverts commit b6d594c00c, reversing
changes made to ba69fe1dc9.
2026-01-06 13:04:28 -05:00
Adri1
3b63c06012 PNGs lossless optimization 2025-11-23 22:51:15 +01:00
The Gears of Progress
a0793c72c0 Fixing issues before implementing the CPCS 2025-09-20 17:17:20 -04:00
The Gears of Progress
08f6838c91 Fixing some graphics tearing 2025-04-08 14:28:30 -04:00
The Gears of Progress
a278bfb355 Updating Dream Dex 2025-04-06 11:57:37 -04:00
The Gears of Progress
1ee46e1719 Resolving build warnings 2025-03-30 11:56:32 -04:00
The Gears of Progress
b267912687 Continuing box updating 2025-03-27 14:37:47 -04:00
The Gears of Progress
8160bcd276 updating box menu, pre sprite grabbing 2025-03-22 15:57:22 -04:00
The Gears of Progress
91b2534b70 Updating text rendering 2025-03-19 20:55:09 -04:00
The Gears of Progress
af21da42b5 continuing work on updated text engine 2025-03-04 11:33:02 -05:00
The Gears of Progress
f4f64d0e07 Fixing button palette and modifying credits 2025-01-26 14:43:55 -05:00
easyaspi314
e4ef25e20e Compress the graphics (mostly), fix potential vram memcpy issue
This greatly decreases the ROM size, from 245 KB to 198 KB with no visual
changes (that I am aware of)

Changes:
- Enable compression on every graphic but the Pokemon sprites (which are
  too large for the GBA to decompress).
- Change grit from emitting .s files to .c files so GCC can strip unused
  palettes and maps
- Fix the empty tiles
- Trim down the font to skip 00-1F and 80-FF which were all zeroes
  - needs a slight workaround because the Pokemon name display was printing
    an invisible FF byte
- Switch memcpy to tonccpy which is vram safe
- Limit palette sizes.

Signed-off-by: easyaspi314 <6258309+easyaspi314@users.noreply.github.com>
2025-01-17 19:32:48 -05:00
The Gears of Progress
a805bbad0a Releasing wood gecko 2025-01-11 17:23:09 -05:00
The Gears of Progress
73fd2342e9 Last push before release (probably not actually though lol) 2024-08-20 23:31:07 -04:00
The Gears of Progress
1ec09842ad Updating tons of graphics 2024-08-19 14:47:29 -04:00