Commit graph

274 commits

Author SHA1 Message Date
Pk11
baa14561eb
Add safety checks for low SD card space (#90)
* Some attempt.

* Enable some-safety-freespace-work nightlies

* Upload elf with nightly

* *Derp fixes.*

* Bye Bye testing things.

* Revert "Upload elf with nightly"

This reverts commit 303968cd78e466a3fcc010915565d8265acaa76a.

* Add safety checks to fcopy

Co-authored-by: StackZ <47382115+SuperSaiyajinStackZ@users.noreply.github.com>
2021-05-26 05:47:51 -05:00
Pk11
bfecbc86af Fix different signedness warning 2021-05-26 03:39:41 -05:00
Pk11
f365f8710d Add safety check to extracting 2021-05-25 22:17:20 -05:00
Pk11
376201c17e Rename libarchive headers to hpp (Part 2)
What do you mean these could've and should've been one commit? Clearly these need to be done in two parts and I didn't just forget about this
2021-04-29 23:18:29 -05:00
Pk11
bbb7a36d93 Add Korean to settings
Whoops used the wrong branch
2021-04-23 20:23:13 -05:00
StackZ
2b4e67e469 See desc for more.
[MAKEFILE]: Properly use PATH for Bannertool and Makerom instead of hardcoded to the root directory on Windows.

[QUEUE SYSTEM]: Do not allow going to Home Menu if queue isn't done. Or better said: Show the prompt message with the side effects.
2021-04-19 09:30:59 +02:00
Pk11
06086d92da Derp fix
Most of these weren't needed, and it definitely doesn't need to check <= 0 on an unsigned int, but a couple of these do need !empty() checks
2021-03-26 06:13:02 -05:00
Pk11
c95d66f0e4 A bunch of minor tweaks from cppcheck 2021-03-26 06:01:37 -05:00
StackZ
9922d29060 [THEME]: Add Description and show it on the Theme Selector. 2021-03-24 23:16:12 +01:00
StackZ
33866a53f2 Part 2. 2021-03-24 22:25:13 +01:00
StackZ
54447c2537 See desc for more.
- Blend Icons as the TextColor.

- Resize the `Add Selection to Queue` button.
2021-03-24 22:11:51 +01:00
Pk11
067be891d7 Allow lower case theme colors 2021-03-24 00:01:40 -05:00
Pk11
798a8bc668 Add touch screen buttons to prompt messages 2021-03-23 18:14:27 -05:00
Pk11
b45adba858 Make theme use objects instead of arrays
Also some minor tweaks to make things less redundant and safer
2021-03-23 18:00:04 -05:00
StackZ
cabe2f13f4 Don't set Installed, if installation failed. 2021-03-23 16:49:01 -05:00
StackZ
aa58e23c13 Also add Custom Themes to this branch.
I mean, cause why not i guess. xD
2021-03-23 16:46:10 -05:00
StackZ
2b455c2dd0 Improve prompts A LOT. 2021-03-23 13:54:01 +01:00
Pk11
77edd99749 Make JSON reading safer
- Check that the file actually opened before reading it
- If the JSON was discarded, then make just use an empty object
2021-03-23 04:47:49 -05:00
Pk11
5343661069 Don't call downloadFailed() in queue mode
That makes a waitMsg which starts a new frame... which is the same exact problem that caused the last "random" crashing xD
Fixes #76
2021-03-23 04:20:52 -05:00
Pk11
19b0543182 Use images for 中文 (简体), 中文 (繁體), 日本語, and 한국어
Note: ko.png needs to be added to the t3s to be used
2021-03-20 20:16:26 -05:00
Pk11
46b17521a7 Use system fonts for Chinese 2021-03-20 17:49:39 -05:00
Pk11
2d0e897dbc Use the correct font for args too 2021-03-19 16:48:04 -05:00
Pk11
40b981f44a Use system region's font instead of always USA 2021-03-19 16:40:19 -05:00
Pk11
36b5d9c528 Add Chinese and fix some bugs (see desc)
- Fix 3dsx in folder setting not being saved on exit
- Fix font download on language selection not having a progress bar
- Also update translations as to have something to test Chinese with
2021-03-19 05:49:53 -05:00
StackZ
517d87cbcf Fix U-U not displayin' progress on self update. 2021-03-18 14:38:15 +01:00
Pk11
ec5d0e7ab3 Re-enable Portuguese (Portugal) 2021-03-16 05:33:18 -05:00
StackZ
eaf82d8849 See desc for more.
1.) Fix Themes touch position.

2.) Properly detect if battery is full charged using `PTMU_GetAdapterState()` and `PTMU_GetBatteryChargeState()` together.
2021-03-15 16:06:10 +01:00
StackZ
afe9ef9aa5 Display Loading Screenshot... if fetching.
ALSO: Add Stack Theme and increase the  depth of the grid selector from 2 to 3.
2021-03-14 05:23:52 +01:00
Pk11
bad78f6bb8 Make A open prompts and toggle mode in queue 2021-03-13 16:19:36 -06:00
Pk11
33c4688991 Say "failed", not "succeeded" if extract fails 2021-03-13 16:16:33 -06:00
Pk11
623436598e Add option to put 3DSX files in a folder 2021-03-13 02:30:03 -06:00
Pk11
60e29ddb90
Add queue system with background downloading and much more (#73)
* Do not build here until it is merged.

* WIP: Queue System.

Right now crashes randomly for whatever reason..

* Animate queue spinner more slowly

* Use LightLocks to prevent crashing in the queue

(I hope it's fixed at least)

* Build nightlies in queue-system

* Use version.h for version and specify 7 digits

* Remove unneeded $(CURDIR)

I put that these for testing, but it's not needed

* Multiple Changes, see desc for more.

1.) Theme Implementation.
2.) Show Battery + Time.
3.) Some more work on Queue-System (might still be broke).
4.) Update Copyright to 2021.
5.) Add `%FIRM%` to regex.
6.) Mass Add to Queue.
7.) Search with AND / OR filter.

* Gaaah, not again...

* Remove DoNothing, some LightLock changes, etc

aka
Further improvements to overall system stability and other minor adjustments have been made to enhance the user experience.

* See desc for more.

- Current Queue Entry can now be canceled.

- Fix installed list.

- Display Download Speed.

- BYE BYE Queue LightLock!

* Various adjustments to the queue menu

- Make cancel button slightly smaller
- Right align "Steps: ..." text
- Remove "Current Operation:" text
- Change KB/MB/GB to KiB/MiB/GiB
- Lots of little positioning tweaks
- Fix bug where you could get stuck in the prompt
- Make spinny thing have a ! when action is needed
- Make extracting file increment at the start instead of the end
- Delete dumb VS Code file and gitignore it

* Change to hollow full charge plugged in icon

* Fix the settings positions a bit

* Fix custom font download not having prompt

Also tweak the text positions, I forgot to change them

Co-authored-by: StackZ <47382115+SuperSaiyajinStackZ@users.noreply.github.com>
2021-03-13 01:28:23 -06:00
LinuxCat
e52bd33905
adding a default option to the auto language selection (#65)
* adding a default option to the auto language selection

iirc NightScript suggested that a while ago or maybe it was giratina62 i don't remember exactly. 
also this is deleting untranslated languages cause they are useless now that there's a default option.

* Commenting untranslated languages
2021-02-15 19:17:52 +01:00
Pk11
fc26f885ba Don't try to write files if an achive error occurs
also free everything for other errors
2021-01-09 13:42:26 -06:00
Pk11
0a1aa09a95 Print file separately from "Currently extracting" 2020-12-31 03:41:20 -06:00
StackZ
03a562721b Derp fix on spritesheet loadin'. 2020-12-24 22:25:13 +01:00
StackZ
c72a6f11b3 See desc for more.
- Update Screenshots.

- Display screenshot / notes icon only, if available.

- Disable languages with small progress.

- Screenshot key is now `Y` instead of `SELECT`.
2020-12-24 03:14:33 +01:00
StackZ
6d0a923186 MainScreen: check this->entries.size() > 0. 2020-12-24 00:20:14 +01:00
StackZ
871d0722eb Just: Release Changelog notes + derp fix. 2020-12-23 23:40:04 +01:00
StackZ
a8aae7379b Cancel Shortcut creation if Name == "". 2020-12-23 12:53:03 +01:00
StackZ
07577b0fe2 \n\n's no more break. 2020-12-21 11:00:31 +01:00
StackZ
a82491a63d Fix grid scrolling. 2020-12-17 19:27:54 +01:00
Pk11
f68c6242f5 Fix incorrect alpha in PNG loading
They're actually ABGR, not BGRA, so the left side had missing pixels every few rows
2020-12-03 01:21:27 -06:00
StackZ
64977911e6 See desc for more.
- Add WAV playback back with 10 MiB as max limit.

- Some more Screenshot Menu checks.
2020-12-03 07:19:02 +01:00
Pk11
78d0dad604
UniStore list and screenshots (#54)
* Initial push.

* Fix png loading

* Remove unneeded casts

* Push my progress.

* Improve screenshot display

* Hopefully last commit here before merge?

Co-authored-by: StackZ <47382115+SuperSaiyajinStackZ@users.noreply.github.com>
2020-12-02 14:23:15 -06:00
StackZ
2e2acf819e See desc for more.
- Download Entry can now be an object for having "size".

- Show little box on the top on download list to display the entry, icon + size.

- Add Shortcut icon on download list.
2020-11-24 23:32:26 +01:00
StackZ
0ac9d6f448 Slight changes. 2020-11-16 15:20:35 +01:00
StackZ
f08bed5813 WIP: Argument | Shortcut support. 2020-11-16 13:28:45 +01:00
Pk11
05a9e35032 Spell Українська with latin ï to work in sys font 2020-11-11 12:51:01 -06:00
StackZ
cd24742621 Add Custom Font option.
Mostly for proper Ukrainian support.
2020-11-11 02:48:05 +01:00