Skip to content

kazzmir/paintown

Repository files navigation

Paintown

by Jon Rafkind (Updated on 02/07/2024)

Paintown is a 2-d fighting game that is similar in style to Streets of Rage. Paintown also comes with a MUGEN engine.

Table of Contents

Builds

Linux Ubuntu Build Mac Arm Build Mingw Cross-Compile Build Devkitpro Cross-Compile Build Steam Cross-Compile Build

Releases

Get Source

If you are reading this you might already have the source. If not get it from the Paintown Repository.

Additional data which has collections of characters, levels and other items can be obtained in the Paintown Data Repository.

Note to distribution maintainers it is recommended to omit the data from the above repository since it may contain copyrighted material.
The included data in the Paintown Repository should be sufficient for running the application (which excludes levels and content).

Requirements to build

You need the following things to compile Paintown:

  • GNU build utils (gcc and g++)
    • Note that you will need to have c++11 support
  • Software construction tools
  • zlib
  • libpng
  • SDL2
    • SDL2_image
    • SDL2_ttf
    • SDL2_mixer
    • SDL2_gfx
  • Optional Libs
    • OGG / Vorbis / Vorbis File
    • MPG123
  • Scripting
    • python and its headers (usually this comes with python)

Compilation

You can build paintown with Meson using the Makefile.

Linux

Build Debug
$ make
# To build tests do:
$ make test
Cross-compile for windows with mingw
$ make mingw
# To build tests do:
$ make testmingw

Note this build depends on x86_64-w64-mingw32 and hasn't been tested on any other distro than debian based ones

Ubuntu

There are several scripts that will install the necessary packages and then invoke the compilation

Basic build

$ ./easy-compile-ubuntu

Mingw build (cross compilation for windows)

$ ./easy-compile-mingw

Binaries are dumped into the mingw-bin directory. Make sure you copy zlib1.dll with your binary.

Fedora

$ ./easy-compile-fedora

Mac Arm

$ ./easy-compile-mac-arm

Scripting

A python engine has been added to paintown so you can script a level. See scripting.txt for more details.

Thanks

Chat