laqieer
177ed5003b
Fix tool build on Mac
...
Error when building textencode on Mac:
```
clang: error: cannot specify -o when generating multiple output files
```
Reference: https://stackoverflow.com/questions/43525486/cannot-specify-o-when-generating-multiple-output-files-c-error
2023-03-23 20:20:38 +08:00
Cameron Wong
8fd78a99b0
run clang-format and rm artifacts
...
Signed-off-by: Cameron Wong <cwong@g.harvard.edu>
2022-11-09 16:21:49 -05:00
Cameron Wong
e0d7b560fb
improve performance of textencode
...
Introduce a simple lazy cache storing the path taken when encoding a
given symbol. This improves performance by almost 50x.
Signed-off-by: Cameron Wong <cwong@g.harvard.edu>
2022-11-09 16:18:58 -05:00
Cameron Wong
03e527935e
adjust search code to explicitly return path
...
Signed-off-by: Cameron Wong <cwong@g.harvard.edu>
2022-11-09 16:18:43 -05:00
Cameron Wong
b133f04562
add basic benchmarking
...
Signed-off-by: Cameron Wong <cwong@g.harvard.edu>
2022-11-09 11:26:53 -05:00
nat
7d3928496a
add clang-format for textencode
2022-11-09 15:52:56 +01:00
nat
90d80e9ce8
generate matching huffman tree
2022-11-09 15:48:39 +01:00
laqieer
cfaf19757f
Dump chapter map setting data
2022-10-12 02:29:46 +08:00
laqieer
c7072d13ce
Remove useless argument for textencode.
2022-08-06 23:18:23 +08:00
laqieer
0f815aae2d
Generate huffman table from input text.
2022-08-06 19:49:31 +08:00
laqieer
2e57da0e2f
Merge branch 'messdecode' of https://github.com/camthesaxman/fireemblem8u-c
2022-08-06 14:54:44 +08:00
laqieer
2e58590e7f
Build gbagfx on M1 Mac.
2022-05-26 01:03:53 +08:00
laqieer
469a206f68
Disable velocity optimization and match song805.
2022-05-02 23:42:01 +08:00
laqieer
b94d81f6c5
Improve MML compatible mode and use it to match most songs converted from MML except song815 and song816.
2022-05-02 22:49:07 +08:00
laqieer
b34d847e0b
Add MML compatible mode for mid2agb and use it to match song700.
2022-05-02 17:12:41 +08:00
laqieer
ef859eceac
Revert "Add some workarounds to mid2agb from https://github.com/freshollie/sa2 ."
...
This reverts commit 1105344759
.
2022-05-01 00:56:15 +08:00
laqieer
5ebc938f62
Add workaround to fix track alignment.
...
Some songs need to align all tracks while others not.
Add -A option to mid2agb to enable track alignment.
94d53ef4d5/scripts/dump_sound/Program.cs (L306)
2022-04-29 08:15:21 +08:00
laqieer
1105344759
Add some workarounds to mid2agb from https://github.com/freshollie/sa2 .
2022-04-29 06:15:38 +08:00
laqieer
0ec9639987
Fix: note doesn't end.
...
997a4f734d
2022-04-28 23:05:47 +08:00
laqieer
fd9ed69372
Make MIDI files to build.
2022-01-05 09:12:45 +08:00
laqieer
49c1d2c925
Dump songs to MIDI files.
2022-01-04 22:31:44 +08:00
laqieer
0d7b9356c5
Convert direct sound samples to .aif format.
2022-01-04 04:29:18 +08:00
laqieer
076fa7967a
Remove unused tools to make setting up easier.
...
A tool can be introduced if it is really used in the future. It is
meaningless to keep an outdated copy of it now.
2021-10-10 17:55:29 +08:00
laqieer
f4be571a40
Revert "fix 3: a build error caused by gcc's update"
...
This reverts commit b5ada8b6cc
.
It is reverted because it relies on ld's version.
2021-10-04 12:43:06 +08:00
laqieer
b5ada8b6cc
fix 3: a build error caused by gcc's update
...
- error: ld: cannot use executable file 'data/banim/data_banim.o.bak.o.bak.o' as input to a link
- reason: ld in latest devkitarm doesn't allow to use executable file as
input file anymore
reference: https://sourceware.org/bugzilla/show_bug.cgi?id=26223
change: a87e1817a4
- solution: fix 1 and fix 2 all cause mismatches because binaries are different due to relocations,
so use an old version ld (before Binutils 2.35 release on 24 Jul 2020 or devkitARM r55 release on 2020-07-25) instead.
2021-10-04 04:32:10 +08:00
ProjectRevoTPP
fb376ab390
fix scaninc building issue
2019-04-25 15:00:30 -04:00
Cameron Hall
ba350f686b
improve syntax of text input file
2018-03-06 14:10:41 -06:00
Cameron Hall
154394e251
create textencode tool for generating message data
2018-03-01 21:01:51 -06:00
Cameron Hall
81efd2c09d
set up build system
2018-02-19 22:55:34 -06:00