Commit Graph

135 Commits

Author SHA1 Message Date
PikalaxALT
b839c21307 Fix/suppress warnings when building with gcc-8 2019-06-26 16:42:57 -04:00
PikalaxALT
fb06e4a3c9 Modernize code
Can compile with arm-none-eabi-gcc 8.3.0
gbafix correctly handles ELF input
2019-06-26 12:12:10 -04:00
DizzyEggg
dfb9a1fa16 Add all new cries 2019-05-14 10:58:11 +02:00
PikalaxALT
657068359d Better dependency handling for wild_encounters 2019-05-08 17:06:39 -05:00
Marcus Huderle
0babaa8c07 Convert wild encounter data to JSON 2019-05-08 17:06:39 -05:00
Phlosioneer
b0c634d531 Support absolute paths 2019-03-07 08:46:55 -06:00
Phlosioneer
105e1721d6 Overhaul scaninc to work recursively
This also fixes the bug where scaninc would ignore #include lines
in assembly files.
2019-03-07 08:46:55 -06:00
Phlosioneer
05ad946b83 Ignore trigraph warning 2019-02-10 22:12:43 -05:00
huderlem
b0ee100975
Merge pull request #543 from pret/mapdata
Convert map data to JSON
2019-02-04 21:36:18 -06:00
garak
82abc164dc convert mapjson.py to mapjson.cpp 2019-02-03 09:38:29 -06:00
DizzyEggg
26b371e080 Update Makefile 2019-02-01 10:37:50 +01:00
DizzyEggg
b4055e4fc0 Merge m4a files into one, get rid of one asm 2019-02-01 10:37:13 +01:00
DizzyEggg
7750a8126d CgbSound is decompiled. 2019-02-01 00:25:31 +01:00
Marcus Huderle
29d6221935 Convert map data to JSON 2019-01-31 15:51:20 -06:00
Philipp AUER
e13895e58a fix debug symbol in Makefile 2019-01-11 10:41:51 -06:00
Philipp AUER
372d5f63d8 add debug flag to Makefile 2019-01-11 10:41:51 -06:00
nullableVoidPtr
7c57699fa5 Remove sed from ld_script, replace with INCLUDEs 2019-01-01 00:38:49 +08:00
DizzyEggg
89866652fa
Remove superfluous compiler flags 2018-12-29 12:46:03 +01:00
Diegoisawesome
09d09122bc
Merge pull request #384 from garakmon/subdirs
Subdirectories in build
2018-11-15 14:25:21 -06:00
garak
c067c4e617 fix dependency scanning 2018-11-14 19:12:12 -05:00
garak
87ec71f71b subdirs in build 2018-11-14 17:59:30 -05:00
Diegoisawesome
ec5360364b Use relative path for mid2agb 2018-10-03 23:16:52 -05:00
Diegoisawesome
7ceabffc84 Clean .s files in midi folder 2018-09-23 23:52:04 -05:00
Diegoisawesome
a63f3ce872 Set up Makefile for MIDIs 2018-09-22 20:28:32 -05:00
Diegoisawesome
b9e0cf9f6f
Merge pull request #323 from Diegoisawesome/master
Fix gbafix
2018-09-11 17:34:37 -05:00
Marcus Huderle
ba125b23fd Remove transparency from event object spritesheets 2018-09-11 17:18:10 -05:00
Diegoisawesome
8026188e36 Make long param use two dashes 2018-09-10 13:15:53 -05:00
Diegoisawesome
aa0782c40b Make gbafix silent 2018-09-10 12:13:07 -05:00
Slawter666
291ac2cee9 Add build rules for overworld sprite sheets 2018-09-08 00:28:32 +01:00
Diegoisawesome
064216d3be Add gbafix from devkitPro/gba-tools 2018-08-29 23:39:03 -05:00
Diegoisawesome
7737025f4e Use gbafix to generate header and checksum 2018-08-29 16:34:59 -05:00
Garak
e0a9faacb5
sha1sum -> sha1 2018-08-11 21:29:54 -04:00
Garak
2cfc7bd358
change darwin check 2018-08-11 21:21:43 -04:00
garakmon
1ab872c68e Allow make compare to work on all platforms 2018-07-18 15:06:18 -04:00
Garak
e06b63efc9
Merge pull request #1 from pret/master
synching with source repo
2018-07-04 11:11:45 -04:00
Marcus Huderle
89d35e82a2 Move 'map attributes' into 'layouts' 2018-06-20 19:54:21 -05:00
garakmon
9766108fbc adding agbcc include path
For some reason the headers for agbcc are being installed in
tools/agbcc instead of tools/agbcc/include. This is a simple
(potentially temporary) workaround.
2018-06-16 19:03:20 -04:00
Diegoisawesome
dd28854a22
Merge pull request #255 from DizzyEggg/decomp_record_mixing
Fix pika's Record Mixing PR
Also closes #107.
2018-05-30 16:51:30 -07:00
Diegoisawesome
489f90b832 Update Makefile with help from devkitPro maintainers 2018-05-22 18:46:38 -05:00
PikalaxALT
590c4b500b Merge branch 'master' into record_mixing 2018-02-11 20:12:40 -05:00
PikalaxALT
19864d3cd9 Fix for windows 2018-01-21 19:16:15 -05:00
scnorton
454e44aa43 Use standard flags to link libgcc, libc 2018-01-21 12:37:17 -05:00
golem galvanize
311a18ee9a edit instructions and makefile 2018-01-20 22:58:42 -05:00
Diegoisawesome
fd267b2dc3 Remove duplicate LIBC line from makefile 2018-01-17 00:38:18 -06:00
Diegoisawesome
6fa37dc82c Merge remote-tracking branch 'Pikalax/mac_build_and_libc' 2018-01-16 23:52:11 -06:00
scnorton
d8bb1d15e7 Merge branch 'master' into mac_build_and_libc 2018-01-16 17:09:36 -05:00
yenatch
84d364819a add a rule for baserom.gba 2018-01-13 01:32:10 -05:00
yenatch
98ee41806e use .SECONDARY instead of .PRECIOUS to prevent files from being deleted 2018-01-13 01:30:43 -05:00
yenatch
294c9656be fix broken build after building without tools 2018-01-13 01:30:08 -05:00
Marcus Huderle
d1630d481a
Merge pull request #155 from ProjectRevoTPP/assert
add assert support to pokeemerald.
2018-01-11 18:25:42 -08:00
Diegoisawesome
80cfce776b Mark sound files as precious 2018-01-09 20:01:01 -06:00
Diegoisawesome
4e4b18e04f Remove sample bins and update makefile 2018-01-09 19:37:10 -06:00
scnorton
09d3da101b Implement agbcc's libc and allow a custom cxx compiler to be passed to build_tools.sh 2018-01-09 15:53:17 -05:00
ProjectRevoTPP
7be61cfb1a add assert support to pokeemerald. 2018-01-06 21:12:42 -05:00
Diegoisawesome
2d04eb22ab Split rom_81370FC and port function names 2017-12-28 02:09:11 -06:00
sceptillion
d6987ee9b9 dump songs 2017-12-21 14:30:11 -08:00
camthesaxman
caa13f8777 convert some constants to C headers 2017-12-05 11:55:48 -06:00
PikalaxALT
567b2af081 Drop tracking on gbapal files 2017-11-11 14:38:53 -05:00
PikalaxALT
f8486b31c5 sub_80E6CA0 2017-11-03 21:56:18 -04:00
PikalaxALT
c042e5148b Decoration + decoration_inventory (#89)
* SetDecorationInventoriesPointers

* ClearDecorationInventories

* CheckHasDecoration

* DecorationAdd

* DecorationCheckSpace

* DecorationRemove

* sub_8161A38

* CountDecorations; Funcion renaming

* Disassemble decoration data structs, tilemaps, and descriptions

* sub_8126968

* sub_81269D4

* through sub_8126A88

* through sub_8126B2C

* sub_8126B80

* sub_8126C08

* sub_8126C48

* sub_8126CA4

* sub_8126D10

* sub_8126E44

* sub_8126E8C

* sub_8126F68

* sub_8127058

* sub_8127088

* sub_81270E8

* through sub_8127208

* through sub_8127268

* sub_8127284

* through sub_81272F8

* sub_8127330

* through sub_8127480

* sub_81274A0

* sub_8127500; makefile now tells scaninc to scan headers

* Actual real fix to mapfile being in build/emerald instead of wd

* through sub_812759C

* through sub_812764C

* through sub_8127744

* through sub_81277BC

* sub_81277E8

* sub_8127814

* through sub_81279C4

* through sub_8127ACC

* sub_8127B04

* sub_8127B54

* sub_8127B90

* sub_8127D38

* sub_8127E18

* sub_8127F68

* sub_8128060

* ConfigureCameraObjectForPlacingDecoration

* SetUpPlacingDecorationPlayerAvatar

* sub_812826C

* through sub_8128414

* through sub_81284F4

* sub_812853C

* sub_8128950

* through sub_8128AAC

* through sub_8128BBC

* c1_overworld_prev_quest

* sub_8128C64

* sub_8128CD4

* sub_8128D10

* sub_8128DB4

* through sub_8128E18

* through sub_8129068

* sub_8129088

* through sub_81291E8

* sub_812925C

* sub_81292D0

* sub_81292E8

* gpu_pal_decompress_alloc_tag_and_upload

* AddDecorationIconObjectFromIconTable

* GetDecorationIconPicOrPalette

* AddDecorationIconObjectFromFieldObject

* AddDecorationIconObject

* through sub_8129708

* sub_81297F8

* sub_81298EC

* SetUpPuttingAwayDecorationPlayerAvatar

* sub_8129ABC

* sub_8129B34

* sub_8129BCC

* through sub_8129C74

* through sub_8129D8C

* sub_8129E0C

* sub_8129E74

* sub_8129F20

* sub_8129FC8

* sub_812A040

* nonmatching sub_812A0E8

* through sub_812A22C

* sub_812A25C

* sub_812A2C4

* through sub_812A39C

* Remaining fns in decoration.s

* Decompile decoration headers

* Decompile all remaining decoration data that had already been disassembled

* Disassemble two data objects

* Suggest structure of list menu template

* decompile through decoration list menu template

* Disassemble decoration icon graphics table

* Rip icon gfx

* Decompile deco icon table

* Decompile more data related to drawing decorations

* Decompile gUnknown_085A7250 structs

* Decompile two sprite templates

* Decompile remaining data in decoration.s

* Decompile decoration ewram

* deco -> decor
2017-10-22 17:55:07 -05:00
Diegoisawesome
31eeff9319 Use less cd and more vars 2017-10-11 23:37:30 -04:00
ProjectRevoTPP
6d66081be0 minor tweak to make tidy. 2017-10-09 20:25:34 -04:00
ProjectRevoTPP
97c6201cfe add build/ support. 2017-10-09 02:19:44 -04:00
camthesaxman
b89f1431f8 stop optimizing literal pool loads 2017-07-28 19:26:59 -05:00
YamaArashi
e0dd5ef9a7 fix build errors 2017-04-05 13:51:55 -07:00
ProjectRevoTPP
b2ec63d69e resolve implicit declarations and enforce warnings as errors 2017-03-05 13:27:22 -06:00
YamaArashi
1268134668 decompile string_util 2017-01-14 14:20:49 -08:00
YamaArashi
734ec8dd51 use ramscrgen 2016-11-01 12:10:55 -07:00
YamaArashi
a793e62d83 .s -> .inc 2016-11-01 08:29:13 -07:00
Diegoisawesome
442002dada Ported libc from pokeruby 2016-11-01 10:17:40 -05:00
Diegoisawesome
4df1937738 Ported task.c and others from pokeruby 2016-10-31 09:43:17 -05:00
YamaArashi
deb6d7c6ba split data1.s 2016-09-03 10:20:06 -07:00
YamaArashi
8399f0af6b split data out of data2.s 2016-09-03 09:25:58 -07:00
YamaArashi
e215a4b6c5 RFU data section 2016-09-03 04:29:59 -07:00
YamaArashi
13a00040d7 eliminate libgcc.s 2016-09-03 04:11:10 -07:00
YamaArashi
c9b1c40b86 split out graphics data 2016-09-03 03:03:50 -07:00
YamaArashi
8866801ef9 make it build 2016-09-03 02:20:49 -07:00
YamaArashi
b12e80fc04 split asm/emerald.s 2016-09-03 01:11:14 -07:00
YamaArashi
b4781cdf03 gpu_regs.c 2016-01-08 01:08:16 -08:00
YamaArashi
cf8f490381 begin compiling C source in the build process 2016-01-07 00:45:06 -08:00
YamaArashi
45a115354b clean fonts 2015-11-23 18:31:37 -08:00
YamaArashi
b951fb1113 dumped fonts 2015-11-23 17:44:06 -08:00
YamaArashi
3e95160b25 tilesets 2015-11-22 15:29:11 -08:00
YamaArashi
fa863b11b6 phony targets for tools 2015-11-13 22:20:00 -08:00
YamaArashi
4c733f3811 pokemon PNGs and palettes 2015-11-13 21:57:22 -08:00