Zerk Zone

Pages for the Creations of Ryan Armstrong

gmusicbrowser playlist exporter

Posted on November 10th, 2013 @ 9:37 am by Zerker

So, this is a script I wrote a while ago to interpret the gmusicbrowser database format in python, then automatically create a series of playlists. It’s a little bit hackish and not particularly user friendly, but I’ve tried to document it reasonably well. If you’re a moderately technical user who uses gmusicbrowser, give it a shot and let me know if it’s useful for you.

Included in the download are three files:

gmusicbrowserplaylistexport.py
The module that does all the work
gmusicbrowserplaylistexport.html
Documentation for said module
exportplaylists.py
An example export script that uses the module to export a series of playlists.

When you download this, have a look at the exportplaylists.py file to get an idea of how it works, then modify to suit your database/export needs.

Note that this script was written for (and requires) Python 3.x.

Download

gmusicbrowserplaylistexport.tar.bz2 (6.6 kB)

Comments (0)

Filed under: Programs/Libraries,Python |

Shadow Caster Isometric Mapper and Resource Extractor

Posted on November 14th, 2012 @ 7:02 pm by Zerker

About and Dependencies

This is a series of Python scripts to generate Isometric views of Shadow Caster maps, as well as extract most of the Shadow Caster Resources. These scripts require the Python Imaging Library (PIL) and Python 2.x (tested with Python 2.7.3). PIL unfortunately does not yet support Python 3, which prevents these scripts from being forward-compatible at this time.

Windows users should be able to download Python and PIL from the above links. Most Linux/Unix varients should be able to install Python and PIL via your package manager of choice; Ubuntu users can install the python and python-imaging libraries. OSX users should already have Python, but you may need to compile PIL yourself via the source download at the PIL website.

The scripts also obviously require Shadow Caster (CD version), which can be a bit hard to find nowadays. Purchasing a used copy on eBay or other used game source appears to be the only option.

As before, special thanks to the SLADE Editor and everyone on the ShadowCaster modding thread at Doomworld. Both sources were instrumental in the development of these tools.

Please note the sample.png image file is used to obtain the Shadow Caster colour
palette and is required for this tool to work.

Usage

There are three scripts included in the package that are intended to be executed directly.
isomap.py is the main isometric mapper script,
shadowdat.py is a script to extract the contents of a Shadow Caster .dat file, and shadowlib.py is a script to extract the contents of a Shadow Caster .lib file. In addition to the three scripts above, several supplimentary scripts can be run to gather debug outputs of one form or another, and are listed under the Other Scripts heading.

isomap.py

Usage: python isomap.py [LIB FILE] [cd_castr.dat] [hd_castr.dat]

Generates a isometric map for each level in the specified Shadow Caster
LIB file (typically shadow.lib). The DAT files are used for image data.

shadowdat.py

Usage: python shadowdat.py [DAT FILE]

Extracts the complete contents of a give Shadowcaster dat file.
Does not support the cutscene dat files from the CD version, only
cd_castr.dat and hd_castr.dat. The .dat file from the floppy version may
also work, although it is unknown how frequently the floppy version uses
the RLE flag.

shadowlib.py

Usage: python shadowlib.py [LIB FILE]

Extracts the complete contents of a given Shadowcaster lib file. Resources are not interpreted and are written as-is.

Other Scripts

shadowdebugmapper.py

Usage: python shadowdebugmapper.py [LIB FILE]…

Generates a debug HTML file for each level in the specified LIB file.
Each index in the map is output into a cell in an HTML table
containing the following information:

The map index

the value for each of the map layers, in order

shadowsimplemapper.py

Usage: python shadowsimplemapper.py [LIB FILE]…

Generates a debug HTML file for each level in the specified LIB file.
Each index in the map is output into a cell in an HTML table
with lines representing walls.

shadowmap.py

I didn’t even write any usage instructions for this, but this
can generate image files for each layer of each map in a given lib file,
as well as CSV files for the data from each supplementary data file.

Download

ShadowCaster Mapper.tar.gz (162.8 kB)
ShadowCaster Mapper.zip (161.4 kB)

Comments (0)

Filed under: Maps,Programs/Libraries,Python |

ROTT Isometric Mapper and WAD Extractor Release

Posted on October 13th, 2012 @ 10:33 am by Zerker

About and Dependencies

This is a series of Python scripts to generate Isometric views of Rise of the Triad maps, as well as extract the complete contents of DARKWAR.WAD. These scripts require the Python Imaging Library (PIL) and Python 2.x (tested with Python 2.7.3). PIL unfortunately does not yet support Python 3, which prevents these scripts from being forward-compatible at this time.

Windows users should be able to download Python and PIL from the above links. Most Linux/Unix varients should be able to install Python and PIL via your package manager of choice; Ubuntu users can install the python and python-imaging libraries. OSX users should already have Python, but you may need to compile PIL yourself via the source download at the PIL website.

The scripts also obviously require Rise of the Triad: Dark War, which can be purchased from either 3D Realms or GOG.com. For the mapping scripts, DARKWAR.WAD must be in the current directory.

Usage

There are three scripts included in the package that are intended to be executed directly. rottmapper.py is the main isometric mapper script, rottdebugmapper.py is a script to generate debug maps containing all the original wall/sprite/info values, and wad.py is a script to extract the complete contents of a ROTT wad file. In addition to the three scripts above, rtl.py can also be run directly to generate a simple black and white pixel image of a level, but this is not its primary purpose.

rottmapper.py

python rottmapper.py [RTL/RTC FILE] ([Level Num])

Generates PNG isometric map images based on the specified ROTT RTL or
RTC file. If [Level Num] is specified, this will only generate a map
for the indicated level. Otherwise, maps for every level in the RTL/RTC
will be generated.

This tool requires DARKWAR.WAD from the registered version of ROTT
to be present in the current directory. Note that on case-sensitive file
systems the file name must also be uppercase.

rottdebugmapper.py

python rottdebugmapper.py [RTL/RTC FILE]…

Generates a debug HTML file for each level in the specified ROTT RTL or
RTC file. Each index in the map is output into a cell in an HTML table
containing the following information:

wad.py

python wad.py [WAD FILE]

Extracts the complete contents of a give ROTT wad file. Currently only
supports DARKWAR.WAD. All images will be written as PNG files,
other data will remain in its original format (e.g. .mid for music,
.voc for SFX). Unidentified data will be written with no extension.

Download

rottmapper.tar.gz (47.6 kB)
rottmapper.zip (49.7 kB)

Comments (4)

Filed under: Maps,Programs/Libraries,Python,Rise of the Triad |

Dungeon Mapper Source Code

Posted on May 7th, 2012 @ 4:53 pm by Zerker

As requested, I have released the source code for Dungeon Mapper under the GPLv3. See the original Dungeon Mapper post for source download link.

Comments (1)

Filed under: Java,Programs/Libraries |

Shuffle by Album Script

Posted on August 14th, 2010 @ 11:16 am by Zerker

So, I started using Banshee as my primary music player, but I noticed that it can shuffle by album, it cannot save a static playlist of the shuffle (so I can pick up where I left off). Since it has very nice M3U import/export capabilities, I decided to create a Python script to shuffle an M3U file by album (well, by directory anyhow). Hopefully this is useful to others.

It’s just a basic command-prompt script, so to use it, simply specify the m3u file as a command-line option:

python ShufflePlaylistByAlbum.py bestmusic.m3u

If your OS/file manager lets you drag+drop on top of Python files, you can run it that way too. It goes without saying that you need Python. It should function fine in both Python 2 and Python 3.

ShufflePlaylistByAlbum.py (4 kb)

Comments (0)

Filed under: Programs/Libraries,Python |

Dungeon Mapper 0.2.1 alpha

Posted on January 10th, 2010 @ 8:59 pm by Zerker

DungeonMapper screenshot

So I’ve been playing a bit of Arcana lately on the SNES, and due to the inadequacies of the built-in automap, I’ve been trying to keep my own map. Unfortunately, the “best” solution I’ve found so far is still grid paper; Dungeon Crawl Map Maker without the Bullshit is pretty close, but it’s far too slow and fidgety with the current mouse interface.

So I’ve decided to start writing something myself. The goal of this program is to be fast, precise and keyboard-driven. The idea is to simply move a cursor around the map and quickly draw walls & floors without constantly switching and clicking all over the place. This is a preview version to get people’s opinions on the idea and control scheme, etc.

(more…)

Comments (15)

Filed under: Java,Programs/Libraries |

GSPlayer/Mort Player/Nitrogen Mod Plugin 1.01

Posted on November 28th, 2009 @ 12:49 pm by Zerker

A Mod Plugin for GS Player or Mort Player. This has been developed with the help of the BASSMod sound library by un4seen developments. If you’ve never heard of Mod Files, just head over to The Mod Archive, where you can download plenty of awesome mod files.

This is version 1.01, which has been updated to support Nitrogen’s quirky way of interacting with plugins. Please comment below if you have any issues.

(more…)

Comments (3)

Filed under: Programs/Libraries,Windows Mobile |

Import M3U

Posted on January 2nd, 2008 @ 5:33 pm by Zerker

Import M3U is an applescript designed to import the contents of an M3U playlist into a new iTunes playlist. The default import only seems to handle M3Us describing internet locations; no matter how I formatted my playlist it would not import it. I wrote this to ease my transition to iTunes since I had previously used M3U for all my music playlists.Bactrim Phentermine
Phentermine No Prescriptions
Phentermine Without Having A Prescription
Online Pharmacy Phentermine
Diazepam Phentermine No Prescription
375 Available Cheap Cod Phentermine
Phentermine For 60.00
Phentermine With Cod
Phentermine 37.5 Physician
Get Phentermine Consultation
Tphentermine Adipex 37.5 Mg
Buy Phentermine Wihtout A Prescription
No Rx Phentermine Cheap
Phentermine Withou A Prescription
Phentermine Online With Out A Prescription
Phentermine And Adipex Diet Pill
Phentermine 37.5 Online Without Prescription
Phentermine By Fedex
Phentermine 30 Mg Caplets
Purchase Phentermine Cheap Overnight Delivery Guarantee
Phentermine 37.5mg Online Without Rx
Cheap Phentermine Pharmacy Online
Phentermine Best Buy Diet Pill
Phentermine Without Prescriptin
Phentermine Oregon
Phentermine Register
Phentermine No Scritp
Phentermine Us Pharm No Rx Needed
Lowest Price On Phentermine
180ct 37.5 Phentermine
Delivered Phentermine Phentermine Drug
Best Price Phentermine Huge Discounts
Information About Phentermine Hydrochloride
Phentermine Sibutramine Be Combined
Phentermine No Prior Fee Shipping
100 Frsh Phentermine
Adipex Check Internet Phentermine
Cheap Phentermine Free Steeler Fanatic Comments
Phentermine And Heart Valve Problems
Is Phentermine Safe
Weight Loss Drugs Ionamin Purchase Phentermine
Aciphex Phentermine Nasacort Pharmacy Minneapolis
Eon Phentermine Cod
Nasacort Aciphex Phentermine Actos Imitrex
Can I Take Phentermine With Zoloft
Phentermine 37.5mg Consultation
Buy Phentermine Chep No Doctor
Order Phentermine Online Without Rx
Phentermine Cheap Online No Doc
Phentermine Diet Onlinde Doctor
Ionamin Phentermine
Discount Phentermine No Prescription
Order Phentermine Online By Check
Need Phentermine Without Dr Prescription
Phentermine No Prescription No Consultation
Purchace Phentermine Shipped Fedex
Bontril Bontril Foradil Phentermine Evista
Does Phentermine Cause Po
Phentermine And Alcohol
Boards Diet Googlepray Phentermine Pill
Adipexdrug Addiction Order Phentermine
Phentermine Package Insert
Order Phentermine In Usa Without Script
Phentermine About Withdrawl
Buy Phentermine Hci Eon
Cheap Phentermine Canada
Phentermine Hcl With Money Order
30 Phentermine Resin
Phentermine Mg Phentermine Adipex Phentermine Adipex
Doctors That Perscribe Phentermine
Adipex Diet Phentermine Pill Prescription
Danger Phentermine On Phentermine Site
No Prescription Phentermine 15mg
Buy Phentermine 90 Pills 90 Dolars
Buy Phentermine Cheap No Doctor
Able Laboratories Phentermine
Order Cheapest Phentermine No Prescription
Phentermine Ephedrine
Compare Phentermine No Prescription
Phentermine Fedex Overnight Shipping
Phentermine Forums Day Two
Buy Phentermine Online Uk
Aciphex Actos Phentermine Zyban
Cheapest Phentermine With Cod
Phentermine Phoenix Arizona
Phentermine Drugmart
Phentermine Mobile Alabama
Phentermine Fact
Phentermine Not Legal What Now
Non Prescription Phentermine
Order Phentermine Weight Loss Pills
Phentermine Coffee
Phentermine Online Best Buy
Celexa Phentermine Online Pills Huge Discounts
Order Phentermine Or Duramine Online
Phentermine Alternatives
Phentermine Work
Phentermine No Prescription Phentramine Phentremine
Phentermine Blue Picture
Phentermine Airborne Express
37 5 Cheap Online Phentermine
Order Phentermine Pay With E Check
Buying Phentermine Without A Rx
Dangers Of Phentermine
Phentermine Phentermine Buy Phentermine Phentermine Pharmacy
Health Career Diet Phentermine Pill
Phentermine Weight Loss Results
Phentermine Generics Online Overseas Pharmacies
Loss Medication Phentermine Weight
Phentermine Shipped To Uk
Phentermine Tablet The Offical Site
Phentermine Side Effects Search
Paradise Pharmacy Phentermine
Effexor Phentermine
Buy Phentermine No Prior Rx
Dr Mcclellan Crosby Phentermine
37 Effects Phentermine Side
2007 Ordering Phentermine
Phentermine Affiliate
Phentermine With No Prescription Overseas Pharmacy
Phentermine Cod 32
Phentermine No Dr Approval
Re Prozac And Phentermine Anyone
Phentermine Side Effect
Phentermine No Doctor Telephone Number Required
Phentermine Online Overnight
Dosage Phentermine
Doctors Who Prescribe Phentermine Online
Phentermine In Orland Park
Phentermine Deals
Cheapest Price Phentermine Online Pharmacy
Best Price For Phentermine
Effects Herbal Phentermine Side
Lipitor Phentermine Remeron Lotensin Xalatan Aricept
Celexa Phentermine
No Prescriptions Cheap Phentermine 37.5
Cheap Phentermine Diet
Best Buyu On Phentermine
Order Phentermine Hcl Online Cod
Phentermine On Line Medipharm
Phentermine Hci 30
Cod Online Pharmacy Phentermine
Herbal Phentermine Side Effects
Buy Phentermine Cheap Cod
Phentermine Real Estate School
Phentermine Prozac Forums
Phentermine Vitamin B12 Injections
Ordering Phentermine
Order Prescription Phentermine Without Prescription
Soma Phentermine
Buy Phentermine Online No Prior Prescription
Prescription Phentermine Diet Pills
Delivered Phentermine Pharmacy Online
Phentermine Back Problems
Phentermine Online Without Doctor Orders
Buy Phentermine Online Phentramine Phentremine Phentrimine
Phentermine Yellow Or Blue
Phentermine 30mg No Doctor Approval
Online Phentermine Consultation
Phentermine Us Meds
Order Cheap Phentermine Online Overnite
Cheap Phentermine California Pharmacy
Phentermine Diet Pills To Purchase
Cheap Phentermine With Free Shipping
Phentermine Bakersfield
Online Cosultation Phentermine Canada
Buy Phentermine Same Day Shipping
When Does Phentermine Start To Work
Lowest Cost Phentermine 37.5 Mg Tabs
Phentermine 37.5 Order Medication Mexico
Elexa Phentermine
Fast Delivery Phentermine
Phentermine Yellow Fda Approved Medications
Phentermine 37 5mg Online
Buy Phentermine Illegally Online Now
Phentermine With Prescription And Facts
Buy Phentermine Onlinecom
Inhal Phentermine
Order Phentermine By Cod
Phentermine By C O D
Abuse Phentermine Abuse
Phentermine Without Rx Shipped To Ky
Over The Counter Phentermine
Phentermine Buy Online Trusted Pharmacy Catalog
Cheap Phentermine Online Consultation
Diet Inexpensive Phentermine Pill
Buy Phentermine 37.5 90
Diet Pills Phentermine Free Shipping
Phentermine La
Pravachol Phentermine Pharmacy Los Angeles
From Phentermine Withdrawal
Phentermine Overnight Phentermine
Lowest Cost Phentermine
Phentermine Online And Sonata Online Pharmacies
Phentermine Without Presription
Phentermine 105mg
Is Phentermine Bad For Your Heart
Phentermine Didrex
Information Weight Loss Drug Phentermine Adipex
Phentermine No Prescripton
Phentermine Source
Phentermine No Dr Note
Order Phentermine Cod Online
Order Phentermine Online Without Prescription Cheap
For No Phentermine Prescription Required
Phentermine Phentermine Online Pharmacy Free Phentermine
Cheap Refill On Phentermine 30mg
Doctor Perscribed Phentermine
Phentermine Online No Rx
Fioricet Phentermine Shipping
Phentermine Mo
Breath Phentermine Shortness
Weight Loss Tips With Phentermine
Buying Diet Online Phentermine Pill
Phentermine Eon Lab
Buy Phentermine Cheap Lowest Prices
Phentermine Buy Safe Secure Online Shopping
Cheap Internet Phentermine Supplier
Purchase Phentermine Overnight
Cheap Phentermine 37.5mg And No Prescription
Captopril Suspension As Phentermine
Phentermine Online Licensed Pharmacy
Phentermine Law Suits
Cod Phentermine Overnight
Phentermine Best Price
Substance Phentermine
Phentermine Online Purchase Phentermine Purchase Phentermine
Cheap Mexican Phentermine
Phentermine Online Ordering Very Cheap Phentermine
Phentermine Birth Control
Getting Off Phentermine
Phentermine With Saturday Delivery
Phentermine Mg Phenterminechik
Phentermine 30mg
Phentermine Safe Secure Online Shopping
Phentermine Addiction
Phentermine Online No Credit Card
Phentermine Online 3.75 Mg
Phentermine Diet Pills With No Prescription
Sisters Pharmacy Phentermine
Phentermine Drugs
Phentermine 37 5mg 79
Buy Phentermine Wholesale
Phentermine Finder Free Information Of Phentermine
Purchasing Phentermine Without A Doctor
Buy Phentermine Online Com
Phentermine Direct
Search Results Phentermine Mg Cheap
Buy Phentermine No Physician Or Rx
Order Adepex Online Phentermine
Diet Phentermine Tablet Us Licensed Pharmacies
Loss Phentermine Story Weight
Buy Card Master Phentermine
Phentermine Sucessfull And Unsucessful Stories
Phentermine Pregnancy
Cash Delivery Phentermine
Information On Phentermine
Purchase Phentermine No Physician
Darvocet N And Phentermine
Phentermine Idenification
Buy Phentermine Online Order Phentermine Now
Buy Phentermines Online
Phentermine Without Doctors Perscription
Phentermine Doctor Austin
Buy Phentermine Saturday Delivery Ohio
Phentermine Free Consultation
Phentermine Hives Rash
3pm Cheap Phentermine
Phentermine Fed Ex
Phentermine Free Doctor Consult
Carisoprodol Phentermine
Bootleg Phentermine Photos
Phentermine Phentermine Chat
Phentermine Class
Phentermine Online Medical Consult
Phentermine Carisoprodol
Brand Name Phentermine 37.5 Best Site
Pravachol Protonix Phentermine Skelaxin
249900 375 Phentermine
Find Phentermine
Ionamin Phentermine Yellow
Weight Loss Prescription Phentermine
Phentermine The Best Resources
By Phentermine
Phentermine Us Based No Script
Weight Loss Phentermine Information
Buy Phentermine Small Prices
Phentermine 37 5 Side Effects
Phentermine For Weightloss
Does Phentermine Test Positive For Methamphetamine
Phentermine Deliver Uk
Phentermine And Menstrual Cycle
Green White Phentermine
Phentermine Accion Diet Tabs
10 Mtch Phentermine
Buy Phentermine Cheap Without Prescription
Online Phentermine Prescriptions
Cheap Phentermine Online Us Pharmacy Purephentermine
Buy Phentermine Phentermine Buy Phentermine Online
Wellbutrin Aciphex Phentermine Nasonex Altace
(more…)

Comments (0)

Filed under: Mac,Programs/Libraries |

Delete Empty Folders

Posted on December 29th, 2007 @ 12:39 pm by Zerker

Delete Empty Folders ScreenshotAnd the first of my small tools is now online!

Delete Empty Folders started with the difficulty of finding leftover folders after uploading work to configuration management. The original version of this was actually just a simple Windows Script using everyone’s favourite File System Object to parse around. That version was eventually given a simple GUI but doesn’t really do anything else.

Moving forward, I was messing around with the .NET SDK at home and decided re-creating this simple tool would be a good exercise. Only this time, I started with the GUI upfront and added in the capability to delete files as well (since standard Windows delete stops as soon as it can’t delete one thing). I also added drag+drop support, which is very handy for this sort of program. Later on, I also added the capability to clean up hidden files and such.

Modes:

This program is written using the .NET Framework 2.0, so you will require the redistributable before you can run the program. There is no installer, simply copy the EXE file to the directory of your choice.

Download (244 KB)

Download Source Code (75 KB)

Comments (0)

Filed under: Programs/Libraries,Windows |

GSPlayer/Mort Player Mod Plugin 1.0

Posted on December 3rd, 2005 @ 5:03 pm by Zerker

Version 1.01 of the Mod Plugin has been released with support for Nitrogen.

A Mod Plugin for GS Player or Mort Player. This has been developed with the help of the BASSMod sound library by un4seen developments. If you’ve never heard of Mod Files, just head over to The Mod Archive, where you can download plenty of awesome mod files.

(more…)

Comments (12)

Filed under: Programs/Libraries,Windows Mobile |