1495 Commits

Author SHA1 Message Date
d0k3
ba10ce96c3 Scripting: added cartdump command 2021-11-14 22:14:59 +01:00
d0k3
25bf8b3f93 Added installer for cifinish.bin files 2021-11-14 22:14:59 +01:00
Pk11
07cb94d99a Add 美咲ゴシック (Misaki Gothic) 8x8 Japanese font 2021-11-14 22:14:59 +01:00
Pk11
1ffbca7d46 Allow loading FRF fonts up to 0x20000 bytes 2021-11-14 22:14:59 +01:00
Pk11
942e67e507 Add Unicode hex input 2021-11-14 22:14:58 +01:00
Pk11
830479f50c Fix multibyte letters in keyboard and input prompt 2021-11-14 22:14:58 +01:00
Pk11
0275a85121 Convert old escapes to Unicode
Only does the ones below ASCII (0x00 - 0x1F), hopefully none of the high ones are important because they'll conflict with Unicode codepoints
2021-11-14 22:14:58 +01:00
Pk11
3eb92754bc Use lookup table for ASCII to avoid binary search 2021-11-14 22:14:58 +01:00
Pk11
77fc7af2f2 Use macro for UTF-8 byte count
Makes it more clear why all of the buffers are being multiplied by 4

Fix UTF-8 bytesize macro

Before UTF_BUFFER_BYTESIZE(str_width - 10)] would multiply the 10, not the whole number, by UTF_MAX_BYTES_PER_RUNE

Do (rune_count + 1) * 4 in UTF-8 bytesize macro

Fix Resize/Truncate String snprintf size

Before it would break if the last character was multi-byte
2021-11-14 22:14:53 +01:00
Pk11
b366200d4b Switch to a RIFF font format
Fix height of ラ character

I accidentally made it 1px too tall before

Add Cyrillic to default font

Make Я more like latin R

Right after I commit, looking at my screenshot I notice I forgot to tweak the Я to be more angled like this font's latin R...

Improve the default font's Kana

derp fix

Properly handle invalid UTF-8

Fix conversion PBMs with non-byte aligned rows

Rename font extension to .frf

For Font RiFf

Re-add PBM font support

Default converting to CP-437 and try guess size

Revert "Default converting to CP-437 and try guess size"

Reverts 2c9a47d224b28cbb51a3ee335fd9970265201b72 as I think the old behaviour works better given PBM font support being kept

Re-add mapping file for CP-437

Automatically use mapping file with same name as image

ex. for "font_6x10.pbm" it will use "font_6x10.txt" in the same directory
2021-11-14 22:13:55 +01:00
Pk11
13eb4f8869 Proper handling of UTF-8
Note: This commit may be slightly broken, I'm just splitting up it and the next one at the end.
2021-11-14 22:13:32 +01:00
TimmSkiller
55385a5502
Fixed inability to install a larger/smaller ticket when a smaller/large one is installed (#733)
* Fixed inability to install a larger ticket when a smaller one is installed

* improved AddBDRIEntry checks, formatting and added define for REPLACE_SIZE_MISMATCH
2021-10-23 13:19:13 +02:00
TimmSkiller
0dbe70928f
fix #729 - building titlekeys.bin files
* fix #729

* Improved code layout & show NAND type when building support files
2021-10-23 13:14:53 +02:00
aspargas2
7feeb51a65 split SHA-1 evenly over two lines (like SHA-256) 2021-10-21 18:22:07 -04:00
d0k3
c966acc851 Display SHA-1 over two lines (like SHA-256) 2021-10-09 11:58:47 +02:00
BuildTools
e042886db4 add user-facing sha1 support 2021-10-09 11:58:47 +02:00
d0k3
ddf577b88c Fix #739 2021-10-09 11:13:51 +02:00
d0k3
3124d944a6 Reenable searhcing titlekeys from illegit tickets
Fixes #595
2021-10-09 10:51:52 +02:00
Balint Kovacs
27e316571d Add a new type of flash chips, from Art Academy
It adds a new chip type, that works like regular 3DS saves. It
presumably is manufactured by Macronix as well.

Thank you for your help, @FerozElMejor on Discord and @Epicpkmn11
2021-09-26 16:36:19 +02:00
d0k3
0e46d4fca8 Ammend the borked previous commit 2021-08-31 13:36:57 +02:00
d0k3
33d59f6d3a Add 0x88 to NDS cart dumps trimmed size 2021-08-19 21:09:13 +02:00
lifehackerhansol
d85023b173 Append 0x88 to ntr_rom_size to preserve RSA keys 2021-08-12 20:39:18 +02:00
d0k3
4dc96d37e8 Fix #720 2021-07-23 14:01:19 +02:00
d0k3
c9b6a335f7 Add LARGEDLC mode for titles with > 1024 contents
Fixes #703 and is only active with `make LARGEDLC=1` and will break compatibility with other titles and CIAs. Thanks @luigoalma for new ticket builder code!
2021-07-07 18:00:11 +02:00
d0k3
33a115b75c Fix strings -> chars 2021-07-06 18:48:04 +02:00
TimmSkiller
ef161bce42 Fix NDS / DSi names being cut off when renaming to good name 2021-07-06 17:14:44 +02:00
WaluigiWare64
d8d43c14f3 Detect transparent pixels in DS icon and set them to white 2021-06-23 18:46:39 +01:00
Wolfvak
37c8c50097
fix the "conact" typo (#709)
also adds a direct link to the irc channel
2021-06-02 09:03:37 -03:00
Wolfvak
c2d96c0d9c add a "contact info" section in readme
contains both irc and discord links, and removes the discord link at the bottom
2021-06-01 20:07:02 +02:00
luigoalma
41d36c620f Make safe for editing certificate function
As long memory max bounds are still respected
2021-05-22 14:12:19 +02:00
luigoalma
4b5ac1a8e0 Certificate provide signature verification call 2021-05-22 14:12:19 +02:00
luigoalma
be289b4c55 Just search both nands for certs on callee
Since in all cases that LoadCertFromCertDb is called
is always twice, one for sysnand and another for emunand
just make it a single call and quit early when cert found.
2021-05-22 14:12:19 +02:00
luigoalma
3bfb9ef6ec Make cert bundle building nicer
At least in the caller perspective.
Also break down some functionalities into separate funcs,
interally calling them on cert.c to avoid too many checks.
And tried to avoid too much repeated code.
2021-05-22 14:12:19 +02:00
luigoalma
1f96b5e9e6 Certificate static storage
Decrease repeated load times
At least for retail/dev certs
2021-05-22 14:12:19 +02:00
luigoalma
8427e0776c Adjusting ticket.h
Just because there's a more neat to look at definition
on types.h for packed and aligned
2021-05-22 14:12:19 +02:00
luigoalma
61c17e491f Load from certs.db more accordingly
Also extra cert handling code
2021-05-22 14:12:19 +02:00
d0k3
236d2dc09c Fix CIA good renaming (add version) 2021-04-29 20:50:13 +02:00
d0k3
8680358aa1 Fix #702 2021-04-29 19:58:12 +02:00
d0k3
7e01954e48 Properly handle emanuals in update images 2021-04-01 09:29:49 +02:00
d0k3
0825139cb2 Scripting: add SDSIZE, SDFREE and NANDFREE global variables
fixes #691
2021-03-31 17:33:05 +02:00
clach04
9f431a5fde
helper text for SysNAND backup size
https://3ds.hacks.guide/finalizing-setup Section VIII, 3 - recommends 1.3 Gb free

On a Japanese firmware 11.10.0-43J - needed 950Mb free.
2021-03-31 17:07:01 +02:00
Balint Kovacs
cc99734fac Fix IR card support
This is based on the latest update of GBATEK.
2021-03-31 17:01:32 +02:00
Balint Kovacs
6799b24730 Fix a bug on 512B EEPROM saves
Fixes #690
2021-03-31 17:01:32 +02:00
Balint Kovacs
adb8ad260f Add some documentation to cart types, and remove old exports 2021-03-31 17:01:32 +02:00
Balint Kovacs
5c2ab6958c I found a new type of flash chip on a bootleg cart 2021-03-31 17:01:32 +02:00
Balint Kovacs
7af76b91bb Detect save size by the last byte of JEDEC id, if possible
This is my second attempt to resolve #553

Props to @wwylele for pointing out that the last byte of the JEDEC ID is
just the exponent of the size (base 2)
2021-03-31 17:01:31 +02:00
d0k3
ce50bd63a8 Add 5th anniversary splash screen v2.0.0 2021-03-22 17:43:33 +01:00
d0k3
1a27dcb1e8 Remove possibly faulty tickets when installing CIAs
fixes #685
2021-03-22 17:42:31 +01:00
d0k3
c20911047a Don't allow ticket installations from mounted media 2021-03-22 17:37:24 +01:00
d0k3
fd8c5d1897 Show title id & game icon in file handler menu 2021-03-18 22:44:33 +01:00