def- / ddnet-data-svg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DDNet data directory as SVG collection

DDNet data SVG repository is a collection of SVGs, that can replace and/or extend the official data directory of ddnet with user specified resolution generated textures, meant for higher resolution support.

Contributing

When adding or changing a SVG file, make sure the file path fits the original PNG file path in the data directory. The SVG should contain a width and height(in inkscape the page width/height) in pixels matching the current size of the original PNG. This is required to properly scale up the generated images. Also the SVG should not contain the export path(e.g. in inkscape the export path for exporting PNGs).

How to build?

Install inkscape and execute:

mkdir build
cd build
../scripts/build.sh <target_resolution_width> <target_resolution_height> ..

where target_resolution_width and target_resolution_height are the resolution you are targeting. Note that the minimum for these values is full HD, so 1920 and 1080

About

License:Other


Languages

Language:Shell 100.0%