Commit Graph

11 Commits

Author SHA1 Message Date
HookedBehemoth
e0102f552f use sizeof u64 instead of hardcoded value 2020-06-05 17:55:16 +02:00
HookedBehemoth
9e7e7b0d6d remove static assert 2020-06-05 11:57:05 +02:00
HookedBehemoth
1943ce60cd add content and save data owner parsing 2020-06-05 11:51:01 +02:00
Somebody Whoisbored
e607ced3e2 Support SystemResourceSize property in NPDM META (#26) 2020-01-10 12:35:29 +01:00
Steven Mattera
d12b301b19 Limited the name to 10 characters. (#23) 2019-05-09 12:48:17 +02:00
roblabla
9d39e91fb0 Allow service_host and service_access to be NULL.
Fixes compatibility with old-style JSON, and is more flexible anyways.
2018-10-30 17:41:00 +01:00
roblabla
1c382d5c09 Avoid using duplicate keys in service_access
Splits service_access into service_host and service_access, both arrays of
strings.

We output service_host first, as that seems to be what Nintendo is doing - all
their NPDMs have service hosts before service accesses.
2018-10-16 16:05:20 -04:00
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
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