GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Sebelino/pyudmf: Command-line tool for scaling an UDMF formatted Doom map

BranchesTags
Open more actions menu

Latest commit

 

History

107 Commits
107 Commits

Folders and files

NameName
Last commit message
Last commit date
pyudmf
pyudmf
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 

Repository files navigation

pyudmf

Command-line tool for resizing a Doom map formatted with the Universal Doom Map Format (UDMF).

Usage

$ cd pyudmf
$ python -m pyudmf.cli -h
usage: pyudmf.py [-h] infile scalingfactor

Scale an UDMF formatted Doom map.

positional arguments:
  infile         Path to the TEXTMAP lump file.
  scalingfactor  Scaling factor. E.g. if the factor is 0.5, the map will
                 shrink to 25 % of its original area.

optional arguments:
  -h, --help     show this help message and exit

Example

$ cat TEXTMAP.lmp
namespace = "zdoom";
thing { x = 608.000; y = 256.000; }
vertex { x = 256.000; y = 192.000; }

$ python -m pyudmf.cli TEXTMAP.lmp 0.5
namespace = "zdoom";

thing
{
x = 304.000;
y = 128.000;
}

vertex
{
x = 128.000;
y = 96.000;
}

About

Command-line tool for scaling an UDMF formatted Doom map

Topics

doomgzdoompythonudmf

Resources

Readme
GPL-3.0 license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.