Skip to content

Instantly share code, notes, and snippets.

@cualquiercosa327
cualquiercosa327 / SceCompat.c
Created April 14, 2020 12:31 — forked from xerpi/SceCompat.c
PSVita Reverse Engineering
/*
* SceKermit (MIPS side):
* - https://gist.github.com/TheOfficialFloW/4fdec09e53a7c93a0d07d9e3e982dff4#file-kermit-c-L145
* - https://github.com/Total-Noob/kermit_reverse/blob/master/main.c
*/
/*
* Initial state:
* MIPS ARM
* Consumer ready = true Producer ready = true
@cualquiercosa327
cualquiercosa327 / Defines
Created April 17, 2020 23:49 — forked from hogsy/Defines
List of MessiahScript sub-routines provided by the engine.
CheckForPickup
CheckAttached
CheckForPossesion
CheckBulletCollision
CheckBoneCollision
CheckActorCollision
CheckForGrab
AttachLockedActor
AttachToActor
CheckForVisual
@cualquiercosa327
cualquiercosa327 / its_demo.txt
Created April 17, 2020 23:50 — forked from hogsy/its_demo.txt
My crap incomplete notes for the Into the Shadows demo from 1995 - rest of this is an executable that scans through the demo searching for crap
The packed EXE ends at 175869 bytes into the file
20 is ' '
0A is '\n'
0D is '\r'
TVR procedure texture definition file
This is declared 2406022 bytes in
Possibly 254 bytes? - unable to find any clues
@cualquiercosa327
cualquiercosa327 / main.c
Created January 13, 2021 22:33 — forked from CTurt/main.c
#include <stdio.h>
#include "preoop.h"
#include "exception.h"
#define objects(a, b) objectList(a,\
objectEntry(fileReader, b)\
)
object(fileReader,
@cualquiercosa327
cualquiercosa327 / ps4_mono_to_il.py
Created March 27, 2022 02:00 — forked from SocraticBliss/ps4_mono_to_il.py
PS4 MONO binaries to IL MONO binaries
#!/usr/bin/env python
'''
PS4 MONO binaries to IL MONO binaries by SocraticBliss (R)
The script recursively searches the directories for PS4 MONO DLL and EXE files,
finds the scekrit magic for them and then spits them out in the same directory...
1) Place this script in the top-most directory
2) python ps4_mono_to_il.py
@cualquiercosa327
cualquiercosa327 / PS4_PKG.bt
Created March 27, 2022 02:01 — forked from SocraticBliss/PS4_PKG.bt
PS4 PKG Template for 010 Editor
//------------------------------------------------
//--- 010 Editor v9.0 Binary Template
//
// File: PS4_PKG.bt
// Authors: SocraticBliss
// Version: 1.0.0
// Purpose: 1) Decode the PKG format for the PS4 (64 bit)
//
// Category: Game
// File Mask: *
@cualquiercosa327
cualquiercosa327 / PS4_SELF.bt
Created March 27, 2022 02:01 — forked from SocraticBliss/PS4_SELF.bt
PS4 Signed ELF Template for 010 Editor
//------------------------------------------------
//--- 010 Editor v9.0 Binary Template
//
// File: PS4_SELF.bt
// Authors: SocraticBliss
// Version: 1.0.0
// Purpose: 1) Decode the Signed ELF format for the PS4 (64 bit)
// 2) Decode the ELF program and section headers
//
// Category: Game
@cualquiercosa327
cualquiercosa327 / ildumper_script_reader.py
Created May 13, 2022 07:07 — forked from Francesco149/ildumper_script_reader.py
ghidra script for read script.py from Il2CppDumper
# -*- coding: utf-8 -*-
import ghidra.program.model.symbol.SourceType
import re
functionManager = currentProgram.getFunctionManager()
#minAddress = currentProgram.getMinAddress()
baseAddress = currentProgram.getImageBase()
USER_DEFINED = ghidra.program.model.symbol.SourceType.USER_DEFINED
@cualquiercosa327
cualquiercosa327 / dump-uwp-apps.md
Created January 31, 2023 00:19 — forked from FusRoDah061/dump-uwp-apps.md
Dump UWP apps files

Overview

Most apps and games downloaded from Microsoft Store on Windows 10 are placed on a special folder (WindowsApps), which the user probably won't have access.

That said, in case you want to use mods in a game, you'll likely need access to the it's files. Even though Microsoft introduced the option to enable mods, not all developers have adopted this yet (if some ever will). This document presents an alternative to get access to the files you may need.

This is basically a copy-paste of u/WiredRawdy's reddit post.

Requirements