Virtual Mass Storage Vita

From GameBrew
Virtual mass storage
Virtualmassstoragevita2.png
General
AuthorPrincess of Sleeping
TypePlugins
Version1.40
LicenseGPL-3.0
Last Updated2021/02/11
Links
Download
Website
Source

Virtual mass storage (vmass) is a plugin to create a ram disk to mount at uma0. With this, very simple and fast IO is possible.

By default vmass creates storage of size 16MiB.

It is useful as fast temporary storage as its contents are wiped at power off or reboot. Content is retained for suspend.

Installation

Add under *KERNEL in taiHEN config.txt.

If vmass detects that uma0: is already mounted by another plugin, vmass will exit without creating virtual storage.

User guide

Basic Access Speed

Read  : 37~143MB/s
*Write : 45~512MB/s

exFAT(gcsd) -> FAT16(vmass) : 13000KB/s
FAT16(emmc) -> FAT16(vmass) : 15000KB/s

VitaShell USB Mode

When using VitaShell USB Mode(#1), unmount uma0: before connecting usb.

If use USB Mode without unmounting uma0:, the file system of uma0: will be corrupted.

(#1): same case to using sceUsbstorVStorStart too.

Saving vmass storage

Power off or reboot while holding the start button to save vmass storage.

Path where img is saved

sd0:vmass.img

If it cannot be saved to sd0, it will be saved to ux0.
ux0:data/vmass.img

If img was saved in these paths when vmass started, read them and restore the previous storage.

Note: When a game, app, etc. is started in +109MB mode, it may operate incorrectly due to a lack of memory.

Screenshots

virtualmassstoragevita3.png

virtualmassstoragevita4.png

Changelog

v1.40

  • Removed taiHEN dependency.
  • Update get ctrl function.
  • So can load vmass.skprx from low boot level and starting vmass to fast
  • And some code tweaks.

v1.31

  • Fix problem to if module_start failed, crashing.
  • Improved basic access speed.
  • Max access speed:
    • Read  : 397MB/s
    • Write : 512MB/s
  • Average access speed:
    • Read  : 290MB/s
    • Write : 310MB/s

v1.30

  • Support VitaShell USB Mode.
  • Improved basic access speed.
  • Max access speed:
    • Read  : 143MB/s
    • Write : 512MB/s
  • Average access speed:
    • Read  : 70MB/s
    • Write : 230MB/s/

v1.20

  • Added saving vmass storage.

v1.10

  • Improve convenience by adding some checks.

External links

Advertising: