Commit Graph

1173 Commits

Author SHA1 Message Date
YamaArashi
42e277b298 simplify delta compression algorithm 2017-01-08 16:54:21 -08:00
Cameron Hall
e2daa41862 start decompiling field_control_avatar.c (#177)
* start decompiling field_control_avatar.c

* remove field_control_player_avatar.c
2017-01-08 15:42:17 -08:00
YamaArashi
13598f390e Merge pull request #176 from yenatch/aif2pcm
aif2pcm: Remove erroneous loop markers and fix delta compression.
2017-01-08 15:39:12 -08:00
YamaArashi
b2a38fa8a5 decompile BattleAICmd_count_alive_pokemon 2017-01-08 15:32:33 -08:00
yenatch
c1330157ee aif2pcm: Accept .aiff files too. 2017-01-08 18:08:25 -05:00
yenatch
de69de433b aif2pcm: Fix delta compression for foreign audio.
The direction should not be reversed if the delta is too large.
The new code is redundant, but the intent is more obvious.
2017-01-08 18:00:49 -05:00
yenatch
10e5474a65 aif2pcm: Fix length reporting. Don't use a MARK chunk if no loop.
The reported sample length in the aif header can differ from the actual
length of the SSND chunk. The END marker was being misused to contain
the reported length, but this still counts as a loop in aif2agb, even
if the START marker is omitted (it defaults to the END value).

Now the reported length is in the COMM chunk, which is more correct.
2017-01-08 16:06:19 -05:00
YamaArashi
cee1e81cb0 rename truck_scene.c to field_special_scene.c 2017-01-08 00:31:14 -08:00
YamaArashi
11f95794b9 decompile porthole code 2017-01-08 00:22:21 -08:00
YamaArashi
529ce9f9ff dump more incbins 2017-01-07 22:08:50 -08:00
YamaArashi
177978c941 more incbins 2017-01-07 21:10:58 -08:00
YamaArashi
7e4637fa6e Merge pull request #175 from camthesaxman/berry_tag_screen
fix some nonmatching functions in berry_tag_screen.c
2017-01-07 19:54:09 -08:00
camthesaxman
0d3842c62a fix some nonmatching functions and fix formatting 2017-01-07 21:50:08 -06:00
YamaArashi
aa69fa2e0a misc. incbins 2017-01-07 19:42:14 -08:00
YamaArashi
850bdd76ac save failed screen incbins 2017-01-07 18:36:48 -08:00
YamaArashi
401741affa Merge pull request #174 from camthesaxman/contest_painting
fix some nonmatching functions in contest_painting.c
2017-01-07 18:20:27 -08:00
camthesaxman
4acd2f9657 get more functions to match and clean up 2017-01-07 20:16:03 -06:00
YamaArashi
ee4c47d8c7 naming screen incbins 2017-01-07 17:22:05 -08:00
YamaArashi
30dc3d6fbf menu cursor incbins 2017-01-07 16:43:31 -08:00
YamaArashi
44dfc173df roulette incbins 2017-01-07 16:21:10 -08:00
YamaArashi
cb875db737 Merge pull request #106 from camthesaxman/header_language
Mark header files as the correct language for GitHub
2017-01-07 14:44:26 -08:00
YamaArashi
0286de627b pokenav incbins 2017-01-07 13:02:50 -08:00
NieDżejkob
7beba74f45 start decompiling daycare.s (#173)
* First matching daycare_count_pokemon

* Update the code style and tidy up daycare_count_pokemon
2017-01-07 12:02:43 -08:00
camthesaxman
022f4210ac get HoldContestPainting to match 2017-01-07 13:54:50 -06:00
camthesaxman
50f7bf64ee get ShowContestPainting to match 2017-01-07 12:41:48 -06:00
YamaArashi
cdecaed3c9 Merge pull request #171 from marijnvdwerf/decompile/credits
Continue decompilation of credits
2017-01-07 10:26:04 -08:00
YamaArashi
dc542dce60 Merge pull request #172 from camthesaxman/fix_nonmatching
fix up bard_music.c
2017-01-07 10:24:38 -08:00
camthesaxman
3048a1dd43 clean up and formatting 2017-01-07 12:14:13 -06:00
camthesaxman
8d1200c0af get sub_814A2EC to match 2017-01-07 12:06:17 -06:00
Marijn van der Werf
eac8f3514f Unindent switch 2017-01-07 18:45:09 +01:00
Marijn van der Werf
b56b8bc3b4 Update code style 2017-01-07 18:27:35 +01:00
Marijn van der Werf
771b8a7cfe Continue decompilation 2017-01-07 17:05:00 +01:00
YamaArashi
d8aee3a4a5 decorations incbins 2017-01-07 02:54:24 -08:00
YamaArashi
b5774cc1b9 make ROM match 2017-01-07 02:21:46 -08:00
YamaArashi
87eac14024 Merge pull request #170 from marijnvdwerf/decompile/credits
Continue credits
2017-01-07 02:16:28 -08:00
Marijn van der Werf
481f403dfe Continue credits 2017-01-07 11:14:52 +01:00
YamaArashi
f7beca7c60 bard incbins 2017-01-07 01:03:29 -08:00
YamaArashi
67774fb5dc no more wave bins 2017-01-07 00:48:44 -08:00
YamaArashi
1f6776e991 slot machine incbins 2017-01-07 00:31:37 -08:00
Cameron Hall
c4c79da09a finish decompiling intro.c (#169)
* finish decompiling

* remove intro.s
2017-01-06 23:54:16 -08:00
YamaArashi
8c4b69e1d0 make ROM match 2017-01-06 21:01:49 -08:00
yenatch
c7398d66cb Dump the cries and rewrite aif2pcm. (#156) 2017-01-06 20:12:47 -08:00
YamaArashi
17118c1b09 fix broken build 2017-01-06 19:00:45 -08:00
YamaArashi
5428379474 Merge pull request #168 from camthesaxman/intro
decompile more intro functions
2017-01-06 18:48:55 -08:00
camthesaxman
b6b9ebd3ee decompile more intro functions 2017-01-06 20:32:46 -06:00
YamaArashi
b9ac748a2c Merge pull request #167 from marijnvdwerf/decompile/credits
Start decompiling credits
2017-01-06 16:03:44 -08:00
Marijn van der Werf
f1a304b7e4 Start decompiling credits 2017-01-07 00:55:24 +01:00
YamaArashi
350bd3b11a complete PokemonStorage struct 2017-01-06 02:34:39 -08:00
YamaArashi
2b1a767e57 trim whitespace 2017-01-06 01:27:27 -08:00
YamaArashi
8f48d74066 make BattleAICmd_unk_30 match 2017-01-06 01:26:05 -08:00