175 Commits

Author SHA1 Message Date
Jack ac9c607875 Update makefiles to address impl func warnings on linux. (#123)
* [makerom] Update makefiles to address impl func warnings on linux.

* [makerom] bump version to v0.18.3
2022-04-22 19:20:39 +08:00
Jack e9a830f317 [MakeROM] Fix InitialData generation bugs (#121)
* [makerom] Correctly initialize prod initial_data_key_x

* [makerom] Properly select CCI CryptoType when not manually specified.

* [makerom] Bump version to v0.18.2
2022-04-17 13:35:48 +08:00
Jack cc707c160f Modernize MakeROM build system + bug fixes (#120)
* Move files around to new directory structure

* Rework libyaml into a stand-alone dep for makerom.

* Rework libpolarssl to be standalone dependency for makerom.

* Update includes.

* Delete makefile

* Add new makefile for makerom.

* Update MakeROM github actions script.

* Fix again.

* Update MakeROM's makefile

* Tweak makerom build script

* Tweak MakeROM build script.

* Fix typo

* Update MakeROM makefiles.

* Tweak CTRTool build script.

* Tweak build script

* Tweak CTRTool build script.

* Tweak CTRTool build script

* Add libmbedtls to makerom deps

* Partially migrate makerom to libmbedtls

* Break out libblz as an external dependency for makerom.

* Tweak makerom build script.

* Move dependencies to the top level.

* Put everything back.

* misc

* Update makerom documentation.

* Link to ctrtool/makerom readmes from the root readme.

* Update root readme again.

* Migrate makerom to modern mbedtls

* Bump makerom version to 0.18.1

* Change signing errors to be warnings when they fail.

* Add error verbosity to errors when generating CIA files.

* Fix bug in RSA code.

* misc.

* Remove polarssl now migration to mbedtls complete.

* Surface more makerom errors.

* [makerom] Tolerate CCI signing errors as a warning.

* Add missing return.

* Import initial data key_x (prod/dev included)

* [makerom] Fix initial data generation.
2022-04-17 10:49:05 +08:00
jakcron 416431c24e Bump version number to v0.18 2021-11-28 12:49:45 +08:00
jakcron d8cede313c Update ticket definition for makerom. 2021-03-27 12:18:45 +08:00
xprism1 73aeef12b8 Override content.encryptCia when titlekey specified 2021-01-27 02:19:55 +08:00
xprism1 24149fcf6e Override content.encryptCia when titlekey specified 2021-01-27 02:12:47 +08:00
xprism1 928d915196 Respect content.encryptCia 2021-01-27 02:09:39 +08:00
xprism1 6ebef3c42a Add support for custom decrypted TitleKey 2021-01-25 17:26:22 +08:00
Jack 45f06e32b2 Add old homebrew logo under name "HomebrewLegacy" 2020-05-10 12:50:35 +08:00
Jack d9204e52ac Update version string to 0.17 2020-05-10 10:30:37 +08:00
Jhynjhiruu 81fb1774d5 Change homebrew logo
Fix the crash on CHN 3DSes by replacing the existing homebrew logo.bin with PabloMK7's one
2020-05-09 17:07:31 +01:00
Jack e6baadf069 Bump version to v0.16.2 2020-04-28 21:27:29 +08:00
Muh Muhten 8cbeb744d7 Fix UTF-16 to UTF-8 conversion on non-Windows
U+800 to U+FFFF encode as one UTF-16 code unit, but three byte in UTF-8.
Filenames containing more characters in this range than the ASCII range
would be cut off.

This range includes all BMP Japanese characters.
2020-04-08 03:14:40 -04:00
jakcron 501c1714b3 Undo regression and re-add -ckeyid and -ncchseckey 2019-08-13 21:17:40 +08:00
Jonir Rings 148811d8b2 makefile fix: make complains "Extraneous text after `else' directive" and cause incorrect platform judgement on osx 2018-05-16 01:04:33 +08:00
jakcron 7c08e895d0 Remove unwanted files 2017-05-30 13:29:28 +08:00
jakcron de70592574 [makerom] Unbroke -target t 2017-05-28 20:53:13 +08:00
jakcron 5757ba20de [makerom] Fix encryption for production target. 2017-05-28 20:46:30 +08:00
jakcron d185b18f27 [ctrtool] fix bug with seeddb 2017-05-28 13:52:32 +08:00
jakcron b0896ecee2 [makerom] Typo 2017-05-28 11:57:14 +08:00
jakcron 6e858be07b [makerom] Relaxed support for bad signatures (-ignoresign). Warns user when something cannot be signed, instead of treating it like a fatal error. 2017-05-28 10:27:55 +08:00
jakcron 4f875b0d0b [makerom] Implemented support for secure crypto. Secure crypto is now default. Seeded keyY crypto not yet supported. Time for version 0.16!!! 2017-05-25 13:50:03 +08:00
Thog a521cd7abd Cygwin support 2017-05-17 23:56:38 +02:00
James Pelster "CaptainSwag101 dbe356686c Revert "Edited Makefile"
This reverts commit 90dca52c8d.
2017-02-09 11:43:42 -08:00
James Pelster "CaptainSwag101 2b3bc5f2a2 The '-micro' version arg no longer breaks the version number 2017-01-30 19:04:58 -08:00
James Pelster "CaptainSwag101 90dca52c8d Edited Makefile 2017-01-30 19:04:47 -08:00
profi200 70e0d1280f Fixed more warnings. 2017-01-19 00:47:58 +01:00
profi200 cf1a6fb41e Fix a few warnings (excluding polarssl ones). 2017-01-18 23:13:54 +01:00
profi200 dfabf8daa2 Added unique ID range check in makerom. Removed -flto flag since this can cause problems. 2017-01-07 22:01:23 +01:00
jakcron 7b384c6213 [makerom] Do not include logo as a ncch region if it is included in the ExeFS archive (toggled by cmd arg -exefslogo) 2016-10-06 14:12:22 +08:00
jakcron b85775479b [makerom] Warn user for not specifying any services, instead of erroring out. 2016-06-27 15:59:03 +08:00
jakcron de5c4e1b2a License both ctrtool and makerom under MIT License. 2016-06-14 18:17:59 +08:00
Jack bbf49e7230 Merge pull request #27 from piratesephiroth/master
Fix CategoryFlags always being considered invalid
2016-06-14 12:42:35 +08:00
Jack a8570b7f7f Merge pull request #33 from drizzt/master
[makerom] Fix parsing of -content option
2016-06-14 11:36:25 +08:00
Steven Smith d3be7adce1 Add seed DB access permission. 2016-05-25 18:54:47 -07:00
Timothy Redaelli 65e6974494 [makerom] Fix parsing of -content option 2016-04-13 19:03:15 +02:00
Yifan Lu cf2ba24d69 Added support for disabling padding between segments for code
Fixed potential bug where code size is calculated by taking the page size of combined segments rather than the combined padded segment size. This could be a problem, for example, if two segments add up to require two pages of padding.
Fixed potential bug where memory-size is used for codeDetails.rwSize; this counts .bss which is not in the file
2016-03-24 17:53:02 -05:00
jakcron cedbe6d149 Fixed array transfer bug. 2016-02-18 19:50:07 +08:00
piratesephiroth 521ecb71dc Fix CategoryFlags always being considered invalid 2016-02-15 05:55:59 -03:00
jakcron ce2d02b2e8 Merge branch 'master' of https://github.com/profi200/Project_CTR.git 2016-02-15 14:18:23 +08:00
jakcron 32f075b03d Fixed issue #25 2016-02-15 14:17:53 +08:00
jakcron d9556da765 Cleaned up polarssl. 2016-02-15 13:42:56 +08:00
Alex Eckhart a02d20440f Merge branch 'master' of github.com:alex34567/Project_CTR 2016-01-25 22:34:22 -07:00
Alex Eckhart a8c0850b02 Fix agb_firm cia generation. 2016-01-25 22:32:05 -07:00
jakcron 8dd652737a [makerom] Increased maximum affinity mask to 3 (from 1). 2016-01-24 04:20:44 +08:00
jakcron 167e3f5509 [makerom/ctrtool] Release 0.15 2016-01-18 23:46:25 +08:00
jakcron 58ca552e3e [makerom] Encryption is now disabled by default. 2016-01-18 23:44:58 +08:00
jakcron 3548ebb1cf [makerom] Added dev common keys: 2,3,4,5 2016-01-18 19:28:52 +08:00
jakcron 7b8d16fac6 [makerom] misc 2016-01-16 18:26:12 +08:00