eadmaster Dot TK

Never assume malice when stupidity will suffice

Command-line tools


compiled programs

mab

Mozilla Thunderbird address book viewer based on this mork parser.
usage: mab MABFILE [SEARCH_QUERY]
download C++ source code and binaries: mab.zip

gamma

Tool to change the video gamma correction based on the Gamma Ramp API.
Tested and works with most recent video cards.
usage: gamma [NEW_GAMMA]
 supported range: 1.0-2.0
download C++ source code and Windows binary: gamma.zip
(for linux see the command xgamma)

trimrom

A (mostly) universal ROM dumps trimmer.
It just removes the padding bytes set to 00 or FF at the end of the input file.
usage: trimrom INPUT_FILE [OUTPUT FILE]
If the output file is omitted, only the trimmable bytes are counted.
In every case the input file is keep untouched (inplace trim is not allowed, use truncate for that).
download C source code and binaries: trimrom.zip


Python scripts

ss

This is a file bin packer featuring the subset sum DP algorithm.
It does not try to minimize the number of bins used, it just selects the subset of files that best fit a single bin.
usage: ss.py [-s BIN SIZE] [-p PRECISION] FILES_LIST
  the binsize and precision can be specified using human suffixes and string constants (like 1MB, 2GB, CD-R, DVD-R, DVD+R (default), etc.)
  the precision is adapted automatically according to the bin size.
  subdirectories are handled as single files and their sizes are computed recursively (this behaviour cannot be changed by now).
download: ss.py
download the old C version (buggy): ss.zip

PEC PSX codelist converters

Converters for the PEC PSX codelist (a HUGE compilation of PlayStation cheat codes).
No extra dependencies, but written for Python 2.x.
usage: pec2epsxe /path/to/codelist.inf [gamename|SLXX-XXXXX]
  if no gamename or code is specified then all the cheats are converted (warning: will generate a LOT of files!).
download: pec2epsxe.py (for ePSXe 1.8)
download: pec2pcsxr.py (for PCSXR)
download: pec2cep.py (for CEP and pSX)

rennointro2good

A mass-renamer for generic files from No-Intro to GoodTools format.
It will only change the tags at the end of the filenames. Unfortunately this is not sufficient to have all the filenames matching, but most will.
This is meant for use with non-ROM files (cheat sheets, IPS patches, etc.).
download: rennointro2good.py

a2sfv

Read the CRC32 hashes from a compressed file and output an SFV file.
Definitively faster than extracting all the files and re-computing the hashes from scratch!
usage: a2sfv ARCHIVE_FILE > SFV_FILE
download: a2sfv.py
rarfile package is required for rar support
pylzma package is required for 7z support

codfisc

Generate and reverse Italian fiscal code using pycodicefiscale.
usage: codfisc CODE|SURNAME NAME YYYYMMDD SEX MUNICIPALITY
download: codfisc.zip


shell scripts

MESS auto-launcher

A launcher for the MESS emulator that will try to guess the system and device name from the input file extension.
download Linux shell version: mess
download Windows shell version: mess.bat

Retroarch auto-launcher

Retroarch launcher similar to the previous one. It selects a different configuration file according the input file type (may need paths customization).
download Linux shell version: retroarch
download Windows shell version: retroarch.bat

hex

View or change a single byte in a file with an hex address and value.
usage: hex FILE OFFSET [NEW_VALUE]
If NEW_VALUE is omitted it outputs the current value to stdout, otherwise the file is altered in place and no backup is made.
download Linux shell version: hex
download the old C version: hex.zip

patchcht

Statically patch Game Genie codes from a plaintext cheatsheet file using uCON64.
usage: patchcht ORIGINAL_ROM_FILE INPUT_CHT_FILE
download Linux shell version: patchcht

macinit

Lots of useful shell macros making use of many scripts linked in this page.
download Linux shell version: macinit
download Windows shell version: macinit.bat

reassoc

Lots of useful file associations and shell extensions.
download Windows shell version: reassoc.bat (requires ftype2.bat, assoc2.bat, shellex.bat and nircmdc)

power

All-in-one script to control the power status of PCs and single devices.
example usages:
  power off monitor
  power off wifi
  power off 192.168.0.3   # remote power off
  power status 192.168.0.3   # check power status
  power status all
  power on 00:41:F5:A1:3A:8D  # wake up
  power on OnkyoAmpli
download Linux version: power
dowload Windows version: power.bat

Japanese-romaji converters

A set of converters for the Japanese language.
Useful to type words in Hiragana and Katakana with a Latin keyboard, transliterate text, rename files, etc.
I've originally made them for use with the sdcv dictionary utility, but they are easily reusable as filters.
They only require sed and an UTF8-compatible shell, so they are very portable.
download: romaji2kana (romaji to hiragana and katakana converter)
download: kana2romaji (hiragana and katakana to romaji converter)
download: kanji2kana (kanji to hiragana converter)
download: transliterate (just a wrapper for the previous two scripts)

talkfilters

Talkfilters are small programs that convert ordinary English text into text that mimics a stereotyped or otherwise humorous dialect.
These only require sed, so they are very portable.
download:
caveman (Hulkspeak, Tarzan speech)
cold (man with a cold)
drunk (drunk man)
asian (Engrish)
french (fake French-English accent)
german (fake German-English accent)
russian (fake Russian-English accent)

semi-universal file format tools

These are wrapper scripts that detect the input file type and perform various operations on it using external tools (like imagemagick, ffmpeg, libreoffice, etc.).
They can also be added to the file manager context menu and invoked from there (for Windows see reassoc.bat, for KDE see the desktop files).
download:
fileconvert (convert filetype)
fileconvert.desktop
fileconvert.bat
fileinfo (list metadata)
fileinfo.bat
fileinfo.desktop
filecheck (check for internal errors)
filecheck.bat
filefix (fix internal errors)
filefix.bat
filenew (create new files from templates)
filenew.desktop
filenew.bat
file2txt (print to stdout any file)
file2txt.bat
filegrep (grep any file as text)
filegrep.bat
fileawk
filecut (cut any file)
filecmp (compare file contents ignoring the container)

media file recorder and streamer

They only require VLC to work. May need encoding parameters customization.
example usages:
  record mic out.flac
  record desktop out.mp4
  record cam out.mp4
  stream music.mp3
  stream cam
download Linux shell versions: record, stream
download Windows shell versions: record.bat, stream.bat

shellscript alternatives

These are pure shellscript alternatives to some popular compiled tools.
They are self-contained and busybox-compatible and thus quite portable (for Windows see busybox-w32), but they only provide a reduced feature set of the originals.
download:
aunpack (semi-universal archives extractor)
aunpack.bat
bc (basic calculator)
bc.bat
csvtool (CSV files toolkit)
csvtool.bat
detox (safe file renamer)
html2text
rename (mass-renamer)
rename.bat
man (download from internet if local man is missing)
man.bat
say (invoke the system TTS if present)
say.bat
units (units converter)
units.bat
wipe (securely delete a file by overwriting multiple times)
wipe.bat (requires: dd in your PATH)
xlock (lock the screen)
xlock.bat




All the tools listed above and more:







To support my projects you can view the ads on this page or buy something from me.






ads