Skip to content

Instantly share code, notes, and snippets.

Yukai Li GMMan

  • Alberta, Canada
View GitHub Profile
GMMan / String.lua
Created Mar 18, 2020
Crash fix for Angelica Weaver - Catch Me When You Can
View String.lua
-- String Utils
function ArgToString( arg )
if not arg then
return ''
View init.rc
# Copyright (C) 2012 The Android Open Source Project
# IMPORTANT: Do not create world writable files or directories.
# This is a common source of Android security bugs.
#import /init.${ro.hardware}.rc
import /init.usb.rc
import /init.trace.rc
View .gitlab-ci.yml
name: "steamcmd:latest"
entrypoint: [""]
- "# Running SteamCMD"
- "cp -r ssfn_cache/. ~/.steam || :"
- echo "${STEAMCMD_STEAMGUARD}" | steamcmd +login "${STEAMCMD_USER}" "${STEAMCMD_PASSWORD}" +quit
- mkdir -p ssfn_cache
- cp -r -t ssfn_cache ~/.steam/ssfn* ~/.steam/config


upgrade_app is the built-in upgrade flasher on the PlayStation Classic. It reads an upgrade file from USB, verifies it, and flashes it. In normal boot, it needs to be called to start the upgrade process. In recovery boot, it is automatically started and polls for files on an attached USB drive to flash the normal system. The program takes a single argument as a command. They are:

  • normal: Reboots the system to recovery and waits to flash a normal system. It will refuse to boot into recovery if it detects recovery is not successfully
GMMan /
Last active Apr 14, 2019
OTG flashing instructions

The install isn't too bad as long as you have shell access and can work your way around the command line. Assuming you have BleemSync payload installed:

  1. Download and place the new kernel image on a USB drive.
  2. Plug the PSC to your computer and turn it on.
  3. Plug in the USB drive to the PSC.
  4. Open a telnet connection to the PSC.
  5. Depending on whether you're booting a solution off the USB drive, you may need to mount it. If you don't see anything in /media, do this:
    systemctl stop usb_watch
    mount /dev/sda1 /media
GMMan /
Last active Jan 29, 2019
PlayStation Classic power management system, documented

PlayStation Classic power management system, documented

This document describes the power management system on the PlayStation Classic. It is mostly focused on the power_manage executable: the command line arguments, control files, and processes. It'll also touch upon the system service setup and startup script.

There are a few components to the power management system: the startup script, the power management service, thermal kernel modules, and supporting programs such as the USB reset script and thermal handling scripts. Let's start with

View gist:e37e96b38b5eb20a3538fa725c6b76f3
View SteamCallbacksIL2CPP.cs
// Unity 32bit Mono on Windows crashes with ThisCall/Cdecl for some reason, StdCall without the 'this' ptr is the only thing that works..?
#define STDCALL
#define THISCALL
namespace Steamworks
View cy_ZoomParallax.js
// cy_ZoomParallax.js
* @plugindesc Adds a parallax effect when zooming
* @author cyanic
* @help Plugin commands:
* zoomparallax <enable|disable|toggle>
View mv_151_160.diff
diff --git a/Game.rpgproject b/Game.rpgproject
index 0ad457a..df7c111 100644
--- a/Game.rpgproject
+++ b/Game.rpgproject
@@ -1 +1 @@
-RPGMV 1.5.1
\ No newline at end of file
+RPGMV 1.6.0
\ No newline at end of file
diff --git a/js/rpg_core.js b/js/rpg_core.js
You can’t perform that action at this time.