Commit Graph

425 Commits

Author SHA1 Message Date
The Gears of Progress
9b7be5b24f
Merge pull request #105 from risingPhil:feature/add-maxmod-support-to-ptgb
MaxMod sound engine lib integration
2026-02-23 22:35:32 -05:00
The Gears of Progress
47396a262c
Merge pull request #102 from risingPhil:reduce-romsize-3kb
Reduce romsize 3kb
2026-02-23 22:32:48 -05:00
Philippe Symons
a7d8beb973 MaxMod sound engine lib integration
This commit integrates the MaxMod sound engine into PTGB.

Some test code already existed, but now it's done for real.

I added a thin API wrapper in sound.c/sound.h to abstract the sound engine.

One of AquaticAlloy's test songs was added to the main menu as a proof of concept.
We may want to disable it before the actual merge though.
2026-02-23 13:08:35 +01:00
Philippe Symons
3a5366e0af This commit reduces our romsize by 3KB by optimizing away libc's malloc() function
The problem was that our custom_malloc was not marking these functions as extern "C".
Therefore libc's malloc function and everything linked to it was still getting pulled into our
rom.

Fix: mark these functions as extern "C". This ensures that these functions aren't getting pulled in
from libc. This reduces our rom size by 3KB
2026-02-17 16:24:06 +01:00
The Gears of Progress
bcc890f0f2
Merge pull request #99 from GearsProgress/latest-release
Pull latest-release modifications into release-candidate
2026-02-09 22:25:42 -05:00
The Gears of Progress
c0977e4a8e Adding "release.xlsx" for legacy builds 2026-02-09 22:22:03 -05:00
The Gears of Progress
a120490bcd
Update .gitmodules to use HTTPS 2026-01-12 12:35:07 -05:00
The Gears of Progress
ded25f416e Modifying Makefile 2026-01-08 17:17:29 -05:00
The Gears of Progress
2b7aeebe6b Merging pull request 2026-01-08 17:17:05 -05:00
The Gears of Progress
602870065a
Merge pull request #93 from GearsProgress/latest-release
Revert "Merge pull request #71 from Adri1:optimized-pngs"
2026-01-08 17:02:16 -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
The Gears of Progress
dbcd0c7f3f
Merge pull request #90 from GearsProgress/revert-89-latest-release
Revert "Moving PNG compression to Release Candidate"
2026-01-06 12:59:04 -05:00
The Gears of Progress
2d96cbfae8
Revert "Moving PNG compression to Release Candidate" 2026-01-06 12:58:53 -05:00
The Gears of Progress
885cc6a83e
Merge pull request #89 from GearsProgress/latest-release
Moving PNG compression to Release Candidate
2026-01-06 12:56:18 -05:00
The Gears of Progress
b6d594c00c
Merge pull request #71 from Adri1:optimized-pngs
PNGs lossless optimization
2026-01-06 11:50:46 -05:00
The Gears of Progress
83ea96c78f
Merge pull request #88 from risingPhil:feature/copy-loader-to-root-folder-and-name-it-as-standalone
Copy loader.gba to the root folder and rename to Poke_Transporter_GB_standalone.gba at build time
2026-01-06 11:50:33 -05:00
RisingPhil
558eb92790 Copy loader.gba to the root folder and rename to Poke_Transporter_GB_standalone.gba at build time
This avoids forgetting about it when doing a release.

I also modified the documentation to reflect this new name.

BONUS change: I also documented the cartridge swap reset problem in the README.md
2026-01-06 11:45:34 +01:00
The Gears of Progress
6b8c4d3e51
Merge pull request #87 from GearsProgress/latest-release
Updating RC
2026-01-03 17:47:02 -05:00
The Gears of Progress
ba69fe1dc9
Merge pull request #86 from GearsProgress/release-candidate
Setting as release version
2026-01-03 17:46:23 -05:00
The Gears of Progress
9fd3ff8e0b Setting as release version 2026-01-03 17:45:30 -05:00
The Gears of Progress
d55d27210b
Merge pull request #85 from GearsProgress/release-candidate
Merging in invalid Pokemon bug fix
2026-01-03 17:36:07 -05:00
The Gears of Progress
94a9189af7
Merge pull request #84 from GearsProgress/invalid-pkmn-fix
Invalid pkmn fix
2026-01-03 17:32:04 -05:00
The Gears of Progress
97e1333078 Removing extra debug info 2026-01-03 17:31:30 -05:00
The Gears of Progress
a9ed64d69a Merge branch 'invalid-pkmn-fix' of https://github.com/GearsProgress/Poke_Transporter_GB into invalid-pkmn-fix 2026-01-03 17:29:43 -05:00
The Gears of Progress
fff4588d4a Updating packet debug features and restricting data offset to positive numbers 2026-01-03 17:29:36 -05:00
The Gears of Progress
4d3f63dc67
Merge pull request #83 from GearsProgress/release-candidate
Updating branch
2026-01-03 17:27:08 -05:00
The Gears of Progress
3b3a675f80 Merge remote-tracking branch 'origin/invalid-pkmn-fix' into release-candidate 2026-01-03 17:20:36 -05:00
The Gears of Progress
63b6931845 Enabling Japanese 2025-12-21 17:14:18 -05:00
The Gears of Progress
37be3036ff Temporarilly disabling language text parsing 2025-12-21 17:11:33 -05:00
The Gears of Progress
d9314eb60f
Merge pull request #79 from GearsProgress/latest-release
Update release-candidate to match latest-release
2025-12-20 11:43:34 -05:00
The Gears of Progress
8347f63286
Merge pull request #78 from risingPhil:use-pccs-as-a-proper-static-lib
Use pccs as a proper static lib
2025-12-17 10:44:30 -05:00
The Gears of Progress
80a4d835c1 Updating PCCS version 2025-12-17 10:43:55 -05:00
The Gears of Progress
e792cc47b1 Fixing file path 2025-12-17 10:41:41 -05:00
Philippe Symons
a7d1bc76e1 Merge remote-tracking branch 'upstream/latest-release' into use-pccs-as-a-proper-static-lib 2025-12-16 19:15:36 +01:00
Philippe Symons
4f1d961b2d Update PCCS submodule 2025-12-16 19:14:14 +01:00
Philippe Symons
5c1ff16623 Revert docker-compose file. The latest change broke it for Linux 2025-12-16 11:23:40 +01:00
RisingPhil
8fda76db5c Do the same fix for payload-generator on MinGW64 as we did for PCCS 2025-12-16 10:16:36 +01:00
Philippe Symons
bb9f4ae0f1 Update PCCS submodule 2025-12-16 10:52:17 +01:00
Philippe Symons
9997f3b61d Use libPCCS as a proper static lib
Split up data-generator into payload-generator (PTGB) and table-generator (PCCS)

The reason for this is because we don't want the dependencies to the payload stuff in PCCS.
And the tables are embedded inside libPCCS now.

Because we want to use libPCCS as a proper static lib, we now use its new Makefile to build it
before we build Poke_Transporter_GB.
2025-12-13 21:01:34 +01:00
The Gears of Progress
a5ff585596
Merge pull request #76 from GearsProgress/latest-release
Refactoring to latest "latest release" branch
2025-12-06 15:50:56 -05:00
The Gears of Progress
9ca5c650d0 Working on debugging 2025-12-03 22:08:35 -05:00
The Gears of Progress
8266448b36
Merge pull request #75 from risingPhil/move-pccs-into-git-submodule
Replace the PCCS code with a git submodule
2025-11-27 17:19:08 -05:00
Philippe Symons
a7b2703bf8 Replace the PCCS code with a git submodule
This eliminates duplicate code. - Only maintain the code in one place!

To make sure the submodule is getting cloned too after cloning Poke_Transporter_GB, execute:
git submodule update --init --recursive

To update the submodule to a newer commit/different branch:

cd PCCS
git pull
git checkout <commit_or_branchname>
cd ..
git add PCCS
git commit
git push

The way it works is that a specific commit is tied to your Poke_Transporter_GB repository's PCCS folder.
2025-11-27 23:14:29 +01:00
The Gears of Progress
2b682b185f
Merge pull request #73 from risingPhil/fix-latest-release-compile-errors
Fix a couple of compile errors on latest-release branch
2025-11-27 14:41:51 -05:00
Philippe Symons
0f8236575a Fix a couple of compile errors on latest-release branch
- Fix make clean by adding -f flag when removing output.json

- Fix broken compress_lz10.sh script: it had a check to avoid compressing when the
  input bin file hasn't changed. But the -nt operator also returns false if the output
  file doesn't exist.

- Fix compilation error on conflicting u32 typedef: libtonc defines one and so does data-generator.
  We shouldn't redefine it if the one from libtonc exists. The one in data-generator exists for compiling
  the tool for pc.

- Fix Dockerfile. For some reason the Dockerfile was now failing because Ubuntu manages the python pip
  packages. I fixed it with the --break-system-packages shortcut. It should be fine.
2025-11-27 20:27:35 +01:00
Adri1
3b63c06012 PNGs lossless optimization 2025-11-23 22:51:15 +01:00
The Gears of Progress
37bbc0c2d2
Merge pull request #69 from GearsProgress/latest-release
Update READMEs
2025-11-10 16:47:38 -05:00
The Gears of Progress
719f03af5a
Update README.md 2025-10-12 17:54:44 -04:00
The Gears of Progress
b4ac3fd597
Update README.md 2025-10-12 17:54:00 -04:00
The Gears of Progress
f29b906243
Merge pull request #67 from GearsProgress/release-candidate
Release candidate
2025-10-12 17:47:25 -04:00