Blades of Exile for Win32


Hello. I've succesfully compiled and run Blades of Exile applications (game and both editors) as a 32-bit Windows executables. You can download below all files needed to play the game or to recompile it. I haven't done any serious testing (i've played VoDT a bit and edited my party in CharEd) so I don't know if everything works properly. It is really hard to work with the code of the game as it is VERY disorganized, full of global variables (~500), programming tricks and numerical constants of unknown meaning. It is possible that in process of porting I've modified some code that changes some global variable and now something isn't working.

Info on last update

Saved Item Rectangle bug fixed! Checked myself. Bad news - if you had played BoE with earlier versions of my executables then your savegames would have had all data about saved item rectangles corrupted. You have to restart scenario you're in.

Scenario Editor now has its own section in "blades.ini". You can set there "play_sounds" flag (when it is off editor behaves much faster) and path to "bladbase.exs" (or some other file you wished to be base for your scenarios).

More about recent updates: changes.txt

Downloads:

Using custom scenarios

Put all scenario files in "Scenarios" folder, run the game, load/make your party and choose "Custom Scenario" form menu.

On what licence is this game and it's source code distributed?

GNU General Public Licence 2

Where is BLADMISC.DAT?

Game doesn't use it anymore. Instead application generates BLADES.INI after it's first run.

Compilation using Dev-CPP IDE

  1. Create an empty project
  2. In the project options set type of application to Win32 GUI
  3. Add "-lwinmm" to linker command line options
  4. Add all *.cpp, *.h, *.rc files to the project
  5. Compile all

NOTE: I've used Dev-CPP 4.9.9.2 (alias 5 beta) and wxDev-CPP to successfully compile BOE.

Compilation using pure GCC

  1. Compile resources:
    windres -i Blades_of_Exile_private.rc --input-format=rc -o Blades_of_Exile_private.res -O coff
  2. Compile source code and link with resources:
    g++ *.cpp Blades_of_Exile_private.res -o "Blades of Exile.exe" -mwindows -lwinmm

Links:


Grzegorz.Kowalski@wit.edu.pl