Skip to content

Instantly share code, notes, and snippets.

View uyjulian's full-sized avatar

Julian Uy uyjulian

View GitHub Profile
★Project Manager/Leader
沢谷 琢
田中 民也
村山 直樹
丸岡 一寿
杉山 治
太田 浩
★EE/GS
#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
import sys
with open(sys.argv[1], "rb") as f, open(sys.argv[2], "wb") as wf:
while True:
a = f.read(1056)
if len(a) != 1056:
break
#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
import sys
import struct
import os
cramfs_known = []
with open(sys.argv[1], "rb") as f:
./bin/AGSAnimator.rel
./bin/Busy.rel
./bin/DgEpg.rel
./bin/DgPgmContent.rel
./bin/Dialog.rel
./bin/FactoryApp.rel
./bin/GgEpg.rel
./bin/GgPgmContent.rel
./bin/ODD.rel
./bin/PhotoPlayer.rel
#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
import sys
with open(sys.argv[1], "rb") as f:
a = f.read()
with open(sys.argv[2], "rb") as f:
b = f.read()

Common software issues for PSX / DESR

Intended for HDD and ATA express users.

Check the model number (e.g. DESR-XXXX) against the sections below.

Need help? Join the Phenom Mod discord linked at https://store.phenommod.com/

Models

#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
import sys
from Crypto.Cipher import AES
import os
# Referenced by ver_up_decrypt
xkey = b"" # Key here
[ 1006.3458] Loading BIOS...
[ 1006.3461] BIOS Found: Japan v01.80(28/10/2003) PSX 20031028-053521
[ 1006.3478] BIOS rom1 module not found, skipping...
[ 1006.3480] BIOS rom2 module not found, skipping...
[ 1006.3481] Opening CDVD...
[ 1006.3482] Disc changed to .
[ 1006.3483] Name: PS2 BIOS (Japan)
[ 1006.3485] Serial: 20031028-053521
[ 1006.3486] Version:
[ 1006.3488] CRC: 00000000
#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
# This program fixes file header in place for BDJ.czf (referenced by libcvm.so/modified phoneME)
# such that it can be extracted by standard tools.
import sys
import zipfile
with zipfile.ZipFile(sys.argv[1], "a") as myzip:
myzip.comment = b"Fixed CZF"