Files
erickdavestech 7b9547efcc ps5-dualsense-overlay v1.0.0
On-screen DualSense controller overlay for a PS5 running homebrew.

Derivative of Common FPS for PS5 v1.2.1 by porhe911 with the SimpleFPS
patch by khalifa007, both GPL-3.0-or-later. Controller artwork by
Zacksly, CC BY 3.0, modified. See CREDITS.md and CHANGELOG.md.

Signed-off-by: erickdavestech <54048831+erickdavestech@users.noreply.github.com>
2026-10-03 20:16:44 -04:00

19 lines
520 B
Python

#!/usr/bin/env python3
import importlib.util
from pathlib import Path
root = Path(__file__).resolve().parents[1]
p = root/"tools/make_etahen_plugin.py"
spec = importlib.util.spec_from_file_location("packer", p)
m = importlib.util.module_from_spec(spec)
spec.loader.exec_module(m)
elf = b"\x7fELF" + bytes(range(32))
out = m.build_plugin(elf, "CFPS00021", "1.10")
header = b"etaHEN_PLUGIN\x00CFPS00021\x001.10\x00"
assert out[:len(header)] == header
assert out[len(header):] == elf
print("etaHEN wrapper test: PASS")