Skip to content

Instantly share code, notes, and snippets.

View uyjulian's full-sized avatar

Julian Uy uyjulian

View GitHub Profile

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
# SPDX-License-Identifier: MIT
import sys
def decompress_osdsys(src, dst):
run = 0
src_offset = 0
dst_offset = 0
state_length = 0
state_block_desc = 0
#include <stdint.h>
#include <stdio.h>
uint64_t FUN_00293a60(uint64_t param_1) //OK
{
uint64_t uVar11;
uVar11 = 0;
# SPDX-License-Identifier: MIT
import sys
import io
def read_items(in_bytes=None, in_items=None, in_dic=None, in_byteorder="little"):
total_offset = 0
for x in in_items:
item_name = x[0]
# PPC440x AUX instructions to dcread instructions
from idaapi import *
from idautils import *
def main():
# Loop through all the segments and scan any marked as code.
seg = ida_segment.get_first_seg()
while seg is not None:
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
cmake_minimum_required(VERSION 3.0)
project(csvParser)
list(APPEND SOURCES
Main.cpp
Krkr2DrawDeviceWrapper.cpp
BasicDrawDevice.cpp
)
list(APPEND INCFLAGS
# SPDX-License-Identifier: MIT
# Decompress linux_p7.daz from SCPN-60160
import zlib
import sys
import io
with open(sys.argv[1], "rb") as f:
iobj = zlib.decompressobj()
f.seek(0, 2)
sz = f.tell()
enum
{
_rSpuInit = 0x0001,
rSpuSetCore = 0x0002,
rSpuSetKey = 0x0005,
rSpuSetReverb = 0x0006,
rSpuClearReverbWorkArea = 0x0007,
rSpuSetReverbEndAddr = 0x0008,
rSpuSetReverbModeDepth = 0x000A,
rSpuSetReverbVoice = 0x000B,
/* Macros to set ADSR: i=increment, d=decrement */
enum
{
SD_ADSR_AR_LINEARi = 0,
SD_ADSR_AR_EXPi = 1,
};
enum
{