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

StorageMgr Vita: Difference between revisions

From GameBrew
m (HydeWing moved page Storagemgr Vita to StorageMgr Vita without leaving a redirect)
No edit summary
Line 2: Line 2:
|title=Vita Homebrew Apps (Plugins) - GameBrew
|title=Vita Homebrew Apps (Plugins) - GameBrew
|title_mode=append
|title_mode=append
|image=storagemgrvita.jpg
|image=storagemgrvita2.png
|image_alt=StorageMgr
|image_alt=StorageMgr
}}
}}
{{Infobox Vita Homebrews
{{Infobox Vita Homebrews
|title=StorageMgr
|title=StorageMgr
|image=storagemgrvita.jpg
|image=storagemgrvita2.png
|description=Mountpoint manager.
|description=Mountpoint manager.
|author=CelesteBlue
|author=CelesteBlue
Line 15: Line 15:
|license=GPL-3.0
|license=GPL-3.0
|download=https://dlhb.gamebrew.org/vitahomebrews/storagemgrvita.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/storagemgrvita.7z
|website=
|website=https://github.com/CelesteBlue-dev/PSVita-StorageMgr
|source=https://github.com/CelesteBlue-dev/PSVita-StorageMgr
|source=https://github.com/CelesteBlue-dev/PSVita-StorageMgr
}}
}}
'''StorageMgr''' is mountpoint manager plugin for PSVita.
StorageMgr is a kernel plugin that automatically mounts/redirects any storage device on any mount points you want.


==What is StorageMgr?==
==Features==
StorageMgrKernel is a kernel plugin that automatically mounts/redirects any storage device on any mount points you want.
*It is configurable through a configuration file (an application could be made to handle this file).
*It is a ALL-IN-ONE storage driver as it replaces usbmc.skprx and gamesd.skprx.
*It fixes many issues in previous drivers.
*Fixed sporadic wakeups when using SD2VITA thanks to xyz.
*It works with taiHEN under henkaku, h-encore, h-encore-2, Trinity, QuickHEN-PSVita or enso.
*When SD2VITA is removed or not working and configured to be redirected to ux0, memcard/internal is by default mounted to ux0.
*Compatible with PSVita FWs 3.60, 3.65, 3.67, 3.68, 3.69, 3.70, 3.71, 3.72 and 3.73.
*Proved working with 2TB exFAT HDD on PSTV (need to be formatted with <=64kB clusters).


=== What are the Advantages of StorageMgr?===
==Installation==
* It is configurable through a configuration file (an application could be made to handle this file)
===Important notes===
* It is a ALL-IN-ONE storage driver as it replaces usbmc.skprx and gamesd.skprx
* If you have issues with USB mounting on PS TV, it is recommended to install Enso (FW 3.60 or 3.65).
* It fixes many issues in previous drivers
* For using USB mass with h-encore and h-encore2, you have to boot PS TV, plug out USB mass, plug in USB mass then launch h-encore. It is annoying to do, so it is recommended to downgrade to FW 3.60 and install Enso.
* Fixed sporadic wakeups when using SD2VITA thanks to xyz
* For big storage capacity devices, like 2TB HDD on PSTV, it need to be formatted as exFAT 64kB clusters or smaller because 128kB clusters and more are not supported by PSVita OS.
* It works with taiHEN under henkaku, h-encore, h-encore-2, Trinity, QuickHEN-PSVita or enso
* For mounting a device as ux0:, this device must have been already mounted as ux0: using [[VitaShell]] at least once to have necessary files on it.
* When SD2VITA is removed or not working and configured to be redirected to ux0, memcard/internal is by default mounted to ux0
* Compatible with PSVita FWs 3.60, 3.65, 3.67, 3.68, 3.69, 3.70, 3.71, 3.72 and 3.73
* Proved working with 2TB exFAT HDD on PSTV (need to be formatted with &lt;=64kB clusters)


=== Future improvements (TO DO) on StorageMgr===
===How to setup===
* Maybe it would be better to autoresolve imports by .yml than by get_module_export function or in the future create a tool to batch resolve
*If it exists, remove gamesd.skprx and usbmc.skprx or any other storage plugin.
* Add more mount points: sd0: for example and adjust missing mount points for some devices
*Copy storage_config.txt to ur0:tai/.
* Add more exported functions (currently only ux0/uma0)
*Copy storagemgr.skprx to ur0:tai/.
* Include in VitaShell once exports are ready
*If it exists, copy ux0:tai/config.txt to ur0:tai/config.txt.
* Create a user app for installation + configuration (+ real time mounting if VitaShell has not all mount points)
*If it exists, remove ux0:tai/config.txt.
* Create a user library
*In ur0:tai/config.txt after *KERNEL create a new line and write: ur0:tai/storagemgr.skprx.
* Detect a key that being pressed would load an alternative config
*Configure ur0:tai/storage_config.txt to what you want.
* Add multi-configs support
*Reboot PSVita.
* Create a taihen-free version for @SKGleba and other &quot;early boot testers&quot; (see YAMT)
* Improve the parser: do not load the file each time
* Improve code readibility: too much indentation is bad
* Improve Speed: 1) improve the parser, 2) reduce delays 3) follow @SKGleba 's advice, 4) use PoS method for GCD
* Fix issues reported in this github repository


==Media==
===User configuration===
<youtube>gfyMuII17iI</youtube>
 
==Screenshots==
https://dlhb.gamebrew.org/vitahomebrews/storagemgrvita-01.jpg
https://dlhb.gamebrew.org/vitahomebrews/storagemgrvita-02.jpg
 
== How To use StorageMgr ==
* IMPORTANT: IF YOU HAVE ISSUES WITH USB MOUNTING ON PSTV, IT IS RECOMMENDED TO INSTALL ENSO (FW 3.60 or 3.65).
* NOTE: for using USB mass with h-encore and h-encore2, you have to boot PSTV, plug out USB mass, plug in USB mass then launch h-encore. It is annoying to do, so it is recommended to downgrade to FW 3.60 and install enso.
* NOTE: for big storage capacity devices, like 2TB HDD on PSTV, it need to be formatted as exFAT 64kB clusters or smaller because 128kB clusters and more are not supported by PSVita OS.
* NOTE: For mounting a device as ux0:, this device must have been already mounted as ux0: using VitaShell at least once to have necessary files on it.
 
<ol start="0">
<li>If it exists, remove gamesd.skprx and usbmc.skprx or any other storage plugin.</li>
<li>Copy storage_config.txt to ur0:tai/.</li>
<li>Copy storagemgr.skprx to ur0:tai/.</li>
<li>If it exists, copy ux0:tai/config.txt to ur0:tai/config.txt.</li>
<li>If it exists, remove ux0:tai/config.txt.</li>
<li>In ur0:tai/config.txt after *KERNEL create a new line and write: ur0:tai/storagemgr.skprx.</li>
<li>Configure ur0:tai/storage_config.txt to what you want.</li>
<li>Reboot PSVita.</li></ol>
 
== StorageMgr Configuration For User==
On each line you have to write following this structure: =&lt;mount_point&gt;
On each line you have to write following this structure: =&lt;mount_point&gt;


The available devices are:
The available devices are:
 
* MCD - official SONY memory card.
* MCD : official SONY memory card
* INT - internal memory 1GB (on all PSVita SLIM and PSTV).
* INT : internal memory 1GB (on all PSVita SLIM and PSTV)
* GCD - microSD inserted into SD2VITA (also called gamecard2sd).
* GCD : microSD inserted into SD2VITA (also called gamecard2sd)
* UMA - USB mass (for PSTV) OR microSD inserted into PSVSD (for PSVita 3G).
* UMA : USB mass (for PSTV) OR microSD inserted into PSVSD (for PSVita 3G)


The available mount points are:
The available mount points are:
* ux0
* ux0
* xmc0
* xmc0
Line 88: Line 62:
* uma0
* uma0
* grw0
* grw0
==Screenshots==
storagemgrvita3.png
storagemgrvita4.png
==Media==
'''How to Setup StorageMgr for PS Vita & PSTV | SD2Vita & USB Storage Install''' ([https://www.youtube.com/watch?v=gfyMuII17iI MrMario2011]) <br>
<youtube>gfyMuII17iI</youtube>


==Changelog==
==Changelog==
'''(v.3.2)'''
'''v3.2'''
*Add support for FWs 3.69, 3.70, 3.71, 3.72 and 3.73.
*Add support for FWs 3.69, 3.70, 3.71, 3.72 and 3.73.


'''(v.3.0)'''
'''v3.0'''
*Fixes sporadic wakeup thanks to xyz
*Fixes sporadic wakeup thanks to xyz.
*Refactored README.md thanks to Electry
*Refactored README.md thanks to Electry.
*Fixed uma0: remounting after suspend mode thanks to Grazgamer tests
*Fixed uma0: remounting after suspend mode thanks to Grazgamer tests.
*lighter code
*lighter code.
*better and less logs
*better and less logs.


'''(v.2.1)'''
'''v2.1'''
*Minor improvement
*Minor improvement.


'''(v.2.1-beta)'''
'''v2.1-beta'''
*Please test and report if it solved your v2.0 issues.
*Please test and report if it solved your v2.0 issues.


'''(v.2.0)'''
'''v2.0'''
*fix PSVSD mounting when using henkaku and h-encore
*fix PSVSD mounting when using henkaku and h-encore.
*fix uma0: remounting after suspend
*fix uma0: remounting after suspend.
*no need to trigger soft reset anymore when using henkaku and h-encore
*no need to trigger soft reset anymore when using henkaku and h-encore.
*attempt to fix GCD wake up issue
*attempt to fix GCD wake up issue.
*fix device existence check issue when not using enso (permit to remove some code)
*fix device existence check issue when not using enso (permit to remove some code).
*uses more hooking and less patches
*uses more hooking and less patches.
*lightweight code
*lightweight code.
*better (and less) logs
*better (and less) logs.


'''(v.1.2)'''
'''v1.2'''
*includes small improvements
*includes small improvements


'''(v.1.1)'''
'''v1.1'''
*Added 3.65-3.67 support.
*Added 3.65-3.67 support.


'''(v.1.0)'''
'''v1.0'''
* First Release.
* First Release.


== Credits ==
== Credits ==
* CelesteBlue for the rewriting, fixes, tests (I spent about 40 hours on this project)
* CelesteBlue for the rewriting, fixes, tests (I spent about 40 hours on this project).
* gamesd by motoharu and xyz
* gamesd by motoharu and xyz.
* usbmc by yifanlu and TheFloW
* usbmc by yifanlu and TheFloW.
* VitaShell kernel plugin by TheFloW
* VitaShell kernel plugin by TheFloW.
 
== License ==
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
 
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.


== External links ==
== External links ==
* Github - https://github.com/CelesteBlue-dev/PSVita-StorageMgr
* GitHub - https://github.com/CelesteBlue-dev/PSVita-StorageMgr
* VitaDB - https://vitadb.rinnegatamante.it/#/info/368
* VitaDB - https://vitadb.rinnegatamante.it/#/info/368

Revision as of 09:43, 8 Ocak 2023

StorageMgr
Storagemgrvita2.png
General
AuthorCelesteBlue
TypePlugins
Version3.2
LicenseGPL-3.0
Last Updated2020/01/11
Links
Download
Website
Source

StorageMgr is a kernel plugin that automatically mounts/redirects any storage device on any mount points you want.

Features

  • It is configurable through a configuration file (an application could be made to handle this file).
  • It is a ALL-IN-ONE storage driver as it replaces usbmc.skprx and gamesd.skprx.
  • It fixes many issues in previous drivers.
  • Fixed sporadic wakeups when using SD2VITA thanks to xyz.
  • It works with taiHEN under henkaku, h-encore, h-encore-2, Trinity, QuickHEN-PSVita or enso.
  • When SD2VITA is removed or not working and configured to be redirected to ux0, memcard/internal is by default mounted to ux0.
  • Compatible with PSVita FWs 3.60, 3.65, 3.67, 3.68, 3.69, 3.70, 3.71, 3.72 and 3.73.
  • Proved working with 2TB exFAT HDD on PSTV (need to be formatted with <=64kB clusters).

Installation

Important notes

  • If you have issues with USB mounting on PS TV, it is recommended to install Enso (FW 3.60 or 3.65).
  • For using USB mass with h-encore and h-encore2, you have to boot PS TV, plug out USB mass, plug in USB mass then launch h-encore. It is annoying to do, so it is recommended to downgrade to FW 3.60 and install Enso.
  • For big storage capacity devices, like 2TB HDD on PSTV, it need to be formatted as exFAT 64kB clusters or smaller because 128kB clusters and more are not supported by PSVita OS.
  • For mounting a device as ux0:, this device must have been already mounted as ux0: using VitaShell at least once to have necessary files on it.

How to setup

  • If it exists, remove gamesd.skprx and usbmc.skprx or any other storage plugin.
  • Copy storage_config.txt to ur0:tai/.
  • Copy storagemgr.skprx to ur0:tai/.
  • If it exists, copy ux0:tai/config.txt to ur0:tai/config.txt.
  • If it exists, remove ux0:tai/config.txt.
  • In ur0:tai/config.txt after *KERNEL create a new line and write: ur0:tai/storagemgr.skprx.
  • Configure ur0:tai/storage_config.txt to what you want.
  • Reboot PSVita.

User configuration

On each line you have to write following this structure: =<mount_point>

The available devices are:

  • MCD - official SONY memory card.
  • INT - internal memory 1GB (on all PSVita SLIM and PSTV).
  • GCD - microSD inserted into SD2VITA (also called gamecard2sd).
  • UMA - USB mass (for PSTV) OR microSD inserted into PSVSD (for PSVita 3G).

The available mount points are:

  • ux0
  • xmc0
  • imc0
  • uma0
  • grw0

Screenshots

storagemgrvita3.png storagemgrvita4.png

Media

How to Setup StorageMgr for PS Vita & PSTV | SD2Vita & USB Storage Install (MrMario2011)

Changelog

v3.2

  • Add support for FWs 3.69, 3.70, 3.71, 3.72 and 3.73.

v3.0

  • Fixes sporadic wakeup thanks to xyz.
  • Refactored README.md thanks to Electry.
  • Fixed uma0: remounting after suspend mode thanks to Grazgamer tests.
  • lighter code.
  • better and less logs.

v2.1

  • Minor improvement.

v2.1-beta

  • Please test and report if it solved your v2.0 issues.

v2.0

  • fix PSVSD mounting when using henkaku and h-encore.
  • fix uma0: remounting after suspend.
  • no need to trigger soft reset anymore when using henkaku and h-encore.
  • attempt to fix GCD wake up issue.
  • fix device existence check issue when not using enso (permit to remove some code).
  • uses more hooking and less patches.
  • lightweight code.
  • better (and less) logs.

v1.2

  • includes small improvements

v1.1

  • Added 3.65-3.67 support.

v1.0

  • First Release.

Credits

  • CelesteBlue for the rewriting, fixes, tests (I spent about 40 hours on this project).
  • gamesd by motoharu and xyz.
  • usbmc by yifanlu and TheFloW.
  • VitaShell kernel plugin by TheFloW.

External links

Advertising: