My stuff
Scripts
GIMP 2.6 Scripts
Lightsaber (Brightness Sensitive) - Creates a brightness sensitive lightsaber using a given color and size. Draw the path, and the script does the rest.
Batch Template - This batch template works using the wildcard (*) operator to specify files (e.g. *.xcf to select all .xcf files).
Windows Command Line Syntax Example:
(All of the characters that need to be escaped are escaped in the example.)
Description: This batch script uses the command line version of GIMP to avoid a new window opening when running the batch. (Noted by gimp-console-2.6.exe) It runs without opening a window of the interactive GIMP. (Noted by -i.) It asks GIMP to run two batch commands (noted by -bs) The first one is to run the batch script through every .xcf file in the current directory. The second command tells GIMP to exit after it is done processing all the commands. The pause line is only useful if you are running a .bat file and want to see what text GIMP spits out after running the batch.
NOTE: The filename(s) for the batch is/are specified by everything between the \" marks.
NOTE: If you want to specify a directory within the contents of the -b command, you must escape the slashes by preceding them with a backslash. (e.g. C:\tmp\ should be C:\\tmp\\ in the batch script)
If you've been trying to make a batch script for GIMP 2.6 and could never get a drawable into the script, you probably missed a change from GIMP 2.4 to 2.6 that I have not noticed documented. The closest example to a real working batch script for GIMP 2.6 contained the line "(drawable (car (gimp-image-get-active-layer image))))" in its let* statement, and that threw GIMP off. When you open an image in GIMP (in batch mode at least), there is no active layer/drawable selected. The faulty line of code assumes that a layer is already activated, which is not true when opening an image in batch mode. The batch template posted here takes care of the problem by:
- Getting the bottom-most layer in the image
- Setting it as the active layer
- Setting the active drawable using (car(gimp-image-get-active-drawable img))
Autohotkey Scripts
Autopistol CSS - An autohotkey script that rapidly fires a pistol for you. Hold onto both the left and right mouse button to use it. Make sure you hold down on the left mouse button first.
Python Scripts
Convert SMD to HL2 FormatThis script converts old SMD format so they open with SMD importers made with blender. Please don't try to convert an hl2 smd to an hl2 smd or you will get an ugly result. How do you know if it is an HL2 smd? Check the example:
Old format (OK to run with script):
56 0.269362 -2.535798 -9.639942 -0.000624 -0.778203 -0.628013 0.823911 -0.628811
56 0.424139 -3.039822 -9.015534 -0.000624 -0.778203 -0.628013 0.843407 -0.575799
56 0.422881 -3.480233 -8.469797 -0.000624 -0.778203 -0.628013 0.863687 -0.529713
Half-Life 2 format(Already OK, no need to run script):
0 0.269362 -2.535798 -9.639942 -0.000624 -0.778203 -0.628013 0.823911 -0.628811 1 56 1.000000
0 0.424139 -3.039822 -9.015534 -0.000624 -0.778203 -0.628013 0.843407 -0.575799 1 56 1.000000
0 0.422881 -3.480233 -8.469797 -0.000624 -0.778203 -0.628013 0.863687 -0.529713 1 56 1.000000
Flexicon VBScript to AHK - Converts flexscript.vbs from anagramssolved to autohotkey format. Select the first column down and press Ctrl+Z to operate. Just double click it with a flexscript.vbs in the same directory as this script. Note that there is no error checking.
Chicktionary VBScript to AHK - Types in one column, waits 4-5 seconds, and repeats. Avoids simple captchas. Just double click it with a chicktionary.vbs in the same directory as this script. Note that there is no error checking.
Tutorials
Counter-Strike: Source
Uninstalling CSS Skins
Trivia Game Answers
Matt Lauer Answers
Questions/Comments? inviteman3(AT)gmail(DOT)com