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
Line 8: Line 8:
|title=Vita Homebrew Sorter
|title=Vita Homebrew Sorter
|image=vitahomebrewsortervita.jpg
|image=vitahomebrewsortervita.jpg
|description=Apps database sorter for PSVITA.
|description=Apps database sorter for PS Vita.
|author=Joel16
|author=Joel16
|lastupdated=2022/07/25
|lastupdated=2022/07/25
Line 18: Line 18:
|source=https://github.com/joel16/VITA-Homebrew-Sorter
|source=https://github.com/joel16/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.
* Sort app list by title/titleID alphabetically (ascending)
 
* Sort app list by title/titleID alphabetically (descending)
'''Note:''' 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.]
 
==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 ==
==Screenshots==
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.]
vitahomebrewsortervita3.png
vitahomebrewsortervita4.png
 
vitahomebrewsortervita5.png
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
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].
https://dlhb.gamebrew.org/vitahomebrews/vitahomebrewsortervita-02.jpg
 
https://dlhb.gamebrew.org/vitahomebrews/vitahomebrewsortervita-03.jpg
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.
https://dlhb.gamebrew.org/vitahomebrews/vitahomebrewsortervita-04.jpg


==Changelogs==
==Changelogs==
'''v1.26'''
'''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.'''
* 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'''
* 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 65: Line 71:
* 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'''
* 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 106: Line 112:


'''v1.0.0'''
'''v1.0.0'''
* 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 ==
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>).


== External links ==
==External links==
* Official Website - https://kyuhen.customprotocol.com/en/submissions/vita_homebrew_sorter
* GitHub - https://github.com/joel16/VITA-Homebrew-Sorter
* Github - https://github.com/joel16/VITA-Homebrew-Sorter
* VitaDB - https://vitadb.rinnegatamante.it/#/info/655
* VitaDB - https://vitadb.rinnegatamante.it/#/info/655
* KyûHEN Homebrew Contest - https://kyuhen.customprotocol.com/en/submissions/vita_homebrew_sorter

Revision as of 04:59, 15 December 2022

Vita Homebrew Sorter
File:Vitahomebrewsortervita.jpg
General
AuthorJoel16
TypeUtilities
Version1.26
LicenseGPL-3.0
Last Updated2022/07/25
Links
Download
Website
Source

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.

Note: Recent versions of vitaGL require libshacccg.suprx to be installed. If you don't already have it you can install it by following this guide.

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.)

Screenshots

vitahomebrewsortervita3.png vitahomebrewsortervita4.png

vitahomebrewsortervita5.png vitahomebrewsortervita6.png

Media

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

Known issues

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 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.

Changelogs

v1.26

  • 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

  • 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

  • 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

  • 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

  • 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

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

v1.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

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

v1.0.1

  • 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

  • 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: