df5e27dd06
fix filebrowser crash caused when trying to select all files (L2) whilst a hidden file/folder exists. this crash was found by @WE1ZARD. to trigger it, press L2 in the filebrowser whilst a hidden file exists and the hide hidden is enabled. the was due to GetEntry(i) internally using m_entries_current, and the select all was using the index from m_entries_current. this would result in an index that goes oob, and as its a write, it crashes.
ITotalJustice
2025-05-03 13:17:51 +01:00
d95226f8c0
i18n::get should accept a string_view rather than char*, simplifies calling.
ITotalJustice
2025-05-03 12:59:04 +01:00
164fec5b73
fix right-side shortcut not displaying the correct name (again) when using translations.
ITotalJustice
2025-05-03 12:51:12 +01:00
96e5a7081b
clip rect and text drawing that go offscreen.
ITotalJustice
2025-05-01 23:49:01 +01:00
1c93e18822
replace all "enabled" and "disabled" options with the default "On" and "Off".
ITotalJustice
2025-05-01 22:10:47 +01:00
ac152454f0
fix menu shortcut setting translated names for the config.
ITotalJustice
2025-05-01 22:00:40 +01:00
7851f7f400
add option to extract zip to root, better name extract / compress options.
ITotalJustice
2025-05-01 18:28:35 +01:00
2b561dd438
add option to change the right-side menu.
ITotalJustice
2025-05-01 18:06:10 +01:00
3545f557fc
add scrolling text to popup list, handling clipping inside scrolling text, game menu changes - added delete entity in game menu - added list meta records to game menu
ITotalJustice
2025-05-01 15:14:50 +01:00
8dfb9b9ba6
reduce time for scrolling text from 1.5s to 1s.
ITotalJustice
2025-05-01 00:04:32 +01:00
7cf36cd25f
reduces rounding of icons in grid based menus (15 -> 5).
ITotalJustice
2025-04-30 23:59:05 +01:00
c53692022b
add scrolling text to all grid based menus.
ITotalJustice
2025-04-30 23:56:40 +01:00
0f3b7da0b2
fix memleak when deleting homebrew, add game menu.
ITotalJustice
2025-04-30 22:45:52 +01:00
e22daefb08
slightly round edges for progress and option box, add image support to option boxes
ITotalJustice
2025-04-30 18:19:13 +01:00
6fb5319da3
bump version for new release 0.8.1 -> 0.8.2
0.8.2
ITotalJustice
2025-04-30 17:21:04 +01:00
6970fec554
irs connect to first available handle, irs display connected pad in the title.
ITotalJustice
2025-04-30 17:16:59 +01:00
cca6326314
filebrowser add select al option by pressing L2
ITotalJustice
2025-04-30 16:55:33 +01:00
9176c6780a
filebrowser move install forwarder option out of the advanced menu.
ITotalJustice
2025-04-30 16:49:19 +01:00
b1a6b12cf3
add zip extraction, add zip creation, themezer now displays the file name its extracting.
ITotalJustice
2025-04-30 16:42:05 +01:00
c7cc11cc98
only add etag is dst file already exists, enable curl --compressed option. curl/libcurl does not send Accept-Encoding by default. many servers support sending compressed versions of files, to speed up transfers. this is ideal for the switch as its io is shit, but the cpu is mostly idle (4% cpu usage for sphaira).
ITotalJustice
2025-04-30 00:40:04 +01:00
ec4b96b95d
remove stale etag if the server stops sending etags back workaround for appstore images which stopped sending etags back.
ITotalJustice
2025-04-29 22:41:33 +01:00
a2e343daa7
improve popup_list to highlight the currently selected item.
ITotalJustice
2025-04-29 22:40:32 +01:00
757e380e08
play sound effect when gamecard is inserted.
ITotalJustice
2025-04-29 19:23:37 +01:00
6c1b5de932
label the shortcut for misc
ITotalJustice
2025-04-29 19:06:33 +01:00
d79ac126f7
remove all strings and error codes in error_box.cpp, reduce binary by a further 60k.
ITotalJustice
2025-04-29 18:56:55 +01:00
2d7763444e
remove Web menu the web browser on the switch is really bad, it shouldnt be used. i am removing this menu because its another option that gets in the way of other options, and code bloat.
ITotalJustice
2025-04-29 18:42:32 +01:00
1dafa2748c
remove IRS menu i added the irs menu when i wanted to mess around with the sensor on the joycon. since then, i have used it a total of 0 times, and i don't think any users use it either.
ITotalJustice
2025-04-29 18:37:43 +01:00
8f39acbaa2
replace usb protocol with tinfoils protocol, in order to support applications supporting said protocol. - replace the python script with the one included with tinfoil, minor changes such as changing the supported extension, removing unused imports. - tested with the included script, fluffy and ns-usbloader on linux. a user was unable to get it working on mac however... - added build instructions to the readme, i think they're correct. - added install instructions to the readme.
ITotalJustice
2025-04-29 18:11:07 +01:00
81469d0ac9
remove PageAlignedVector from yati as it's no longer needed due to previous commit.
ITotalJustice
2025-04-29 14:19:37 +01:00
1eae35f072
simplify the usb transfer process by using an aligned buffer to transfer to/from.
ITotalJustice
2025-04-29 14:17:12 +01:00
5b82e07b1c
fix building due to previous commit
ITotalJustice
2025-04-29 13:08:32 +01:00
73886c28ae
add gc event waiting, fix control nca mounting, better skip nca support. - gamecards now wait for an event to change, rather than polling each frame. this reduces cpu load on core 3 slightly (3-4% less). - my understanding of fsOpenFileSystemWithId() was wrong, i thought it used the app_id for the id param. turns out it needs the program id (found in the nca header), this is why mounting some control ncas would fail. fs (and ncm) have a call in 17+ to get the program id, it does so by parsing the nca header. in yati, we already have the header so we can avoid the call. for the gamecard menu, we don't. so we can parse the nca header, or use the id offset (which we already have) to form the program id. - std::find_if in yati now takes args by ref rather than by value, avoid quite large copies. - stream installs can now parse the control nca. - if an nca is already installed, it is now skipped. this is regardless to whether it is not in ncm db. - nca skipping is technically supported for stream installs, however it is disabled for now as there needs to be a way to allow for the stream to continue reading and discarding data until the stream has finished. currently, if a ftp (stream) install is skipped, it will close the progress box and cause spahira to hang. this is because sphaira expects the stream to only be closed upon all data being read, so there's nothing more to process. - renamed the title_id field in nca header to program_id.
ITotalJustice
2025-04-29 12:47:38 +01:00
eea09f6e57
[appstore] make author search case insensitive.
ITotalJustice
2025-04-28 22:06:44 +01:00
282c6e5493
bump version for release 0.7.0 -> 0.8.0
0.8.0
ITotalJustice
2025-04-27 21:01:45 +01:00
2c2f602d14
add gc_menu, add progress, icon, time remaining to progress bar (see full commit message). - fix ignore distribution bit doing nothing. - fix yati failing to parse control nca causing the transfer to abort. - yati now uses ncm rather than ns to get the latest app version. - improve ui::list input handling (it handles directional buttons now). - progress bar displays speed and time remaining. - added gc menu (taken from my gc installer nx and gci).
ITotalJustice
2025-04-27 20:01:13 +01:00
90f8a62823
display useful info in ftp menu (ip, port, user, pass, ssid, passphrase)
stream_installs
ITotalJustice
2025-04-23 01:00:36 +01:00
e2a1c8b5e3
fix yati not setting correct version, add support for using zip name when creating forwarder, remove some dead code. fixes#126fixes#127
ITotalJustice
2025-04-22 23:15:16 +01:00
21f6f4b74d
[skip ci] fix file assoc always using internal name, fix menu showing wrong time fixes#126
ITotalJustice
2025-04-22 00:08:26 +01:00
75d3b3ee0d
[skip-ci] initial support for stream installs, add ftp installs.
ITotalJustice
2025-04-21 23:23:59 +01:00
0dde379932
don't return from usb menu on error, wait until the user presses B
ITotalJustice
2025-04-21 13:33:36 +01:00
9800bbecdf
add basic support for gamecard installing
ITotalJustice
2025-04-21 13:30:46 +01:00