Skip to content

Instantly share code, notes, and snippets.

@ABelliqueux
Last active March 6, 2022 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ABelliqueux/30f03a6bd8dcc087c4319a529d934b1b to your computer and use it in GitHub Desktop.
Save ABelliqueux/30f03a6bd8dcc087c4319a529d934b1b to your computer and use it in GitHub Desktop.
Chiaki - PS4 Fake account hex to base 64
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# On a jailbroken PS4, install Apollo Save Tool, and activate a fake account in "User tools"
# https://github.com/bucanero/apollo-ps4
# Close then relaunch Apollo and write down your account ID ( it's the hex string between parenthesis after your user name)
# E.G : > Activate Offline Account YourUserName (1a2b3c4d5e6f7a8b)
# Replace the content of the "user_id" string with your actual hex string, then run the script to generate the base64
# encoded version of your account ID.
import base64
user_id = "1a2b3c4d5e6f7a8b"
user_id_int = int( user_id, 16 )
user_id_base64 = base64.b64encode(user_id_int.to_bytes(8, "little")).decode()
print( "Your 8 bytes, base64 encoded account ID is : " + str(user_id_base64))
@ABelliqueux
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment