Commit Graph

47 Commits

Author SHA1 Message Date
roblabla
ab742daada Add array-style kernel_capabilities to npdms.
The array-style kernel caps look like:

"kernel_capabilities": [
    { type: "irq_pair", value: [1, 2] },
    // ...
]

Deprecates duplicate-key style.
2018-10-16 16:05:20 -04:00
roblabla
23b1993b42 JSON->NPDM: Write IRQs in the correct order 2018-10-16 16:05:20 -04:00
roblabla
34a304999c Improve error handling in elf2kip 2018-10-16 16:05:20 -04:00
thedax
3c91ce8d6b Nacptool: fix bug with title id parsing on Windows. (#19)
* Fix bug with title id parsing on Windows.

On Windows, longs (as specified by %lX) are 32-bit, not 64-bit, so assuming its size results in the upper 32-bits of the title id being lost.

* Use SCNx64 instead.
2018-10-08 12:10:55 -04:00
Michael Scire
16fcc678e2 elf2nso/elf2nro: Parse Build ID into header. 2018-07-30 16:15:19 -04:00
fincs
422537612f Bump version for release 2018-06-25 00:31:14 +02:00
Marco Baxemyr
d82447b006 romfs.c now closes the directories it opens (#13)
Fixes #12
2018-06-25 00:21:12 +02:00
Dave Murphy
1aceda46f4 add --args (#11)
* add --args

allows gathering of arguments to be sent to the nro and avoid attempted parsing by nxlink. This allows arguments starting with - and -- to be passed to the nro without getopt complaining.
2018-06-23 15:12:18 -04:00
yellows8
0e2d4806b1 Added a newline to the 'pinging switch' print and fixed a string warning in build_pfs0. 2018-05-15 17:49:23 -04:00
fincs
251e3196b0 Bump version for release 2018-05-08 13:39:49 +02:00
Dave Murphy
48d96a7033 sanitise large file support 2018-05-08 13:30:21 +02:00
Dave Murphy
d2a2a3db26 fix liblz4 cflags 2018-05-08 13:30:21 +02:00
fincs
e2d64bb2fe strtoul -> strtoull (don't assume LP64 for Windows) 2018-05-03 01:15:43 +02:00
SciresM
e68cd31c1d Add npdmtool (#9)
* Add npdmtool.

* Add support for hex string kernel version.

* elf2kip: Fixed shift for kernel_flags.
2018-05-02 12:02:07 -04:00
SciresM
227306d95a Fix errors in elf2kip (#8) 2018-05-01 19:13:41 +02:00
SciresM
92268de97b Add elf2kip (ELF -> KIP1 tool). (#7)
* Add elf2kip
2018-04-24 20:08:49 -04:00
yellows8
034f2de382 v1.3.0 2018-04-19 21:21:02 -04:00
Dave Murphy
7bec1f76f7 use unbuffered IO on windows (#6) 2018-04-19 16:15:06 -04:00
SciresM
8b93b8598b Add RomFS Building from directory to elf2nro (#5)
build_romfs, romfsdir support in elf2nro
2018-04-19 14:48:55 -04:00
Dave Murphy
42739f52c9 check env var exists before comparing (#4) 2018-03-18 22:17:45 -04:00
Dave Murphy
b53e334c76 add nxlink 2018-03-15 21:22:50 +01:00
Dave Murphy
e443264686 update version 2018-02-11 01:46:57 +01:00
Dave Murphy
a600f6403c fix liblz4 checking 2018-02-11 01:46:57 +01:00
yellows8
ffe4cfd5e2 Fixed nro bss handling where bss was 1 page too large. 2018-02-03 20:34:35 -05:00
yellows8
93f5cb18a2 Added nacptool. 2017-12-31 22:56:30 -05:00
yellows8
3d8238e1d5 Append custom data to the end of NRO for storing assets. 2017-12-30 22:13:59 -05:00
Dave Murphy
2bfd935f4a autoconfiscate 2017-12-21 13:26:34 +00:00
yellows8
f03b9277e4 Fixed bss handling in elf2nro. 2017-12-11 21:54:59 -05:00
yellows8
7c9b0c8f9e Fixed bss handling in tools. 2017-12-10 23:12:15 -05:00
yellows8
48ef86ca71 Added NRO building to buildscripts/. Added elf2nro install to tools/Makefile. 2017-11-21 15:58:58 -05:00
shinyquagsire23
21986bbcfc Adjust crt0 for NROs 2017-11-13 17:44:25 -07:00
shinyquagsire23
612b3a0451 Fix NRO section addresses 2017-11-13 17:14:51 -07:00
shinyquagsire23
d861a16023 Elf->NRO support 2017-11-13 15:26:37 -07:00
Dave Murphy
f09d45ddf1 ignore windows binaries too 2017-09-25 22:24:06 +01:00
fincs
db8c29d486 elf2nso: Ignore non-PT_LOAD program headers 2017-09-20 21:29:50 +02:00
yellows8
d754dc5f77 Updated Makefiles for tools. 2017-09-19 22:29:31 -04:00
Dave Murphy
f218544cf0 ignore generated files 2017-09-18 19:40:15 +01:00
Dave Murphy
ace86c459f copy tools to devkitA64 2017-09-18 19:25:42 +01:00
Dave Murphy
8424518ebd allow CFLAGS override 2017-09-18 19:25:15 +01:00
plutoo
e4d89175af Fix makefile, readme 2017-09-10 23:35:59 +02:00
plutoo
d6f42425db Added PFS0 tool to makefile 2017-09-09 05:30:20 +02:00
plutoo
e8edfb20f5 LZ4 returns a signed int 2017-09-09 04:51:42 +02:00
plutoo
662d1f272f Fixed bss handling 2017-09-09 04:48:27 +02:00
plutoo
ea24b7b3d4 Oops 2017-09-09 04:43:55 +02:00
plutoo
ed2afe7003 Merge branch 'master' of https://gitlab.com/yellows8/libnx 2017-09-09 04:42:06 +02:00
plutoo
9e3b673953 elf2nso 2017-09-09 04:41:57 +02:00
yellows8
8c7605b20f Added build_pfs0 under tools/. Added tools/types.h, which is from 3dstools. 2017-09-08 21:52:59 -04:00