Menu

Home

Thomas Strasser

Polanie

Compiled original Polanie source.

Install

Extract https://sourceforge.net/projects/polanie-game/files/data.zip/download.
Place polanie-allegro(.exe) into the same directory.
Start polanie-allegro(.exe)

Compile

./compile.sh

Tested on void 32bit x86 Linux

Source

I got the source code from https://polanie.prv.pl/.
The necessary parts are in src. I tried to make only small changes on the original source code so it can compile.

Messages in the source code are translated to english.
Furthermore

Shortcuts

m toggle view map
+ increase game speed
- decrease game speed
F2 decrease scale
F3 increase scale
F4 toggle xBRZ scale on/off
F7 increase FPS
F8 decrease FPS

NOTE: Game is alot faster without xBRZ scaling

Command Line Options

-h # Command Line Option help
-scale <scale> # default: 2
-scroll <scrollspeed> # (default: 0)
-speed <gamespeed> # (default: 0)
-mevt # show mouse events
-ps # show play samples
-xbrz # enable xbrz scaling
-no-xbrz # disable xbrz scaling
-card <video-option> # see below
-music-play-prog <progname> # program to start to play music (default: adplay)
-music-play-fn-fmt <format> # filename format to play music file (default: graf/graf.%03d)</format></progname></video-option></gamespeed></scrollspeed></scale>

Video Option Windows/Allegro case sensitive:
DXAC # DirectX Accel
DXSA # DirectX Safe
DXSO # DirectX Software
DXWN # DirectX Win
DXOV # DirectX Overlay
GDIB # GDI
e.g.
-card DXSA

DONE

  • Music via adplay
  • Sound
  • Translate all polnish to english

TODO

  • Maybe SDL2 port
  • Better english translation
  • Windows crash with xBRZ

Nice to have

  • Scroll with cursor keys
  • More Load/Savegame Slots

Internal Data Files

font.dat contains Font Data = raw 8-Bit Bitmap 319 x 200
data/w0xx.dat are WAVE-Data partly in Polnish language
data-de/w0xx.dat are WAVE-Data partly in German language
graf/graf.0xx contains Music in s3m format. Use e.g. adplay to play it
levels contains maps and map message data
graf.dat = modified graf.dat with removed polnish text. You can edit this file with show-graf.c

References

Other Polanie Remakes

License

https://en.wikipedia.org/wiki/Public_domain
xBRZ GPL3