71 Commits

Author SHA1 Message Date
andwhyisit 9e0256c98a Migrated some more text to the spreadsheet. 2019-03-14 23:13:52 +10:00
andwhyisit 5df6fd6071 This should fix a number of text-related bugs. 2019-03-13 00:08:15 +10:00
andwhyisit 35dd3e5ce7 Merge branch 'master' into master-to-patch 2019-02-26 23:24:57 +10:00
obskyr 5517cd33ad Don't start text in the far text bank with a text macro 2019-02-23 18:16:05 +01:00
obskyr 0a96ab4eb0 Add quotation marks to charset 2019-02-23 17:17:56 +01:00
obskyr 8dcd2160e0 Synchronize translations to the correct location 2019-02-23 17:17:17 +01:00
obskyr 351a12ae90 Add tool for synchronizing translation CSVs with Google Sheets 2019-02-23 02:12:35 +01:00
obskyr db5fd2083b Add text compilation to makefile; polish various bits 2018-09-01 07:00:32 +02:00
obskyr 0132b9cf18 Tool for compiling text CSVs to assembly files
Along with a little bit of polish for the separation tool!
2018-07-17 10:42:21 +02:00
obskyr 0b2a41528b Finish text separation tool
It now edits the assembly file to use macros in place of the text, and puts the length of the original strings in bytes into the CSV!
2018-07-17 03:50:32 +02:00
obskyr 6e6344212e Tool for separating text out to CSVs
It's not complete yet, as it needs to modify the code files to use the CSVs too.
2018-07-16 20:58:56 +02: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
ISSOtm 3a7ac51071 Make coverage script work on Python 2 again
I tested using both my Python 2 and Python 3, it worked for both.
Worked for me previously because Py3 is my default, not 2 :p
2018-06-03 16:57:02 +02:00
PikalaxALT 898c863bd4 Suspend support for Silver and non-debug ROMs 2018-06-03 10:54:49 -04:00
pfero f482d7fe1b Tell the user to get baserom.gb if it doesn't exist. 2018-06-03 16:08:32 +02:00
PikalaxALT 3a09446488 Merge branch 'master' into build_more_roms 2018-06-02 23:12:38 -04:00
PikalaxALT 8787aac995 Merge branch 'master' into build_more_roms 2018-06-02 22:57:52 -04:00
ISSOtm bbdc4926b3 Merge branch 'master' of https://github.com/pret/pokegold-spaceworld 2018-06-03 04:52:18 +02:00
ISSOtm 65f85a7bd0 Enforce reading map file as utf-8
Avoids systems using `ascii` as default to choke on stuff like `Pokémon`
2018-06-03 04:50:11 +02:00
PikalaxALT 04883f4bf9 Merge branch 'master' into build_more_roms 2018-06-02 21:26:20 -04:00
PikalaxALT 956d010d59 Make the repository build all four ROMs 2018-06-02 20:16:37 -04:00