Skip to content

Instantly share code, notes, and snippets.

@marcussacana
marcussacana / realbasic-overlay-resolve.py
Last active July 26, 2024 15:05 — forked from iscgar/realbasic-overlay-resolve.py
REALbasic (Xojo) Reverse-Engineering Helper Script
# IDA REALbasic reverse engineering helper script
# It seems that every version of REALbasic (Xojo) the loader
# has a different behaviour (especially with regard to parsing
# the imports table), so I'm documenting here that this script
# was created based on a 2009r5 executable.
# marcussacam, 2024-07-26 (Port for newer IDA)
# iscgar, 2018-09-26
#
# Based on the REALbasic OVERLAY resolver
# XpoZed @ http://nullsecurity.org, 2017-07-16
document.location = "https://ps4xploit900.github.io/jailbreak/";
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Runtime.CompilerServices;
namespace TextDraw
{
public static class GDI
{
@marcussacana
marcussacana / ReadSeekableStream.cs
Created September 15, 2021 13:34
Random Access Stream (WIP)
public class ReadSeekableStream : Stream, IDisposable
{
private readonly Stream Buffer;
private readonly Stream InputStream;
string TempFile = Path.GetTempFileName();
public ReadSeekableStream(Stream Input)
{
@marcussacana
marcussacana / steam win 11.md
Last active August 23, 2024 01:33
Steam Windows 11 don't launching workaround

In the initial insiders build of the windows 11, some few programs simplely freeze and you can't even kill the process. The steam is a program that don't open if you already have a instance running.

As a workaround this is a small patch that are able to 'remove' the steam anti multiple instances in the same machine.

The patch is made by replacing this 0x74 value to 0xEB in the steam.exe file https://i.imgur.com/WLqwAYW.png

I recommend you try patch by yourself finding the patterns around the 0x74 in my screenshot

@marcussacana
marcussacana / lcores.bt
Created April 4, 2021 19:31
Unreal Engine 4 locres structure (010Editor Template)
//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//
// File: locres.bt
// Authors: marcussacana
// Version: 1.0
// Purpose: Parse the UE4 locres content
// Category: other
// File Mask: *.locres
// ID Bytes: 0E 14 74 75 67 4A 03 FC 4A 15 90 9D C3 37 7F 1B
@marcussacana
marcussacana / UnixGate.cs
Last active May 12, 2021 11:00
Call Native Linux Functions From wine 4.x with .net framework
//UnixGate.cs - BY MARCUSSACANA
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
internal static class UnixGate
{
static bool Enabled;
@marcussacana
marcussacana / PSP HandBrake.json
Created August 29, 2019 23:33
PSP HandBrake Encoding Profile
{
"PresetList": [
{
"AlignAVStart": false,
"AudioCopyMask": [
"copy:aac"
],
"AudioEncoderFallback": "ac3",
"AudioLanguageList": [],
"AudioList": [
@marcussacana
marcussacana / ZorinOS.md
Last active February 6, 2023 22:49
ZorinOS WSL2 Distro

Zorin OS Distro for WSL2

  1. Download Here
  2. Run the "Install Zorin.bat"
  3. Installed!

Post Install

Run ZorinOS in your windows CMD, then in the first startup it will prompt you with a username
Be sure to put a unix username without any special characters, and in lower case.

@marcussacana
marcussacana / Main.cs
Created January 13, 2017 15:43
Criminal Girls Extract/Repacker
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace CriminalGirlsLib {
public static class PS3FileSystem {
public static File[] Open(Stream Packget) {
BinaryReader Reader = new BinaryReader(Packget);