Skip to content

Instantly share code, notes, and snippets.

@MegalonVII
MegalonVII / README.md
Last active December 4, 2026 08:12
Convert Yakuza 0 Decrypted PS4 Save To Steam PC Save

Yakuza 0: PS4 save to PC (Steam) save

Converts a decrypted Yakuza 0 PS4 save (data.saveps4) into a SaveData0000.sav file the Steam version can read.

How the formats differ

A PC save is the decrypted PS4 save with a 56-byte header in front of it. Everything after the header is identical. The header starts with the magic bytes YZFH, followed by a 4-byte constant, a 32-byte character name, and a 16-byte timestamp. This script prepends a header taken from a PC save made by the game, which is stored in the script.

What you need

@MegalonVII
MegalonVII / steamdeck-vesktop-appimage-install.sh
Last active November 14, 2026 22:51
Steam Deck Vesktop AppImage Installer
#!/usr/bin/env bash
set -euxo pipefail
# stages directories
mkdir -p ~/.local/share/applications
mkdir -p ~/.local/share/icons
mkdir -p ~/Applications
mkdir -p ~/.megalonvii
cd ~/.megalonvii