Skip to content

Instantly share code, notes, and snippets.

View derplayer's full-sized avatar
🤔
Status message? What is this, MSN? It's a code sharing service not a hookup site

derplayer

🤔
Status message? What is this, MSN? It's a code sharing service not a hookup site
View GitHub Profile
@derplayer
derplayer / install-oscam.sh
Created March 2, 2023 00:30 — forked from jfisbein/install-oscam.sh
install and update oscam on raspbian
#!/bin/bash
set -e
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
function install() {
@derplayer
derplayer / panzer_front_ausf_b.bms
Created January 26, 2022 23:57
Panzer Front Ausf.B (PS2) / PAK (script 0.1) for QuickBMS
# Panzer Front Ausf.B / PAK (script 0.1)
# script for QuickBMS http://quickbms.aluigi.org
get FILES long
get GLOBALHEADERLENGTH long
goto 0x08
for i = 0 < FILES
SavePos STARTPOS
print "STARTPOS: %STARTPOS|h%"
@derplayer
derplayer / bog_to_dds_archive_imp.txt
Last active October 2, 2021 22:01
Who Wants to Be a Millionaire? Party Edition - *.bog to *.dds Converter (archive.imp)
import os
# extract archive.imp with quickbms and imp0.bms to get the raw files
# use this one http://aluigi.altervista.org/bms/imp0.bms
# then copy this script into the extracted folder
rootdir = './'
# note: this will not work on all files only the ones that have a cheap header before dds
for subdir, dirs, files in os.walk(rootdir):
for file in files:
print os.path.join(subdir, file)
@derplayer
derplayer / Recover damaged Parrot AR.Drone 2.0 video recordings (mp4.tmpvid).txt
Last active July 21, 2021 18:27
Fix/Recover damaged Parrot AR.Drone 2.0 video recordings (mp4.tmpvid)
My Parrot AR Drone 2.0 crashed into water and was dead but...
It still saved the footage as mp4.tmpvid, that is damaged and not playable anymore.
Here is how it can be fixed:
1. Get recover_mp4 (freeware) and ffmpeg and extract
2. Open cmd where you extracted recover_mp4 and ffmpeg
3.
This hex dump is a analyze file used by recover_mp4!