Tool for viewing and generating previews of maps for Warzone2100.
- Read old formats of Warzone2100 maps.
- Read FlaME comments in file headers.
- Read https://wz2100.euphobos.ru map database comments.
- Make preview images.
- Tweak colors of cliffs, terrain, water tiles.
- Analyze map by structure count.
- Print useful info to console.
- Provide easy wrapper to Warzone 2100 map format.
- Windows support. (see below)
- CMake build system.
- Read 3.3+ map format. (JSON)
- Install deps.
That can be done with
$ sudo apt-get install g++ libstdc++-6-dev lib32gcc-7-dev libc6-dev make git
- Clone this repo
$ git clone https://github.com/maxsupermanhd/WMT.git
- Go to directory
$ cd WMT
- Make
$ make
- To build shared library consider rebuilding completely with
make clean; make lib
- Install CMake(3.10+). Also get dependencies from
make
method. - Create build directory. ex:
mkdir build
- Navigate to build directory. ex:
cd build
- Run CMake over project directory with any flags you want. ex:
cmake -G"Ninja" -DCMAKE_BUILD_TYPE=MinSizeRel ..
- Build with CMake. ex:
cmake --build .
- Grab shared library from
./lib/
- Grab demo preview generator from
./bin/
- Find a Warzone 2100 map.
- Run WMT with supplied map file. (including path)
- Open the generated image with any png viewer/editor.
- For more info/tweaks see
--help
argument.
Just use .exe file from releases. (use cmd to run) If you want to build this from source, you better stop right here and go to the releases page.
- OS (Linux/Windows) (include kernel/lib versions).
- Type: crash(segfault/abort), infinite loop, opening or saving error. (or any other error)
- Logfile generated with piping WMT output with -v999 to file.
- The map file that was used.
Warning! I will not respond to any windows-only issues. I don't have a windows PC. If you want help with your problem on your Windows based system you should ask someone else.
Any zip file that WMT opens is stored in dynamically allocated memory and opens it with the fmemopen
function.
In Windows there is no true alternative for this, so I decided to make a temp-files crutch solution to Windows builds.
If you want to help in making Windows releases please contact me.
For more details see LICENSE file.
You can contact me and ask any interesting questions:
- VK https://vk.com/1dontknow2
- Mail q3.max.2011@ya.ru
- Discord MaX#6717 (https://discord.gg/mJ5qzck)
- TeamSpeak3 server on https://warzone2100.pro PR welcome. Open issues if you have any problems.