*.psx
- Apocalypse / THPS / Spiderman / whatever model format
Documented by GreaseMonkey
Document version v2
I release this document into the public domain.
This information aims to cover the format used as per the PS1 and PC versions of THPS2.
// riscv64-elf-gcc -Os -mcmodel=medany -nostdlib -march=rv64gc -Wl,-T,qemu.ld -o vga-hello.elf boot.S main.c | |
// qemu-system-riscv64 -machine virt -device VGA -smp 1 -kernel vga-hello.elf | |
.section .text | |
.global _start | |
.global _enter | |
_start: | |
_enter: | |
//1: j 1b |
@echo off | |
wla-gb -o main.o main.asm | |
wlalink -r linkfile output.gb |
from pyspades.constants import * | |
def apply_script(protocol, connection, config): | |
class TemplateProtocol(protocol): | |
def __init__(self, team, *args, **kwargs): | |
return connection.on_team_join(self, team, *args, **kwargs) | |
class TemplateConnection(connection): | |
def __init__(self, *args, **kwargs): | |
return connection.on_team_join(self, *args, **kwargs) |
// kkrotchbulge: a cheap nasty hack to capture 60fps vids on Linux & BSD systems / GreaseMonkey, 2015 - Public Domain | |
// note, only does video right now, and only handles SDL2 + GL. | |
// compile+render: cc -fPIC -shared -o libkkrotchbulge.so kkrotchbulge.c -I/usr/local/include `sdl2-config --cflags` -L/usr/local/lib -lGL && env LD_PRELOAD=./libkkrotchbulge.so ./tfiy | |
// transcode (in another terminal): ffmpeg -s 1280x720 -r 60 -pix_fmt rgba -f rawvideo -i kkrotchbulge-out-vid tfiy-vid.mkv | |
// combine audio: ffmpeg -i tfiy-vid.mkv -i dat/ds15rel-gm.ogg -acodec copy -vcodec copy tfiy-60fps.mkv | |
#include <string.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <errno.h> |
The Silent Hill 2 Briefcase: The Actual Word List | |
PC version: | |
0048f640 50 01 a0 00 6f 01 df 00 30 01 e0 00 4f 01 ff 00 |P...o...0...O...| | |
0048f650 90 00 20 01 ff 01 ff 01 a0 00 00 01 4f 01 1f 01 |.. .........O...| | |
0048f660 c0 00 e0 00 2f 01 ff 00 50 01 e0 00 ff 01 1f 01 |..../...P.......| | |
0048f670 6f 70 65 6e 64 61 6d 6e 68 65 6c 6c 74 6f 77 6e |opendamnhelltown| | |
0048f680 64 61 72 6b 6d 61 6d 61 64 6f 77 6e 6c 6f 76 65 |darkmamadownlove| | |
0048f690 6c 6f 63 6b 6d 69 73 74 6c 75 63 6b 6c 6f 73 65 |lockmistlucklose| |
(Fr), Seed,Clock,Blod,Carb,Spin,Bug,H,Br,iefcase | |
0,0x6A4F8C55,10:10,3338,3869,6583,921,6,15,time | |
1,0x1F5ED66A,10:47,7414,3338,2275,687,1, 4,dark | |
2,0x00B1C75B,08:20,8699,7414,9532,794,4,10,luck | |
3,0x41D1CBF8,00:13,3386,8699,5834,653,1, 2,hell | |
4,0x2C4998D1,03:22,4147,3386,2756,473,2,17,kill | |
5,0x0A8BEF36,07:15,6996,4147,5322,147,1, 0,open | |
6,0x5A3B7E37,06:20,3864,6996,8341,642,4,14,dust | |
7,0x2153AFA4,07:41,1471,3864,7564,128,1,16,help | |
8,0x2CFDF10D,08:06,9966,1471,3221,429,2, 0,open |
local xpayload = [[ | |
-- evalquine resident ComputerCraft virus | |
-- by GreaseMonkey, 2012-04-04 | |
local payload, xshell | |
payload, xshell = ... | |
local function wreck_everything() | |
local function split(s,token) | |
local l = {} |
*.psx
- Apocalypse / THPS / Spiderman / whatever model format
Documented by GreaseMonkey
Document version v2
I release this document into the public domain.
This information aims to cover the format used as per the PS1 and PC versions of THPS2.
/* | |
THPS2 level viewer | |
quick release 1 | |
by GreaseMonkey, 2017 - Public Domain | |
takes two args | |
first arg is the main model (e.g. skhan.psx, skhan_o.psx) | |
second arg is the texture lib (e.g. skhan_l.psx) | |
needs SDL2 and OpenGL |
This file contains all 1531 filenames in the original PS1 version of Tony Hawk's Pro Skater 2, | |
EXCEPT for one filename. These were all obtained from the PAL version. | |
*** UPDATED: FOUND. It's "loading.bmp". *** | |
The missing filename is index 0965 and it's a BMP file. | |
I'm bruteforcing the filename, it's not an easy one to guess as it's a relic from THPS1. | |
This will take quite a few hours to get through the alphabet. I'm on "af??????.bmp" right now. | |
Have fun. |