eadmaster Dot TK

Everything is Alphanumeric!

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

Convenient tool to change the video gamma correction.
Based on the Gamma Ramp API (Windows only).
Tested and works with most recent video cards.
usage: gamma [NEW_GAMMA]
 supported range: 1.0-2.0
download C++ source code and binary: gamma.zip

trimrom

A (mostly) universal ROM dumps trimmer.
It 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

pec2epsxe

Converts PEC PSX codelist into the new ePSXe 1.8 cheat format.
download: pec2epsxe.py

pec2pcsxr

Converts PEC PSX codelist into the PCSXR cheat format.
download: pec2pcsxr.py

pec2cep

Converts PEC PSX codelist into the PEC cheat format (for use with e.g. pSX).
download: pec2cep.py

rennointro2good

A mass-renamer for generic files from No-Intro to GoodTools format.
download: rennointro2good.py

a2sfv

Read CRC32 hashes from a compressed file and output an sfv file.
usage: a2sfv ARCHIVE_FILE > [SFV_FILE]
download: a2sfv.py
rarfile package is required for rar files support
pylzma package is required for 7z files 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 let you forget its internal system and device names.
The launcher will guess them for you from the input file extension.
download Windows shell version: mess.bat
download Linux shell version: mess

ftype2, assoc2 and shellex

A few tools to play with Windows' shell.
ftype2 and assoc2 are enhanced version of Microsoft tools (ftype and assoc), shellex is a tool to create new shell extensions.
usages:
ftype2 ftype "Description" DefaultIcon "name1" command1 ["name2" command2 ...]
assoc2 .ext ftype [PerceivedType MIME]
shellex ftype "name" command
download: ftype2.bat, assoc2.bat, shellex.bat

wipe

Securely delete a file by overwriting multiple times.
(It does not support directories recursion.)
download Windows shell version: wipe.bat
requires: dd in your PATH

hex

usage: hex FILE OFFSET [NEW_VALUE]
 view/change a single byte in a file
 OFFSET and NEW_VALUE can be specified both as decimal or hexadecimal integers.
 if NEW_VALUE is omitted output the current value to stdout (useful for scripting!).
download bash shell version: hex
download the old C version: hex.zip

reassoc

Lots of useful file associations and shell commands.
Make use of ftype2, assoc2, shellex and nircmdc.
download Windows shell version: reassoc.bat

power

All-in-one script to control the power of PCs and single devices.
Examples:
  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

kana-romaji bidirectional converters

Handy scripts to type Japanese words.
I've made them for use with the sdcv dictionary utility, but they are easily reusable as filters.
They only require sed, so they are very portable.
download kana (romaji to hiragana and katakana converter)
download romaji (kana to romaji converter)

talkfilters

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




All the tools listed above and more:







To support my projects you can buy something from me.






ads