80 Commits

Author SHA1 Message Date
Rangi 98ffcef543 Remove webhook now that 100% of symbols are named 2026-08-02 13:10:51 -04:00
Rangi c96a2f0e8c Fix tools/unnamed.py permissions 2026-08-02 13:04:31 -04:00
Alieneer 3911801821 Label all unnamed symbols (#184)
---------

Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2026-08-02 13:03:11 -04:00
Rangi 88d2abfbc5 Use NULL instead of malloc(0) 2026-07-20 21:35:51 -04:00
Rangi 00b3dea136 Use the same build tools as pokered
Fixes #122
2026-07-05 16:00:44 -04:00
Narishma-gb e88fe24e15 Use the same Makefile build system as Gen 1+2 repos (#163)
This uses catch-all files like main.asm to reduce the total quantity and size of
build objects (from 1.1 GB to 70 MB).

---------

Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2026-07-05 15:36:09 -04:00
Rangi 9ba7b1ad90 Fix tools/unnamed.py 2026-07-01 22:06:40 -04:00
Rangi 579c4ab3fc Get rid of the baserom requirement (#159)
This should mark the disassembly as no longer a WIP.
2026-07-01 22:01:49 -04:00
Rangi bfb3ef95ca Add tools/unnamed.py webhook (#148) 2026-06-15 16:52:16 -04:00
Alieneer b923cb652c Separate more Bank $0A stuff, and remove shim system 2026-06-15 13:44:55 -04:00
Rangi 527deb9386 Tools accept - as a placeholder filename for stdin or stdout 2026-06-08 13:05:43 -04:00
Rangi 9ae3420160 Port updated tools/pkmncompress.c from pokered 2026-06-08 13:05:30 -04:00
Rangi42 5904823317 Remove executable permission from various files 2025-12-02 12:23:39 -05:00
Rangi42 3cf72d5246 Remove unnecessary --trim-trailing from gfx/trainer_gear/town_map.png 2025-09-06 12:29:54 -04:00
DrippingYellow baeb0acd54 Decompile and label all battle animations (#116)
* Began decompiling Bank $33

* Decompiled battle anim functions

* Decompiled battle anim OAM and AnimObjGFX, split up and labelled battle animation graphics, other minor changes

* Deleted useless files I forgot to delete

* Decompiled framesets

* Decompiled battle anim objects

* Partially started decompiling animations

* Finished decompiling and labelling bank 32 in its entirety

* Replaced gfx.c with latest version

* Labelled all sound effects, properly constantified

* Fixed up bg_effects.asm, other minor LYOverrides-related changes
2025-06-03 23:39:19 -04:00
Rangi b008017268 chmod +x tools/make_shim.py 2020-09-20 17:49:08 -04:00
Rangi 2baaf80989 Port simpler tools/make_shim.py from pokepicross 2020-09-20 17:43:24 -04:00
Rangi 09689c6ffd Port scan_includes.c from pokepicross 2020-09-20 17:02:44 -04:00
Rangi e9e60965a8 Fix coverage utility script 2020-08-09 15:30:06 -04:00
Rangi b7da8dbb0e tools/ contains what's needed to build the ROMs; utils/ contains disassembly utilites 2020-08-09 13:49:34 -04:00
luckytyphlosion 3b704c267c Merge branch 'master' into section-reorg 2018-07-08 21:21:12 -04:00
luckytyphlosion 5a6620021a Add maps to linkerscript 2018-07-08 18:00:32 -04:00
luckytyphlosion ca09233c9e Build files in maps/ 2018-07-08 17:34:41 -04:00
luckytyphlosion ca0ba87857 Clean up unused code. 2018-07-03 17:09:08 -04:00
luckytyphlosion e1659ecd41 Introduce linkerscript.
Addresses of sections will now be added to the linkerscript via `org`, and the section name will be the path/to/file. If there is more than one section in the file, then add a @SectionName after the path/to/file to describe the section.
2018-07-03 17:07:05 -04:00
obskyr 5a8a294140 Merge branch 'master' of https://github.com/2Tie/pokegold-spaceworld into master
Long overdue!
2018-07-03 03:29:47 +02:00
obskyr 0f034bfbc1 Touch up scan_includes for versatility
Along with a label fix...?
2018-06-18 20:24:52 +02:00
obskyr 3ac4eb121f Merge pull request #23 from obskyr/build-nicely
Fix makefile dependencies and make_shim.py
2018-06-18 18:24:19 +02:00
obskyr d6f9ff5cf7 Fix and use make_shim.py 2018-06-18 18:18:46 +02:00
obskyr 0cd5e3d610 Calculate dependencies more reliably
Until now, dependencies weren't correct on first run or if you'd added includes since last compile.
2018-06-18 15:45:28 +02:00
Tauwasser c0b094e17a tools/disasm_coverage.py: fix off-by-one error smarter to fix edge case in RB 0x00
Signed-off-by: Tauwasser <tauwasser@tauwasser.eu>
2018-06-17 11:35:47 +02:00
Tauwasser 9ce9e92697 tools/disasm_coverage: fix off-by-one error and skip zero-sized sections
Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-17 11:06:02 +02:00
Tauwasser 5957f7c2c7 tools/disasm_coverage.py: remove useless logging option
Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-17 11:05:48 +02:00
Tauwasser 0e7de2c6ce tools/disasm_coverage: add mode that reads the baserom and marks fillers at ends of banks as included in coverage
Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-17 11:05:09 +02:00
2Tie a9149c6cc3 work on talk_to_npc done, naming of some overworld logic and wram values. 2018-06-16 18:27:10 -06:00
PikalaxALT 8f9ee9325f More functions putatively related to the map and overworld 2018-06-11 11:25:14 -04:00
PikalaxALT 66f68b5b44 (Temporarily) print end of last section cluster when there is a gap in coverage 2018-06-05 09:49:37 -04:00
PikalaxALT d2be017d14 Fix bug in map2link.py 2018-06-05 09:16:55 -04:00
PikalaxALT 4a28a9d7da Minor tweak to map2link.py 2018-06-04 15:08:04 -04:00
PikalaxALT 1ed3930722 Merge branch 'master' into clean_shim 2018-06-04 12:36:50 -04:00
PikalaxALT c4b81f0916 Clean up linkerscript and add it as a Makefile target 2018-06-04 12:18:37 -04:00
PikalaxALT cf061ed929 Create linkerscript and add Python 3.6 script for linkerscript generation 2018-06-04 11:27:51 -04:00
ISSOtm 027728b3c4 Fix empty line handling 2018-06-04 17:03:50 +02:00
PikalaxALT ec992a2654 Even more informative error messages from make_shim 2018-06-04 10:16:15 -04:00
PikalaxALT 51e7c4a5cb Make make_shim a little more user-friendly 2018-06-04 10:01:28 -04:00
Tauwasser 40c8b5f0a3 tools/gfx: add option to trim trailing tiles of solid color
This helps when the last tile is completely white and the shape of the
png has additional tiles. In that case, the last tile is cut as well.

Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-03 22:16:21 +02:00
Tauwasser b50c850650 tools/make_shim: fix use of getline
Replace with fgets, which should be safe even if it
reads an internal NUL char, as all other functions will
just cut the string off in that case.

Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-03 22:14:23 +02:00
pfero 25853364c8 Update tools/sort_symfile.sh and clean up Makefile
Fixed compare being ran before the correctedheader rom was built.
Made `mostlyclean` clean up all the .d files it knows about and include
the correct .d files.
2018-06-03 20:46:15 +02:00
PikalaxALT 344904e2e0 Merge branch 'master' into build_more_roms 2018-06-03 11:05:31 -04:00
PikalaxALT 634df27635 Merge branch 'master' into build_more_roms 2018-06-03 11:04:06 -04:00