A cross-platform Path of Building driver.
- Qt5
- luajit
- zlib
- opengl
- lua-curl (see below)
- Bitstream-Vera and Liberation TTF fonts. Will work without these but most likely look terrible.
- meson
- pkg-config
- ninja (optional, can tell meson to generate makefiles if you prefer)
You need to build Lua-Curl for luajit.
- Clone it from the Github repo above
- While in the root directory, Run
LUA_IMPL=luajit make
. You should get lcurl.so
git clone https://github.com/philroberts/pobfrontend.git
First, change into this directory.
# Assuming you installed qt with Homebrew
PKG_CONFIG_PATH="/usr/local/opt/qt/lib/pkgconfig" meson -Dbuildtype=release . build
cd build
ninja
Run the thing:
cd /path/to/PathOfBuilding # <- a pathofbuilding git clone
for f in tree*.zip; do unzip $f;done # <- use the provided tree data because reasons
unzip runtime-win32.zip lua/xml.lua lua/base64.lua lua/sha1.lua
mv lua/*.lua .
rmdir lua
cp /path/to/lcurl.so . # our lcurl.so from earlier
/path/to/build/pobfrontend
You can adjust the font size up or down with a command line argument:
pobfrontend -2
I have the following edit in my PathOfBuilding clone, stops it from saving builds even when I tell it not to:
--- a/Modules/Build.lua
+++ b/Modules/Build.lua
@@ -599,7 +599,7 @@ function buildMode:CanExit(mode)
end
function buildMode:Shutdown()
- if launch.devMode and self.targetVersion and not self.abortSave then
+ if false then --launch.devMode and self.targetVersion and not self.abortSave then
if self.dbFileName then
self:SaveDBFile()
elseif self.unsaved then
On mac you need to invoke meson with some extra flags, per the luajit documentation:
LDFLAGS="-pagezero_size 10000 -image_base 100000000" meson pobfrontend build