All Projects → njankowski → dftools

njankowski / dftools

Licence: 0BSD License
Tools for Star Wars: Dark Forces assets.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to dftools

caffe weight converter
Caffe-to-Keras weight converter. Can also export weights as Numpy arrays for further processing.
Stars: ✭ 68 (+277.78%)
Mutual labels:  converter, conversion
discoursegraphs
linguistic converter / merging tool for multi-level annotated corpora. graph-based (using Python and NetworkX).
Stars: ✭ 47 (+161.11%)
Mutual labels:  converter, conversion
vectorexpress-api
Vector Express is a free service and API for converting, analyzing and processing vector files.
Stars: ✭ 66 (+266.67%)
Mutual labels:  converter, conversion
cpc
Text calculator with support for units and conversion
Stars: ✭ 89 (+394.44%)
Mutual labels:  converter, conversion
KotOR.js
A remake of the Odyssey Game Engine that powered KotOR I & II written in JavaScript
Stars: ✭ 43 (+138.89%)
Mutual labels:  modding, starwars
fp-units
An FP-oriented library to easily convert CSS units.
Stars: ✭ 18 (+0%)
Mutual labels:  converter, conversion
csv2html
Convert CSV files to HTML tables
Stars: ✭ 64 (+255.56%)
Mutual labels:  converter, conversion
Alfred Calculate Anything
Alfred Workflow to calculate anything with natural language
Stars: ✭ 92 (+411.11%)
Mutual labels:  converter, tools
CTR-tools
Crash Team Racing (PS1) tools - a C# framework by DCxDemo and a set of tools to parse files found in the original kart racing game by Naughty Dog.
Stars: ✭ 93 (+416.67%)
Mutual labels:  converter, modding
xsampa
X-SAMPA to IPA converter
Stars: ✭ 20 (+11.11%)
Mutual labels:  converter, conversion
Kepubify
Fast, standalone EPUB to KEPUB converter CLI app / library (and a few other utilities).
Stars: ✭ 225 (+1150%)
Mutual labels:  converter, conversion
bitsnpicas
Bits'N'Picas - Bitmap & Emoji Font Creation & Conversion Tools
Stars: ✭ 171 (+850%)
Mutual labels:  converter, conversion
Hrconvert2
A self-hosted, drag-and-drop, & nosql file conversion server that supports 62x file formats.
Stars: ✭ 132 (+633.33%)
Mutual labels:  converter, conversion
bank2ynab
Easily convert and import your bank's statements into YNAB. This project consolidates other conversion efforts into one universal tool.
Stars: ✭ 197 (+994.44%)
Mutual labels:  converter, conversion
Ec2 Spot Converter
A tool to convert AWS EC2 instances back and forth between On-Demand and Spot billing models.
Stars: ✭ 108 (+500%)
Mutual labels:  converter, conversion
BlocksConverter
A PocketMine-MP plugin allows you to convert Minecraft PC maps to MCPE/Bedrock maps or vice-versa.
Stars: ✭ 47 (+161.11%)
Mutual labels:  converter, conversion
Oas Kit
Convert Swagger 2.0 definitions to OpenAPI 3.0 and resolve/validate/lint
Stars: ✭ 516 (+2766.67%)
Mutual labels:  converter, conversion
Unitsnet
Makes life working with units of measurement just a little bit better.
Stars: ✭ 641 (+3461.11%)
Mutual labels:  converter, conversion
qTsConverter
A simple tool to convert qt translation file (ts) to other format (xlsx / csv) and vice versa
Stars: ✭ 26 (+44.44%)
Mutual labels:  converter, conversion
OpenDriver2Tools
Driver 1 and Driver 2 tools
Stars: ✭ 25 (+38.89%)
Mutual labels:  converter, utilities

dftools

Tools for Star Wars: Dark Forces and Outlaws assets.

Caution

These tools will overwrite files with identical names when converting or extracting.

Requirements

  • Python 3.6+
  • Pillow (Image Library)

Examples

Jan Ors Stormtrooper Rifle Phase 1 Dark Trooper Phase 1 Dark Trooper (GROMAS) Stormtrooper Stormtrooper Rifle (First Person)

Ammo Font

Glowing Font


Supported Formats

Containers

  • GOB
  • LFD
  • LAB

Graphics

  • BM
  • CMP
  • FME
  • FNT
  • PAL
  • WAX

Sound

  • GMD

How To

gobtool

Extract a GOB

There are some GOBs out there with bad filenames archived inside (e.x. the Dark Forces demo). The tool will print a warning if it tried to write a file but could not.

python gobtool.py extract "DARK.GOB" "DARK"

Extracts a GOB named "DARK.GOB" in the current directory, to a folder "DARK" in the current directory.

Will automatically create directories that do not exist.

python gobtool.py extract -o "DARK.GOB" "DARK"

python gobtool.py extract --organize "DARK.GOB" "DARK"

Extracts a GOB named "DARK.GOB" in the current directory, to a folder "DARK" in the current directory.

Will create a subdirectory (within the specified directory) for each file extension in the archive. Will place each file into the appropriate subdirectory.

Make a GOB

python gobtool.py archive "CUSTOM.GOB" "CUSTOM"

Archives all of the files in folder "CUSTOM" (top-level only) in the current directory, to a GOB named "CUSTOM.GOB" in the current directory.

python gobtool.py archive -r "CUSTOM.GOB" "CUSTOM"

python gobtool.py archive --recursive "CUSTOM.GOB" "CUSTOM"

Archives all of the files in folder "CUSTOM" (including subdirectories) in the current directory, to a GOB named "CUSTOM.GOB" in the current directory.

Allows files to remain organized before packing.

labtool (Outlaws)

Extract a LAB

python labtool.py extract "OUTLAWS.LAB" "OUTLAWS"

Extracts a LAB named "OUTLAWS.LAB" in the current directory, to a folder "OUTLAWS" in the current directory.

Will automatically create directories that do not exist.

python labtool.py extract -o "OUTLAWS.LAB" "OUTLAWS"

python labtool.py extract --organize "OUTLAWS.LAB" "OUTLAWS"

Extracts a LAB named "OUTLAWS.LAB" in the current directory, to a folder "OUTLAWS" in the current directory.

Will create a subdirectory (within the specified directory) for each file extension in the archive. Will place each file into the appropriate subdirectory.

fmetool

Convert an FME

PNG only.

Tool uses glob (e.x. wildcard) patterns for file(s) specification.

Writes converted files into the same directory."

python fmetool.py "sprites/*.fme"

Converts all FME files in the sprites directory to "filename.png" using default palette SECBASE.

python fmetool.py -p JABSHIP "sprites/JAN.fme"

Converts a single FME "JAN.FME" in the sprites directory to "JAN.png" using built-in palette JABSHIP.

python fmetool.py -p "palettes/custom.pal" "sprites/JAN.fme"

Converts a single FME "JAN.FME" in the sprites directory to "JAN.png" using external palette "palettes/custom.pal".

Make an FME

Not supported.

waxtool

Convert a WAX

PNG only.

Images are auto-labeled based on sprite state.

Only can convert one WAX at a time. Make sure to gather converted files before continuing use.

Writes converted files into the same directory.

Palette can be specified, much like fmetool.

python waxtool.py "sprites/PHASE1.WAX"

Converts a single WAX "PHASE1.WAX" into multiple images.

Make a WAX

Not supported.

bmtool

Refer to fmetool. Its operation is identical, except that bmtool may generate multiple image files per BM.

fnttool

Refer to fmetool. Its operation is identical.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].