Skip to content

Instantly share code, notes, and snippets.

View uyjulian's full-sized avatar

Julian Uy uyjulian

View GitHub Profile

Playstation 2 networking stacks

INET

Main code on the IOP. SCE-developed.

Relevant IOP modules:

  • inet.irx
  • inetctl.irx
名称 機能/参照ページ
Z取り出し ディスクを取り出すボタン
Gガイド 番組表を表示させる (28)
ゲーム終了 ゲームモードを終了する(64)
電源 本機の電源を入れる
数字ボタン チャンネルを選ぶ/数字を入力する(17)
BSチャンネル BSチャンネルを選ぶ
クリア 入力した数字を消す
トップメニュー DVDのタイトルを表示させる
メニュー DVDのメニューを表示させる

PS2 BIOS/ROM Contents

Here is an overview of what is contained in a PS2 ROM (including TOOL, DESR/PSX, ps2emu/ps2gxemu/ps2softemu (PS3), System 246 and System 256).
An updated version is available here: https://www.psdevwiki.com/ps2/index.php?title=Bios

Outdated information! ## Contributors SP193

Files

How to install Homebrew package manager on Steam Deck

(See also installing Distrobox: 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
import idaapi, idc, inspect, ida_bytes, ida_nalt
for i in range(8):
arrptr = int.from_bytes(idc.get_bytes(0x2AD200 + (i * 4), 4), byteorder="little")
for j in range(527):
strptr = int.from_bytes(idc.get_bytes(arrptr + (j * 4), 4), byteorder="little")
numbytes = ida_bytes.get_max_strlit_length(strptr, ida_nalt.STRTYPE_TERMCHR, ida_bytes.ALOPT_IGNHEADS | ida_bytes.ALOPT_IGNCLT)
ida_bytes.del_items(strptr, ida_bytes.DELIT_EXPAND, numbytes)
ida_bytes.create_strlit(strptr, numbytes, ida_nalt.STRTYPE_TERMCHR)

Ghidra quick start guide

Context sensitive help

Press "F1" or Help menu item on anything

Canceling operation

Stuck on an error or warning? Try using "esc" to cancel the input

@uyjulian
uyjulian / gist:7254270
Created October 31, 2013 18:11
better ROBLOX join.ashx
--(Hash here)
-- Vars generated by ashx --
local isTeleporting = false
local waitingForCharacterGuid = "520a3c95-6fbc-4d2c-8613-1e278289ce15"
local rbxApiTicket = "63fca81e923f421db20345a7e5e4943c"
local isSuperSafeChat = false
local isUnder13

DTL list

(This is a mirror from https://www.obscuregamers.com/threads/ps-x-playstation-playstation-2-reference-dtl-eb-list.1026/post-9953.html with adjustments to make it render properly)

Here is my own DTL list. I didn't really use existing DTL list to create it. It was created after years of collecting and searching. I still can't confirm some things and I still don't have every thing of course but I have seen or even have the most of these things. The software and documentation here is mostly Japanese because SCEA and SCEE used their own mixes under their own codes and they were mostly the same every time. The books from SCEA and SCEE rarely had any DTL codes.

The list is still raw. Ask any questions. I will try to answer. Post any DTL stuff here if you don't see it in the list or it has "?".

PS-X

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)

#include <stdint.h>
#include <stdio.h>
uint64_t FUN_00293a60(uint64_t param_1) //OK
{
int iVar1;
uint64_t uVar2;
uint64_t uVar3;