Skip to content

Instantly share code, notes, and snippets.

Lords of Xulima ICSharpCode.SharpZipLib fix

When launching Lords of Xulima 2.1.1.1352 and you're not on an en-US locale (e.g. you're using a German, Spanish or French Windows) you cannot launch the game. This error message shows up instead:

ERROR MESSAGE

 ID  1AAA7238
SO: Microsoft Windows NT 6.2.9200.0 
64 bits: True 
Rainbow Islands (1990) 00:34
Super Space Invaders (1991) 00:45
Postman Pat (1989) 00:52
BMX Simulator (1986) 01:02
Dalek Attack (1992) 01:13
Rampart (1992) 01:26
Curse of Sherwood (1992) 01:35
Popeye (1986) 01:45
Bionic Granny (1984) 01:55
Keystone Kapers (2019) 02:04
#!/bin/bash
target=package
if [[ -f $1 ]]; then
echo "unzipping ${1} to ${target}/"
rm -rf $target
unzip -q $1
cp -r public/themes/nowherians ${target}/themes/
cp -r public/plugins/Nowherians ${target}/plugins/
C:\Users\frame\Desktop\Disk Repair>sha256sum Disk.adf
09bb58cc1fdce3e1a5e17d8c8a23db7272be531aa69f8da5ec8dd6469b1528eb Disk.adf
C:\Users\frame\Desktop\Disk Repair>DTC -c2
CM: maxtrack=83
C:\Users\frame\Desktop\Disk Repair>DTC -fDisk.adf -w
Image name: Disk.adf
Image type: ADF
Image sides: 2
  • Aladdin
  • Alcatraz
  • Alien Breed
  • Alien Breed 3D
  • Apocalypse
  • Apprentice
  • ArmourGeddon
  • Axel's Magic Hammer
  • Banshee [AGA]
  • Bards Tale - Chapter One
@frame
frame / merge-pdf.bat
Last active October 19, 2018 09:40
Merge input/*.pdf into a single pdf
REM Create folders ./gs/ and ./input/
REM Download Ghostscript (64bit) and extract to ./gs/
REM Copy PDF files to be merged to ./input/
REM Run merge-pdf.bat
@echo off
if exist input\input.txt del input\input.txt
for %%s in (input\*.pdf) do echo "%%s" >> input\input.txt
gs\bin\gswin64c.exe -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=output.pdf -dBATCH @input\input.txt
if exist input\input.txt del input\input.txt
@frame
frame / pdf-ocr-process.sh
Last active October 3, 2019 14:08
Canon MF421DW - watch and process incoming scans (detect/remove blank pages, deskew, OCR)
#!/bin/bash
file=$2
basename=${file%%.*}
source_path=$1
if [[ $source_path == */User2/ ]] ;
then
target_path=/mnt/s/Files/Docs/Scans/User2/
else
#!perl
$| = 1;
print "Content-type: text/html\n\n";
my $soapCommand = "hsp_getCurrentShardCapacity_All";
my $soapCountPayload = <<SOAPEND;
<soap:Envelope