Commit graph

135 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
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
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
Pk11
067be891d7 Allow lower case theme colors 2021-03-24 00:01:40 -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
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
46b17521a7 Use system fonts for Chinese 2021-03-20 17:49:39 -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
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
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
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
871d0722eb Just: Release Changelog notes + derp fix. 2020-12-23 23:40:04 +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
StackZ
cd24742621 Add Custom Font option.
Mostly for proper Ukrainian support.
2020-11-11 02:48:05 +01:00
StackZ
0dc8369bff Woops, fixes and defines. :P 2020-11-07 10:52:08 +01:00
StackZ
ddbea3ab36 Some inline + remove useless const&. 2020-11-06 02:10:58 +01:00
StackZ
466fe27d51 See desc for more.
- Removed "beta" of Universal-DB. NOTE: This will only work at 12:00 UTC.

- Fixed downloadFile caused an error, when the folder did not exist.

- Removed sheet.png of the spritesheet, because unneeded.
2020-11-03 08:49:38 +01:00
StackZ
b6d1de03c1 See desc for more.
- Add `skip` function.
- Fix dirSelect.
- Move LangSelect to settings.
- Add bars, to keep the U-U style.
2020-11-03 02:41:38 +01:00
StackZ
67f1c6f32c See desc for more.
- Delete file, if download failed. This avoids having a useless file on the SD Card, when the download is not finished.

- Add a spritesheet download icon on Store Selection.
2020-11-02 01:14:10 +01:00
StackZ
06706e00c7 Check if directory exist first on directorySettings.
Also update Screenshots + ReadMe.
2020-11-01 11:53:50 +01:00
StackZ
a2f3efc640 See desc for more.
- Added option, to have a 400x214px custom Image as the Background on a UniStore.

- Added a header bar on almost all menus.

- Added GUI Settings.
2020-11-01 04:31:04 +01:00
StackZ
c5282a5767 WIP: Copy Progressbar.
Also: More MaxWidth & DownloadRelease JSON accept check.
2020-10-31 07:48:29 +01:00
StackZ
7f3f859194 Next progress.
- Added a Toggle Menu for auto updates.

- Left / Right can now scroll on grid to the last / next row.

- Check on MainScreen constructor, if UniStore is valid. If not, download Universal-DB, if not found.

- Reworked the menus some bit.

- Update Screenshots.
2020-10-31 05:00:20 +01:00
StackZ
6aec8dac77 Properly add slash check and fix JPN Lang selection. 2020-10-30 19:16:37 +01:00
StackZ
400acf94c8 See desc for stuff.
Added Max Width to missing stuff.

Added Screenshots and string fix.

Added Missing Regex stuff.

Added skipCount to promptMessage + added exit function.
2020-10-30 09:23:24 +01:00
Pk11
8e369d2d1f *actually* fix extraction directory making 2020-10-30 02:05:24 -05:00
Pk11
19368872c5 Revert "Fix extraction directory making"
This reverts commit 67a7a8af91.
2020-10-30 01:50:26 -05:00
Pk11
67a7a8af91 Fix extraction directory making 2020-10-30 01:32:09 -05:00
Pk11
6679f01c13 Fix extraction regex
Accidentally removed this in the commit...
2020-10-30 00:12:50 -05:00
Pk11
c20261794e Make extract progress be of the full file 2020-10-30 00:06:24 -05:00
StackZ
913475eabf
Universal-Updater Full Rewrite based of UniStore v3.0.0. (#51)
* No Nightlies for the Full-Rewrite.

* Initial push, i guess.

* Forgot to push the Test UniStore + T3X...

* Use C2D flags for wrapping and centering

* gitignore t3x correctly

* Remove Test Store and hardcode to `sdmc:/3ds/Universal-Updater/stores/Universal-DB.unistore` for now.

* Is functional now.

* *More special checks and work.*

* const <typename T> &.

* Universal-DB, not Universal DB.

* Derp.

* Make 3DSX, NDS & Archive path configurable.

* Last fixes + Fade out screen on exit.

* See Desc. for more.

- Add QR Code scan for downloading UniStores.
- Add new Graphics.
- Some fixes + improvements.

* Fix search filtering, re-sort after search

* Fix update check

* Clear search items with X, not just reset results

* The next progress.

* PLEASE tell me, this is the only error..

Co-authored-by: Pk11 <epicpkmn11@outlook.com>
2020-10-30 03:31:20 +01:00