Commit Graph

154 Commits

Author SHA1 Message Date
red031000
f2fec2df12 change some numbers over to constants 2023-01-15 11:52:49 +00:00
PikalaxALT
55e46e35dd Merge branch 'master' of github.com:pret/pokediamond into pikalax_work 2021-11-24 13:35:10 -05:00
PikalaxALT
661a12d18b Sync msgenc fixes from heartgold 2021-11-24 12:30:48 -05:00
PikalaxALT
32a760a28b Fix bin2obj syntax error 2021-11-24 12:21:46 -05:00
PikalaxALT
12511797aa Fix bin2obj compile error 2021-11-24 10:55:48 -05:00
PikalaxALT
c619240cac Fix build system for macOS 2021-11-24 09:38:34 -05:00
PikalaxALT
7af4107235 Fix Makefile issues with OSX 11.6 2021-11-11 15:21:59 -05:00
PikalaxALT
2e8f24c114 Merge branch 'master' of github.com:pret/pokediamond into pikalax_work 2021-11-06 17:54:08 -04:00
PikalaxALT
344a645b5a Fix areawindow png 2021-11-06 10:57:37 -04:00
shinyquagsire23
ba7202457f Update build scripts for MacOS Monterey; Use pkg-config on all platforms; MacOS no longer needs static libc++fs; Use gsed on MacOS 2021-11-05 19:58:55 -07:00
shinyquagsire23
04d90cff95 Use local elf headers for MacOS 2021-11-05 19:54:23 -07:00
shinyquagsire23
b142ac6e48 Fix stack corruption off-by-one in mwasmarm_patcher which triggered stack cookie checks on ARM64 MacOS 2021-11-05 19:51:59 -07:00
PikalaxALT
bb0e3a3b7f Merge branch 'master' into msgenc_refactor 2021-08-30 20:44:35 -04:00
Akira Akashi
3fb6073717 Merge branch 'master' into nitrobanner-fs 2021-08-30 23:25:08 +01:00
Akira Akashi
30d5f531af Merge branch 'master' into msgenc_refactor 2021-08-30 23:08:09 +01:00
tgsm
19ce13de0d nitrobanner: Fix potential issue with older compilers 2021-08-29 02:39:44 -04:00
PikalaxALT
91da8c9851 Fix extra space in msg commands 2021-08-27 14:40:37 -04:00
PikalaxALT
0117a86e52 Fix two dumps 2021-08-27 14:19:13 -04:00
PikalaxALT
1f3cb97336 Add msgenc -D switch 2021-08-27 14:06:31 -04:00
PikalaxALT
7144a71ec4 Refactor msgenc to pass keys via cli arg 2021-08-27 13:00:48 -04:00
PikalaxALT
71a3c2e14a Port bin2obj from NitroSDK 2021-08-22 14:34:48 -04:00
PikalaxALT
a1016647f6 Merge remote-tracking branch 'origin/master' into pikalax_work 2021-08-22 08:17:16 -04:00
tgsm
352605c1b5 Add nitrobanner tool
This tool was made from reverse-engineering the Nitro SDK's makebanner,
and is intended to replace that program.

It has been tested to match the Diamond/Pearl banners as well as the
HeartGold/SoulSilver banners.
2021-08-21 22:20:45 -04:00
PikalaxALT
6a0b937064 nitrogfx compatibility with MSVCC 2021-08-21 18:42:30 -04:00
PikalaxALT
dc1072ecfc Remove duplicate function declarations 2021-08-15 18:01:25 -04:00
PikalaxALT
79e77921c3 Output NARC contents as C enums in .naix files
You can include these by typing out the full path to the .naix file
(minus the files/ prefix). Example:

```c
```

Also:
- Build the filesystem before building the C objects
2021-05-29 18:45:31 -04:00
Rémi Calixte
571d9a8d7c Merge branch 'master' into unk_02016B94 2021-05-20 11:46:25 +02:00
red031000
73d208810e implement nitrogfx ncer mapping type 2021-05-19 22:58:03 +01:00
PikalaxALT
4ae167ebbd Pedantic updates to fixrom 2021-05-15 12:33:50 -04:00
PikalaxALT
de8b920cbe fixrom: crc16 now resembles a proper crc16 routine 2021-05-14 21:21:31 -04:00
Rémi Calixte
a50b0bd905 Merge branch 'master' into unk_02016B94 2021-05-13 19:37:12 +02:00
red031000
6a869e2a8f NCER multiple label support 2021-03-30 22:46:46 +01:00
Rémi Calixte
da21d9dc67 asm_processor: fix number of skip instructions 2021-03-27 18:40:05 +01:00
Rémi Calixte
e831892511 asm_processor: split padding functions are broken so set a high limit 2021-03-27 18:39:33 +01:00
Rémi Calixte
352625ff40 asm_processor: count bls, .word and .extern correctly 2021-03-27 18:38:59 +01:00
Rémi Calixte
4ed9bcf63a asm_processor: support asm comments with ; 2021-03-27 18:38:30 +01:00
red031000
a48d4ca566 Merge branch 'master' of https://github.com/pret/pokediamond 2021-03-21 21:29:54 +00:00
hondew
1cd32c047c Fix more broken relocations 2021-03-21 10:07:09 -04:00
hondew
a3f1dea5a8 Unix format for asm_processor.py 2021-03-21 00:49:22 -04:00
hondew
1a9c2488da Don't forget asm_processor... 2021-03-21 00:36:12 -04:00
hondew
c420e4569f Retry update permissions 2021-03-21 00:21:16 -04:00
hondew
0331bf6f27 Update permissions 2021-03-21 00:03:05 -04:00
hondew
2fe62832f7 Use asmproc for text.c nonmatch 2021-03-20 23:20:12 -04:00
hondew
08b17cc7dd Make func name in symtab point to correct text section 2021-03-20 23:14:20 -04:00
hondew
140718cbb2 Fix bug preventing relocations from getting updated and inserted 2021-03-20 18:24:59 -04:00
red031000
2a67d8b7e3 fix asmproc 2021-03-19 19:42:00 +00:00
red031000
91d218a865 more 2021-03-19 19:08:08 +00:00
hondew
19651447d5 Make asmproc produce a linkable obj
Document compile.sh
2021-03-15 00:08:20 -04:00
red031000
63bcf753d4 GenerateFontHalfRowLookupTable nonmatching 2021-03-12 17:21:48 +00:00
red031000
d290ce10aa only perform modulo if the tile is not -1 2021-03-04 20:17:58 +00:00