Commit Graph

53 Commits

Author SHA1 Message Date
GearsProgress
0577a450da Formatting (again) 2026-10-22 15:04:58 -04:00
GearsProgress
1738b2ebdd Moving libraries into their own folders 2026-10-18 11:27:01 -04:00
GearsProgress
f1e2b62e4a Applying formatting and moving libraries into specific folders 2026-10-18 11:07:35 -04:00
Philippe Symons
2a57c4249d Attempt to fix the lockup when transferring pokemon using the new gameboy-payload-update code
Free up some IWRAM by eliminating PokemonTables from the constructor of PokeBox and GenXPokemon/GBPokemon.
2026-08-13 11:39:18 +02:00
GearsProgress
56b0c5d6ec Adding in debug info for packet talking 2026-08-03 16:52:07 -04:00
GearsProgress
fd765d5349 Fixing pokeTable null issue 2026-07-29 19:02:59 -04:00
GearsProgress
927c0b7b7c Merge branch 'release-candidate' into gameboy-payload-update 2026-07-27 17:30:03 -04:00
GearsProgress
275120d852 Adding in the GameBoy packet commands 2026-07-03 21:05:00 -04:00
GearsProgress
50b0cdab72 Merge branch 'release-candidate' into gameboy-payload-update 2026-07-02 23:15:18 -04:00
GearsProgress
a0d2d593ed Removing Pokemon_Party 2026-07-02 16:05:47 -04:00
GearsProgress
0df1f7203f Adding the soft reset(?) and other commands 2026-06-18 21:18:16 -04:00
GearsProgress
9244fc4082 Adding GBA flag 2026-06-16 20:31:59 -04:00
GearsProgress
075dbfd162 Merge branch 'gameboy-payload-update' into pr/risingPhil/141 2026-06-04 23:23:45 -04:00
GearsProgress
e268ccccf5 Basic link packet implementation 2026-06-04 23:12:09 -04:00
Philippe Symons
6a3eba2c42 Fix missing erase_sector() call to fix stalls on save for CART link data writing
+ fix broken toggle in debug menu
2026-06-05 01:32:03 +02:00
Philippe Symons
c9ed32e3a1 Debug option: Write/Load Cable data to/from SRAM
This commit allows you to use the Write Cbl Data debug option and new Load Cbl Data debug option to dump a link's data to SRAM
or load it from SRAM and pretend like you got it over the link cable.

This is useful for capturing the link process on gameboy and replay + debug it later in an emulator.
2026-06-04 15:22:46 +02:00
GearsProgress
842f5bc259 Fixing specific payload upload process 2026-05-31 19:52:16 -04:00
GearsProgress
1232800859 Merge branch 'gameboy-payload-update' of https://github.com/Striaton-Lab-Team/Poke_Transporter_GB into gameboy-payload-update 2026-05-22 14:02:06 -04:00
GearsProgress
8d3aca3c66 Obtaining checksum from GB 2026-05-22 13:49:04 -04:00
Philippe Symons
1d57c10333 Replace text_data_table with FileContainerReader
text_data_table was very similar in concept to FileContainerReader.

But FileContainerReader is generally more flexible, as it allows you to split up your table into several chunks.
This takes away the worry of these files getting too big to compress.

However, we now have a maintenance duty for the text_tables file, which maps a table index to the list of chunks.

We also need to be careful about every use of FileContainerReader::getPointerToFileInDecompressionBuffer().

Using it is fine when you're dealing with a single chunk or if you're sure the file doesn't span multiple chunks.
But the moment you seek to a different chunk, any pointer obtained from getPointerToFileInDecompressionBuffer()
becomes stale as the decompression buffer gets overwritten.

Still, this function is necessary for high memory pressure situations, such as mystery_gift_builder, because we can't maintain
multiple lineBuffers there.
2026-05-20 13:31:28 +02:00
Philippe Symons
e5e50f5b12 Add entries to debug menu to unlock Mystery Gift and Mystery Events
NOTE: to test this with ignore_game_pak, you need to make sure DEBUG_GAME is set correctly to the game that matches
2026-05-18 12:44:35 +02:00
aestellic
bfb0717868 add indicator for finished dialogue 2026-05-01 00:56:04 -04:00
Philippe Symons
b824ced067 Update outdated comments 2026-04-29 00:21:18 +02:00
Philippe Symons
52c24c633b Add EON Ticket for Ruby Sapphire to dbg menu 2026-04-29 00:07:14 +02:00
Philippe Symons
ef661db3c8 Set up menu entry to inject old sea map 2026-04-28 23:53:10 +02:00
Philippe Symons
60c1c34fc1 Add support for debug menu submenus. 2026-04-28 23:12:01 +02:00
GearsProgress
5ad082e07a Compressing asm payloads and updating link_handler 2026-04-26 14:02:02 -04:00
GearsProgress
f76604820d Speeding things up! 2026-04-19 14:42:44 -04:00
GearsProgress
4e92542f5c Updating global_next_frame to be interrupt based 2026-04-16 13:56:50 -04:00
Philippe Symons
5a9ce8dabc Add entries to debug menu to unlock Mystery Gift and Mystery Events
NOTE: to test this with ignore_game_pak, you need to make sure DEBUG_GAME is set correctly to the game that matches
2026-04-15 21:20:41 +02:00
Philippe Symons
167f49a468 Fix grey filter over front sprite during pkmn injection 2026-04-01 22:07:39 +02:00
Philippe Symons
c2aad6d82a Show front sprite during pkmn injection 2026-04-01 21:26:19 +02:00
Philippe Symons
7636da5329 Fix some UI bugs 2026-03-31 23:12:39 +02:00
Philippe Symons
7273334efa Make gen3 pokemon injection work by fixing several bugs 2026-03-31 22:35:28 +02:00
Philippe Symons
23253193c1 Merge branch 'release-candidate' into feature/inject-gen3-pokemon-into-pcbox 2026-03-31 13:44:00 +02:00
Philippe Symons
1ee98caa55 Integrate libmgba into PTGB debug builds
This allows us to log to mgba's logging window.
It will be very useful to debug issues.

But we only allow enabling this for debug builds for license reasons.
2026-03-30 21:06:36 +02:00
Philippe Symons
db21eba3b9 Fix bug + add entry for injecting Celebi in debug menu 2026-03-26 15:30:46 +01:00
Philippe Symons
2982b9ba93 Add debug menu entry to inject Celebi (WIP) 2026-03-25 21:49:41 +01:00
GearsProgress
2779135a0c Fixing Kanto and Johto strings to be more viewable 2026-03-22 15:13:06 -04:00
GearsProgress
a68b33b94c Fixing the mulitboot load menu 2026-03-22 15:06:50 -04:00
GearsProgress
e9784c88ed Fixing cable printout 2026-03-20 23:26:08 -04:00
GearsProgress
538820521f Fixing a few more things 2026-03-18 22:58:26 -04:00
GearsProgress
0f871923b9 Removing commented out lines of code 2026-03-18 22:55:54 -04:00
GearsProgress
a7ebcd06fe Updating text engine backend 2026-03-18 22:55:38 -04:00
GearsProgress
1f29379810 Linking textbox creation to string display 2026-03-14 10:16:16 -04:00
GearsProgress
ddd61a41e4 Fixing merge issue 2026-03-11 11:14:59 -04:00
Philippe Symons
07e522fd62 Add comments, optimize rom space slightly and fix issue in debug_menu_entries.cpp 2026-03-10 11:58:43 +01:00
Philippe Symons
bd091789fb Remove useless function call 2026-03-10 01:03:26 +01:00
Philippe Symons
7d4715ab1b Hide toggle arrows when exiting the debug menu 2026-03-10 01:00:08 +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