Skip to content

Instantly share code, notes, and snippets.

View uyjulian's full-sized avatar

Julian Uy uyjulian

View GitHub Profile
# Install deps:
# python3 -m pip install pycryptodome
# This script decrypts
# pack:psml1/0.1.0/psml1script/system/serverlist.enc
# pack:psml1/0.1.0/psml1script/system/hostname_keypair.enc
from Crypto.Cipher import AES
import sys

DVRP AtaEmu proxied commands info

The task will enter an infinite loop if the following commands are encountered:
Queued 7h: 26h, 36h, C7h, CCh
Packet 8h: A0h, A2h
Special case unhandled 9h: B1h

Special handling for command 20h: will get translated to command C8h
Special handling for command 24h: will get translated to command 25h

How to install Homebrew package manager on Steam Deck

(See also installing Distroboxm, which is included in SteamOS 3.5 and newer: https://distrobox.it/ )
(See also installing Nix package manager: https://determinate.systems/posts/nix-on-the-steam-deck )

You can install Homebrew (a package manager for macOS and Linux) without disabling the read-only partition with sudo steamos-readonly disable.
The package manager can be used alongside Flatpaks. Some software is only available on Flathub, and some software is only available on Homebrew.

  1. Switch to desktop mode (hold power button until a menu appears, then select "Switch to desktop mode")
  2. Click the logo at the bottom left, go to System, then go to Konsole
-- from DefaultContents_0.5/__xcontents/gmm.db
BEGIN TRANSACTION;
CREATE TABLE GMM_Media (PK INTEGER PRIMARY KEY, path TEXT, parent INTEGER, type TEXT, user INTEGER, file_path TEXT, encryption INTEGER);
INSERT INTO GMM_Media VALUES(1,'/',0,1,0,'',0);
INSERT INTO GMM_Media VALUES(2,'/Shared',1,1,0,'',0);
INSERT INTO GMM_Media VALUES(3,'/Shared/Audio',2,1,0,'',0);
INSERT INTO GMM_Media VALUES(4,'/Shared/Audio/Albums',3,1,0,'',0);
INSERT INTO GMM_Media VALUES(5,'/Shared/Image',2,1,0,'',0);
INSERT INTO GMM_Media VALUES(6,'/Shared/Image/Photos',5,1,0,'',0);
INSERT INTO GMM_Media VALUES(7,'/Shared/Video',2,1,0,'',0);
# SPDX-License-Identifier: MIT
import array
def cast_memoryview(mv, t):
return mv.cast(t)
def dot_product_vector3(a, b):
return a[0] * b[0] + a[1] * b[1] + a[2] * b[2]
#!/bin/bash
# rpm based distro common
sudo dnf install dnf-plugins-core
sudo dnf install dnf-utils
sudo dnf group install devleopment-tools
sudo dnf install gcc-c++
sudo dnf install freerdp
sudo dnf builddep freerdp
sudo dnf install ffmpeg
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
DLL name Source or binary location
AlphaMovie.dll http://kaede-software.com/krlm/plugin/alphamovie.zip
DrawDeviceD3D.dll https://github.com/krkrz/krkr2/tree/master/kirikiri2/trunk/kirikiri2/src/plugins/win32/drawdeviceD3D
DrawDeviceD3DZ.dll https://github.com/krkrz/krkrz/tree/last_hodgepodge_repository/src/plugins/win32/drawdeviceD3D
ExtKAGParser.dll http://keepcreating.g2.xrea.com/krkrplugins/ExtKAGParser/ExtKAGParser-0143.zip
KAGParserEx.dll https://github.com/wtnbgo/KAGParserEx
KAGParserExb.dll https://github.com/sakano/krkr_archives/tree/master/kagex_plugin/KAGParserExb
KaichoTrans.dll http://keepcreating.g2.xrea.com/krkrplugins/KaichoTrans/KaichoTrans.zip
LayerExDraw.dll https://github.com/wtnbgo/layerExDraw
LayerExImage.dll https://github.com/wtnbgo/layerExImage

In tlib_250.tgz, sce/doc/html/web/html/bug_txt.htm#0010240 Release 00/10/24 EE メモリーコントローラバグについて

ライセンシー各位
                                                                2000/10/24
                                                (株)SCE ソフトウェア開発部
"/dev_hdd0/game/NPIA00001/USRDIR/IMAGE.DAT": ./dev_flash_009/content_unpacked/dev_flash/vsh/module/game_ext_plugin.sprx
"Sony PS2 Memory Card Format ": ./dev_flash_006/content_unpacked/dev_flash/vsh/module/vmclib.sprx
"Sony Computer Entertainment Inc.": ./dev_flash_010/content_unpacked/dev_flash/vsh/module/libps2hdd.sprx
"ROMDIR": ./dev_flash_016/content_unpacked/dev_flash/ps1emu/ps1_rom.bin, ./dev_flash_017/content_unpacked/dev_flash/ps2emu/ps2_netemu.self, ./dev_flash_017/content_unpacked/dev_flash/ps2emu/ps2_emu.self, ./dev_flash_017/content_unpacked/dev_flash/ps2emu/ps2_gxemu.self

External plugin support for Kirikiri SDL2

Support for external plugins has been implemented in Kirikiri SDL2.

For Win32 platforms, in most cases, the plugins built for Kirikiri 2 and Kirikiri Z will work as-is without any modifications.

The source code for plugins ported to work with Kirikiri SDL2's other supported platforms can be found in the "krkrsdl2" branch, and releases/binaries in the "latest_krkrsdl2" tag:
https://github.com/krkrsdl2/KAGParser
https://github.com/krkrsdl2/SamplePlugin (basetest, exceptiontest, extrans, imagesaver, nativeclasstest, wutcwf, xp3dec)