Skip to content

Instantly share code, notes, and snippets.

View uyjulian's full-sized avatar

Julian Uy uyjulian

View GitHub Profile
__int64 __fastcall sub_1404E9300(__int64 a1, unsigned int a2)
{
unsigned int v2; // er15
__int64 v4; // r12
unsigned int v5; // eax
int v6; // er15
unsigned int v7; // eax
unsigned int v8; // eax
unsigned int v9; // eax
unsigned int v10; // ebx
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 4 columns, instead of 3 in line 8.
Models Zip filename Firmware files Download URL
BDP-SX1 BDP-SX1000 UPDATA_F01R0102.ZIP BDPP01-FW.BIN BDPP01-FW.ID https://www.sony.com/electronics/support/downloads/W0007418
BDP-SX910 UPDATA_F02R0040.ZIP BDPP02-FW.BIN BDPP02-FW.ID https://www.sony.com/electronics/support/downloads/W0007431
BDP-S1 UPDATE_BDPS1_VER0610.EXE BRANDED S0001.BIN S0002.BIN S0003.BIN https://www.sony.com/electronics/support/downloads/W0007471
BDP-S300 UPDATE_BDPS300_VER0620.EXE BRANDED S0001.BIN S0002.BIN S0003.BIN https://www.sony.com/electronics/support/downloads/W0007473
BDP-S301 UPDATE_BDPS301_VER0620.EXE BRANDED S0001.BIN S0002.BIN S0003.BIN https://www.sony.com/electronics/support/downloads/W0007474
BDP-S500 UPDATE_BDPS500_VER0600.EXE BRANDED S0001.BIN S0002.BIN S0003.BIN https://www.sony.com/electronics/support/downloads/W0007476
BDP-S2000ES UPDATE_BDPS2000ES_VER0600.EXE BRANDED S0001.BIN S0002.BIN S0003.BIN https://www.sony.com/electronics/support/downloads/W0007477
BDP-BX1 BDP-S350 BDP-S5000ES BDP-S550 UPDATA_07X026.ZIP BD07-
#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
# Program to copy images referenced by glTF files.
# Run the program with --help argument for arguments.
import sys
import shutil
import os
import json
#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
# Converts uncompressed headered OSDSYS textures to PNG
import sys
import struct
dat = b""
with open(sys.argv[1], "rb") as f:
#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
# Generates information regarding feature support for Dragon Mechacon firmware.
scmd_support_ranges_start = [0x00, 0x40, 0xC0, 0x80]
# General S-Command support ranges
scmd_support_ranges = {
"5.00" : [0x27, 0x04, 0x00, 0x20],
#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
# Attempting to figure out shader filenames for FDK (ED9 / Kuro no Kiseki) mdl format materials.
# Example: basic#3f0668ce.fxo
import os
import sys
import json
import zlib
chr0000_00.dds
chr0000_01_n.dds
chr0000_01_q.dds
chr0000_c02_03.dds
chr0000_c02_03_n.dds
chr0000_c02_03_q.dds
chr0000_c07_03_q.dds
chr5001_00.dds
chr5001_01_a.dds
chr5001_01_n.dds
#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
# This script will extract the PEF NDRV from 1S2_512.ROM
# as posted here:
# https://68kmla.org/bb/index.php?threads/silicon-image-sil3112-flashing-easier-way-using-flashrom.7013/
a = []
d = b""
with open("1S2_512.ROM", "rb") as f:
# SPDX-License-Identifier: MIT
def utf8_calculate_len(codepoint):
if codepoint < 0x7f:
return 1
if codepoint < 0x7ff:
return 2
if codepoint < 0xffff:
return 3
return 4