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

Vita Account Manager: Difference between revisions

From GameBrew
(Created page with "{{#seo: |title=Vita Homebrew Apps (Other Apps) - GameBrew! |title_mode=append |image=vitaaccountmanagervita.jpg |image_alt=Vita Account Manager }} {{Infobox Vita Homebrews |ti...")
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#seo:
|title=Vita Homebrew Apps (Other Apps) - GameBrew!
|title_mode=append
|image=vitaaccountmanagervita.jpg
|image_alt=Vita Account Manager
}}
{{Infobox Vita Homebrews
{{Infobox Vita Homebrews
|title=Vita Account Manager
|title=Vita Account Manager
|image=vitaaccountmanagervita.jpg
|image=vitaaccountmanager2.png
|description=Account Manager for PSVITA.
|description=Account Manager for PS Vita.
|author=windsurfer1122
|author=windsurfer1122
|lastupdated=2019/09/01
|lastupdated=2019/09/01
Line 15: Line 9:
|license=GPL-3.0
|license=GPL-3.0
|download=https://dlhb.gamebrew.org/vitahomebrews/vitaaccountmanagervita.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/vitaaccountmanagervita.7z
|website=
|website=https://github.com/windsurfer1122/Vita-Account-Manager
|source=https://github.com/windsurfer1122/Vita-Account-Manager
|source=https://github.com/windsurfer1122/Vita-Account-Manager
}}
}}
Account Manager for PSVITA.
{{#seo:
|title=Vita Homebrew Apps (Other Apps) - GameBrew
|title_mode=append
|image=vitaaccountmanager2.png
|image_alt=Vita Account Manager
}}
 
Switch between multiple PSN/SEN accounts on a PS Vita or PS TV. Handle execution history. Dump console IDs. Save and restore WLAN settings.
 
==Features==
*Save the current account for later restore.
*Restore a saved account or remove the current account.
**Removes trophies of current account to reduce ban risk on an accidental trophy sync.
**Unlink memory card from current account.
**Delete execution history of current account to discard Homebrew title IDs in it. A reboot is still needed to clear execution history in memory.
**Remove obligatory "save data" of Vita Account Manager to avoid trophy message after account switch.
*Delete execution history of current account to discard Homebrew title IDs in it before logging into PSN. A reboot is still needed to clear execution history in memory.
*Write-protect execution history files by replacing files with not overwritable directories. A reboot is still needed to clear execution history in memory.
*Save the IDPS and PSID of the console.
*Save WLAN settings and restore them.
*Uses an extandable coding framework for easy enhancements and/or extensions. Go fork and send [https://guides.github.com/activities/hello-world/ pull requests] and/or patches.
 
==User guide==
===Details===
*'''Account data:'''
** Data is stored at <code>ux0:data/ACTM00003/accounts/&lt;username&gt;/</code>.
** Saved files.
*** <code>tm0:npdrm/act.dat</code> - PSV game activation data, stored under <code>tm0/npdrm/act.dat</code>.
*** <code>tm0:psmdrm/act.dat</code> - PSM activation data, stored under <code>tm0/psmdrm/act.dat</code>.
*** <code>ur0:user/00/np/myprofile.dat</code> - PSN avatar data, stored under <code>ur0/np/myprofile.dat</code>.
** Removed files.
*** <code>ur0:user/00/trophy/data/sce_trop/TRPUSER.DAT</code> - Trophy data.
*** <code>ur0:user/00/trophy/data/sce_trop/sce_pfs/files.db</code> - Trophy data.
*** <code>ux0:id.dat</code> - Link of memory card to account and firmware version.
*** <code>imc0:id.dat</code> - Link of internal memory card to account and firmware version.
*** <code>uma0:id.dat</code> - Link of additional memory card to account and firmware version.
** Saved registry entries.
*** Stored under <code>registry/</code> with their full entry path.
*** <code>/CONFIG/SYSTEM/username</code> - PSN Online ID, used as folder name to store data.
*** <code>/CONFIG/NP/login_id</code> - E-mail address of account.
*** <code>/CONFIG/NP/account_id</code> - Account ID (binary).
*** <code>/CONFIG/NP/password</code> - Password of account.
*** <code>/CONFIG/NP/lang</code> - Language of account.
*** <code>/CONFIG/NP/country</code> - Language of account.
*** <code>/CONFIG/NP/yob</code> - Year of Birth of account.
*** <code>/CONFIG/NP/mob</code> - Month of Birth of account.
*** <code>/CONFIG/NP/dob</code> - Day of Birth of account.
*** <code>/CONFIG/NP/has_subaccount</code>
*** <code>/CONFIG/NP/enable_np</code>
*** <code>/CONFIG/NP/download_confirmed</code>
*** <code>/CONFIG/NP/env</code>
 
*'''Execution history:'''
** Title IDs from all launched games/apps.
*** <code>ur0:ci/file/m.log</code> (Pointer is not in <code>ur0:ci/file/m.cnt</code>.)
*** <code>ur0:user/00/shell/playlog/playlod.dat</code>
*** <code>ur0:user/00/shell/playlog/playlog.dat</code>
*** <code>ur0:user/00/shell/playlog/playlog.dat.tmp</code>
** Error codes and title IDs from crashed games/apps.
*** <code>vd0:history/data.bak</code>
*** <code>vd0:history/data.bin</code>
** Reboot to also clear execution history in memory.
 
*'''Console data:'''
** Data is stored at <code>ux0:data/ACTM00003/console/</code>.
*** <code>idps.bin</code> - IDPS of console.
*** <code>psid.bin</code> - PSID of console.
 
*'''WLAN data:'''
** Data is stored at <code>ux0:data/ACTM00003/wlans/&lt;ssid&gt;/</code>.
** Saved registry entries.
*** Stored under <code>registry/</code> with their full entry path, but excluding the NET count (01-30 decimal).
*** <code>/CONFIG/NET/WIFI/ssid</code> - WLAN SSID, used as folder name to store data.
*** <code>/CONFIG/NET/WIFI/wep_key</code>
*** <code>/CONFIG/NET/WIFI/wifi_security</code>
*** <code>/CONFIG/NET/WIFI/wpa_key</code>
*** <code>/CONFIG/NET/APP/http_proxy_flag</code>
*** <code>/CONFIG/NET/APP/http_proxy_port</code>
*** <code>/CONFIG/NET/APP/http_proxy_server</code>
*** <code>/CONFIG/NET/COMMON/conf_flag</code>
*** <code>/CONFIG/NET/COMMON/conf_name</code> - Same as WLAN SSID.
*** <code>/CONFIG/NET/COMMON/conf_serial_no</code>
*** <code>/CONFIG/NET/COMMON/conf_type</code>
*** <code>/CONFIG/NET/COMMON/device</code>
*** <code>/CONFIG/NET/COMMON/enable_auto_connect</code>
*** <code>/CONFIG/NET/COMMON/ether_mode</code>
*** <code>/CONFIG/NET/COMMON/mtu</code>
*** <code>/CONFIG/NET/IP/auth_key</code>
*** <code>/CONFIG/NET/IP/auth_name</code>
*** <code>/CONFIG/NET/IP/default_route</code>
*** <code>/CONFIG/NET/IP/dhcp_hostname</code>
*** <code>/CONFIG/NET/IP/dns_flag</code>
*** <code>/CONFIG/NET/IP/ip_address</code>
*** <code>/CONFIG/NET/IP/ip_config</code>
*** <code>/CONFIG/NET/IP/netmask</code>
*** <code>/CONFIG/NET/IP/primary_dns</code>
*** <code>/CONFIG/NET/IP/secondary_dns</code>
 
===Using backups of other Account Managers===
*'''[[Account Manager Vita|AccountManager]] by ONElua Team:'''
** Copy <code>ux0:pspemu/PSP/SAVEDATA/ACTM00001/&lt;username&gt;</code> to <code>ux0:data/ACTM00003/accounts/&lt;username&gt;</code>.
** If <code>act.dat</code> exists then create account subdirectories and move file to <code>tm0/npdrm/act.dat</code>.
** If <code>myprofile.dat</code> exists then create account subdirectories and move file to <code>ur0/np/myprofile.dat</code>.
** Create account subdirectories <code>registry/CONFIG/NP</code> and create the following files:
*** No newlines in files.
*** <code>registry/CONFIG/NP/login_id.txt</code> with e-mail address of PSN/SEN account.
*** <code>registry/CONFIG/NP/password.txt</code> with password address of PSN/SEN account.
 
*'''[[Advanced Account Switcher Vita|Advanced-Account-Switcher]] by SiliciaAndPina:'''
** Copy <code>ux0:AdvancedAccountSwitcher/accounts/&lt;username&gt;</code> to <code>ux0:data/ACTM00003/accounts/&lt;username&gt;</code>.
** If <code>npdrm.dat</code> exists then create account subdirectories, move and rename file to <code>tm0/npdrm/act.dat</code>.
** If <code>psmdrm.dat</code> exists then create account subdirectories, move and rename file to <code>tm0/psmdrm/act.dat</code>.
** Create account subdirectories <code>registry/CONFIG/NP</code>, move and rename the following files:
*** <code>aid.bin</code> to <code>registry/CONFIG/NP/account_id.bin</code>.
*** <code>username.txt</code> to <code>registry/CONFIG/NP/login_id.txt</code>.
*** <code>password.txt</code> to <code>registry/CONFIG/NP/password.txt</code>.
** If you have a separate backup of <code>myprofile.dat</code> then create account subdirectories and move file to <code>ur0/np/myprofile.dat</code>.


'''More Description Coming Soon'''
===Editing Data===
'''Note:''' Do at your own risk. Do a backup first.


https://vitadb.rinnegatamante.it/#/info/504
The saved registry data can be edited by text editors for integer and string values (e.g. [https://notepad-plus-plus.org/ Notepad++]) and by hex editors for binary values (e.g. [https://mh-nexus.de/en/hxd/ HxD]). No newlines.


==Media==
For editing the registry directly the tool [[RegistryEditor MOD Vita|Registry Editor MOD]] by devnoname120 is recommended as it also allows to edit binary registry entries.
<youtube>RIaJHh60hQY</youtube>


Console will retrieve/refresh account details from PSN when logging into PSN.
{| role="presentation" class="wikitable mw-collapsible mw-collapsed" style="width: 800px;"|
! colspan="7"| Registry States during Activation on Vita 3.68
|-
! Reg Path
! Reg Key
! No user
! User Added Only
! User Logged in
! Activated
! DRM-Free Demo DL *1
|-
| <code>/CONFIG/NP/</code>
| <code>account_id</code>
| (all hex zeroes)
| (set from PSN)
| -
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>country</code>
| (set from initial setup)
| -
| (set from PSN)
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>debug</code>
| 0
| -
| -
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>debug_ingame_commerce2</code>
| 0
| -
| -
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>dob</code>
| (set from intial setup)
| -
| (set from PSN)
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>download_confirmed</code>
| 0
| -
| -
| -
| 1
|-
| <code>/CONFIG/NP/</code>
| <code>enable_np</code>
| 0
| -
| -
| -
| 1
|-
| <code>/CONFIG/NP/</code>
| <code>env</code>
| <code>np</code>
| -
| -
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>has_subaccount</code>
| 0
| -
| (set from PSN)
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>lang</code>
| (set from intial setup)
| -
| (set from PSN)
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>login_id</code>
| (empty string)
| (set in sign-up)
| -
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>mob</code>
| (set from intial setup)
| -
| (set from PSN)
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>nav_only</code>
| 0
| -
| -
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>np_ad_clock_diff</code>
| 0
| -
| -
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>np_geo_filtering</code>
| 0
| -
| -
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>password</code>
| (empty string)
| (set in sign-up)
| -
| -
| -
|-
| <code>/CONFIG/NP/</code>
| <code>yob</code>
| (set from intial setup)
| -
| (set from PSN)
| -
| -
|-
| <code>/CONFIG/SYSTEM/</code>
| <code>username</code>
| <code>user&lt;NNN&gt;</code>
| -
| -
| -
| -
|}
(*1: DRM-Free demo was EU PCSF00095 &quot;ModNation Racers: Road Trip&quot;, just downloaded, not started.)


==Screenshots==
==Screenshots==
https://dlhb.gamebrew.org/vitahomebrews/vitaaccountmanagervita-01.jpg
https://dlhb.gamebrew.org/vitahomebrews/vitaaccountmanager3.png
https://dlhb.gamebrew.org/vitahomebrews/vitaaccountmanagervita-02.jpg
 
https://dlhb.gamebrew.org/vitahomebrews/vitaaccountmanagervita-03.jpg
https://dlhb.gamebrew.org/vitahomebrews/vitaaccountmanager4.png
https://dlhb.gamebrew.org/vitahomebrews/vitaaccountmanagervita-04.jpg
 
https://dlhb.gamebrew.org/vitahomebrews/vitaaccountmanagervita-05.jpg
==Changelog==
https://dlhb.gamebrew.org/vitahomebrews/vitaaccountmanagervita-06.jpg
'''v0.91'''
https://dlhb.gamebrew.org/vitahomebrews/vitaaccountmanagervita-07.jpg
*NEW: Separate function to unlink all memory cards (ux0, imc0, uma0).
https://dlhb.gamebrew.org/vitahomebrews/vitaaccountmanagervita-08.jpg
 
== External links ==
'''v0.90'''
* Official Website -
*NEW: Saves and restores WLAN profiles.
* Gbatemp -
 
* Github -
'''v0.82'''
* Google Source -
*NEW: Create accounts folder on startup.
*FIX: Sanitized some string usages.
 
'''v0.81'''
*Extracts IDPS and PSID of console.
 
'''v0.80'''
*First public release.
*Saves, restores and removes PSN/SEN account.
*Deletes execution history files.
*Can write-protect execution history files.
 
==Credits==
Credits for ideas and features:
* ONElua Team for [https://github.com/ONElua/AccountManager AccountManager].
* SiliciaAndPina for [https://bitbucket.org/SilicaAndPina/advanced-account-switcher/ Advanced-Account-Switcher] and [https://bitbucket.org/SilicaAndPina/simpleaccountswitcher/ SimpleAccountSwitcher].
* Chihiro/KanadeEngel for [https://github.com/KanadeEngel/PS-Vita/tree/master/history_deleter History Deleter].
* Orion for [http://www.psx-place.com/threads/vita-toolbox-v-0-2-new-functions-added-by-orion.10457/ Vita Toolbox].
* NamelessGhoul0 for [https://github.com/NamelessGhoul0/history_wipe History Wipe Plugin].
* TheFlow for [https://github.com/TheOfficialFloW/VitaShell VitaShell].
* devnoname120 for [https://github.com/devnoname120/RegistryEditorMOD RegistryEditor MOD].
 
==External links==
* GitHub - https://github.com/windsurfer1122/Vita-Account-Manager
* VitaDB - https://vitadb.rinnegatamante.it/#/info/504

Latest revision as of 23:25, 11 April 2023

Vita Account Manager
Vitaaccountmanager2.png
General
Authorwindsurfer1122
TypeOther Apps
Version0.91
LicenseGPL-3.0
Last Updated2019/09/01
Links
Download
Website
Source


Switch between multiple PSN/SEN accounts on a PS Vita or PS TV. Handle execution history. Dump console IDs. Save and restore WLAN settings.

Features

  • Save the current account for later restore.
  • Restore a saved account or remove the current account.
    • Removes trophies of current account to reduce ban risk on an accidental trophy sync.
    • Unlink memory card from current account.
    • Delete execution history of current account to discard Homebrew title IDs in it. A reboot is still needed to clear execution history in memory.
    • Remove obligatory "save data" of Vita Account Manager to avoid trophy message after account switch.
  • Delete execution history of current account to discard Homebrew title IDs in it before logging into PSN. A reboot is still needed to clear execution history in memory.
  • Write-protect execution history files by replacing files with not overwritable directories. A reboot is still needed to clear execution history in memory.
  • Save the IDPS and PSID of the console.
  • Save WLAN settings and restore them.
  • Uses an extandable coding framework for easy enhancements and/or extensions. Go fork and send pull requests and/or patches.

User guide

Details

  • Account data:
    • Data is stored at ux0:data/ACTM00003/accounts/<username>/.
    • Saved files.
      • tm0:npdrm/act.dat - PSV game activation data, stored under tm0/npdrm/act.dat.
      • tm0:psmdrm/act.dat - PSM activation data, stored under tm0/psmdrm/act.dat.
      • ur0:user/00/np/myprofile.dat - PSN avatar data, stored under ur0/np/myprofile.dat.
    • Removed files.
      • ur0:user/00/trophy/data/sce_trop/TRPUSER.DAT - Trophy data.
      • ur0:user/00/trophy/data/sce_trop/sce_pfs/files.db - Trophy data.
      • ux0:id.dat - Link of memory card to account and firmware version.
      • imc0:id.dat - Link of internal memory card to account and firmware version.
      • uma0:id.dat - Link of additional memory card to account and firmware version.
    • Saved registry entries.
      • Stored under registry/ with their full entry path.
      • /CONFIG/SYSTEM/username - PSN Online ID, used as folder name to store data.
      • /CONFIG/NP/login_id - E-mail address of account.
      • /CONFIG/NP/account_id - Account ID (binary).
      • /CONFIG/NP/password - Password of account.
      • /CONFIG/NP/lang - Language of account.
      • /CONFIG/NP/country - Language of account.
      • /CONFIG/NP/yob - Year of Birth of account.
      • /CONFIG/NP/mob - Month of Birth of account.
      • /CONFIG/NP/dob - Day of Birth of account.
      • /CONFIG/NP/has_subaccount
      • /CONFIG/NP/enable_np
      • /CONFIG/NP/download_confirmed
      • /CONFIG/NP/env
  • Execution history:
    • Title IDs from all launched games/apps.
      • ur0:ci/file/m.log (Pointer is not in ur0:ci/file/m.cnt.)
      • ur0:user/00/shell/playlog/playlod.dat
      • ur0:user/00/shell/playlog/playlog.dat
      • ur0:user/00/shell/playlog/playlog.dat.tmp
    • Error codes and title IDs from crashed games/apps.
      • vd0:history/data.bak
      • vd0:history/data.bin
    • Reboot to also clear execution history in memory.
  • Console data:
    • Data is stored at ux0:data/ACTM00003/console/.
      • idps.bin - IDPS of console.
      • psid.bin - PSID of console.
  • WLAN data:
    • Data is stored at ux0:data/ACTM00003/wlans/<ssid>/.
    • Saved registry entries.
      • Stored under registry/ with their full entry path, but excluding the NET count (01-30 decimal).
      • /CONFIG/NET/WIFI/ssid - WLAN SSID, used as folder name to store data.
      • /CONFIG/NET/WIFI/wep_key
      • /CONFIG/NET/WIFI/wifi_security
      • /CONFIG/NET/WIFI/wpa_key
      • /CONFIG/NET/APP/http_proxy_flag
      • /CONFIG/NET/APP/http_proxy_port
      • /CONFIG/NET/APP/http_proxy_server
      • /CONFIG/NET/COMMON/conf_flag
      • /CONFIG/NET/COMMON/conf_name - Same as WLAN SSID.
      • /CONFIG/NET/COMMON/conf_serial_no
      • /CONFIG/NET/COMMON/conf_type
      • /CONFIG/NET/COMMON/device
      • /CONFIG/NET/COMMON/enable_auto_connect
      • /CONFIG/NET/COMMON/ether_mode
      • /CONFIG/NET/COMMON/mtu
      • /CONFIG/NET/IP/auth_key
      • /CONFIG/NET/IP/auth_name
      • /CONFIG/NET/IP/default_route
      • /CONFIG/NET/IP/dhcp_hostname
      • /CONFIG/NET/IP/dns_flag
      • /CONFIG/NET/IP/ip_address
      • /CONFIG/NET/IP/ip_config
      • /CONFIG/NET/IP/netmask
      • /CONFIG/NET/IP/primary_dns
      • /CONFIG/NET/IP/secondary_dns

Using backups of other Account Managers

  • AccountManager by ONElua Team:
    • Copy ux0:pspemu/PSP/SAVEDATA/ACTM00001/<username> to ux0:data/ACTM00003/accounts/<username>.
    • If act.dat exists then create account subdirectories and move file to tm0/npdrm/act.dat.
    • If myprofile.dat exists then create account subdirectories and move file to ur0/np/myprofile.dat.
    • Create account subdirectories registry/CONFIG/NP and create the following files:
      • No newlines in files.
      • registry/CONFIG/NP/login_id.txt with e-mail address of PSN/SEN account.
      • registry/CONFIG/NP/password.txt with password address of PSN/SEN account.
  • Advanced-Account-Switcher by SiliciaAndPina:
    • Copy ux0:AdvancedAccountSwitcher/accounts/<username> to ux0:data/ACTM00003/accounts/<username>.
    • If npdrm.dat exists then create account subdirectories, move and rename file to tm0/npdrm/act.dat.
    • If psmdrm.dat exists then create account subdirectories, move and rename file to tm0/psmdrm/act.dat.
    • Create account subdirectories registry/CONFIG/NP, move and rename the following files:
      • aid.bin to registry/CONFIG/NP/account_id.bin.
      • username.txt to registry/CONFIG/NP/login_id.txt.
      • password.txt to registry/CONFIG/NP/password.txt.
    • If you have a separate backup of myprofile.dat then create account subdirectories and move file to ur0/np/myprofile.dat.

Editing Data

Note: Do at your own risk. Do a backup first.

The saved registry data can be edited by text editors for integer and string values (e.g. Notepad++) and by hex editors for binary values (e.g. HxD). No newlines.

For editing the registry directly the tool Registry Editor MOD by devnoname120 is recommended as it also allows to edit binary registry entries.

Console will retrieve/refresh account details from PSN when logging into PSN.

(*1: DRM-Free demo was EU PCSF00095 "ModNation Racers: Road Trip", just downloaded, not started.)

Screenshots

vitaaccountmanager3.png

vitaaccountmanager4.png

Changelog

v0.91

  • NEW: Separate function to unlink all memory cards (ux0, imc0, uma0).

v0.90

  • NEW: Saves and restores WLAN profiles.

v0.82

  • NEW: Create accounts folder on startup.
  • FIX: Sanitized some string usages.

v0.81

  • Extracts IDPS and PSID of console.

v0.80

  • First public release.
  • Saves, restores and removes PSN/SEN account.
  • Deletes execution history files.
  • Can write-protect execution history files.

Credits

Credits for ideas and features:

External links

Advertising: