Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Vita Homebrew Sorter: Difference between revisions

From GameBrew
m (HydeWing moved page Vita Homebrew Sorter Vita to Vita Homebrew Sorter without leaving a redirect)
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#seo:
|title=Vita Homebrew Apps (Utilities) - GameBrew
|title_mode=append
|image=vitahomebrewsortervita.jpg
|image_alt=Vita Homebrew Sorter
}}
{{Infobox Vita Homebrews
{{Infobox Vita Homebrews
|title=Vita Homebrew Sorter
|title=Vita Homebrew Sorter
|image=vitahomebrewsortervita.jpg
|image=vitahomebrewsortervita2.png
|description=Apps database sorter for PSVITA.
|description=Apps database sorter for PS Vita.
|author=Joel16
|author=Joel16
|lastupdated=2022/07/25
|lastupdated=2024/05/12
|type=Utilities
|type=Utilities
|version=1.26
|version=1.27
|license=GPL-3.0
|license=GPL-3.0
|download=https://dlhb.gamebrew.org/vitahomebrews/vitahomebrewsortervita.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/vitahomebrewsortervita.7z
|website=https://kyuhen.customprotocol.com/en/submissions/vita_homebrew_sorter
|website=https://kyuhen.customprotocol.com/en/submissions/vita_homebrew_sorter
|source=https://github.com/joel16/VITA-Homebrew-Sorter
|source=https://github.com/joel16/VITA-Homebrew-Sorter
|donation=https://www.paypal.me/Joel16IA
}}
{{#seo:
|title=Vita Homebrew Apps (Utilities) - GameBrew
|title_mode=append
|image=vitahomebrewsortervita2.png
|image_alt=Vita Homebrew Sorter
}}
}}
A basic PS VITA homebrew application that sorts the application database in your LiveArea. The application sorts apps and games that are inside folders as well. This applications also allows you to backup your current "loadout" that you can switch into as you wish.
A basic PS Vita homebrew application that sorts the application database in your LiveArea. The application sorts apps and games that are inside folders as well. This applications also allows you to backup your current "loadout" that you can switch into as you wish.


A backup will be made before any changes are applied to the application database. This backup is overwritten each time you use the sort option. You can find the backup in '''ux0:/data/VITAHomebrewSorter/backups/app.db'''.
A backup will be made before any changes are applied to the application database. This backup is overwritten each time you use the sort option. You can find the backup in ux0:/data/VITAHomebrewSorter/backups/app.db.


== Features: ==
The homebrew was participated in the KyûHEN Homebrew Contest (Utility, 3rd place).
* Sort app list by title/titleID alphabetically (ascending)
 
* Sort app list by title/titleID alphabetically (descending)
==Features==
* Sort app list by title/titleID alphabetically (ascending).
* Sort app list by title/titleID alphabetically (descending).
* Sort bubbles inside of folders only.
* Sort bubbles inside of folders only.
* Sort bubbles that are ''not'' inside folders only.
* Sort bubbles that are not inside folders only.
* Display app list after sorting is applied using ImGui's tables API.
* Display app list after sorting is applied using ImGui's tables API.
* Backup application database before sorting is applied. Note: Two backups are made. An original backup for first time use (<code>ux0:/data/VITAHomebrewSorter/backups/app.db.bkp</code>), and another backup which is overwritten everytime the sort functionality is used (<code>ux0:/data/VITAHomebrewSorter/backups/app.db</code>).
* Backup application database before sorting is applied. Note: Two backups are made. An original backup for first time use (ux0:/data/VITAHomebrewSorter/backups/app.db.bkp), and another backup which is overwritten everytime the sort functionality is used (ux0:/data/VITAHomebrewSorter/backups/app.db).
* Custom loadouts to backup/restore. (Do note: If you install a new application after you've already backed up your loadout and then attempt to restore this loadout, the new application will not appear on LiveArea and a warning message will be displayed. You can work around this by overwriting your load out backups each time an app is installed or simple re-install the VPK. Although the new application's icon will not appear on LiveArea, its data should not be lost.)
* Custom loadouts to backup/restore. (Do note: If you install a new application after you've already backed up your loadout and then attempt to restore this loadout, the new application will not appear on LiveArea and a warning message will be displayed. You can work around this by overwriting your load out backups each time an app is installed or simple re-install the VPK. Although the new application's icon will not appear on LiveArea, its data should not be lost.)


== libshacccg ==
==Installation==
Recent versions of vitaGL require libshacccg.suprx to be installed. If you don't already have it you can install it by following [https://samilops2.gitbook.io/vita-troubleshooting-guide/shader-compiler/extract-libshacccg.suprx this guide.]
Install the VPK file on your PS Vita.
 
==Screenshots==
https://dlhb.gamebrew.org/vitahomebrews/vitahomebrewsortervita3.png
https://dlhb.gamebrew.org/vitahomebrews/vitahomebrewsortervita4.png
 
https://dlhb.gamebrew.org/vitahomebrews/vitahomebrewsortervita5.png
https://dlhb.gamebrew.org/vitahomebrews/vitahomebrewsortervita6.png


==Media==
==Media==
'''PS Vita Homebrew Sorter v1.23 - Sort Your Apps Quickly''' ([https://www.youtube.com/watch?v=Aw0obnTr1wY Robles Junior]) <br>
<youtube>Aw0obnTr1wY</youtube>
<youtube>Aw0obnTr1wY</youtube>


==Screenshots==
==Known issues==
https://dlhb.gamebrew.org/vitahomebrews/vitahomebrewsortervita-01.jpg
Please note that the loadouts feature is currently disabled due to some issues with certain databases. It can be re-enabled if beta options is selected, but be warned it may mess up your bubbles if you have too many.
https://dlhb.gamebrew.org/vitahomebrews/vitahomebrewsortervita-02.jpg
https://dlhb.gamebrew.org/vitahomebrews/vitahomebrewsortervita-03.jpg
https://dlhb.gamebrew.org/vitahomebrews/vitahomebrewsortervita-04.jpg
 
==Changelogs==
'''v1.26'''
'''If you are getting crashes on load make sure you have libshacccg.suprx installed. If you don't have it already you can install it by following [https://samilops2.gitbook.io/vita-troubleshooting-guide/shader-compiler/extract-libshacccg.suprx this guide]. Also, please note that the loadouts feature is currently disabled due to some issues with certain databases. It can be re-enabled if beta options is selected, but be warned it may mess up your bubbles if you have too many.'''


==Changelog==
'''v1.27 2024/05/12'''
* Update imGui to v1.90.6.
* Update sqlite3 to v3.45.3.
* Clean up and optimize sort functions/algorithims.
* Switch to imGui + SDL2 Renderer backend (libshacccg.suprx is no longer required).
* Enable touch functionality.
'''v1.26 2022/07/25'''
* Added a new tab called Pages. This tab will allow the user to swap page positions.
* Added a new tab called Pages. This tab will allow the user to swap page positions.
* Update to imGui v1.88.
* Update to imGui v1.88..
* Update to sqlite3 v3.39.2
* Update to sqlite3 v3.39.2.
* GUI will properly save the sort mode if sorting is done successfully and will display the bubbles information based on sort mode on start up.
* GUI will properly save the sort mode if sorting is done successfully and will display the bubbles information based on sort mode on start up.


'''v1.25'''
'''v1.25 2022/06/13'''
* Switch from using SceSqlite (ancient version) to upstream sqlite v3.38.5. (Probably faster with the new sqlite vita implementation)
* Switch from using SceSqlite (ancient version) to upstream sqlite v3.38.5 (Probably faster with the new sqlite vita implementation).
* Fix titles with single quotes not being parsed correctly.
* Fix titles with single quotes not being parsed correctly.
* Update to imGui v1.87.
* Update to imGui v1.87.
Line 61: Line 73:
* Selected options will now be saved to a config file.
* Selected options will now be saved to a config file.


'''v1.24'''
'''v1.24 2021/12/31'''
* Fixed error when sorting on PSTV due to the power icon not having any associated title or titleID.
* Fixed error when sorting on PSTV due to the power icon not having any associated title or titleID.
* Removed hacky sorting workaround. Instead of performing a double update (reset position and then apply new positions), a new identical db table is created which then replaces the original tbl_appinfo_icon. This also improves the speed of sorting by 2x as in the previous releases.
* Removed hacky sorting workaround. Instead of performing a double update (reset position and then apply new positions), a new identical db table is created which then replaces the original tbl_appinfo_icon. This also improves the speed of sorting by 2x as in the previous releases.
* Display child apps (apps inside folders) as nodes under their parent app trees (folders).
* Display child apps (apps inside folders) as nodes under their parent app trees (folders).
* Prevent auto-suspend during the sorting process. (not that it should take that long unless you have a very large appDB)
* Prevent auto-suspend during the sorting process (not that it should take that long unless you have a very large appDB).
* Loadouts tab is currently disabled until the issues are sorted out.
* Loadouts tab is currently disabled until the issues are sorted out.
* Update imGui to v1.86
* Update imGui to v1.86.
* Add an about page(tab) that displays library versions as well as some basic application usage information.
* Add an about page(tab) that displays library versions as well as some basic application usage information.
* Logging improvements (Properly log sqlite3_exec errors rather than just the query).
* Logging improvements (properly log sqlite3_exec errors rather than just the query).
* You can now press 'start' to exit the application.
* You can now press 'start' to exit the application.
* Clean-up sqlite usage (Make use of sceClib, c++ casting, fixed api etc)
* Clean-up sqlite usage (make use of sceClib, c++ casting, fixed api etc).


'''v1.23'''
'''v1.23 2021/06/06'''
* Update to imGui v1.83
* Update to imGui v1.83.
* Render splash-screen naively using pic0.
* Render splash-screen naively using pic0.
* Fixed sorting on PSTV devices because of the "power" app not having any unique identifier.
* Fixed sorting on PSTV devices because of the "power" app not having any unique identifier.
Line 81: Line 93:
* Display number(position) of the title in the UI.
* Display number(position) of the title in the UI.


'''v1.22'''
'''v1.22 2021/06/03'''
* Fixed sorting on PSTV devices because of the "power" app not having any unique identifier.
* Fixed sorting on PSTV devices because of the "power" app not having any unique identifier.
* Reset sort method if 'sort by' selector is used.
* Reset sort method if 'sort by' selector is used.
Line 87: Line 99:
* Display number(position) of the title in the UI.
* Display number(position) of the title in the UI.


'''v1.21'''
'''v1.21 2021/04/25'''
* Now uses freetype2 and slightly cuts down boot time.
* Now uses freetype2 and slightly cuts down boot time.
* Add option to sort by Title IDs.
* Add option to sort by Title IDs.


'''v1.20'''
'''v1.20 2021/04/20'''
* Automatically restore backup if sorting fails midway.
* Automatically restore backup if sorting fails midway.
* Display a pop-up error message if the sort has failed.
* Display a pop-up error message if the sort has failed.
Line 98: Line 110:
* Fix memory leaks caused by backup/restore and loadouts not freeing memory after being used.
* Fix memory leaks caused by backup/restore and loadouts not freeing memory after being used.


'''v1.10'''
'''v1.10 2021/04/17'''
* Fix sorting when multiple folders with the same names exist.
* Fix sorting when multiple folders with the same names exist.
* Fix gui incorrectly displaying Japanese or accented characters.
* Fix gui incorrectly displaying Japanese or accented characters.


'''v1.0.1'''
'''v1.0.1 2021/04/16'''
* Make an initial, first time use app database backup (ux0:/data/VITAHomebrewSorter/backups/app.db.bkp) that never gets overwritten each time the sort functionality is used.
* Make an initial, first time use app database backup (ux0:/data/VITAHomebrewSorter/backups/app.db.bkp) that never gets overwritten each time the sort functionality is used.


'''v1.0.0'''
'''v1.0.0 2021/04/14'''
* Sort app list alphabetically (ascending)
* Sort app list alphabetically (ascending).
* Sort app list alphabetically (descending)
* Sort app list alphabetically (descending).
* Display app list after sorting is applied using ImGui's tables API.
* Display app list after sorting is applied using ImGui's tables API.
* Backup application database before sorting is applied.
* Backup application database before sorting is applied.
* Custom loadouts to backup/restore. (Do note: If you install a new application after you've already backed up your loadout and then attempt to restore this loadout, the new application will not appear on LiveArea and a warning message will be displayed. You can work around this by overwriting your load out backups each time an app is installed or simple re-install the VPK. Although the new application's icon will not appear on LiveArea, its data should not be lost.)
* Custom loadouts to backup/restore. (Do note: If you install a new application after you've already backed up your loadout and then attempt to restore this loadout, the new application will not appear on LiveArea and a warning message will be displayed. You can work around this by overwriting your load out backups each time an app is installed or simple re-install the VPK. Although the new application's icon will not appear on LiveArea, its data should not be lost.)


== Credits: ==
==Credits==
* Rinnegatamante for [https://github.com/Rinnegatamante/vitaGL vitaGL]
* Rinnegatamante for [https://github.com/Rinnegatamante/vitaGL vitaGL].
* Rinnegatamante for [https://github.com/Rinnegatamante/imgui-vita imgui-vita] (Based on imgui-vita with touch code removed + controller changes and official font usage)
* Rinnegatamante for [https://github.com/Rinnegatamante/imgui-vita imgui-vita] (Based on imgui-vita with touch code removed + controller changes and official font usage).
* ocornut and contributors for [https://github.com/ocornut/imgui upstream imgui]
* ocornut and contributors for [https://github.com/ocornut/imgui upstream imgui].
* [https://github.com/vitasdk vitasdk]
* [https://github.com/vitasdk vitasdk].
* [https://www.sqlite.org/download.html SQLite3]
* [https://www.sqlite.org/download.html SQLite3].
* PreetiSketch for the LiveArea assets
* PreetiSketch for the LiveArea assets.


== Disclaimer ==
==External links==
I am not responsible for anything that happens to your device after the use of this software. I always make sure to test my software(s) thoroughly before release. If you do encounter any problems please submit an issue with a copy of your app.db (<code>ur0:/shell/db/app.db</code>).
* GitHub - https://github.com/joel16/VITA-Homebrew-Sorter
* VitaDB - https://vitadb.rinnegatamante.it/#/info/655
* KyûHEN Homebrew Contest - https://kyuhen.customprotocol.com/en/submissions/vita_homebrew_sorter


== External links ==
[[Category:KyuHEN Homebrew Contest]]
* Official Website - https://kyuhen.customprotocol.com/en/submissions/vita_homebrew_sorter
* Github - https://github.com/joel16/VITA-Homebrew-Sorter
* VitaDB - https://vitadb.rinnegatamante.it/#/info/655

Latest revision as of 03:31, 2 July 2024

Vita Homebrew Sorter
Vitahomebrewsortervita2.png
General
AuthorJoel16
TypeUtilities
Version1.27
LicenseGPL-3.0
Last Updated2024/05/12
Links
Download
Website
Source
Support Author

A basic PS Vita homebrew application that sorts the application database in your LiveArea. The application sorts apps and games that are inside folders as well. This applications also allows you to backup your current "loadout" that you can switch into as you wish.

A backup will be made before any changes are applied to the application database. This backup is overwritten each time you use the sort option. You can find the backup in ux0:/data/VITAHomebrewSorter/backups/app.db.

The homebrew was participated in the KyûHEN Homebrew Contest (Utility, 3rd place).

Features

  • Sort app list by title/titleID alphabetically (ascending).
  • Sort app list by title/titleID alphabetically (descending).
  • Sort bubbles inside of folders only.
  • Sort bubbles that are not inside folders only.
  • Display app list after sorting is applied using ImGui's tables API.
  • Backup application database before sorting is applied. Note: Two backups are made. An original backup for first time use (ux0:/data/VITAHomebrewSorter/backups/app.db.bkp), and another backup which is overwritten everytime the sort functionality is used (ux0:/data/VITAHomebrewSorter/backups/app.db).
  • Custom loadouts to backup/restore. (Do note: If you install a new application after you've already backed up your loadout and then attempt to restore this loadout, the new application will not appear on LiveArea and a warning message will be displayed. You can work around this by overwriting your load out backups each time an app is installed or simple re-install the VPK. Although the new application's icon will not appear on LiveArea, its data should not be lost.)

Installation

Install the VPK file on your PS Vita.

Screenshots

vitahomebrewsortervita3.png vitahomebrewsortervita4.png

vitahomebrewsortervita5.png vitahomebrewsortervita6.png

Media

PS Vita Homebrew Sorter v1.23 - Sort Your Apps Quickly (Robles Junior)

Known issues

Please note that the loadouts feature is currently disabled due to some issues with certain databases. It can be re-enabled if beta options is selected, but be warned it may mess up your bubbles if you have too many.

Changelog

v1.27 2024/05/12

  • Update imGui to v1.90.6.
  • Update sqlite3 to v3.45.3.
  • Clean up and optimize sort functions/algorithims.
  • Switch to imGui + SDL2 Renderer backend (libshacccg.suprx is no longer required).
  • Enable touch functionality.

v1.26 2022/07/25

  • Added a new tab called Pages. This tab will allow the user to swap page positions.
  • Update to imGui v1.88..
  • Update to sqlite3 v3.39.2.
  • GUI will properly save the sort mode if sorting is done successfully and will display the bubbles information based on sort mode on start up.

v1.25 2022/06/13

  • Switch from using SceSqlite (ancient version) to upstream sqlite v3.38.5 (Probably faster with the new sqlite vita implementation).
  • Fix titles with single quotes not being parsed correctly.
  • Update to imGui v1.87.
  • Properly log errors if sqlite3 failed to open/execute on DB.
  • Add a new selectable option to sort bubbles inside folders only or outside folders only. (Or both - which is selected by default)
  • The "About" tab is now replaced by "Settings", which allows you to toggle beta features and access the work in progress loadouts feature.
  • Selected options will now be saved to a config file.

v1.24 2021/12/31

  • Fixed error when sorting on PSTV due to the power icon not having any associated title or titleID.
  • Removed hacky sorting workaround. Instead of performing a double update (reset position and then apply new positions), a new identical db table is created which then replaces the original tbl_appinfo_icon. This also improves the speed of sorting by 2x as in the previous releases.
  • Display child apps (apps inside folders) as nodes under their parent app trees (folders).
  • Prevent auto-suspend during the sorting process (not that it should take that long unless you have a very large appDB).
  • Loadouts tab is currently disabled until the issues are sorted out.
  • Update imGui to v1.86.
  • Add an about page(tab) that displays library versions as well as some basic application usage information.
  • Logging improvements (properly log sqlite3_exec errors rather than just the query).
  • You can now press 'start' to exit the application.
  • Clean-up sqlite usage (make use of sceClib, c++ casting, fixed api etc).

v1.23 2021/06/06

  • Update to imGui v1.83.
  • Render splash-screen naively using pic0.
  • Fixed sorting on PSTV devices because of the "power" app not having any unique identifier.
  • Reset sort method if 'sort by' selector is used.
  • Make database edits to a copy of app database and not the actual, and then replace the original if sorting is successful. (If it fails your original db is not affected)
  • Display number(position) of the title in the UI.

v1.22 2021/06/03

  • Fixed sorting on PSTV devices because of the "power" app not having any unique identifier.
  • Reset sort method if 'sort by' selector is used.
  • Make database edits to a copy of app database and not the actual, and then replace the original if sorting is successful. (If it fails your original db is not affected)
  • Display number(position) of the title in the UI.

v1.21 2021/04/25

  • Now uses freetype2 and slightly cuts down boot time.
  • Add option to sort by Title IDs.

v1.20 2021/04/20

  • Automatically restore backup if sorting fails midway.
  • Display a pop-up error message if the sort has failed.
  • Fix crashes during start up due to certain folders having null titles.
  • Refactor sorting algorithm to include pageIds that are not in sequential order.
  • Fix memory leaks caused by backup/restore and loadouts not freeing memory after being used.

v1.10 2021/04/17

  • Fix sorting when multiple folders with the same names exist.
  • Fix gui incorrectly displaying Japanese or accented characters.

v1.0.1 2021/04/16

  • Make an initial, first time use app database backup (ux0:/data/VITAHomebrewSorter/backups/app.db.bkp) that never gets overwritten each time the sort functionality is used.

v1.0.0 2021/04/14

  • Sort app list alphabetically (ascending).
  • Sort app list alphabetically (descending).
  • Display app list after sorting is applied using ImGui's tables API.
  • Backup application database before sorting is applied.
  • Custom loadouts to backup/restore. (Do note: If you install a new application after you've already backed up your loadout and then attempt to restore this loadout, the new application will not appear on LiveArea and a warning message will be displayed. You can work around this by overwriting your load out backups each time an app is installed or simple re-install the VPK. Although the new application's icon will not appear on LiveArea, its data should not be lost.)

Credits

  • Rinnegatamante for vitaGL.
  • Rinnegatamante for imgui-vita (Based on imgui-vita with touch code removed + controller changes and official font usage).
  • ocornut and contributors for upstream imgui.
  • vitasdk.
  • SQLite3.
  • PreetiSketch for the LiveArea assets.

External links

Advertising: